Evaluating OpenAI's Privacy Filter: Cross-Lingual, Cross-Domain PII Detection Across 42 Benchmarks
Summary
This paper presents the first independent systematic evaluation of OpenAI's Privacy Filter (OPF), a 1.5B-parameter PII detector, across 42 benchmarks spanning 22 languages and 5 domains, comparing it with Presidio, GLiNER, GPT-4o, and XLM-RoBERTa. Key findings include OPF's strong performance on structured synthetic PII but severe degradation on non-Latin scripts and narrative prose.
View Cached Full Text
Cached at: 08/05/26, 07:40 AM
# Evaluating OpenAI’s Privacy Filter: Cross-Lingual, Cross-Domain PII Detection Across 42 Benchmarks
Source: [https://arxiv.org/html/2608.02616](https://arxiv.org/html/2608.02616)
###### Abstract
We present the first independent, systematic evaluation of OpenAI’s Privacy Filter \(OPF\), a 1\.5B\-parameter bidirectional PII detector, across 42 synthetic benchmarks spanning 22 languages and 5 domains\. Zero\-shot, OPF achieves F1 = 0\.855 on AI4Privacy and 0\.464 on SPY medical, outperforming Presidio \(0\.431, 0\.273\) and XLM\-RoBERTa \(0\.269, 0\.111\) on PII\-annotated benchmarks; on multilingual NER \(Table[3](https://arxiv.org/html/2608.02616#S4.T3)\), XLM\-RoBERTa leads OPF on all 13 Indic and non\-Latin languages\. GPT\-4o leads on medical, legal, and financial PII \(SPY: 0\.643 avg, Gretel: 0\.527\), while OPF leads on structured synthetic PII \(0\.71 avg\) and customer support \(0\.60\)\. OPF degrades sharply when PII is embedded in narrative prose: F1 = 0\.04–0\.57 on NER benchmarks and collapse for non\-Latin scripts \(Arabic: 0\.04, Cyrillic: 0\.03\)\. Error analysis shows OPF is strongest on structurally regular PII types \(email: 0\.78, phone: 0\.76\) and weakest on culturally variable ones \(person: 0\.40, address: 0\.49\), and is recall\-biased on customer\-support and medical/legal PII specifically \(P = 0\.31–0\.54, R = 0\.70–0\.85\); global precision spans 0\.31–0\.86 across all domains \(financial and structured synthetic PII are precision\-balanced or precision\-biased\)\.
Evaluating OpenAI’s Privacy Filter: Cross\-Lingual, Cross\-Domain PII Detection Across 42 Benchmarks
## 1Introduction
Privacy\-preserving NLP has become a critical concern as language models are deployed across sensitive domains including healthcare, legal services, and enterprise customer support\.111Code and evaluation results are available at[https://anonymous\.4open\.science/r/openai\-privacy\-filter\-evaluation\-48FF/](https://anonymous.4open.science/r/openai-privacy-filter-evaluation-48FF/)\.A central challenge isPII detection— identifying spans of text that correspond to personally identifiable information such as names, email addresses, phone numbers, and financial account identifiers\.
OpenAI recently released thePrivacy Filter \(OPF\)OpenAI \([2026](https://arxiv.org/html/2608.02616#bib.bib2)\), a 1\.5B\-parameter model that converts an autoregressive language model into a bidirectional PII detector\. Despite its public release, no systematic cross\-lingual or cross\-domain evaluation of OPF exists\. Practitioners deploying OPF in multilingual pipelines — for example, companies processing support tickets in French, German, or Hindi — have no principled guidance on expected performance\.
We address this gap with a comprehensive zero\-shot evaluation across42 datasets,22 languages, and5 domains\. We compare OPF against Microsoft Presidio, GLiNER, GPT\-4o, and XLM\-RoBERTa\. Our key findings are:
- •Schema coverage gradient: OPF’s 8\-class label schema covers discrete, structurally regular PII \(names, email, phone, address, account numbers, dates, URLs, secrets\) well, but struggles when identifying information is embedded in narrative prose rather than discrete fields\. Performance follows a clear gradient — synthetic PII \(AI4Privacy F1 = 0\.855, Nemotron 0\.559; avg 0\.71\)→\\tocustomer support \(0\.60\)→\\tofinancial \(0\.52\)→\\tomedical/legal \(0\.46\)→\\togeneral NER \(0\.04–0\.57\)\. GPT\-4o leads on medical, legal, and financial text; OPF leads on structured synthetic PII\.
- •Script\-family collapse: OPF degrades severely for non\-Latin scripts\. Across 13 languages and 12 script families, OPF scores F1 = 0\.038 on Arabic script and 0\.027 on Cyrillic\. GPT\-4o leads on 10 of 13 languages; GLiNER is near\-zero on all non\-Latin scripts\.
- •Structural regularity predicts detectability: OPF reliably detects PII types that follow a universal format — email and phone numbers are near\-perfect \(F1 = 0\.78, 0\.76\) because they look the same across languages\. Person names and addresses fail most \(0\.40, 0\.49\) because they are culturally variable\.
## 2Background
### 2\.1OpenAI Privacy Filter \(OPF\)
OPF is a 1\.5B\-parameter model released by OpenAI for redacting PII from free\-form textOpenAI \([2026](https://arxiv.org/html/2608.02616#bib.bib2)\)\. Its core architectural contribution is converting a pretrained*autoregressive*Transformer into a*bidirectional*sequence labeler: the causal \(left\-to\-right\) attention mask is replaced with full bidirectional attention, allowing every token to attend to all other tokens in both directions\. This repurposes the pretrained language model’s contextual representations for span\-level classification without retraining from scratch\. On top of this converted encoder, OPF adds MoE feed\-forward layers and a Viterbi CRF head that decodes over 33 PII label classes \(e\.g\.,private\_person,private\_email,account\_number\) via global sequence\-level inference\. OPF is designed for zero\-shot deployment without task\-specific fine\-tuning\.
### 2\.2Related Work
#### De\-identification and text anonymization\.
Clinical de\-identification — removing names, dates, locations, and contact information from medical records — has a long history in NLP, driven in part by shared tasks such as i2b2 and n2c2 on de\-identified clinical notes\.Lisonet al\.\([2021](https://arxiv.org/html/2608.02616#bib.bib11)\)survey anonymization models for clinical NLP, cataloguing rule\-based, CRF, and neural approaches and highlighting the scarcity of cross\-lingual evaluation resources\. The Text Anonymization Benchmark \(TAB;Pilánet al\.[2022](https://arxiv.org/html/2608.02616#bib.bib12)\) provides a multi\-annotator resource for anonymization of court documents, enabling reproducible comparison across system types\. Cross\-domain transfer remains challenging even within a single language, with performance degrading substantially when models trained on one clinical sub\-domain \(e\.g\. discharge summaries\) are applied to another \(e\.g\. radiology reports\)\.
#### Multilingual PII and NER\.
Multilingual PII detection has received substantially less attention than English\-centric work, with most published systems targeting a single language or a narrow set of related ones\. Multilingual NER, the closest related task, was substantially advanced by large\-scale cross\-lingual pretrainingConneauet al\.\([2020](https://arxiv.org/html/2608.02616#bib.bib3)\)and diverse multilingual benchmarks such as MultiCoNER v2Fetahuet al\.\([2023](https://arxiv.org/html/2608.02616#bib.bib4)\), which spans 12 languages including Arabic script, CJK, and Cyrillic\. However, multilingual NER schemas \(PER/ORG/LOC\) do not cover contact information, financial identifiers, or structured PII types, making direct transfer non\-trivial\. No prior work evaluates a converted autoregressive model for multilingual PII detection across script families spanning Latin, Indic, CJK, Arabic, and Cyrillic scripts\.
#### Synthetic PII datasets\.
The scarcity of real annotated PII data has motivated large\-scale synthetic dataset construction\. AI4PrivacyAI4Privacy \([2023](https://arxiv.org/html/2608.02616#bib.bib5)\)and Nemotron\-PIINVIDIA \([2024](https://arxiv.org/html/2608.02616#bib.bib6)\)provide English synthetic PII corpora generated with language models; Gretel FinanceGretel\.ai \([2023](https://arxiv.org/html/2608.02616#bib.bib7)\)and KijiDataiku \([2024](https://arxiv.org/html/2608.02616#bib.bib8)\)extend synthetic generation to multilingual financial and customer\-support text\. SPYSavkinet al\.\([2025](https://arxiv.org/html/2608.02616#bib.bib9)\)generates synthetic PII embedded in medical consultations and legal questions\. While synthetic corpora enable reproducible evaluation and avoid privacy risks, they may not capture the variability and ambiguity of genuine PII in production — a limitation we discuss in the Limitations section\.
#### Rule\-based and generalist systems\.
Microsoft PresidioMicrosoft \([2023](https://arxiv.org/html/2608.02616#bib.bib14)\)combines pattern matching, spaCy NER, and context rules and is widely used as a production baseline\. GLiNERZaratianaet al\.\([2024](https://arxiv.org/html/2608.02616#bib.bib13)\)demonstrates that open\-vocabulary NER with bidirectional transformers generalizes across entity types without task\-specific fine\-tuning, including to PII labels\. OPFOpenAI \([2026](https://arxiv.org/html/2608.02616#bib.bib2)\)occupies a different niche: it converts an autoregressive language model into a bidirectional CRF\-based detector via architecture surgery, targeting deployment\-grade PII redaction\. Our work is the first to evaluate all three alongside GPT\-4o and XLM\-RoBERTa on the same benchmarks at scale, and the first to characterize OPF’s multilingual and cross\-domain behavior across 22 languages\.
## 3Experimental Setup
### 3\.1Datasets
Table[1](https://arxiv.org/html/2608.02616#S3.T1)summarizes our evaluation benchmarks across five domain groups: 32 benchmarks for the main evaluation \(Section[4](https://arxiv.org/html/2608.02616#S4)\) and 10 additional cross\-lingual benchmarks \(IndicNER, Section[4\.2](https://arxiv.org/html/2608.02616#S4.SS2)\)\.
Table 1:Evaluation datasets\. Test sets capped at 2,000 examples\. Main eval: AI4Privacy \(1\) \+ Nemotron \(1\) \+ Kiji \(6\) \+ Gretel \(7\) \+ SPY \(2\) \+ CoNLL \(3\) \+ MultiCoNER \(12\) = 32\. Cross\-lingual: IndicNER \(10\) = 10\. Total: 42 benchmarks, 22 languages\.
### 3\.2Models
#### OPF
Publicly released checkpoint in zero\-shot mode; no fine\-tuning\.
#### Presidio
Microsoft PresidioMicrosoft \([2023](https://arxiv.org/html/2608.02616#bib.bib14)\)v2\.2 with default recognizers, evaluated zero\-shot with no dataset\-specific configuration\.
#### GPT\-4o
Queried via OpenRouter \(temperature 0\) with a zero\-shot prompt to return all PII spans as exact strings\. Included as afrontier ceiling, not a deployable alternative\. Evaluated on six English PII datasets \(AI4Privacy, Nemotron\-PII, Kiji\-en, Gretel\-en, SPY\-Medical, SPY\-Legal\) and on non\-Latin MultiCoNER splits for script analysis \(Table[3](https://arxiv.org/html/2608.02616#S4.T3)\);*not*evaluated on CoNLL\-2003 or MultiCoNER English NER because these benchmarks test general NER rather than PII detection, outside GPT\-4o’s designated role in this study\.
#### GLiNER
knowledgator/gliner\-multitask\-large\-v0\.5Zaratianaet al\.\([2024](https://arxiv.org/html/2608.02616#bib.bib13)\), a zero\-shot NER model queried with natural\-language PII label prompts\.
#### XLM\-RoBERTa
Davlan/xlm\-roberta\-large\-ner\-hrl, fine\-tuned on multilingual NER corpora and applied zero\-shot as a domain\-transferred baseline\.
### 3\.3Evaluation Metric
We report span\-level F1 \(exact character offset match\) following the OPF evaluation protocol\. We report 95% bootstrap confidence intervals \(10,000 resamples\) for all span F1 scores\.
#### OPF label mapping\.
OPF \(v2\) outputs 8 span\-level classes:account\_number,private\_address,private\_date,private\_email,private\_person,private\_phone,private\_url, andsecret\. These expand to 33 token\-level BIESO labels \(8×4\+18\\times 4\+1, including O\), which is the source of the “33 label classes” figure\. For overall span F1 \(Tables[2](https://arxiv.org/html/2608.02616#S3.T2)–[5](https://arxiv.org/html/2608.02616#S4.T5)\),*all*OPF predictions regardless of class are matched against all gold spans: aprivate\_urlorsecretprediction that hits no gold span counts as a false positive\. For per\-class F1 \(Table[4](https://arxiv.org/html/2608.02616#S4.T4)\), six classes are evaluated:private\_person\(person\),private\_email\(email\),private\_phone\(phone\),private\_address\(address\),account\_number\(account\),private\_date\(date\)\. The two remaining classes —private\_urlandsecret— appear in OPF output but are absent from per\-class gold in all evaluated datasets; their predictions inflate the false\-positive count in overall precision, which partially explains the precision gap between individual class scores and aggregate P\.
Table 2:Zero\-shot span F1 across PII datasets and 13 languages\.Bold\+underline= best per row\. OPF leads on customer\-support PII \(Kiji, all 6 languages\) and on structured synthetic PII \(AI4Privacy, Nemotron\)\. GPT\-4o leads on medical/legal English and Gretel Swedish\. Presidio not evaluated on non\-English Gretel \(no suitable language\-matched models available\)\.†XLMR \(xlm\-roberta\-large\-ner\-hrl\): domain\-transferred from NER, not PII\-trained\.‡GPT\-4o via OpenRouter\.§No publicly available multilingual equivalents exist for these benchmarks\.
#### Label mapping on NER benchmarks\.
These two benchmarks serve different purposes and are evaluated asymmetrically by design\. ForCoNLL\-2003/2002we retain all gold spans \(PER, ORG, LOC, MISC\) to measure general any\-entity detection capability: we ask whether OPF’s broad PII schema can approximate general NER\. ForMultiCoNER v2we retain*only*PER spans because this benchmark is used exclusively for cross\-lingual script\-family analysis \(Section[4\.2](https://arxiv.org/html/2608.02616#S4.SS2)\), where the research question is person\-name detection across scripts; retaining ORG/LOC/MISC would conflate script sensitivity with entity\-type coverage\. The two benchmarks therefore address different hypotheses and are not directly comparable\. Low MultiCoNER F1 reflects domain shift and schema mismatch, not evaluation inconsistency\.
#### Token\-to\-character span alignment\.
CoNLL\-2003/2002 and MultiCoNER v2 provide gold labels in BIO token format; we convert these to character spans by accumulating whitespace\-corrected character offsets per token sequence\. OPF predictions are already character\-span\-level; XLM\-RoBERTa WordPiece subword tokens are aggregated to word\-level spans before character offset mapping\. All comparisons are performed at the character level\.
#### Statistical significance\.
We use 95% bootstrap CIs \(10,000 resamples\) for all per\-dataset span F1 comparisons\. Figure[1](https://arxiv.org/html/2608.02616#S4.F1)uses±\\pm1 SD across datasets within each domain category \(a between\-dataset spread measure, not a per\-dataset CI\)\. Large pairwise differences are confirmed significant by non\-overlapping CIs \(e\.g\. AI4Privacy OPF 0\.855 vs\. Presidio 0\.431,Δ\\Delta= 0\.42; Nemotron OPF 0\.559 vs\. Presidio 0\.438,Δ\\Delta= 0\.12; SPY\-Medical GPT\-4o 0\.702 vs\. OPF 0\.464,Δ\\Delta= 0\.24\)\. Small deltas — such as Gretel\_fr OPF 0\.560 vs\. GLiNER 0\.558 \(Δ\\Delta= 0\.002\) — should not be interpreted as reliable differences; we report them for completeness and limit significance claims to gaps ofΔ≥0\.05\\Delta\\geq 0\.05\.
## 4Results
### 4\.1Zero\-Shot Cross\-Domain Performance
Table[2](https://arxiv.org/html/2608.02616#S3.T2)presents zero\-shot results across all PII benchmarks and 13 languages\. All five models are compared on English; multilingual coverage extends to 6 Kiji languages and 7 Gretel Finance languages\.
Table 3:Person\-name span F1 across 13 languages and twelve script families\. Bold\+underline = best per row\.†XLMR:Davlan/xlm\-roberta\-large\-ner\-hrl, multilingual NER fine\-tune; PER spans mapped toprivate\_person\.‡GPT\-4o via OpenRouter; verbatim substring matching\. Presidio omitted: no recognizer exists for any of the 13 script families shown \(Indic, Arabic, CJK, Cyrillic\); for reference, Presidio F1 on Latin\-script languages ranges from 0\.37–0\.43 \(Table[2](https://arxiv.org/html/2608.02616#S3.T2)\)\.#### Domain hierarchy\.
OPF performance follows a clear domain hierarchy: true PII \(0\.71 avg\)\>\>customer support \(0\.60 avg across 6 languages\)\>\>financial \(0\.52 avg across 7 languages\)\>\>medical/legal \(0\.46\)\. We do not have access to OPF’s training data, so we cannot verify proximity to its training distribution; domain proximity remains a non\-testable alternative hypothesis\. A consistent schema\-coverage explanation fits the data: OPF’s 8 span classes enumerate discrete PII fields \(person, email, phone, address, account, date, URL, secret\) that appear as structured tokens in synthetic datasets\. In medical and legal text, identifying information is embedded in narrative prose — clinical descriptions, case references, party roles — that does not map cleanly to any of these 8 classes, driving recall down\. The financial gap specifically reflects IBAN, BIC, and benefit\-description spans that overlap ambiguously withaccount\_numberbut miss exact boundaries, consistent with the per\-class collapse in account F1 on Gretel \(0\.23–0\.39 vs\. 0\.84–0\.96 on Kiji\)\. Figure[1](https://arxiv.org/html/2608.02616#S4.F1)visualizes this gradient across all four systems\.
Synth\. PIICust\. Supp\.FinancialMed\./Legal00\.20\.20\.40\.40\.60\.60\.80\.8Avg\. Span F1OPFGPT\-4oGLiNERPresidioFigure 1:Average span F1 by domain \(category means from Table[2](https://arxiv.org/html/2608.02616#S3.T2)\)\. Error bars show±\\pm1 SD across datasets within each domain\. OPF leads on Synthetic PII and Customer Support; GPT\-4o leads on Medical/Legal PII\. XLMR omitted \(consistently lowest across all domains\)\.
### 4\.2Cross\-Lingual and Script\-Family Analysis
We evaluate person\-name detection across 13 languages spanning twelve script families222The twelve scripts are: Bengali, Gujarati, Devanagari \(Hindi and Marathi share this script\), Kannada, Malayalam, Odia, Gurmukhi, Tamil, Telugu \(nine Indic scripts across ten IndicNER languages\), plus Arabic script \(Persian\), CJK \(Chinese\), and Cyrillic \(Ukrainian\)\.using two benchmarks: Naamapadam IndicNERMhaskeet al\.\([2023](https://arxiv.org/html/2608.02616#bib.bib1)\)for ten Indic\-script languages, and MultiCoNER v2Fetahuet al\.\([2023](https://arxiv.org/html/2608.02616#bib.bib4)\)\(PER spans only\) for Arabic script \(Persian/fa\), CJK \(Chinese/zh\), and Cyrillic \(Ukrainian/uk\)\. No publicly available person\-name PII benchmarks exist for Japanese, Cantonese, Korean, or other script families not covered here\.
Table[3](https://arxiv.org/html/2608.02616#S4.T3)compares four systems\.GPT\-4oleads on 10 of 13 languages, demonstrating strong multilingual person\-name recognition across Indic and non\-Latin scripts\.XLMR\(fine\-tuned on multilingual NER corpora\) leads on Telugu, Tamil, and Odia, where its NER fine\-tuning likely provides an advantage over zero\-shot approaches\.OPFshows severe degradation on Arabic script \(F1 = 0\.038\) and Cyrillic \(F1 = 0\.027\), and collapses on Odia \(F1 = 0\.000\)\.GLiNERis near\-zero across all non\-Latin scripts, confirming its zero\-shot capability is essentially Latin\-centric\.
For non\-Indic non\-Latin scripts, GPT\-4o leads comfortably: CJK \(zh, F1 = 0\.733\), Cyrillic \(uk, 0\.662\), and Arabic script \(fa, 0\.306\)\. The CJK result is notably strong — GPT\-4o recognizes Chinese person names reliably, consistent with its large multilingual pretraining\. XLMR performs respectably on all three \(zh: 0\.483, uk: 0\.297, fa: 0\.230\), while OPF collapses on Arabic script \(0\.038\) and Cyrillic \(0\.027\)\. GLiNER is near\-zero on Arabic script \(0\.097\) and CJK \(0\.093\) but slightly higher on Cyrillic \(0\.185\), suggesting marginal sensitivity to Latin\-adjacent scripts\.
Three additional results warrant attention\. First, GPT\-4o fails entirely on Telugu \(F1 = 0\.000\): inspection of predictions reveals it returns Latin\-script transliterations of Telugu names rather than verbatim substrings, causing every predicted span to miss\. Second, Odia is the hardest language for all models \(best F1 = 0\.097 by XLMR\), reflecting limited training coverage across all four systems\. Third, Arabic script \(Persian\) is the hardest non\-Indic language: GPT\-4o achieves only 0\.306, far below its CJK \(0\.733\) and Cyrillic \(0\.662\) scores, suggesting right\-to\-left script handling or Persian\-specific name patterns pose additional difficulty\.
Table 4:OPF per\-class span F1 across 16 PII\-annotated datasets and 8 languages\. NER benchmarks \(CoNLL, MultiCoNER\) are excluded: they lack PII\-typed labels\. Email and phone are robust across all languages \(format\-based, 0\.54–0\.99\); person names and addresses are most variable\. SPY datasets contain no date\-of\-birth annotations \(—\)\.
### 4\.3PII Type Error Analysis
Table[4](https://arxiv.org/html/2608.02616#S4.T4)breaks down OPF span F1 by PII type across 16 datasets and 8 languages\. A consistent pattern emerges: OPF is strongest onstructurally regularPII types \(email: 0\.54–0\.99, phone: 0\.44–0\.93\) and weakest onculturally variableentities \(person: 0\.33–0\.80, address: 0\.23–0\.85\)\. Email and phone share near\-universal formats, making them robust across all eight languages\. Person names and postal addresses are highly culture\- and language\-specific: person F1 ranges from 0\.331 \(kiji\_da\) to 0\.795 \(gretel\_en\), and address F1 collapses to 0\.227 on kiji\_da where Danish address formats are culturally specific and less structurally regular\. Account numbers follow domain: high in customer\-support \(Kiji: 0\.84–0\.86\) and synthetic PII \(AI4Privacy: 0\.96\), but low in financial text \(Gretel: 0\.23–0\.39\) where identifiers are embedded in narrative context\.
#### Precision\-recall profile across domains\.
Table[5](https://arxiv.org/html/2608.02616#S4.T5)shows OPF is recall\-biased on customer\-support and medical/legal PII \(P=0\.31–0\.54, R=0\.70–0\.85\)\. Exceptions: financial text is precision\-biased \(gretel\_en: P=0\.64, R=0\.49\); general NER shows low recall \(multiconer\_en: P=0\.68, R=0\.28\) due to domain shift\. The gretel\_en exception is structurally explained: formatted identifiers \(account numbers, IBANs, credit cards\) are detected with high precision, but narrative financial PII \(employer names, benefit descriptions\) is missed, depressing recall\. On synthetic PII benchmarks, 46–69% of predicted spans are false positives in customer\-support and medical/legal domains \(P = 0\.31–0\.54; FP / \(TP\+FP\) = 1−\-P\)\. For a deployment context, this means roughly half of all redactions would cover non\-PII text: acceptable for high\-recall privacy pipelines where missed PII carries legal or regulatory risk, but costly in user\-facing systems where over\-redaction degrades readability or utility\. Practitioners should calibrate the precision–recall trade\-off using OPF’s confidence scores before deployment, and these estimates should be validated on real \(non\-synthetic\) data before drawing operational conclusions\.
Table 5:OPF precision, recall, F1 across all domains and languages \(upper rows\), and GPT\-4o P/R/F1 for the six English PII datasets where it was evaluated \(lower rows\)\. OPF is recall\-biased in PII domains \(R\>\>P\) except Gretel financial \(P\>\>R\)\. GPT\-4o achieves very high recall on SPY\-Medical \(R = 0\.949\) at the cost of precision \(P = 0\.557\)\.
## 5Discussion
#### Scope caveat\.
All findings in this section are derived exclusively from synthetic PII benchmarks\. We have not evaluated on real annotated PII data \(e\.g\., TABPilánet al\.\([2022](https://arxiv.org/html/2608.02616#bib.bib12)\), i2b2/n2c2 clinical notes\), which were inaccessible for anonymous review\. Deployment recommendations below should be treated as synthetic\-distribution estimates until validated on real production data\.
#### OPF vs\. Presidio: the production deployment question\.
OPF outperforms Presidio on all PII\-annotated datasets \(F1 gains: \+0\.42 AI4Privacy, \+0\.12 Nemotron, \+0\.17 Gretel/Kiji, \+0\.19/\+0\.17 SPY medical/legal\)\. On general NER, OPF also leads Presidio on CoNLL\-2003 newswire \(\+0\.09; Table[6](https://arxiv.org/html/2608.02616#S5.T6)\), though CoNLL is not a PII benchmark — this reflects OPF’s broad entity schema approximating NER, not PII detection capability\. On MultiCoNER general NER, Presidio \(0\.546\) surpasses OPF \(0\.397\) because its spaCy PERSON recognizer covers the NER class without domain adaptation\. OPF is the stronger zero\-shot choice for PII detection; Presidio retains an edge only on MultiCoNER\-style general NER\.
Table 6:Span F1 on general NER benchmarks \(OPF, Presidio, GLiNER\)\. GPT\-4o was evaluated on non\-Latin MultiCoNER splits \(Table[3](https://arxiv.org/html/2608.02616#S4.T3)\) but not on the English NER split, as its role in this study is as a PII ceiling, not a general NER baseline; XLMR is omitted for the same reason\. CoNLL uses all entity types \(PER/ORG/LOC/MISC\); MultiCoNER uses PER\-only \(see §[3](https://arxiv.org/html/2608.02616#S3)\)\.
#### GPT\-4o as a zero\-shot ceiling\.
Evaluated on six English PII datasets atnn=2000 \(Kijinn=846\), GPT\-4o outperforms OPF on four: SPY medical \(0\.702 vs\. 0\.464\), SPY legal \(0\.587 vs\. 0\.453\), Gretel financial English \(0\.576 vs\. 0\.554\), and Gretel Swedish \(0\.506 vs\. 0\.456,Δ\\Delta= 0\.05\)\. OPF leads on structured synthetic PII where span boundaries are regular: AI4Privacy \(0\.855 vs\. 0\.543\), Kiji customer support \(0\.596 vs\. 0\.420\), and Nemotron \(0\.559 vs\. 0\.478\)\. The pattern is consistent: GPT\-4o’s recall\-heavy extraction \(SPY medical R = 0\.949 vs\. OPF 0\.818\) recovers PII that OPF’s 33\-class schema misses, but its generative span recovery misses exact boundaries on highly structured synthetic PII\. We do not ablate the mechanism; the pattern is reported as an empirical finding\.
#### GLiNER as a zero\-shot alternative\.
GLiNERZaratianaet al\.\([2024](https://arxiv.org/html/2608.02616#bib.bib13)\)trails OPF on PII \(AI4Privacy: 0\.577 vs\. 0\.855; Kiji: 0\.349 vs\. 0\.596\) but is competitive on SPY medical \(0\.498 vs\. 0\.464\)\. On general NER \(Table[6](https://arxiv.org/html/2608.02616#S5.T6)\), GLiNER leads on MultiCoNER \(0\.754 vs\. OPF 0\.397\) but trails on CoNLL\-2003 \(0\.428 vs\. OPF 0\.569\): GLiNER’s open\-vocabulary prompting generalizes well to diverse NER entity types, while OPF’s fixed PII schema gives it an edge on newswire NER\. GLiNER is preferable when the entity taxonomy is open or domain\-specific; OPF is the stronger zero\-shot choice for standard PII\.
#### Inference latency and deployment profile\.
We did not measure throughput; the following ordering is qualitative, based on architectural characteristics: Presidio \(CPU rule\-based\)≫\\ggXLM\-R \(340M, GPU\-optional\)≈\\approxGLiNER\>\>OPF \(1\.5B, MoE \+ Viterbi CRF, GPU required\)≫\\ggGPT\-4o \(per\-call API latency\)\. OPF’s advantage over Presidio concentrates on culturally variable entities \(PERSON, ADDRESS\) where Presidio’s spaCy NER struggles\.
## 6Conclusion
We presented a comprehensive evaluation of OpenAI’s Privacy Filter across 42 datasets, 22 languages, and 5 domains\. OPF achieves strong zero\-shot PII detection performance across domains — category\-average F1 of 0\.71 on structured synthetic PII, 0\.60 on customer support, 0\.52 on financial, and 0\.46 on synthetic medical/legal text — substantially exceeding both Microsoft Presidio \(zero\-shot\) and XLM\-RoBERTa\-large\-NER \(domain\-transferred, not fine\-tuned on target datasets\) across all PII domains\. However, performance degrades sharply on domains where PII is embedded in narrative prose rather than discrete fields: on general NER benchmarks and especially for non\-Latin scripts\. Across 13 languages and 12 script families, GPT\-4o leads on most languages while GLiNER collapses on all non\-Latin scripts\. Error analysis reveals that structural regularity of PII type is the primary predictor of detection performance\.
## Limitations
#### OPF fine\-tuning\.
We evaluate OPF exclusively in zero\-shot mode\. OPF supports fine\-tuning via its training interface, but no public API or documented training recipe is available\. Future work should revisit once OPF’s training interface is documented\.
#### All benchmarks are synthetic\.
Every PII\-annotated dataset used in this evaluation contains synthetic or machine\-generated PII \(AI4Privacy, Nemotron, Kiji, Gretel, SPY\)\. No large\-scale benchmark with real, de\-identified PII annotations is publicly available\. Results therefore reflect performance on synthetic text distributions, which may not fully capture the variability and ambiguity of genuine personal data in production systems\.
#### Script\-family confounding\.
The cross\-lingual analysis uses IndicNER \(person\-name spans, 10 Indic languages\) and MultiCoNER PER\-only spans \(Arabic script, CJK, Cyrillic\), both evaluated against OPF’sprivate\_personclass, so entity\-type mismatch is not a confound\. However, script effects and OPF training data coverage cannot be disentangled: low F1 on Arabic script, Cyrillic, and low\-resource Indic languages \(Odia, Gurmukhi\) may reflect insufficient training examples in those scripts rather than fundamental tokenizer limitations\. We report these gaps as descriptive findings\. A clean causal test would require controlling for training data volume per script family, which is not possible without access to OPF’s training data\.
#### XLM\-RoBERTa label scheme\.
We evaluate XLM\-RoBERTa zero\-shot using PER spans mapped toprivate\_person; fine\-tuning against OPF’s full 33\-class taxonomy remains future work\.
#### Presidio multilingual coverage\.
Presidio’s multilingual support is limited to languages with available spaCy NER models; in our experiments, direct language\-matched evaluation is available for English, French, German, Spanish, Dutch, and Danish \(Table[2](https://arxiv.org/html/2608.02616#S3.T2)\)\. For Danish, Dutch, and non\-Latin scripts, Presidio falls back to English models or lacks coverage entirely\. This understates Presidio’s performance for languages it does support natively and overstates it for languages it does not; the OPF vs\. Presidio comparison should be interpreted language\-by\-language rather than as a global claim\.
## Ethics Statement
All datasets used are publicly available and contain either synthetic PII or fully anonymized text\. No real personal data was collected or processed in this work\. Our evaluation reveals failure modes of OPF that practitioners should be aware of before deployment in production PII\-processing pipelines\.
## References
- AI4Privacy \(2023\)AI4Privacy PII Masking Dataset\.Note:[https://huggingface\.co/datasets/ai4privacy/pii\-masking\-300k](https://huggingface.co/datasets/ai4privacy/pii-masking-300k)Cited by:[§2\.2](https://arxiv.org/html/2608.02616#S2.SS2.SSS0.Px3.p1.1),[Table 1](https://arxiv.org/html/2608.02616#S3.T1.1.1.2.1.1)\.
- A\. Conneau, K\. Khandelwal, N\. Goyal, V\. Chaudhary, G\. Wenzek, F\. Guzmán, E\. Grave, M\. Ott, L\. Zettlemoyer, and V\. Stoyanov \(2020\)Unsupervised cross\-lingual representation learning at scale\.InProceedings of ACL,pp\. 8440–8451\.Cited by:[§2\.2](https://arxiv.org/html/2608.02616#S2.SS2.SSS0.Px2.p1.1)\.
- Dataiku \(2024\)Kiji PII Training Data\.Note:[https://huggingface\.co/datasets/DataikuNLP/kiji\-pii\-training\-data](https://huggingface.co/datasets/DataikuNLP/kiji-pii-training-data)Cited by:[§2\.2](https://arxiv.org/html/2608.02616#S2.SS2.SSS0.Px3.p1.1),[Table 1](https://arxiv.org/html/2608.02616#S3.T1.1.1.4.3.1)\.
- B\. Fetahu, Z\. Chen, S\. Kar, O\. Rokhlenko, and S\. Malmasi \(2023\)MultiCoNER v2: a large multilingual dataset for fine\-grained and noisy named entity recognition\.InFindings of the Association for Computational Linguistics: EMNLP 2023,Cited by:[§2\.2](https://arxiv.org/html/2608.02616#S2.SS2.SSS0.Px2.p1.1),[Table 1](https://arxiv.org/html/2608.02616#S3.T1.1.1.8.7.1),[§4\.2](https://arxiv.org/html/2608.02616#S4.SS2.p1.1)\.
- Gretel\.ai \(2023\)Gretel Synthetic Financial PII Dataset\.Note:[https://huggingface\.co/datasets/gretelai/synthetic\_pii\_finance\_multilingual](https://huggingface.co/datasets/gretelai/synthetic_pii_finance_multilingual)Cited by:[§2\.2](https://arxiv.org/html/2608.02616#S2.SS2.SSS0.Px3.p1.1),[Table 1](https://arxiv.org/html/2608.02616#S3.T1.1.1.5.4.1)\.
- P\. Lison, I\. Pilán, D\. Sanchez, M\. Batet, and L\. Øvrelid \(2021\)Anonymisation models for text data: state of the art, challenges and future directions\.InProceedings of the 59th Annual Meeting of the Association for Computational Linguistics and the 11th International Joint Conference on Natural Language Processing \(Volume 1: Long Papers\),pp\. 4188–4203\.Cited by:[§2\.2](https://arxiv.org/html/2608.02616#S2.SS2.SSS0.Px1.p1.1)\.
- A\. Mhaske, H\. Kedia, S\. Doddapaneni, P\. Kumar, M\. M\. Khapra, and A\. Kunchukuttan \(2023\)Naamapadam: a large\-scale named entity annotated data for Indic languages\.InFindings of the Association for Computational Linguistics: ACL 2023,pp\. 2204–2219\.Cited by:[§4\.2](https://arxiv.org/html/2608.02616#S4.SS2.p1.1)\.
- Microsoft \(2023\)Microsoft Presidio: Data Protection and De\-identification SDK\.Note:[https://github\.com/microsoft/presidio](https://github.com/microsoft/presidio)Cited by:[§2\.2](https://arxiv.org/html/2608.02616#S2.SS2.SSS0.Px4.p1.1),[§3\.2](https://arxiv.org/html/2608.02616#S3.SS2.SSS0.Px2.p1.1)\.
- NVIDIA \(2024\)Nemotron\-PII: A Large\-Scale PII Dataset\.Note:[https://huggingface\.co/datasets/nvidia/Nemotron\-PII](https://huggingface.co/datasets/nvidia/Nemotron-PII)Cited by:[§2\.2](https://arxiv.org/html/2608.02616#S2.SS2.SSS0.Px3.p1.1),[Table 1](https://arxiv.org/html/2608.02616#S3.T1.1.1.3.2.1)\.
- OpenAI \(2026\)OpenAI Privacy Filter\.Note:[https://github\.com/openai/privacy\-filter](https://github.com/openai/privacy-filter)Cited by:[§1](https://arxiv.org/html/2608.02616#S1.p2.1),[§2\.1](https://arxiv.org/html/2608.02616#S2.SS1.p1.1),[§2\.2](https://arxiv.org/html/2608.02616#S2.SS2.SSS0.Px4.p1.1)\.
- I\. Pilán, P\. Lison, L\. Øvrelid, A\. Papadopoulou, D\. Sánchez, and M\. Batet \(2022\)The text anonymization benchmark \(TAB\): a dedicated corpus and evaluation framework for text anonymization\.Computational Linguistics48\(4\),pp\. 1053–1101\.Cited by:[§2\.2](https://arxiv.org/html/2608.02616#S2.SS2.SSS0.Px1.p1.1),[§5](https://arxiv.org/html/2608.02616#S5.SS0.SSS0.Px1.p1.1)\.
- M\. Savkin, T\. Ionov, and V\. Konovalov \(2025\)SPY: enhancing privacy with synthetic PII detection dataset\.InProceedings of NAACL Student Research Workshop,Cited by:[§2\.2](https://arxiv.org/html/2608.02616#S2.SS2.SSS0.Px3.p1.1),[Table 1](https://arxiv.org/html/2608.02616#S3.T1.1.1.6.5.1)\.
- E\. F\. Tjong Kim Sang and F\. De Meulder \(2003\)Introduction to the CoNLL\-2003 shared task: language\-independent named entity recognition\.InProceedings of CoNLL,pp\. 142–147\.Cited by:[Table 1](https://arxiv.org/html/2608.02616#S3.T1.1.1.7.6.1)\.
- U\. Zaratiana, N\. Tomeh, P\. Holat, and T\. Charnois \(2024\)GLiNER: generalist model for named entity recognition using bidirectional transformer\.InProceedings of NAACL,Cited by:[§2\.2](https://arxiv.org/html/2608.02616#S2.SS2.SSS0.Px4.p1.1),[§3\.2](https://arxiv.org/html/2608.02616#S3.SS2.SSS0.Px4.p1.1),[§5](https://arxiv.org/html/2608.02616#S5.SS0.SSS0.Px4.p1.1)\.
## Appendix A: GPT\-4o Evaluation Prompt
The following system prompt was used for all GPT\-4o evaluations \(temperature = 0,max\_tokens= 512,response\_format=json\_object, model =openai/gpt\-4ovia OpenRouter\)\. Span recovery: each string in the returnedpiiarray was located in the source text via exact substring search; all occurrences were recorded as predicted spans\.
> You are a PII detection system\. Given a text, identify ALL personally identifiable information \(PII\)\. PII includes: person names, email addresses, phone numbers, physical addresses, account numbers, dates of birth, credit card numbers, passwords, social security numbers, URLs, IP addresses, and any other personal identifiers\. Respond ONLY with a JSON object in this exact format: \{"pii": \["exact string 1", "exact string 2", \.\.\.\]\} Rules: \- Each string must appear VERBATIM in the input text \(exact substring match\) \- Include all occurrences even if repeated \- If no PII found, return \{"pii": \[\]\} \- No explanation, no markdown, just the JSON
Input texts were truncated to 4,000 characters\. Full evaluation code is available at the repository linked in the Introduction\.Similar Articles
Introducing OpenAI Privacy Filter
OpenAI releases Privacy Filter, an open-weight model designed to detect and redact personally identifiable information (PII) in text with high efficiency and context awareness.
openai/privacy-filter
OpenAI releases Privacy Filter, a 1.5B parameter bidirectional token classification model for PII detection and masking, featuring an Apache 2.0 license and long-context support for high-throughput data sanitization.
How to build scalable web apps with OpenAI's Privacy Filter
This article demonstrates how to build scalable web applications for PII detection using OpenAI's Privacy Filter model and Gradio Server, showcasing three specific app examples like document exploration and image anonymization.
OpenAI Privacy Filter Model
OpenAI quietly released an Apache-2.0-licensed privacy-filter model on Hugging Face with open weights, aiming to help users run local privacy-preserving filters while retaining big-lab quality.
Broad and Efficient PII Detection with Unified Labels
该论文提出一个 141M 参数的编码器式 PII 检测模型,使用来自 77 个公共数据集、按统一上下文检测标准重新标注的 112 万条样本训练,在 AI4Privacy 和 Nemotron-PII 基准上以更低的 GPU 内存和 2–10 倍吞吐量取得领先召回率。