paper-with-me

홈 › Papers

BERTops: Studying BERT Representations under a Topological Lens

2022-05-02 · Jatin Chauhan, Manohar Kaul

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.

📄 PDF Abstract BibTeX arXiv:2205.00953

Code (1)

chauhanjatin10/bertops 공식 구현 pytorch

Tasks

Adversarial Attack

Methods 이 논문이 사용한 방법론

Refunds@Expedia|||How do I get a full refund from Expedia? “How do I get a full refund from Expedia? How do I get a full refund from Expedia? – Call ☎️ +1-(888) 829 (0881) or +1-805-330-4056 or +1-805-330-4056 for Quick Help &…
Attention 설명 없음
Linear Layer A Linear Layer is a projection $\mathbf{XW + b}$.
Residual Connection 설명 없음
Multi-Head Attention 설명 없음
Layer Normalization Unlike batch normalization, Layer Normalization directly estimates the normalization statistics from the summed inputs…
Attention Dropout Attention Dropout is a type of dropout used in attention-based architectures, where elements are randomly dropped out of the…
Softmax The Softmax output function transforms a previous layer's output into a vector of probabilities. It is commonly used for multiclass classification. Given an input vector $x$…

Similar Papers 제목 키워드 기반

TopoAct: Visually Exploring the Shape of Activations in Deep Learning

2019-12-13 · Archit Rathore, Nithin Chalapathi, Sourabh Palande, Bei Wang

Deep neural networks such as GoogLeNet, ResNet, and BERT have achieved impressive performance in tasks such as image and text classification. To understand how such performance is achieved, we probe a trained deep neural…

Anomaly DetectionDeep LearningImage Classificationtext-classification+2

Can persistent homology whiten Transformer-based black-box models? A case study on BERT compression

2023-12-17 · Luis Balderas, Miguel Lastra, José M. Benítez

Large Language Models (LLMs) like BERT have gained significant prominence due to their remarkable performance in various natural language processing tasks. However, they come with substantial computational and memory cos…

What Happens To BERT Embeddings During Fine-tuning?

2020-04-29 · EMNLP (BlackboxNLP) 2020 11 · Amil Merchant, Elahe Rahimtoroghi, Ellie Pavlick, Ian Tenney

While there has been much recent work studying how linguistic information is encoded in pre-trained sentence representations, comparatively little is understood about how these models change when adapted to solve downstr…

Dependency ParsingSentence

Topological Feature Selection

2023-02-19 · Antonio Briola, Tomaso Aste

In this paper, we introduce a novel unsupervised, graph-based filter feature selection technique which exploits the power of topologically constrained network representations. We model dependency structures among feature…

feature selectionPosition

Finding Inverse Document Frequency Information in BERT

2022-02-24 · Jaekeol Choi, Euna Jung, Sungjun Lim, Wonjong Rhee

For many decades, BM25 and its variants have been the dominant document retrieval approach, where their two underlying features are Term Frequency (TF) and Inverse Document Frequency (IDF). The traditional approach, howe…

Retrieval