paper-with-me

Papers

A Closer Look at How Fine-tuning Changes BERT

2021-06-27 · ACL 2022 5 · Yichu Zhou, Vivek Srikumar

Given the prevalence of pre-trained contextualized representations in today's NLP, there have been many efforts to understand what information they contain, and why they seem to be universally successful. The most common approach to use these representations involves fine-tuning them for an end task. Yet, how fine-tuning changes the underlying embedding space is less studied. In this work, we study the English BERT family and use two probing techniques to analyze how fine-tuning changes the space. We hypothesize that fine-tuning affects classification performance by increasing the distances between examples associated with different labels. We confirm this hypothesis with carefully designed experiments on five different NLP tasks. Via these experiments, we also discover an exception to the prevailing wisdom that "fine-tuning always improves performance". Finally, by comparing the representations before and after fine-tuning, we discover that fine-tuning does not introduce arbitrary changes to representations; instead, it adjusts the representations to downstream tasks while largely preserving the original spatial structure of the data points.

📄 PDF Abstract BibTeX arXiv:2106.14282

Code (1)

utahnlp/BERT-fine-tuning-analysis 공식 구현 pytorch

Methods 이 논문이 사용한 방법론

Linear Layer A Linear Layer is a projection $\mathbf{XW + b}$.
Attention 설명 없음
Weight Decay 설명 없음
WordPiece 설명 없음
Adam 설명 없음
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…
Layer Normalization Unlike batch normalization, Layer Normalization directly estimates the normalization statistics from the summed inputs…
Multi-Head Attention 설명 없음

Similar Papers 제목 키워드 기반

On the Interplay Between Fine-tuning and Sentence-level Probing for Linguistic Knowledge in Pre-trained Transformers

2020-10-06 · EMNLP (BlackboxNLP) 2020 11 · Marius Mosbach, Anna Khokhlova, Michael A. Hedderich, Dietrich Klakow

Fine-tuning pre-trained contextualized embedding models has become an integral part of the NLP pipeline. At the same time, probing has emerged as a way to investigate the linguistic knowledge captured by pre-trained mode…

Sentence

Investigating Learning Dynamics of BERT Fine-Tuning

2020-12-01 · Asian Chapter of the Association for Computational Linguistics 2020 · Yaru Hao, Li Dong, Furu Wei, Ke Xu

The recently introduced pre-trained language model BERT advances the state-of-the-art on many NLP tasks through the fine-tuning approach, but few studies investigate how the fine-tuning process improves the model perform…

Language ModelingLanguage Modelling

LayerNorm: A key component in parameter-efficient fine-tuning

2024-03-29 · Taha ValizadehAslani, Hualou Liang

Fine-tuning a pre-trained model, such as Bidirectional Encoder Representations from Transformers (BERT), has been proven to be an effective method for solving many natural language processing (NLP) tasks. However, due to…

parameter-efficient fine-tuning

A Closer Look at the Limitations of Instruction Tuning

2024-02-03 · Sreyan Ghosh, Chandra Kiran Reddy Evuru, Sonal Kumar, Ramaneswaran S 외

Instruction Tuning (IT), the process of training large language models (LLMs) using instruction-response pairs, has emerged as the predominant method for transforming base pre-trained LLMs into open-domain conversational…

Hallucination

A Pairwise Probe for Understanding BERT Fine-Tuning on Machine Reading Comprehension

2020-06-02 · Jie Cai, Zhengzhou Zhu, Ping Nie, Qian Liu

Pre-trained models have brought significant improvements to many NLP tasks and have been extensively analyzed. But little is known about the effect of fine-tuning on specific tasks. Intuitively, people may agree that a p…

Boundary Detectioncoreference-resolutionCoreference ResolutionMachine Reading Comprehension+1