mlsanityData to 7 Oct 2026

FL-Tuning: Layer Tuning for Feed-Forward Network in Transformer

arXiv 2206.15312 ↗First posted 30 Jun 2022cs.CL cs.LGcited by 2

Not on the map. Why?

Abstract (arXiv)

Prompt tuning is an emerging way of adapting pre-trained language models to downstream tasks. However, the existing studies are mainly to add prompts to the input sequence. This way would not work as expected due to the intermediate multi-head self-attention and feed-forward network computation, making model optimization not very smooth. Hence, we propose a novel tuning way called layer tuning, aiming to add learnable parameters in Transformer layers. Specifically, we focus on layer tuning for feed-forward network in the Transformer, namely FL-tuning. It introduces additional units into the hidden layer of each feed-forward network. We conduct extensive experiments on the public CLUE benchmark. The results show that: 1) Our FL-tuning outperforms prompt tuning methods under both full-data and few-shot settings in almost all cases. In particular, it improves accuracy by 17.93% (full-data setting) on WSC 1.0 and F1 by 16.142% (few-shot setting) on CLUENER over P-tuning v2. 2) Our FL-tuning is more stable and converges about 1.17 times faster than P-tuning v2. 3) With only about 3% of Transformer's parameters to be trained, FL-tuning is comparable with fine-tuning on most datasets, and significantly outperforms fine-tuning (e.g., accuracy improved by 12.9% on WSC 1.1) on several datasets. The source codes are available at https://github.com/genggui001/FL-Tuning.

Key facts. Cited by 2 papers in the map (data through 7 Oct 2026). Builds on 31 of its 33 references that are in the map. First posted on arXiv 30 Jun 2022.

Builds on

31 of 33 references.

References · 31

  1. 2017Attention Is All You Needcited by 59,932
  2. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
  3. 2020Language Models are Few-Shot Learnerscited by 32,199
  4. 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,491
  5. 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,266
  6. 2018GLUE: A Multi-Task Benchmark and Analysis Platform for Natural Language Understandingcited by 4,854
  7. 2021RoFormer: Enhanced Transformer with Rotary Position Embeddingcited by 4,581
  8. 2021Prefix-Tuning: Optimizing Continuous Prompts for Generationcited by 3,878
  9. 2021The Power of Scale for Parameter-Efficient Prompt Tuningcited by 3,769
  10. 2018Deep contextualized word representationscited by 2,285
  11. 2020Transformers are RNNs: Fast Autoregressive Transformers with Linear Attentioncited by 1,979
  12. 2019Language Models as Knowledge Bases?cited by 1,922
19 more
  1. 2019SuperGLUE: A Stickier Benchmark for General-Purpose Language Understanding Systemscited by 1,718
  2. 2020Linformer: Self-Attention with Linear Complexitycited by 1,462
  3. 2020Transformer Feed-Forward Layers Are Key-Value Memoriescited by 1,307
  4. 2020Making Pre-trained Language Models Better Few-shot Learnerscited by 1,255
  5. 2019How Can We Know What Language Models Know?cited by 953
  6. 2021GPT Understands, Toocited by 715
  7. 2021P-Tuning v2: Prompt Tuning Can Be Comparable to Fine-tuning Universally Across Scales and Taskscited by 686
  8. 2019How to Fine-Tune BERT for Text Classification?cited by 409
  9. 2021Learning How to Ask: Querying LMs with Mixtures of Soft Promptscited by 376
  10. 2020CLUE: A Chinese Language Understanding Evaluation Benchmarkcited by 277
  11. 2021PTR: Prompt Tuning with Rules for Text Classificationcited by 238
  12. 2020Recall and Learn: Fine-tuning Deep Pretrained Language Models with Less Forgettingcited by 169
  13. 2020Fast Transformers with Clustered Attentioncited by 123
  14. 2020Talking-Heads Attentioncited by 57
  15. 2019Improving Transformer Models by Reordering their Sublayerscited by 52
  16. 2019NEZHA: Neural Contextualized Representation for Chinese Language Understandingcited by 39
  17. 2022Kformer: Knowledge Injection in Transformer Feed-Forward Layerscited by 37
  18. 2021Mask Attention Networks: Rethinking and Strengthen Transformercited by 28
  19. 2018Accelerating Neural Transformer via an Average Attention Networkcited by 22

Built on by

Cited by year

Citing papers per year: 2022: 1; 2023: 0; 2024: 1.

2 papers.