Conformal Privacy Auditing: Calibrated Re-identification Attacks with Statistical GuaranteesConformal Privacy Auditing: Calibrated Re-identification Attacks with Statistical Guarantees
The authors propose CPA, using split conformal to calibrate re-identification attacks into fuzzy sets with finite-sample coverage guarantees, and validate on benchmarks such as TAB and TextWash that coverage is close to 1−α.
- When releasing de-identified text, existing audits only report the success rate of specific attack pipelines and lack finite-sample statistical guarantees; training-time protections such as DP are also difficult to translate into a release decision for a single document.
- Proposes Conformal Privacy Auditing (CPA): the candidate identity distribution produced by any attack pipeline is used with the APS quality score as the nonconformity score, and via split conformal calibration outputs a fuzzy set containing the true identity at 1−α confidence, with the set size as an interpretable leakage measure, supporting both logit access and sampling-only interfaces.
- On the four benchmarks TAB, TextWash, WikiBio, and Blog, empirical coverage is generally close to 1−α; as auxiliary knowledge strengthens, the certified fuzzy set shrinks from near the full pool to a singleton (e.g., TAB K1 median 1268 to K3 median 1); attack or release distribution drift makes coverage fall below target, requiring recalibration.
- The authors state that CPA is an auditing framework rather than a cryptographic privacy definition, that its guarantees hold only under the declared threat configuration, and that it offers no universal protection against unknown attacks; missing true identities in the candidate pool or distribution drift degrade coverage; the experiments focus on identity linking, and extension to membership inference is future work.
- Threat model
- The attacker's goal is to link a released document x to the true identity Y in the candidate pool Y(x,w). The framework treats the attacker as a black box: the weakest interface has only sampling-only forced-choice queries (budget m per document), and candidate log-probabilities are used directly when available. It distinguishes closed-world (the true identity is necessarily in the pool) from open-world (it may be missing, measured by the candidate-miss rate).
- Benchmarks
- TABTextWashWikiBioBlog Authorship Corpus
- Metrics
- empirical coveragemedian/mean |Cα|E[1/|Cα|]Top-1 accuracyMRRcandidate-miss rate
Researchers propose Conformal Privacy Auditing (CPA), a distribution-free calibration framework that provides a statistical certificate of re-identification risk for each released text through a calibrated re-identification attack. CPA outputs a conformal ambiguity set of candidate identities, which under the exchangeability assumption is guaranteed to contain the true identity at a user-selected confidence level, and derives an interpretable leakage proxy metric from the set size. The framework supports both attackers with access to logits and sampling-only attackers, enabling auditing of open-source models and proprietary API models under a unified framework. Across multiple release benchmarks and attacker configurations, CPA achieves calibrated coverage and shows that certified identifiability varies sharply with auxiliary knowledge, LLM enhancement, and the release mechanism.
Paper analysis
What problem does this paper attempt to solve?
How to provide an audit certificate for the re-identification risk of released text that carries finite-sample statistical guarantees and is comparable across attack configurations.
Core question: when releasing redacted text, how can each document be given a re-identification risk certificate with statistical guarantees, rather than only reporting the success rate of some attack pipeline.
- Scenario and motivation: Institutions need to release texts such as clinical records, legal documents, and online posts; a common practice is redaction, but the authors state that seemingly harmless combinations of attributes (age, gender, occupation, city) can still be linked; recent research shows that LLMs have become practical privacy attackers, able to extract clues and combine them with auxiliary knowledge to amplify re-identification risk.
- Shortcomings of existing methods: The authors argue that DP provides mechanism-level worst-case guarantees that are overly conservative in practice, harm utility, and are hard to translate into release decisions for a single natural-language document; empirical audits measure leakage with attack success rates but lack theoretical guarantees and cannot show whether risk generalizes to unseen data or stronger attackers.
- Core observation: Privacy leakage is relative to the attacker—the same text may be safe under weak auxiliary knowledge and highly identifiable under strong auxiliary knowledge, so certificates should be issued separately for each declared threat configuration.
- The paper proposes: Conformal Privacy Auditing (CPA), a distribution-free calibration framework based on conformal prediction that outputs a conformal fuzzy set containing the true identity at a user-selected confidence 1−α, with the set size as an interpretable leakage proxy, uniformly supporting logit-access and sampling-only attackers.
- Threat model:
- Goal: Given a released document x, link x to the true identity Y within the candidate pool Y(x,w) in the reference population U.
- Knowledge: Represented by a knowledge level w denoting auxiliary information and tools, including candidate profile database fields, auxiliary corpora, whether LLM clue extraction or web search enhancement is available, and decoding settings.
- Capability: Black box access; the weakest interface is sampling-only repeated forced-choice queries (budget m per document), and candidate log-probabilities are used directly when available; covers retrieval-based and LLM pipelines (including proprietary API models).
- Victim system and setting: The publisher conducts pre-release auditing of redacted documents; distinguishes closed-world (the true identity is necessarily in the pool) from open-world (it may be missing, measured by the candidate-miss rate ρ(w)).
What related research exists?
Related work covers six threads: DP training, memorization extraction attacks, privacy auditing, text anonymization benchmarks, statistical disclosure control, and conformal prediction.
Differential privacy training
- Dwork et al. (2006) proposed DP; Abadi et al. (2016)'s DP-SGD is the standard training method; Yu et al. (2022) and Li et al. (2022) adapted it to NLP fine-tuning and generation. The paper notes that these works enforce mechanism-level guarantees, whereas this paper audits task-level re-identification risk under a declared threat model, with guarantees coming from split conformal calibration rather than noise injection.
Memorization and data extraction attacks
- Carlini et al. (2019, 2021, 2023) show that language models memorize and recite training data; Shokri et al. (2017) and Yeom et al. (2018) proposed attack-based evaluations such as membership inference. The paper states that this paper is compatible with these attack definitions: any attack score can be used as a nonconformity signal.
Privacy auditing and text anonymization
- Jagielski et al. (2020) and Steinke et al. (2023) audit DP pipelines; Hu et al. (2025) argue that comparing across settings using a single scalar "privacy number" may be unreliable—the paper uses this to explain that this paper outputs a set-valued certificate with coverage guarantees.
- TAB (Pilán et al., 2022) provides a text anonymization corpus and evaluation framework; Deuber et al. (2023) advocate evaluating anonymization with de-anonymization experiments using real attackers. The authors position this paper as a complement to these works: providing a distribution-free risk control layer.
Statistical disclosure control (SDC) and record linkage
- Fellegi and Sunter (1969)'s probabilistic record linkage, Lambert (1993) and Reiter (2005)'s disclosure risk estimation, Sweeney (2002)'s k-anonymity. The paper states that CPA's certified ambiguity set can be read as a calibrated per-document analogue of k-anonymity under a modern declared attacker; the difference is that classical SDC targets structured microdata and relies on population frequency assumptions, whereas CPA targets unstructured text and provides distribution-free set coverage guarantees.
Conformal prediction
- Vovk et al. (2005)'s conformal prediction, Romano et al. (2020)'s adaptive prediction sets (APS), Bates et al. (2021)'s conformal risk control. CPA adapts this principle to privacy: the risk is re-identification under a declared threat model, and the output is certified attacker ambiguity.
Baselines and benchmarks: The experimental comparisons are non-conformal ranking metrics (Top-1/Top-k, MRR, mean rank), and the benchmarks used are TAB, TextWash, WikiBio, and Blog Authorship Corpus.
How does the paper address this problem?
CPA passes the candidate distribution of any attack pipeline through APS mass scores and split conformal calibration, outputting an identity ambiguity set with a 1−α coverage guarantee.
Overall idea: formalize re-identification auditing as constructing a conformal fuzzy set—the attack pipeline maps a released document to a distribution over candidate identities, and CPA uses split conformal calibration to turn that distribution into a set containing the true identity at 1−α confidence, with the set size being the leakage certificate.
Task formalization
- Released document X, true identity Y ∈ U (reference population); the attacker operates over a finite candidate pool Y(x,w) ⊆ U; w is the knowledge level, encoding auxiliary information, tools, and decoding settings.
- The attack pipeline outputs a distribution pA(·|x,w) over candidates; the auditing goal is to give a finite-sample certificate under the declared attacker capability and budget, not to defend against unbounded attackers.
- The main output is the certified fuzzy set Cα(x,w); a leakage proxy L(x,w) := 1/max{1, |Cα(x,w)|} is also reported; the authors emphasize that L is not a re-identification probability but only a monotone transform of the set size (e.g., L=0.1 means the attacker has narrowed the range to 10 candidates).
Nonconformity score and two access interfaces
- An APS-style quality score is used: s(x,y;w) := ∑j: pA(πj|x,w) ≥ pA(y|x,w) pA(πj|x,w), i.e., the mass accumulated in descending order of attacker probability up to the true identity; a smaller s means the attacker is more concentrated on the truth and the linking risk is higher.
- The score need not be a calibrated probability: retrieval attackers use a pseudo-posterior normalized by similarity softmax, and rank-only attackers can use a pure rank score; the authors state that ablations show multiple constructions achieve valid coverage, and APS is only a robust default.
- Sampling-only interface: When logits are unavailable, m forced-choice samples from the attacker give empirical frequencies p̂m, which are substituted into the above expression to obtain the plug-in score ŝm, making proprietary API models auditable.
Split conformal calibration
- Compute scores Ti on the calibration set, and take the threshold q̂α as the ⌈(n+1)(1−α)⌉-th order statistic; for a new document output Cα(x,w) = {y ∈ Y(x,w) : s(x,y;w) ≤ q̂α}, i.e., retain the candidates the attacker cannot statistically rule out.
- The full procedure is in Algorithm 1 of Appendix A.1.
Theoretical guarantees
- Assumptions: under a fixed knowledge level w, calibration and test samples are exchangeable (i.i.d. suffices); the attacker's internal randomness Ui is i.i.d. across samples i and independent of the data (Lemma 5.1 gives score exchangeability on this basis).
- Theorem 5.2: In the closed-world setting (Y is necessarily in the pool), Pr(Yn+1 ∈ Cα(Xn+1,w)) ≥ 1−α, distribution-free and holding for any consistently computed score.
- Corollary 5.3: In the open-world setting, if the candidate-miss probability is ρ(w), unconditional coverage ≥ (1−ρ(w))(1−α) ≥ 1−(ρ(w)+α), i.e., coverage degrades with the miss rate.
Attack pipeline instantiations
- Retrieval-CPA: Build a text representation for each candidate profile (controlled schema), and normalize TF–IDF cosine similarity to obtain pA; w determines the available fields and query transformations (metadata-only vs. keyword profiles; whether LLM clue extraction is included).
- Profile-CPA: An LLM extracts attributes from x (occupation, location, age group), sampling gives a distribution over attribute values that is matched against profiles, and certificates are issued through the same calibration procedure.
- Certificate scope: Candidate pool construction, release mechanism, query pattern, w, budget m, and attacker randomness all belong to the declared configuration; any change (new prompt, model, web snapshot) requires recalibration.
What experiments did the paper conduct?
Coverage calibration is validated on the four benchmarks TAB, TextWash, WikiBio, and Blog, and stress tests cover drift, candidate pool truncation, score construction, calibration size, and sampling budget.
Experimental setup
- Attack models: Local attackers Llama-3.1-8B-Instruct and Qwen3-8B-Instruct (for clue/attribute extraction), cloud model GPT-5 (TextWash clues); the retrieval attacker does not rely on an LLM.
- Datasets and candidate pools: TAB (1,268 case records, profiles built from metadata/keywords/case text, corresponding to K1/K2/K3); TextWash (1,202 orig/anon person descriptions, famous 401, semi-famous 400, fiction 401, pool about 400); WikiBio (1,000 candidate profiles against 500 released biographies); Blog Authorship (19,320 authors, subsampled, profiles concatenated from W∈{1,3,10} retained posts).
- Metrics: Non-conformal baselines Top-1/Top-k, MRR, mean rank; conformal metrics are empirical coverage at α∈{0.01,0.05,0.1}, the |Cα| distribution (median/mean/tail), the leakage proxy E[1/|Cα|], and the candidate-miss rate.
- Protocol: Split conformal with disjoint calibration/test splits; split sizes are part of the declared configuration (e.g., TextWash ncal=ntest=100 per category); each dataset × knowledge level is calibrated separately; comparisons between attackers are made only under matched calibration/test budgets.
- Hyperparameters (Appendix B.1): TF–IDF max_features=50,000, ngram_max=1; softmax temperature [0.5,2.0]; LLM decoding temperature=0.8, top_p=0.95; m∈{5,10,30}.
Main results
TAB linking audit (α=0.05, per Table 1):
Swipe horizontally to read the table
Attack setting Top-1 Coverage Median |C| Mean 1/|C| K1 meta / direct 0.052 0.929 1268 9.57e-04 K2 keywords / direct 0.973 0.973 1 1.0000 K3 case-text / direct 0.994 0.994 1 1.0000 K2 keywords / LLM-clues 0.715 0.970 20 0.0499 K1 meta / direct (quasi-ID) 0.003 0.932 1268 0.0017 K2 keywords / direct (quasi-ID) 0.872 0.953 4 0.2717 K3 case-text / direct (quasi-ID) 0.964 0.964 1 1.0000 K2 keywords / LLM-clues (quasi-ID) 0.615 0.945 27 0.0369 - The authors state that TAB shows a shift in certified identifiability: as auxiliary knowledge goes from K1 to K2/K3, the fuzzy set shrinks from near the full pool to a singleton; under the quasi-ID release variant the sets become larger (e.g., K2 median about 4), i.e., linkability decreases but remains non-trivial.
- On this basis the authors argue that privacy risk is not an intrinsic property of the released text itself but depends on the attacker's declared auxiliary information and tools.
- Empirical coverage across tables is generally close to 1−α (e.g., about 0.95 at α=0.05), which the authors state supports comparing certificates across attack configurations.
WikiBio and Blog: LLM clues and strength of auxiliary knowledge
- WikiBio (Table 2, α=0.05): direct queries Top-1 0.362, coverage 0.956, median |Cα| 264; Llama clues raise Top-1 to 0.420 and lower the median to 189; Qwen clues Top-1 0.380, median 265, close to direct. The authors state that whether LLM clues amplify linking depends on the attack model, and set-valued certificates make this difference visible.
- Blog (Table 4, α=0.05): as W goes from 1 to 10, Top-1 rises from 0.087 to 0.209, median |Cα| falls from 222 to 176, and coverage stays around 0.95; the authors state that with a large candidate pool, residual ambiguity remains substantial even with rich auxiliary information.
- Effect of α (Figure 2, TAB quasi-ID direct): at α=0.01 coverage 0.998, median 19; at α=0.05 median 4; at α=0.1 median 1, with coverage approaching the attacker's Top-1. The authors state that small α certifies residual ambiguity more conservatively, while large α gives smaller sets but weaker confidence.
TextWash matched-budget comparison
- Table 5 (α=0.05, ncal=ntest=100 per category): direct retrieval median |Cα| is 120–169.5 (by category); in the famous category Llama clues lower the median from 120 to 90 (Top-1 0.470→0.510), while fiction and semi-famous are essentially unchanged (fiction direct and GPT-5 clues both 169.5).
- The authors state that LLM clues reduce certified ambiguity only in categories where external context exists, and are not consistently better than direct retrieval; coverage is close to 0.95 in each matched run.
Robustness stress tests (Section 7.1)
- Drift (Table 9): matched configurations reach the 0.95 target (TAB direct→direct 0.965; Blog W10→W10 0.940), while drifted configurations fall below target (TAB direct→quasi-ID 0.923; Blog W10→W1 0.835). The authors state that certificates do not transfer automatically under attack or release drift and require recalibration.
- Candidate pool truncation (Table 10): TextWash fiction direct, at K=50 the miss rate is 0.160, conditional coverage 1.000 while unconditional coverage drops to 0.840; at K=200 the miss rate goes to zero and unconditional coverage recovers to 0.970, consistent with the multiplicative bound of Corollary 5.3.
Other ablations and analyses
- Score construction (Table 11, WikiBio+Llama, α=0.05): APS coverage 0.950 (median 189), rank-based 0.950 (179), raw probability 0.960 (212); the authors state that multiple constructions are effective and APS is not uniformly best.
- Calibration size (Table 12, TextWash direct, ncal∈{50,100,150}): mean coverage 0.962/0.957/0.927, mean median set 151.2/148.2/140.3.
- Sampling budget (Table 13, Llama-3.1-8B clues, TextWash famous): as m goes from 1 to 10, coverage stays at 0.970–0.980 and the median set falls from 120 to 78.
- Split stability: across three random splits, coverage 0.951±0.037, median |Cα| 143.3±33.6.
What are some points that can be further explored?
The authors explicitly list limitations such as certificates holding only under the declared configuration; experiments cover four benchmarks, two types of attackers, and three attack models.
Limitations and future directions noted by the authors
- Non-cryptographic definition (Limitations): CPA is an auditing framework that holds under the declared threat model (finite candidate pool, declared family of attack pipelines, exchangeability of calibration and evaluation) and does not provide general protection against unknown or unforeseen attacks.
- Configuration sensitivity (Limitations): Each certificate is valid only for the declared candidate pool, attack pipelines, knowledge level, and calibration/test distribution; the authors recommend running on multiple trusted attack families and recalibrating when tools, external knowledge, or the release mechanism change.
- Coverage degradation cases (Limitations): Coverage degrades when the candidate pool lacks the true identity (open-world miss) or when deployment data drift breaks exchangeability; the authors recommend reporting both candidate-miss rate and conditional/unconditional coverage.
- Stronger calibration under drift (Limitations and Section 7.1): Variants such as Mondrian or weighted conformal are feasible when the drift model is explicit but require additional assumptions and cannot provide distribution-free transfer under arbitrary prompt or model drift, which the authors call an open problem for conformal methods.
- Task scope (Limitations): The experiments focus on identity linking; the authors state that the same calibration layer applies to any attack that produces scalar scores or ranked candidate sets, and extending to membership inference is a natural future direction.
Experimental coverage
- The attack models tested are three: Llama-3.1-8B-Instruct, Qwen3-8B-Instruct, and GPT-5, plus a retrieval attacker that does not use an LLM (Section 6.2).
- The benchmarks are four: TAB, TextWash, WikiBio, and Blog Authorship; candidate pool sizes range from 400 to 19,320 (Table 3, Section 6.1).
- The evaluated α values are {0.01, 0.05, 0.1}; the TextWash matched comparison uses ncal=ntest=100 per class (Table 5).
- Stress tests cover configuration drift, top-K truncation, score construction, calibration scale, sampling budget, and three random splits (Section 7.1, Appendix E).
- The paper does not report cost figures such as the number of queries or time for attack runs; the sampling budget m ablation is conducted only under the TextWash famous, Llama-3.1-8B clue setting (Table 13).
Summarize the main content of the paper
CPA uses conformal calibration to turn re-identification attacks into fuzzy-set certificates with coverage guarantees; experiments show coverage is calibrated and risk varies with auxiliary knowledge.
A paper on privacy auditing at release time: addressing the risk that LLMs combined with auxiliary knowledge link redacted text to individuals, existing audits only report attack success rates and lack finite-sample guarantees, so the authors propose Conformal Privacy Auditing (CPA).
- Method: The attack pipeline maps released documents to a distribution over candidate identities; CPA uses the APS quality score as the nonconformity score, and via split conformal calibration outputs a fuzzy set that contains the true identity with 1−α; the set size and the inverse fuzzy proxy serve as leakage certificates. Only candidate log probabilities or similarities are needed, and the sampling-only interface makes proprietary API models auditable; Theorem 5.2 gives ≥1−α coverage in the closed-world setting, and Corollary 5.3 gives a bound that degrades with the candidate-miss rate in the open-world setting.
- Calibration: On the four benchmarks TAB, TextWash, WikiBio, and Blog, empirical coverage is generally close to 1−α (e.g., about 0.95 at α=0.05).
- Risk varies with configuration: On TAB, as auxiliary knowledge goes from K1 metadata to K3 case-text, the median fuzzy set shrinks from 1268 to 1 (Table 1); on WikiBio, Llama clues reduce the median from 264 to 189, while Qwen clues change it almost not at all (Table 2); on TextWash, LLM clues shrink the set only in the famous category with external context (120→90, Table 5).
- Boundaries: Configuration drift makes coverage fall below target (Blog W10→W1 is 0.835, Table 9); when top-K truncation introduces candidate misses, unconditional coverage drops to 0.840 (K=50, Table 10), and recalibration is the operational protocol the authors recommend.
- Authors' conclusion: Privacy risk is heterogeneous—a release that appears safe under limited auxiliary information may be highly identifiable under a stronger enrollment database or reasoning capability, so evaluation should use calibrated, threat-model-specific certificates rather than fragile point estimates; the authors also state that CPA is not a cryptographic privacy definition and offers no universal protection against unknown attacks.