Non-autoregressive semantic redaction combining selective upper-half bidirectional unmasking (and compact 1.0B native 8K encoders), offline interval-projecting UTS #39 sanitization, punctuation-isolated 49-tag BIOES CRFs, and collision-free cryptographic reversible gateways — operating with zero inference-time regexes or blacklists.
Suite F (100 docs, κ=0.992), official CredDetX-Test (2,425 texts), TAB ECHR rulings (127 docs), Code-Neg (100 repos), and 1,500 public PII test docs.| Engine / Model | BF16 VRAM | Suite F Breach ↓ | CredDetX Breach ↓ | Code-Neg FP ↓ | TAB Legal ERdi ↑ | Public PII (Nem / Gret / piimb F1) | BS=1 / BS=8 |
|---|---|---|---|---|---|---|---|
| Microsoft Presidio (spaCy 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 Open-Weights) | 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) | 14.7 GiB | 20.0% (2/25 FP) | 14.2% | 3 / 100 | 66.2% | 0.933 / 0.904 / 0.911 | 75 / 52 ms |
RightWayAI/Polaris-Mist (2.2 GiB Ettin-1B) directly on CUDA, Apple Silicon, or CPU.pip install git+https://github.com/RightWayAI-Inc/Polaris-Mist.git
from polaris_mist import PolarisMistPipeline
pipe = PolarisMistPipeline.from_pretrained("RightWayAI/Polaris-Mist")
gw = pipe.create_gateway(session_id="session_01", principal_id="analyst_01")
env = pipe.pseudonymize("Contact Sarah Jenkins at s.jenkins@northstar.io regarding MSA-2026-8841.", gateway=gw)
print(env["pseudonymized_text"])
print(gw.rehydrate(env["pseudonymized_text"], sink="INTERNAL_AUTHORIZED"))