Text Revealer: Private Text Reconstruction via Model Inversion Attacks against Transformers
Not on the map. Why?
Abstract (arXiv)
Text classification has become widely used in various natural language processing applications like sentiment analysis. Current applications often use large transformer-based language models to classify input texts. However, there is a lack of systematic study on how much private information can be inverted when publishing models. In this paper, we formulate Text Revealer -- the first model inversion attack for text reconstruction against text classification with transformers. Our attacks faithfully reconstruct private texts included in training data with access to the target model. We leverage an external dataset and GPT-2 to generate the target domain-like fluent text, and then perturb its hidden state optimally with the feedback from the target model. Our extensive experiments demonstrate that our attacks are effective for datasets with different text lengths and can reconstruct private texts with accuracy.
Key facts. Cited by 31 papers in the map (data through 14 Oct 2026). Builds on 18 of its 29 references that are in the map. First posted on arXiv 21 Sep 2022.
Builds on
18 of 29 references.
References · 18
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
- 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,372
- 2016Categorical Reparameterization with Gumbel-Softmaxcited by 2,739
- 2015Character-level Convolutional Networks for Text Classificationcited by 2,330
- 2020Extracting Training Data from Large Language Modelscited by 2,189
- 2019TinyBERT: Distilling BERT for Natural Language Understandingcited by 1,167
- 2019Deep Leakage from Gradientscited by 1,021
- 2019Plug and Play Language Models: A Simple Approach to Controlled Text Generationcited by 799
- 2020Systematic Evaluation of Privacy Risks of Machine Learning Modelscited by 292
- 2019The Secret Revealer: Generative Model-Inversion Attacks Against Deep Neural Networkscited by 246
- 2021Does BERT Pretrained on Clinical Notes Reveal Sensitive Data?cited by 93
- 2022Variational Model Inversion Attackscited by 75
6 more
- 2022BiBERT: Accurate Fully Binarized BERTcited by 73
- 2021Generalization in NLI: Ways (Not) To Go Beyond Simple Heuristicscited by 67
- 2021TAG: Gradient Attack on Transformer-based Language Modelscited by 63
- 2022Label-Only Model Inversion Attacks via Boundary Repulsioncited by 56
- 2019Adversarial Neural Network Inversion via Auxiliary Knowledge Alignmentcited by 32
- 2021Elbert: Fast Albert with Confidence-Window Based Early Exitcited by 14
Built on by
Citing papers per year: 2023: 8; 2024: 10; 2025: 7; 2026: 6.
31 papers.
Sort:
By area:
- 2023A Survey on Large Language Model (LLM) Security and Privacy: The Good, the Bad, and the Uglycited by 387
- 2023Analyzing Leakage of Personally Identifiable Information in Language Modelscited by 285
- 2025A Comprehensive Survey in LLM(-Agent) Full Stack Safety: Data, Training and Deploymentcited by 116
- 2023Language Model Inversioncited by 68
- 2023CodeLMSec Benchmark: Systematically Evaluating and Finding Security Vulnerabilities in Black-Box Code Language Modelscited by 55
- 2023Privacy in Large Language Models: Attacks, Defenses and Future Directionscited by 51
- 2023Training Data Extraction From Pre-trained Language Models: A Surveycited by 45
- 2024Feedback-Guided Extraction of Knowledge Base from Retrieval-Augmented LLM Applicationscited by 37
- 2024On the Privacy Risk of In-context Learningcited by 32
- 2023Identifying and Mitigating Privacy Risks Stemming from Language Models: A Surveycited by 30
- 2024Privacy Preserving Prompt Engineering: A Surveycited by 25
- 2025A Survey on Privacy Risks and Protection in Large Language Modelscited by 21
19 more
- 2025A Survey on Model Extraction Attacks and Defenses for Large Language Modelscited by 19
- 2023On Strengthening and Defending Graph Reconstruction Attack with Markov Chain Approximationcited by 16
- 2024Model Inversion Attacks: A Survey of Approaches and Countermeasurescited by 11
- 2025LLM Security: Vulnerabilities, Attacks, Defenses, and Countermeasurescited by 8
- 2024DORY: Deliberative Prompt Recovery for LLMcited by 7
- 2026Window-based Membership Inference Attacks Against Fine-tuned Large Language Modelscited by 7
- 2024Privacy-preserving Fine-tuning of Large Language Models through Flatnesscited by 6
- 2024Was it Slander? Towards Exact Inversion of Generative Language Modelscited by 3
- 2024Privacy Evaluation Benchmarks for NLP Modelscited by 3
- 2024Towards Data Governance of Frontier AI Modelscited by 3
- 2025On The Role of Pretrained Language Models in General-Purpose Text Embeddings: A Surveycited by 3
- 2025Securing AI Systems: A Guide to Known Attacks and Impactscited by 1
- 2026Data-Free Privacy-Preserving for LLMs via Model Inversion and Selective Unlearningcited by 1
- 2026Efficient and Privacy Aware Edge Cloud Collaborative Inference for Large Language Modelscited by 1
- 2024MRP-LLM: Multitask Reflective Large Language Models for Privacy-Preserving Next POI Recommendationcited by 0
- 2025Model Inversion meets Cryptographic Fuzzy Extractorscited by 0
- 2026Beyond Homophily: Towards Generalized Graph Reconstruction Attack and Defensecited by 0
- 2026Domain Agnostic Text Redaction from Natural Language Rules using Instruction Tuningcited by 0
- 2026Inadvertent Context Leakage in Language Modelscited by 0
- 2026Inadvertent Context Leakage in Language Models20 Aug 2026
- 2026Domain Agnostic Text Redaction from Natural Language Rules using Instruction Tuning9 Aug 2026
- 2026Efficient and Privacy Aware Edge Cloud Collaborative Inference for Large Language Models14 Jul 2026
- 2026Beyond Homophily: Towards Generalized Graph Reconstruction Attack and Defense6 Jun 2026
- 2026Data-Free Privacy-Preserving for LLMs via Model Inversion and Selective Unlearning22 Jan 2026
- 2026Window-based Membership Inference Attacks Against Fine-tuned Large Language Models6 Jan 2026
- 2025Model Inversion meets Cryptographic Fuzzy Extractors29 Oct 2025
- 2025On The Role of Pretrained Language Models in General-Purpose Text Embeddings: A Survey28 Jul 2025
- 2025Securing AI Systems: A Guide to Known Attacks and Impacts29 Jun 2025
- 2025A Survey on Model Extraction Attacks and Defenses for Large Language Models26 Jun 2025
- 2025A Survey on Privacy Risks and Protection in Large Language Models4 May 2025
- 2025LLM Security: Vulnerabilities, Attacks, Defenses, and Countermeasures2 May 2025
19 more
- 2025A Comprehensive Survey in LLM(-Agent) Full Stack Safety: Data, Training and Deployment22 Apr 2025
- 2024Towards Data Governance of Frontier AI Models5 Dec 2024
- 2024MRP-LLM: Multitask Reflective Large Language Models for Privacy-Preserving Next POI Recommendation3 Dec 2024
- 2024Feedback-Guided Extraction of Knowledge Base from Retrieval-Augmented LLM Applications21 Nov 2024
- 2024On the Privacy Risk of In-context Learning15 Nov 2024
- 2024Model Inversion Attacks: A Survey of Approaches and Countermeasures15 Nov 2024
- 2024Privacy Evaluation Benchmarks for NLP Models24 Sep 2024
- 2024Was it Slander? Towards Exact Inversion of Generative Language Models10 Jul 2024
- 2024DORY: Deliberative Prompt Recovery for LLM31 May 2024
- 2024Privacy Preserving Prompt Engineering: A Survey9 Apr 2024
- 2024Privacy-preserving Fine-tuning of Large Language Models through Flatness7 Mar 2024
- 2023A Survey on Large Language Model (LLM) Security and Privacy: The Good, the Bad, and the Ugly4 Dec 2023
- 2023Language Model Inversion22 Nov 2023
- 2023Privacy in Large Language Models: Attacks, Defenses and Future Directions16 Oct 2023
- 2023Identifying and Mitigating Privacy Risks Stemming from Language Models: A Survey27 Sep 2023
- 2023On Strengthening and Defending Graph Reconstruction Attack with Markov Chain Approximation15 Jun 2023
- 2023Training Data Extraction From Pre-trained Language Models: A Survey25 May 2023
- 2023CodeLMSec Benchmark: Systematically Evaluating and Finding Security Vulnerabilities in Black-Box Code Language Models8 Feb 2023
- 2023Analyzing Leakage of Personally Identifiable Information in Language Models1 Feb 2023
- 2023Analyzing Leakage of Personally Identifiable Information in Language Modelscited by 285
- 2024On the Privacy Risk of In-context Learningcited by 32
- 2025A Survey on Privacy Risks and Protection in Large Language Modelscited by 21
- 2026Window-based Membership Inference Attacks Against Fine-tuned Large Language Modelscited by 7
- 2026Data-Free Privacy-Preserving for LLMs via Model Inversion and Selective Unlearningcited by 1
- 2026Data-Free Privacy-Preserving for LLMs via Model Inversion and Selective Unlearning22 Jan 2026
- 2026Window-based Membership Inference Attacks Against Fine-tuned Large Language Models6 Jan 2026
- 2025A Survey on Privacy Risks and Protection in Large Language Models4 May 2025
- 2024On the Privacy Risk of In-context Learning15 Nov 2024
- 2023Analyzing Leakage of Personally Identifiable Information in Language Models1 Feb 2023
- 2023A Survey on Large Language Model (LLM) Security and Privacy: The Good, the Bad, and the Uglycited by 387
- 2023Language Model Inversioncited by 68
- 2023CodeLMSec Benchmark: Systematically Evaluating and Finding Security Vulnerabilities in Black-Box Code Language Modelscited by 55
- 2023Privacy in Large Language Models: Attacks, Defenses and Future Directionscited by 51
- 2023Training Data Extraction From Pre-trained Language Models: A Surveycited by 45
- 2023Identifying and Mitigating Privacy Risks Stemming from Language Models: A Surveycited by 30
- 2024Privacy Preserving Prompt Engineering: A Surveycited by 25
- 2025A Survey on Model Extraction Attacks and Defenses for Large Language Modelscited by 19
- 2023On Strengthening and Defending Graph Reconstruction Attack with Markov Chain Approximationcited by 16
- 2024Model Inversion Attacks: A Survey of Approaches and Countermeasurescited by 11
- 2025LLM Security: Vulnerabilities, Attacks, Defenses, and Countermeasurescited by 8
- 2024DORY: Deliberative Prompt Recovery for LLMcited by 7
12 most cited of 23 All 23 (JSON)
- 2026Inadvertent Context Leakage in Language Models20 Aug 2026
- 2026Domain Agnostic Text Redaction from Natural Language Rules using Instruction Tuning9 Aug 2026
- 2026Beyond Homophily: Towards Generalized Graph Reconstruction Attack and Defense6 Jun 2026
- 2025Model Inversion meets Cryptographic Fuzzy Extractors29 Oct 2025
- 2025On The Role of Pretrained Language Models in General-Purpose Text Embeddings: A Survey28 Jul 2025
- 2025Securing AI Systems: A Guide to Known Attacks and Impacts29 Jun 2025
- 2025A Survey on Model Extraction Attacks and Defenses for Large Language Models26 Jun 2025
- 2025LLM Security: Vulnerabilities, Attacks, Defenses, and Countermeasures2 May 2025
- 2024Towards Data Governance of Frontier AI Models5 Dec 2024
- 2024MRP-LLM: Multitask Reflective Large Language Models for Privacy-Preserving Next POI Recommendation3 Dec 2024
- 2024Model Inversion Attacks: A Survey of Approaches and Countermeasures15 Nov 2024
- 2024Privacy Evaluation Benchmarks for NLP Models24 Sep 2024
12 newest of 23 All 23 (JSON)