Polaris-Mist (Ettin-1B Open-Weights Β· v2.0)

Enterprise Semantic Redaction via Native 8K Bidirectional Contextualizers, Interval-Projecting UTS #39 Sanitization, and 49-Tag BIOES CRFs

arXiv HF Paper HF Demo GitHub License

RightWay AI Research Β· Website Β· Live Cloud API Β· Paper PDF Β· GitHub SDK


Model Overview

RightWayAI/Polaris-Mist (v2.0) is the official Apache-2.0 open-weights model for Polaris-Mist. Built on jhu-clsp/ettin-encoder-1b (ModernBertModel architecture, 1.0B parameters, native 8,192-token bidirectional context, trust_remote_code=False) paired with a constrained 49-tag BIOES linear-chain CRF and an offline 1,947-entry Unicode UTS #39 interval-projecting sanitizer, it detects and reversibly masks sensitive spans across multilingual contracts, court rulings, financial statements, OCR records, and DevOps logs β€” with zero inference-time regexes or blacklists.

Polaris-Mist v2 System Architecture

Highlights of the v2.0 Open-Weights Upgrade (Ettin-1B)

  • 2Γ— Smaller Footprint & Faster Inference: Runs in 2.2 GiB BF16 VRAM (down from 4.51 GiB in v1) at 13 ms/doc batched (BS=8) / 45 ms/doc interactive (BS=1).
  • Zero trust_remote_code & Full transformers 4.x / 5.x Compatibility: Uses upstream Hugging Face ModernBertModel natively with zero custom modeling hooks required.
  • Zero Code/Log False Alarms (0/100 Code-Neg, 0/29 Suites A–E): Distinguishes live API keys and credentials (12.9% CredDetX breach across 2,425 texts) from benign git commit SHAs, Docker sha256: image digests, UUIDs, and compiler hashes.
  • Adversarial Homoglyph & Zero-Width Resilience: Paired with polaris-mist>=2.0.0, offline UTS #39 interval sanitization recovers 95% sensitive character recall against Cyrillic/Greek confusable and zero-width attacks while projecting detections onto exact raw UTF-8 offsets.

Quickstart

1. Install Official SDK (v2.0.0)

pip install git+https://github.com/RightWayAI-Inc/Polaris-Mist.git

2. Single-Pass Detection & Redaction

from polaris_mist import PolarisMistPipeline

pipe = PolarisMistPipeline.from_pretrained("RightWayAI/Polaris-Mist")
result = pipe.redact(
    "Contact Sarah Jenkins at s.jenkins@northstar.io regarding MSA-2026-8841. "
    "Build digest sha256:9f86d081884c7d659a2feaa0c55ad015 passed CI."
)
print(result["redacted_text"])
# -> Contact [NAME_e0] at [EMAIL_e1] regarding [CONTRACT_e2]. Build digest sha256:9f86d081884c7d659a2feaa0c55ad015 passed CI.

3. Cryptographic Reversible Pseudonymization & Sink-Gated Restoration

gateway = pipe.create_gateway(session_id="deal_room_42", principal_id="analyst_01")

env = pipe.pseudonymize(
    "Wire EUR 48,500 to DE89 3704 0044 0532 0130 00 for Hannah Lindqvist. "
    "Pricing floor: never discount wafer licensing below 14.5% gross margin.",
    gateway=gateway,
)
print(env["pseudonymized_text"])

# Authorized sink restores original text byte-for-byte:
restored = gateway.rehydrate(env["pseudonymized_text"], sink="INTERNAL_AUTHORIZED")

Benchmark Summary

Engine / Model BF16 VRAM Suite F Blind Breach ↓ CredDetX (2,425) Breach ↓ Code-Neg (100) FP ↓ TAB Legal $\mathrm{ER}_{\mathrm{di}}$ ↑ Public PII (Nem / Gret / piimb F1) BS=1 / BS=8
Microsoft Presidio (lg) CPU 100.0% 91.8% 54 / 100 43.1% 0.606 / 0.508 / 0.420 90 ms
GLiNER-multi-PII-v1 1.8 GiB 96.0% 62.3% 26 / 100 47.0% 0.733 / 0.760 / 0.775 90 ms
OpenAI Privacy Filter (D12-FT) 3.1 GiB 80.0% 25.7% 7 / 100 49.6% 0.896 / 0.876 / 0.819 161 / 126 ms
DeBERTa-v3-Large (Same-Data FT) 1.6 GiB 46.7% 19.1% 4 / 100 46.2% 0.929 / 0.879 / 0.903 59 / 15 ms
Polaris-Mist (Ettin-1B) (This Repo) 2.2 GiB 37.3% (1/25 FP) 12.9% 0 / 100 49.7% 0.934 / 0.902 / 0.891 45 / 13 ms
Polaris-Mist Pro (Qwen3-8B Sel-Bi) (Enterprise API) 14.7 GiB 20.0% (2/25 FP) 14.2% 3 / 100 66.2% 0.933 / 0.904 / 0.911 75 / 52 ms

Public OOD & Layerwise Unmasking Ablation Adversarial Sanitization & 2D Calibration


D12 Entity & Clause Taxonomy

name, phone, email, address, id, order, account, credential, organization, contract, trade_secret, quasi_identifier (49 constrained BIOES tags: O + B/I/E/S Γ— 12).


Citation

@article{liu2026polarismist,
  title   = {Polaris-Mist: Enterprise Semantic Redaction via Selective Bidirectional Unmasking, Interval-Projecting Sanitization, and Cryptographic Reversible Gateways},
  author  = {Liu, Jinyuan and Zhao, Zhicheng and Han, Xinyi and Ma, Ziwen},
  journal = {arXiv preprint arXiv:2612.00074},
  year    = {2026},
  url     = {https://arxiv.org/abs/2612.00074}
}
Downloads last month

-

Downloads are not tracked for this model. How to track
Inference Providers NEW
This model isn't deployed by any Inference Provider. πŸ™‹ Ask for provider support

Model tree for RightWayAI/Polaris-Mist

Finetuned
(32)
this model

Space using RightWayAI/Polaris-Mist 1

Paper for RightWayAI/Polaris-Mist