mlsanityData to 7 Oct 2026

On the privacy-utility trade-off in differentially private hierarchical text classification

arXiv 2103.02895 ↗First posted 4 Mar 2021cs.CR cs.CL cs.LGcited by 4

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

  1. 2017Attention Is All You Needcited by 59,932
  2. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
  3. 2013Efficient Estimation of Word Representations in Vector Spacecited by 4,346
  4. 2019XLNet: Generalized Autoregressive Pretraining for Language Understandingcited by 2,801
  5. 2016Deep Learning with Differential Privacycited by 2,682
  6. 2018Deep contextualized word representationscited by 2,285
  7. 2016Membership Inference Attacks against Machine Learning Modelscited by 2,221
  8. 2016Understanding deep learning requires rethinking generalizationcited by 1,657
  9. 2014Convolutional Neural Networks for Sentence Classificationcited by 1,124
  10. 2016Bag of Tricks for Efficient Text Classificationcited by 869
  11. 2018The Secret Sharer: Evaluating and Testing Unintended Memorization in Neural Networkscited by 847
  12. 2017Renyi Differential Privacycited by 643
15 more
  1. 2019Differential Privacy Has Disparate Impact on Model Accuracycited by 316
  2. 2014A Convolutional Neural Network for Modelling Sentencescited by 163
  3. 2019Text Classification Algorithms: A Surveycited by 163
  4. 2020Deep Learning Based Text Classification: A Comprehensive Reviewcited by 140
  5. 2020Tempered Sigmoid Activations for Deep Learning with Differential Privacycited by 121
  6. 2018A General Approach to Adding Differential Privacy to Iterative Training Procedurescited by 84
  7. 2018A Modern Take on the Bias-Variance Tradeoff in Neural Networkscited by 64
  8. 2018Generalised Differential Privacy for Text Document Processingcited by 52
  9. 2013Evaluation Measures for Hierarchical Classification: a unified view and novel approachescited by 46
  10. 2019Hierarchical Text Classification with Reinforced Label Assignmentcited by 41
  11. 2020A Comparison of LSTM and BERT for Small Corpuscited by 40
  12. 2018SynTF: Synthetic and Differentially Private Term Frequency Vectors for Privacy-Preserving Text Miningcited by 20
  13. 2018An Analysis of Hierarchical Text Classification Using Word Embeddingscited by 16
  14. 2019Assessing differentially private deep learning with Membership Inferencecited by 11
  15. 2019dpUGC: Learn Differentially Private Representation for User Generated Contentscited by 5

Built on by

Cited by year

Citing papers per year: 2021: 1; 2022: 0; 2023: 2; 2024: 0; 2025: 1.

4 papers.