On the privacy-utility trade-off in differentially private hierarchical text classification
On the map: LLM safety and security → Membership inference attacks
Abstract (arXiv)
Hierarchical text classification consists in classifying text documents into a hierarchy of classes and sub-classes. Although artificial neural networks have proved useful to perform this task, unfortunately they can leak training data information to adversaries due to training data memorization. Using differential privacy during model training can mitigate leakage attacks against trained models, enabling the models to be shared safely at the cost of reduced model accuracy. This work investigates the privacy-utility trade-off in hierarchical text classification with differential privacy guarantees, and identifies neural network architectures that offer superior trade-offs. To this end, we use a white-box membership inference attack to empirically assess the information leakage of three widely used neural network architectures. We show that large differential privacy parameters already suffice to completely mitigate membership inference attacks, thus resulting only in a moderate decrease in model utility. More specifically, for large datasets with long texts we observed Transformer-based models to achieve an overall favorable privacy-utility trade-off, while for smaller datasets with shorter texts convolutional neural networks are preferable.
Key facts. Cited by 4 papers in the map (data through 7 Oct 2026). Placed in Membership inference attacks, one of 12 directions in LLM safety and security. Builds on 27 of its 57 references that are in the map. First posted on arXiv 4 Mar 2021.
Builds on
27 of 57 references.
References · 27
- 2017Attention Is All You Needcited by 59,932
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
- 2013Efficient Estimation of Word Representations in Vector Spacecited by 4,346
- 2019XLNet: Generalized Autoregressive Pretraining for Language Understandingcited by 2,801
- 2016Deep Learning with Differential Privacycited by 2,682
- 2018Deep contextualized word representationscited by 2,285
- 2016Membership Inference Attacks against Machine Learning Modelscited by 2,221
- 2016Understanding deep learning requires rethinking generalizationcited by 1,657
- 2014Convolutional Neural Networks for Sentence Classificationcited by 1,124
- 2016Bag of Tricks for Efficient Text Classificationcited by 869
- 2018The Secret Sharer: Evaluating and Testing Unintended Memorization in Neural Networkscited by 847
- 2017Renyi Differential Privacycited by 643
15 more
- 2019Differential Privacy Has Disparate Impact on Model Accuracycited by 316
- 2014A Convolutional Neural Network for Modelling Sentencescited by 163
- 2019Text Classification Algorithms: A Surveycited by 163
- 2020Deep Learning Based Text Classification: A Comprehensive Reviewcited by 140
- 2020Tempered Sigmoid Activations for Deep Learning with Differential Privacycited by 121
- 2018A General Approach to Adding Differential Privacy to Iterative Training Procedurescited by 84
- 2018A Modern Take on the Bias-Variance Tradeoff in Neural Networkscited by 64
- 2018Generalised Differential Privacy for Text Document Processingcited by 52
- 2013Evaluation Measures for Hierarchical Classification: a unified view and novel approachescited by 46
- 2019Hierarchical Text Classification with Reinforced Label Assignmentcited by 41
- 2020A Comparison of LSTM and BERT for Small Corpuscited by 40
- 2018SynTF: Synthetic and Differentially Private Term Frequency Vectors for Privacy-Preserving Text Miningcited by 20
- 2018An Analysis of Hierarchical Text Classification Using Word Embeddingscited by 16
- 2019Assessing differentially private deep learning with Membership Inferencecited by 11
- 2019dpUGC: Learn Differentially Private Representation for User Generated Contentscited by 5
Built on by
Citing papers per year: 2021: 1; 2022: 0; 2023: 2; 2024: 0; 2025: 1.
4 papers.
- 2021Membership Inference Attacks on Machine Learning: A Surveycited by 306
- 2023Differentially Private Natural Language Models: Recent Advances and Future Directionscited by 20
- 2023PrIeD-KIE: Towards Privacy Preserved Document Key Information Extractioncited by 2
- 2025DP-DocLDM: Differentially Private Document Image Generation using Latent Diffusion Modelscited by 1
- 2025DP-DocLDM: Differentially Private Document Image Generation using Latent Diffusion Models6 Aug 2025
- 2023PrIeD-KIE: Towards Privacy Preserved Document Key Information Extraction5 Oct 2023
- 2023Differentially Private Natural Language Models: Recent Advances and Future Directions22 Jan 2023
- 2021Membership Inference Attacks on Machine Learning: A Survey14 Mar 2021