paper-with-me

홈 › Papers

Spying on your neighbors: Fine-grained probing of contextual embeddings for information about surrounding words

2020-05-04 · ACL 2020 6 · Josef Klafka, Allyson Ettinger

Although models using contextual word embeddings have achieved state-of-the-art results on a host of NLP tasks, little is known about exactly what information these embeddings encode about the context words that they are understood to reflect. To address this question, we introduce a suite of probing tasks that enable fine-grained testing of contextual embeddings for encoding of information about surrounding words. We apply these tasks to examine the popular BERT, ELMo and GPT contextual encoders, and find that each of our tested information types is indeed encoded as contextual information across tokens, often with near-perfect recoverability-but the encoders vary in which features they distribute to which tokens, how nuanced their distributions are, and how robust the encoding of each feature is to distance. We discuss implications of these results for how different types of models breakdown and prioritize word-level context information when constructing token embeddings.

📄 PDF Abstract BibTeX arXiv:2005.01810

Code (0)

등록된 구현이 없습니다.

Tasks

Word Embeddings

Methods 이 논문이 사용한 방법론

Linear Layer A Linear Layer is a projection $\mathbf{XW + b}$.
Cosine Annealing Cosine Annealing is a type of learning rate schedule that has the effect of starting with a large learning rate that is relatively rapidly decreased to a minimum value before…
Sigmoid Activation 설명 없음
Tanh Activation 설명 없음
WordPiece 설명 없음
Linear Warmup With Linear Decay Linear Warmup With Linear Decay is a learning rate schedule in which we increase the learning rate linearly for $n$ updates and then linearly decay afterwards.
BERT BERT, or Bidirectional Encoder Representations from Transformers, improves upon standard Transformers by removing the…
Residual Connection 설명 없음

Similar Papers 제목 키워드 기반

Mugs: A Multi-Granular Self-Supervised Learning Framework

2022-03-27 · Pan Zhou, Yichen Zhou, Chenyang Si, Weihao Yu 외

In self-supervised learning, multi-granular features are heavily desired though rarely investigated, as different downstream tasks (e.g., general and fine-grained classification) often require different or multi-granular…

Contrastive LearningSelf-Supervised Image ClassificationSelf-Supervised LearningSemantic Segmentation+1

DNA: Denoised Neighborhood Aggregation for Fine-grained Category Discovery

2023-10-16 · Wenbin An, Feng Tian, Wenkai Shi, Yan Chen 외

Discovering fine-grained categories from coarsely labeled data is a practical and challenging task, which can bridge the gap between the demand for fine-grained analysis and the high annotation cost. Previous works mainl…

Representation Learning

Make Your LLM Fully Utilize the Context

2024-04-25 · Shengnan An, Zexiong Ma, Zeqi Lin, Nanning Zheng 외

While many contemporary large language models (LLMs) can process lengthy input, they still struggle to fully utilize information within the long context, known as the lost-in-the-middle challenge. We hypothesize that it …

4kInformation RetrievalMMLURetrieval

Attack and Anomaly Detection in IoT Sensors in IoT Sites Using Machine Learning Approaches

2019-05-11 · journal 2019 5 · Mahmudul Hasan, Md. Milon Islam, Ishrak Islam, M. M. A. Hashem

Attack and Anomaly detection in the Internet of Things (IoT) infrastructure is a rising concern in the domain of IoT. With the increased use of IoT infrastructure in every domain, threats and attacks in these infrastruct…

Anomaly DetectionBIG-bench Machine Learning

PCNN: Probable-Class Nearest-Neighbor Explanations Improve Fine-Grained Image Classification Accuracy for AIs and Humans

2023-08-25 · Giang, Nguyen, Valerie Chen, Mohammad Reza Taesiri 외

Nearest neighbors (NN) are traditionally used to compute final decisions, e.g., in Support Vector Machines or k-NN classifiers, and to provide users with explanations for the model's decision. In this paper, we show a no…

Explainable Artificial Intelligence (XAI)Fine-Grained Image Classificationimage-classificationImage Classification