paper-with-me

Papers

Visualizing and Measuring the Geometry of BERT

2019-06-06 · NeurIPS 2019 12 · Andy Coenen, Emily Reif, Ann Yuan, Been Kim, Adam Pearce, Fernanda Viégas, Martin Wattenberg

Transformer architectures show significant promise for natural language processing. Given that a single pretrained model can be fine-tuned to perform well on many different tasks, these networks appear to extract generally useful linguistic features. A natural question is how such networks represent this information internally. This paper describes qualitative and quantitative investigations of one particularly effective model, BERT. At a high level, linguistic features seem to be represented in separate semantic and syntactic subspaces. We find evidence of a fine-grained geometric representation of word senses. We also present empirical descriptions of syntactic representations in both attention matrices and individual word embeddings, as well as a mathematical argument to explain the geometry of these representations.

📄 PDF Abstract BibTeX arXiv:1906.02715

Code (1)

ai-secure/semattack pytorch

Tasks

Word Embeddings

Methods 이 논문이 사용한 방법론

Linear Layer A Linear Layer is a projection $\mathbf{XW + b}$.
Weight Decay 설명 없음
Residual Connection 설명 없음
Adam 설명 없음
Layer Normalization Unlike batch normalization, Layer Normalization directly estimates the normalization statistics from the summed inputs…
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$…
Attention 설명 없음
Dropout Dropout is a regularization technique for neural networks that drops a unit (along with connections) at training time with a specified probability $p$ (a common value is…

Similar Papers 제목 키워드 기반

Visualizing Attention in Transformer-Based Language Representation Models

2019-04-04 · Jesse Vig

We present an open-source tool for visualizing multi-head self-attention in Transformer-based language representation models. The tool extends earlier work by visualizing attention at three levels of granularity: the att…

Language Modelling

Conformal Point and the Calibrated Conic

2026-01-16 · Richard Hartley arxiv

This gives some information about the conformal point and the calibrating conic, and their relationship one to the other. These concepts are useful for visualizing image geometry, and lead to intuitive ways to compute ge…

Visualizing High Dimensional Dynamical Processes

2019-06-25 · Andrés F. Duque, Guy Wolf, Kevin R. Moon

Manifold learning techniques for dynamical systems and time series have shown their utility for a broad spectrum of applications in recent years. While these methods are effective at learning a low-dimensional representa…

EEGElectroencephalogram (EEG)Time SeriesTime Series Analysis+1

Circles are like Ellipses, or Ellipses are like Circles? Measuring the Degree of Asymmetry of Static and Contextual Embeddings and the Implications to Representation Learning

2020-12-03 · Wei zhang, Murray Campbell, Yang Yu, Sadhana Kumaravel

Human judgments of word similarity have been a popular method of evaluating the quality of word embedding. But it fails to measure the geometry properties such as asymmetry. For example, it is more natural to say "Ellips…

Language ModellingRepresentation Learningtext-classificationText Classification+1

ArgueBERT: How To Improve BERT Embeddings for Measuring the Similarity of Arguments

2021-09-01 · KONVENS (WS) 2021 9 · Maike Behrendt, Stefan Harmeling