Papers
arxiv:2612.00074

Polaris-Mist: Enterprise Semantic Redaction via Unmasked Bidirectional LLMs and Punctuation-Isolated CRFs

Published on Nov 30
Authors:
,
,

Abstract

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 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).

Community

The point about false positives on harmless identifiers matches what we see in business documents. Invoice numbers, PO numbers, company registration IDs and SWIFT codes get flagged as personal data, while a person's name in a handwritten note gets missed. Did you evaluate on text from scanned documents, or only clean text? Our open synthetic set has PII marked on document images, including inside tables and stamps: https://huggingface.co/datasets/hyperbots-inc/synthetic-pii-redaction. The next version adds deliberate over-redaction traps.

Sign up or log in to comment

Get this paper in your agent:

hf papers read 2612.00074
Don't have the latest CLI?
curl -LsSf https://hf.co/cli/install.sh | bash

Models citing this paper 1

Datasets citing this paper 0

No dataset linking this paper

Cite arxiv.org/abs/2612.00074 in a dataset README.md to link it from this page.

Spaces citing this paper 1

Collections including this paper 0

No Collection including this paper

Add this paper to a collection to link it from this page.