paper-with-me

홈 › Papers

What Would Elsa Do? Freezing Layers During Transformer Fine-Tuning

2019-11-08 · Jaejun Lee, Raphael Tang, Jimmy Lin

Pretrained transformer-based language models have achieved state of the art across countless tasks in natural language processing. These models are highly expressive, comprising at least a hundred million parameters and a dozen layers. Recent evidence suggests that only a few of the final layers need to be fine-tuned for high quality on downstream tasks. Naturally, a subsequent research question is, "how many of the last layers do we need to fine-tune?" In this paper, we precisely answer this question. We examine two recent pretrained language models, BERT and RoBERTa, across standard tasks in textual entailment, semantic similarity, sentiment analysis, and linguistic acceptability. We vary the number of final layers that are fine-tuned, then study the resulting change in task-specific effectiveness. We show that only a fourth of the final layers need to be fine-tuned to achieve 90% of the original quality. Surprisingly, we also find that fine-tuning all layers does not always help.

📄 PDF Abstract BibTeX arXiv:1911.03090

Code (0)

등록된 구현이 없습니다.

Tasks

Linguistic AcceptabilityNatural Language InferenceSemantic SimilaritySemantic Textual SimilaritySentiment Analysis

Methods 이 논문이 사용한 방법론

Linear Layer A Linear Layer is a projection $\mathbf{XW + b}$.
RoBERTa 설명 없음
Residual Connection 설명 없음
Attention Dropout Attention Dropout is a type of dropout used in attention-based architectures, where elements are randomly dropped out of the…
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.
Weight Decay 설명 없음
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 &…
Dense Connections Dense Connections, or Fully Connected Connections, are a type of layer in a deep neural network that use a linear operation where every input is connected to every output…

Similar Papers 제목 키워드 기반

ELSA: Partial Weight Freezing for Overhead-Free Sparse Network Deployment

2023-12-11 · Paniz Halvachi, Alexandra Peste, Dan Alistarh, Christoph H. Lampert

We present ELSA, a practical solution for creating deep networks that can easily be deployed at different levels of sparsity. The core idea is to embed one or more sparse networks within a single dense network as a prope…

Entity-Level Sentiment Analysis (ELSA): An exploratory task survey

2023-04-27 · COLING 2022 10 · Egil Rønningstad, Erik Velldal, Lilja Øvrelid

This paper explores the task of identifying the overall sentiment expressed towards volitional entities (persons and organizations) in a document -- what we refer to as Entity-Level Sentiment Analysis (ELSA). While ident…

coreference-resolutionCoreference ResolutionSentenceSentiment Analysis+1

ELSA: Enhanced Local Self-Attention for Vision Transformer

2021-12-23 · Jingkai Zhou, Pichao Wang, Fan Wang, Qiong Liu 외

Self-attention is powerful in modeling long-range dependencies, but it is weak in local finer-level feature learning. The performance of local self-attention (LSA) is just on par with convolution and inferior to dynamic …

Image ClassificationInstance SegmentationObject DetectionSemantic Segmentation

Predicting Three Types of Freezing of Gait Events Using Deep Learning Models

2023-10-10 · Wen Tao Mo, Jonathan H. Chan

Freezing of gait is a Parkinson's Disease symptom that episodically inflicts a patient with the inability to step or turn while walking. While medical experts have discovered various triggers and alleviating actions for …

PredictionSpecificityTime Series

Learning Spatially-Aware Language and Audio Embeddings

2024-09-17 · Bhavika Devnani, Skyler Seto, Zakaria Aldeneh, Alessandro Toso 외

Humans can picture a sound scene given an imprecise natural language description. For example, it is easy to imagine an acoustic environment given a phrase like "the lion roar came from right behind me!". For a machine t…

AttributeContrastive LearningPositionSemantic Retrieval+1