mlsanityData to 14 Oct 2026

BERTops: Studying BERT Representations under a Topological Lens

arXiv 2205.00953 ↗First posted 2 May 2022cs.LGcited by 5

Not on the map. Why?

Abstract (arXiv)

Proposing scoring functions to effectively understand, analyze and learn various properties of high dimensional hidden representations of large-scale transformer models like BERT can be a challenging task. In this work, we explore a new direction by studying the topological features of BERT hidden representations using persistent homology (PH). We propose a novel scoring function named "persistence scoring function (PSF)" which: (i) accurately captures the homology of the high-dimensional hidden representations and correlates well with the test set accuracy of a wide range of datasets and outperforms existing scoring metrics, (ii) captures interesting post fine-tuning "per-class" level properties from both qualitative and quantitative viewpoints, (iii) is more stable to perturbations as compared to the baseline functions, which makes it a very robust proxy, and (iv) finally, also serves as a predictor of the attack success rates for a wide category of black-box and white-box adversarial attack methods. Our extensive correlation experiments demonstrate the practical utility of PSF on various NLP tasks relevant to BERT.

Key facts. Cited by 5 papers in the map (data through 14 Oct 2026). Builds on 33 of its 46 references that are in the map. First posted on arXiv 2 May 2022.

Builds on

33 of 46 references.

References · 33

  1. 2017Attention Is All You Needcited by 60,361
  2. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
  3. 2017Graph Attention Networkscited by 8,923
  4. 2019BERTScore: Evaluating Text Generation with BERTcited by 5,512
  5. 2016SQuAD: 100,000+ Questions for Machine Comprehension of Textcited by 4,148
  6. 2019SuperGLUE: A Stickier Benchmark for General-Purpose Language Understanding Systemscited by 1,729
  7. 2018A Simple Unified Framework for Detecting Out-of-Distribution Samples and Adversarial Attackscited by 1,485
  8. 2019What Does BERT Look At? An Analysis of BERT's Attentioncited by 1,003
  9. 2017Revisiting Unreasonable Effectiveness of Data in Deep Learning Eracited by 919
  10. 2020Quantifying Attention Flow in Transformerscited by 775
  11. 2019Universal Adversarial Triggers for Attacking and Analyzing NLPcited by 722
  12. 2019Is BERT Really Robust? A Strong Baseline for Natural Language Attack on Text Classification and Entailmentcited by 671
21 more
  1. 2018Generating Natural Language Adversarial Examplescited by 424
  2. 2018TextBugger: Generating Adversarial Text Against Real-world Applicationscited by 381
  3. 2018Characterizing Adversarial Subspaces Using Local Intrinsic Dimensionalitycited by 282
  4. 2019Visualizing and Measuring the Geometry of BERTcited by 216
  5. 2019To Tune or Not to Tune? Adapting Pretrained Representations to Diverse Taskscited by 167
  6. 2020Geometric Dataset Distances via Optimal Transportcited by 158
  7. 2018Predicting the Generalization Gap in Deep Networks with Margin Distributionscited by 113
  8. 2017A Tutorial on Kernel Density Estimation and Recent Advancescited by 101
  9. 2019A Topology Layer for Machine Learningcited by 80
  10. 2018Neural Persistence: A Complexity Measure for Deep Neural Networks Using Algebraic Topologycited by 73
  11. 2019Visualizing and Understanding the Effectiveness of BERTcited by 67
  12. 2020Computing the Testing Error without a Testing Setcited by 54
  13. 2020Predicting Performance for Natural Language Processing Taskscited by 49
  14. 2021Artificial Text Detection via Examining the Topology of Attention Mapscited by 49
  15. 2019Characterizing the Decision Boundary of Deep Neural Networkscited by 32
  16. 2020Few-Shot Learning on Graphs via Super-Classes based on Graph Spectral Measurescited by 31
  17. 2018Semi-Supervised Learning via Compact Latent Space Clusteringcited by 15
  18. 2019On the Downstream Performance of Compressed Word Embeddingscited by 13
  19. 2018Word Embedding Perturbation for Sentence Classificationcited by 11
  20. 2019Adversarial Attacks on Deep Learning Models in Natural Language Processing: A Surveycited by 10
  21. 2020BERT as a Teacher: Contextual Embeddings for Sequence-Level Rewardcited by 5

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2023: 3; 2024: 1; 2025: 0; 2026: 1.

5 papers.