Polaris-Mist: Enterprise Semantic Redaction via Unmasked Bidirectional LLMs and Punctuation-Isolated CRFs
Liu, Jinyuan, Zhao, Zhicheng, Han, Xinyi, Ma, Ziwen
–arXiv.org Artificial Intelligence
Deploying large language models (LLMs) in enterprise workflows requires redacting sensitive spans before documents cross organizational boundaries. Existing de-identification pipelines face a sharp trade-off: rule-hybrid systems (Presidio) and compact token taggers (Piiranha-v1, GLiNER) miss context-dependent trade secrets and trigger false positives on benign technical identifiers (e.g., public git commit SHAs and container digests), whereas autoregressive LLMs incur multi-second latency and schema fragility. We present Polaris-Mist, a non-autoregressive model-only semantic redaction architecture without inference-time regexes or blacklists. Polaris-Mist converts pure self-attention causal LLMs -- or native long-context encoders -- into bidirectional contextualizers by unmasking causal attention and pruning the vocabulary head, paired with punctuation-isolated pre-tokenization and a constrained 49-tag BIOES linear-chain CRF trained under length-normalized negative log-likelihood. Isolating punctuation boundaries eliminates subword straddling on English/Chinese contracts, raising Suite D exact match from 80.0% to 95.0% in v6 ablations. On 150-document test subsets of Nemotron-PII, Gretel PII, and multilingual piimb plus 180 frozen enterprise documents (Suites A-E), Polaris-Mist v7 attains 0.9251 Common-PII Span F1 on Nemotron-PII, 0.9066 on Gretel, 0.9077 on piimb, and 0.9987 untyped $\mathrm{IoU} \ge 0.50$ F1 (99.56% character recall; 0.9771 strict typed F1) on Suite E. Controlled experiments across Qwen3-8B, GLM-4-9B-0414, EuroBERT-2.1B, and Phi-4-14.7B under held-out validation selection achieve 0/29 negative false alarms; the 2.1B-9B models require 4.51-17.58 GiB BF16 VRAM at 5-134 ms amortized BS=8 GPU forward+Viterbi latency per document (vs. 27.61 GiB and 30-238 ms at 14.7B).
arXiv.org Artificial Intelligence
Dec-2-2026