Skip to content

LLM Anonymization Against Agent Re-identificationLLM Anonymization Against Agentic Re-Identification

arXiv· arXiv:2605.30848· Ziwen Li, Jianing Wen, Tianshi LiKhoury College of Computer Sciences; Northeastern UniversityIndexed by this site · 23 days ago· Originally publishedDefenses

Quick read

Defenses

Based on the paper PDF (AI-generated); refer to the original

The authors propose AURA, a mask-reconstruct anonymization framework, evaluated on 53 interviews with three web-search attackers; the adaptive variants re-identify 0–7/53, which the authors state is better than the non-DP baselines.

Threat modelThe attackers are agentic LLMs with web search (GPT-5.1, GPT-5.4-mini, Gemini-3-Flash); they take the anonymized interview text as input and cross-reference it with external public evidence to re-identify the interviewee; success is a match between the returned candidate and the expert-verified reference identity by name, URL, or adjudicated alias. The defender controls text rewriting, and the attacker sees only the rewritten text, with no Phase 0 traces.

Questions
Agentic LLMs with web search can cross-reference weak contextual cues in interview text into re-identification evidence, and these cues simultaneously carry downstream analytical value; existing NER removal, DP perturbation, or rewriting aimed at non-networked models do not cover this privacy-utility region.
Methods
AURA splits anonymization into localization and reconstruction: first, a web-search attack is used to infer the scope of privacy attributes and iteratively rewrite until the attributes can no longer be inferred, and a mask is diffed out; then, only for the masked positions, 4 candidate reconstructions are generated, scored by an attribute-inference attacker, a specificity audit, and a utility keeper, and the final text is selected by a privacy-first rule.
Experiments and results
On 53 re-identifiable interviews, adaptive-scope AURA re-identifies 0–7/53 under GPT-5.1, GPT-5.4-mini, and Gemini-3-Flash, lower than Presidio (26–40/53) and Anonymizer (10–12/53), with unit-grid utility retention of 72.0–76.1%; DP-MLM ε=10 is 0/53 but utility is only 0.0%.
Limitations and future work
The authors note that AURA has no formal privacy guarantee, that results depend on the evaluated models, search tools, and matching protocol, and that inferred identities were not confirmed by the individuals themselves; fact recovery is only an approximation of qualitative utility, and end-to-end analyst performance was not measured. Experiments cover 53 interviews and 3 attacker models, and the reproducibility check covers only 17 interviews.
Experimental setupGPT-4.1、Qwen3.5-27B et al. · Anthropic Interviewer dataset(53 篇经核验可重识别的访谈转录)、自建 utility benchmark(340 profile facts、732 code facts、4,758 utility-grid units) · agentic re-identification 计数与比率(53 篇)、profile fact recovery et al.
Evaluated models
GPT-4.1Qwen3.5-27BQwen3.5-35B-A3B
Benchmarks
Anthropic Interviewer dataset(53 篇经核验可重识别的访谈转录)自建 utility benchmark(340 profile facts、732 code facts、4,758 utility-grid units)
Metrics
agentic re-identification 计数与比率(53 篇)profile fact recoverycodebook fact recoveryunit-level utility-grid recoveryfaithfulness 与 readability(人工评估)
AI summaryThe researchers propose AURA, an LLM-driven mask-and-reconstruct anonymization framework for defending against re-identification of text by agents with web search capabilities. The framework decouples privacy localization from utility-preserving text reconstruction and filters candidate results through adversarial privacy checks and utility-preservation checks. Evaluation on real user interview transcripts shows that, under three attacker models, adaptive-scope AURA achieves the lowest number of agent re-identifications among non-differential-privacy methods; under the same scope and backbone model, AURA achieves a cell-grid recovery rate 6.4 percentage points higher than existing LLM anonymization methods at comparable privacy levels. The source code is released at https://github.com/AaronLi43/AURA。

The researchers propose AURA, an LLM-driven mask-and-reconstruct anonymization framework for defending against re-identification of text by agents with web search capabilities. The framework decouples privacy localization from utility-preserving text reconstruction and filters candidate results through adversarial privacy checks and utility-preservation checks. Evaluation on real user interview transcripts shows that, under three attacker models, adaptive-scope AURA achieves the lowest number of agent re-identifications among non-differential-privacy methods; under the same scope and backbone model, AURA achieves a cell-grid recovery rate 6.4 percentage points higher than existing LLM anonymization methods at comparable privacy levels. The source code is released at https://github.com/AaronLi43/AURA。

Paper analysis

6 questions; open one to read the full answer

  1. What problem does this paper attempt to solve?

    How to anonymize long interview texts so that they resist agentic web-search re-identification while preserving the contextual information needed for downstream qualitative analysis.

    Core question: how to anonymize long interview text so that it resists re-identification by agentic LLMs with web search while preserving the text's downstream analytical utility.

    • Setting and importance: The authors state that the release of large-scale AI usage data such as LMSYS-Chat-1M, WildChat, and Anthropic Interviewer, as well as internal analyses such as Clio, requires data to retain cross-dimensional contextual detail; these details are precisely the cues agentic LLMs use for re-identification, creating a structural tension between privacy and utility.
    • Shortcomings of existing methods: The authors argue that NER tools (such as Presidio) remove only explicit identifiers and miss contextual inference cues; DP text rewriting relies on token-level perturbation, which harms the readability and analytical value of long text; existing LLM anonymization work mostly targets non-networked inference models.
    • Core observation: Attack success depends on the availability of contextual cues, so sensitive-span localization must go beyond predefined categories; moreover, these cues often carry substantive research content, so anonymization must decide both where to change and how to change.
    • Proposed in the paper: AURA (Anonymization with Utility-Retention Adaptation), an LLM-driven mask-reconstruct framework that decouples privacy localization from utility-preserving reconstruction and selects candidates using adversarial privacy checks and utility-preservation checks.
    • Threat model:
      • Attacker goal: Re-identify the interviewee themselves from the anonymized interview text (or a small candidate set that can be localized to an individual, such as the paper's authors).
      • Attacker knowledge and capability: An agentic LLM with web search that can generate queries from weak contextual cues, retrieve public evidence, and cross-reference it; each evaluation sees only the attack prompt and the rewritten text, with no Phase 0 traces.
      • Victim system: Published or shared qualitative interview transcripts (Anthropic Interviewer data in the experiments).
      • Success criterion: The returned candidate matches the expert-verified reference identity by name, URL, or adjudicated alias.
  2. What related research exists?

    Related work falls into four groups: NER de-identification, LLM text sanitization, agentic re-identification attacks, and DP text rewriting; baselines include Presidio, two one-shot rewriting methods, Anonymizer, and DP-MLM.

    NER De-identification and Manual Anonymization

    • NER has progressed from rule-based systems to near-human-level neural models (Meystre et al., 2010; Dernoncourt et al., 2017), and Presidio (Microsoft, 2021) is cited by multiple data-release efforts; the paper notes that the identifiability of interview text comes from context and attribute combinations, which named-entity removal cannot address.
    • Qualitative data has traditionally relied on manual anonymization (Saunders et al., 2015; Surmiak, 2018), which the paper describes as ad-hoc and difficult to scale.

    LLM Text Sanitization and Inferential Privacy

    • One line of work removes or abstracts PII identified by NER before prompts are sent to a remote LLM (Siyan et al., 2025; Zhou et al., 2026).
    • Another line studies inferential privacy: Staab et al. (2025) iteratively rewrite to suppress the inferability of personal attributes, and Yang et al. (2025) defend against non-agentic LLM re-identification; the paper notes that this work targets a stronger agentic re-identification threat model.

    Agentic Re-identification Attacks

    • Staab et al. (2024) show that LLMs can violate privacy through inference; Li (2026), Lermen et al. (2026), and Ko et al. (2026) show that agentic LLMs use web search to infer identity from weak cues, and this paper's privacy benchmark directly adopts the attack of Li (2026).

    Differentially Private Text Rewriting

    • DP rewrites text via synthetic representations, word-level noise, or DP fine-tuned generators (Mattern et al., 2022; Igamberdiev & Habernal, 2023; Utpala et al., 2023; Meisenbacher et al., 2024, etc.); the paper notes that strong perturbation harms the coherence and analytical value of long text, and that privatized text may still face reconstruction attacks (Tong et al., 2025).

    Baselines and Benchmark: The compared baselines are Presidio, minimal one-shot rewriting, detailed one-shot rewriting, Advanced Anonymizer (Staab et al., 2025), and DP-MLM (ε∈{10,…,140}); the evaluation is based on 53 transcripts verified as re-identifiable from the Anthropic Interviewer dataset (Handa et al., 2025).

    Author positioning: this paper targets the stronger threat model of agentic web-search re-identification, decoupling anonymization into a one-time agentic attack attribute identification and iterative rewriting using only LLM attribute inference; the authors state that this is work that optimizes and evaluates in this privacy-utility region.

  3. How does the paper address this problem?

    AURA has three phases: initialize privacy/utility profiles, iteratively rewrite to converge on a mask template, then reconstruct only the masked positions and select candidates by a privacy-first rule.

    Overall approach: AURA does not have a single model generically rewrite the entire interview; instead, it first localizes the spans carrying privacy via masking, then generates a batch of reconstruction candidates only for these spans, and finally selects the final text through adversarial privacy and utility checks (Algorithm 1).

    Phase 0: Initialization

    • Privacy scope A: Based on the 8 basic attributes of Staab et al. (2025) (Age, Sex, Location, Occupation, Education, Relationship Status, Income, Place of Birth), an LLM with web search supplements transcript-specific re-identifiable attributes and marks evidence spans to form the blacklist B.
    • Utility profile P: Research-value content is extracted along 8 utility dimensions (Thematic Content, Experiential Narratives, Emotional/Affective Expressions, Reasoning & Beliefs, Behavioral Patterns, Relational Dynamics, Temporal Structure, Domain Knowledge).
    • Variants: adaptive privacy AURA (main design), 8-attribute AURA (same scope as the Anonymizer baseline), pure adaptive AURA (no 8-attribute base).

    Phase 1: Mask Convergence

    • Iterating from t0=T: each round, an LLM infers attributes under scope A, then rewrites accordingly to reduce attribute leakage, until attributes can no longer be inferred or the mask convergence round count is reached (Rmask=5, Table 2).
    • Diffing the original source against the converged rewrite produces a mask template T̂ with [MASK_i] placeholders, a mask mapping M={i↦si}, and seed replacements; if there is no mask, it is returned as is.

    Phase 2: Reconstruction, Evaluation, and Selection

    • The reconstructor generates N=4 candidate replacement dictionaries only for the masked positions (the original spans are visible as reference but it is instructed not to copy them), and assembles them into candidate rewrites.
    • Each candidate is scored on three items: the attribute-inference attacker reruns privacy inference and aggregates attribute-level leakage severity Sn = ∑a severityn,a; the specificity auditor counts, per a 5-dimension checklist, the number of dimensions still too specific, Cn; the keeper compares the original source with the mask mapping and aggregates loss along the 8 utility dimensions Ln = ∑u lossn,u.
    • Privacy-first selection: first, among candidates satisfying Cn≤Cmax (Cmax=2), take the one with the smallest Sn, with Ln as tiebreaker; if no candidate satisfies the cap, fall back to minimizing in the order (Cn, Sn, Ln).

    Configuration and Prompts

    • Key parameters (Table 2): 4 candidates, 5 mask convergence rounds, specificity cap 2, reconstructor temperature 0.7, attacker/keeper temperature 0.2, blacklist determinism threshold 3; backbones are GPT-4.1 or OpenRouter-hosted Qwen3.5-27B/Qwen3.5-35B-A3B, and the adaptive scope is generated by DeepSeek-V4-Flash plus Tavily search.
    • Appendix B gives all prompts for the three phases (privacy inference, masker, reconstructor, attacker, specificity auditor, keeper, etc.).
  4. What experiments did the paper conduct?

    On 53 re-identifiable interviews, re-identification is measured with 3 web-search attackers, and three types of utility recovery are measured with LLM judges, with manual verification and ablations.

    Experimental Setup

    • Data: Of 1,250 transcripts in the Anthropic Interviewer dataset, 53 with verifiable identification evidence were screened out via the agentic re-identification attack of Li (2026).
    • Methods evaluated: AURA three variants × three backbones (GPT-4.1, Qwen3.5-27B, Qwen3.5-35B-A3B, 7 configurations in total); baselines are Presidio, minimal/detailed one-shot rewriting, Anonymizer, DP-MLM (7 ε values).
    • Privacy evaluation: Attackers are GPT-5.1, GPT-5.4-mini, Gemini-3-Flash (all with web search, reasoning level high); success is a match between the candidate and the expert-verified reference by name/URL/alias; no fixed upper limit on the number of search steps.
    • Utility evaluation: 340 profile facts, 732 code facts, 4,758 utility-grid units; the judge model is DeepSeek-V4-Flash (a different family from all AURA backbones); a grid unit requires both the profile and code facts to be recoverable.
    • Human validation: 2 experts labeled 105 codebook facts; in the profile study, 41 of 102 recruited participants were retained (75 facts, 71 resolved comparisons); in the rewriting study, 59 of 92 recruited participants were retained (150 pairs, 122 pairs retained).
    • Repeatability: Appendix M.2 performs same-day and cross-date repeated attacks on 17 transcripts.

    Main Results

    According to Table 1 (re-identification counts/53) and Table 6 (utility recovery rate):

    Swipe horizontally to read the table

    MethodGPT-5.1GPT-5.4-miniGemini-3-FlashGrid (unit)
    AURA (adaptive, Qwen3.5-35B-A3B)27276.1%
    AURA (adaptive, Qwen3.5-27B)47076.0%
    AURA (adaptive, GPT-4.1)46072.0%
    AURA (pure adaptive, GPT-4.1)27369.4%
    AURA (8-attr, GPT-4.1)8141072.7%
    Anonymizer11121066.3%
    Presidio26402795.6%
    DP-MLM (ε=10)0000.0%

    (Omitted: the two Qwen variants of 8-attribute, the two one-shot baselines, and the remaining 6 ε values of DP-MLM, all in Table 1/6.)

    • The authors state that among non-DP methods, the lowest count under each attacker comes from adaptive-scope AURA (0–7/53), lower than fixed-scope AURA (3–14/53) and Anonymizer (10–12/53).
    • The authors state that the results are consistent with "scope design mainly improves resistance to re-identification, and mask-reconstruct preserves utility at comparable privacy"; Figure 2 shows adaptive AURA in an intermediate region between the low utility of DP-MLM and the high leakage of light rewriting.
    • The authors note that these results support robustness across the evaluated attackers but do not constitute protection against any future model.

    Paired Comparison with Anonymizer

    • Under the same 8-attribute scope and the same GPT-4.1 backbone, AURA vs. Anonymizer average re-identification is 10.67/53 vs. 11/53, unit-grid recovery 72.7% vs. 66.3%, paired difference +6.4 pp (95% CI [0.1, 12.7], Table 7).
    • In Table 7, the paired-difference intervals for adaptive Qwen3.5-27B/35B-A3B and 8-attr Qwen3.5-27B do not contain zero; intervals such as that for adaptive GPT-4.1 (+5.6 pp, [−1.9, 13.0]) contain zero.
    • Diff analysis in Appendix E: the authors state that AURA performs span-level replacement and preserves surrounding context, whereas Anonymizer rewrites whole sentences and removes first person.

    Human Evaluation

    • Agreement: inter-expert agreement on the codebook is 91/105 (AC1=0.845); profile crowdsourcing agrees with the DeepSeek audit reference on 68/71 (AC1=0.948).
    • Rewriting quality: of 122 pairs, 86.9% were judged faithful; on readability, 60.7% considered the rewrite more readable or equivalent, 9.0% preferred the original source, 30.3% tied (Table 9).
    • Faithfulness by method (16 segments each, Table 10): AURA 86.9%, Anonymizer 81.3%, detailed one-shot 68.8%, minimal one-shot 50.0%.

    Other Ablations and Analyses

    • Differences across attackers: average re-identification rate is 22.5% for GPT-5.4-mini, 15.9% for GPT-5.1, and 11.8% for Gemini-3-Flash (average row of Table 1).
    • Repeated attacks (17 transcripts, Table 11): additional inconsistency across dates relative to same day is GPT-5.1 +5.9 pp, GPT-5.4-mini 0.0 pp, Gemini-3-Flash 0.0 pp.
    • Utility loss distribution (Figure 10): Occupation loses the most profile facts; AURA's total unit loss is 1,334/4,758 (28.0%), Anonymizer's is 1,602/4,758 (33.7%).
    • Exception: DP-MLM ε=10 has re-identification 0/53 but grid recovery 0.0%; Appendix M.4 reports false-negative cases where the judge marked retained facts as unrecoverable.
  5. What are some points that can be further explored?

    The authors acknowledge that there is no formal privacy guarantee, that utility is only approximate, and that identities were not confirmed by the individuals themselves; the experiments cover 53 interviews and 3 attackers.

    Limitations and Future Directions Noted by the Authors

    • AURA provides no formal privacy guarantee, including differential privacy or k-anonymity (Appendix L; also stated in the Discussion).
    • Re-identification counts depend on the evaluated models, search tools, and candidate-matching protocol (Appendix L).
    • Inferred identities lack confirmation by the participants themselves, and the re-identification ground truth is only a proxy for privacy risk (Discussion and Appendix L).
    • Fact recovery is only an approximation of qualitative utility; the utility grid does not directly measure analysts' end-to-end performance in real research; in-depth expert qualitative analysis of the full dataset is beyond the authors' resources (Appendix L).
    • Cross-attacker results show that privacy protection is difficult to guarantee into the future, and stronger or differently aligned attackers may expose residual risk; the authors recommend treating anonymization as a multi-stage risk-management process, evaluating against multiple attacker models before release (Discussion).

    Scope of the Experiments

    • The data are 53 re-identifiable English interview transcripts screened from the Anthropic Interviewer dataset (Section 4).
    • The attacker models are three: GPT-5.1, GPT-5.4-mini, Gemini-3-Flash; the AURA backbones are GPT-4.1, Qwen3.5-27B, Qwen3.5-35B-A3B (Section 4.2).
    • The utility judge model is DeepSeek-V4-Flash; the paper reports inter-expert and crowdsourced agreement with the reference labels (Section 4.1, Appendix J).
    • The repeatability check covers 17 transcripts and 51 attacker-transcript pairs (Appendix M.2).
    • The paper does not report the number of queries, time, or cost figures for generating rewrites for each method.
  6. Summarize the main content of the paper

    AURA uses mask-reconstruct to decouple privacy localization from utility preservation, reducing agentic re-identification to 0–7/53 on 53 interviews while retaining about 70% or more unit utility.

    An anonymization defense paper for text publication in the LLM era. Problem to solve: agentic LLMs with web search can cross-reference weak contextual cues in interviews into re-identification evidence, while NER deletion, DP perturbation, and rewriting aimed at non-networked models all fail to cover the interval between "resistance to agentic re-identification" and "preservation of analytical utility."

    • Method: AURA first uses web-search attacks to expand the scope of privacy attributes, iteratively rewrites to converge on a mask template, then generates 4 candidate reconstructions only for masked positions, which are scored by an attribute-inference attacker, a specificity auditor, and a utility keeper, and selects candidates by privacy-first rules.
    • Privacy results: On 53 interviews verified as re-identifiable, adaptive-scope AURA re-identifies 0–7/53 under GPT-5.1, GPT-5.4-mini, and Gemini-3-Flash, lower than Presidio's 26–40/53 and Anonymizer's 10–12/53 (Table 1).
    • Utility results: The adaptive variant preserves 72.0–76.1% of unit-grid utility; under the same scope and same backbone it is +6.4 pp higher than Anonymizer (95% CI [0.1, 12.7], Table 7).
    • Trade-off: DP-MLM ε=10 re-identifies 0/53 but grid recovery is 0.0%; Presidio and one-shot rewriting have high utility but more re-identification.
    • Authors' conclusion: Privacy gains mainly come from scope design, utility gains mainly from mask-reconstruct; the authors also emphasize that the results do not constitute protection against future models, recommend treating anonymization as multi-stage risk management, and acknowledge no formal privacy guarantee and that identities were not confirmed by the individuals themselves.

Related papers

Read originalarxiv.org