paper-with-me

홈 › Papers

On the Interplay Between Fine-tuning and Composition in Transformers

2021-05-31 · Findings (ACL) 2021 8 · Lang Yu, Allyson Ettinger

Pre-trained transformer language models have shown remarkable performance on a variety of NLP tasks. However, recent research has suggested that phrase-level representations in these models reflect heavy influences of lexical content, but lack evidence of sophisticated, compositional phrase information. Here we investigate the impact of fine-tuning on the capacity of contextualized embeddings to capture phrase meaning information beyond lexical content. Specifically, we fine-tune models on an adversarial paraphrase classification task with high lexical overlap, and on a sentiment classification task. After fine-tuning, we analyze phrasal representations in controlled settings following prior work. We find that fine-tuning largely fails to benefit compositionality in these representations, though training on sentiment yields a small, localized benefit for certain models. In follow-up analyses, we identify confounding cues in the paraphrase dataset that may explain the lack of composition benefits from that task, and we discuss potential factors underlying the localized benefits from sentiment training.

📄 PDF Abstract BibTeX arXiv:2105.14668

Code (2)

yulang/fine-tuning-and-composition-in-transformers 공식 구현 pytorch
yulang/phrasal-composition-in-transformers 공식 구현 pytorch

Tasks

Sentiment AnalysisSentiment Classification

Similar Papers 제목 키워드 기반

Tangent Transformers for Composition, Privacy and Removal

2023-07-16 · Tian Yu Liu, Aditya Golatkar, Stefano Soatto

We introduce Tangent Attention Fine-Tuning (TAFT), a method for fine-tuning linearized transformers obtained by computing a First-order Taylor Expansion around a pre-trained initialization. We show that the Jacobian-Vect…

Machine Unlearning

Composing Features: Compositional Model Augmentation for Steerability of Music Transformers

2021-09-29 · Halley Young, Vincent Dumoulin, Pablo Samuel Castro, Jesse Engel 외

Music is a combinatorial art. Given a starting sequence, many continuations are possible, yet often only one is written down. With generative models, we can explore many. However, finding a continuation with specific com…

Rhythm

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

How Abilities in Large Language Models are Affected by Supervised Fine-tuning Data Composition

2023-10-09 · Guanting Dong, Hongyi Yuan, Keming Lu, Chengpeng Li 외

Large language models (LLMs) with enormous pre-training tokens and parameters emerge diverse abilities, including math reasoning, code generation, and instruction following. These abilities are further enhanced by superv…

Code GenerationInstruction FollowingMathMathematical Reasoning

The Impact of Depth on Compositional Generalization in Transformer Language Models

2023-10-30 · Jackson Petty, Sjoerd van Steenkiste, Ishita Dasgupta, Fei Sha 외

To process novel sentences, language models (LMs) must generalize compositionally -- combine familiar elements in new ways. What aspects of a model's structure promote compositional generalization? Focusing on transforme…

Language ModelingLanguage Modelling