Lune

NeurIPS2021顶会

Why Do Pretrained Language Models Help in Downstream Tasks? An Analysis of Head and Prompt Tuning

Colin Wei, Sang Michael Xie, Tengyu Ma

摘要

Pretrained language models have achieved state-of-the-art performance when adapted to a downstream NLP task. However, theoretical analysis of these models is scarce and challenging since the pretraining and downstream tasks can be very different. We propose an analysis framework that links the pretraining and downstream tasks with an underlying latent variable generative model of text -- the downstream classifier must recover a function of the posterior distribution over the latent variables. We analyze head tuning (learning a classifier on top of the frozen pretrained model) and prompt tuning in this setting. The generative model in our analysis is either a Hidden Markov Model (HMM) or an HMM augmented with a latent memory component, motivated by long-term dependencies in natural language. We show that 1) under certain non-degeneracy conditions on the HMM, simple classification heads can solve the downstream task, 2) prompt tuning obtains downstream guarantees with weaker non-degeneracy conditions, and 3) our recovery guarantees for the memory-augmented HMM are stronger than for the vanilla HMM because task-relevant information is easier to recover from the long-term memory. Experiments on synthetically generated data from HMMs back our theoretical findings.

问 Lune

几分钟读透这篇 Paper,不用再花一下午。

Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。

已有 41 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。

可以从这些问题问起

Lune 可以查阅

全文 · 引用它的顶会 Paper · 相关的 Paper

获取答案

免费开始,无需绑卡

脉络

  • Provable Guarantees for Self-Supervised Deep Learning with Spectral Contrastive Loss 引用了 Theoretical Analysis of Self-Training with Deep Networks on Unlabeled Data
  • Provable Guarantees for Self-Supervised Deep Learning with Spectral Contrastive Loss 引用了 Predicting What You Already Know Helps: Provable Self-Supervised Learning
  • Predicting What You Already Know Helps: Provable Self-Supervised Learning 引用了 Provable Guarantees for Self-Supervised Deep Learning with Spectral Contrastive Loss
  • Self-supervised Learning is More Robust to Dataset Imbalance 引用了 Provable Guarantees for Self-Supervised Deep Learning with Spectral Contrastive Loss
  • Self-supervised Learning is More Robust to Dataset Imbalance 引用了 Predicting What You Already Know Helps: Provable Self-Supervised Learning
  • Theoretical Analysis of Self-Training with Deep Networks on Unlabeled Data 引用了 Predicting What You Already Know Helps: Provable Self-Supervised Learning
  • The Learnability of In-Context Learning 引用了 An Explanation of In-context Learning as Implicit Bayesian Inference
  • Large Language Models Are Latent Variable Models: Explaining and Finding Good Demonstrations for In-Context Learning 引用了 An Explanation of In-context Learning as Implicit Bayesian Inference
  • Universal Prompt Tuning for Graph Neural Networks 引用了 Fine-Tuning can Distort Pretrained Features and Underperform Out-of-Distribution
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper41

  1. An Explanation of In-context Learning as Implicit Bayesian InferenceSang Michael Xie, Aditi Raghunathan, Percy Liang, Tengyu MaICLR 2022 · 1,030 次引用
  2. The Learnability of In-Context LearningNoam Wies, Yoav Levine, Amnon ShashuaNeurIPS 2023 · 207 次引用
  3. Large Language Models Are Latent Variable Models: Explaining and Finding Good Demonstrations for In-Context LearningXinyi Wang, Wanrong Zhu, Michael Saxon, Mark Steyvers 等NeurIPS 2023 · 206 次引用
  4. Self-supervised Learning is More Robust to Dataset ImbalanceHong Liu, Jeff Z. HaoChen, Adrien Gaidon, Tengyu MaICLR 2022 · 190 次引用
  5. Universal Prompt Tuning for Graph Neural NetworksTaoran Fang, Yunchao Zhang, Yang Yang, Chunping Wang 等NeurIPS 2023 · 166 次引用

它引用的 Paper14

  1. AutoPrompt: Eliciting Knowledge from Language Models with Automatically Generated PromptsTaylor Shin, Yasaman Razeghi, Robert L. Logan IV, Eric Wallace 等EMNLP 2020 · 1,162 次引用
  2. Fine-Tuning can Distort Pretrained Features and Underperform Out-of-DistributionAnanya Kumar, Aditi Raghunathan, Robbie Matthew Jones, Tengyu Ma 等ICLR 2022 · 911 次引用
  3. Provable Guarantees for Self-Supervised Deep Learning with Spectral Contrastive LossJeff Z. HaoChen, Colin Wei, Adrien Gaidon, Tengyu MaNeurIPS 2021 · 425 次引用
  4. Theoretical Analysis of Self-Training with Deep Networks on Unlabeled DataColin Wei, Kendrick Shen, Yining Chen, Tengyu MaICLR 2021 · 261 次引用
  5. Predicting What You Already Know Helps: Provable Self-Supervised LearningJason D. Lee, Qi Lei, Nikunj Saunshi, Jiacheng ZhuoNeurIPS 2021 · 219 次引用

相关 Paper

  1. On the Role of Attention in Prompt-tuningSamet Oymak, Ankit Singh Rawat, Mahdi Soltanolkotabi, Christos ThrampoulidisICML 2023 · 67 次引用
  2. PPT: Pre-trained Prompt Tuning for Few-shot LearningYuxian Gu, Xu Han, Zhiyuan Liu, Minlie HuangACL 2022
  3. Two-stage LLM Fine-tuning with Less Specialization and More GeneralizationYihan Wang, Si Si, Daliang Li, Michal Lukasik 等ICLR 2024 · 45 次引用
  4. Universality and Limitations of Prompt TuningYihan Wang, Jatin Chauhan, Wei Wang, Cho-Jui HsiehNeurIPS 2023 · 48 次引用
  5. G-Tuning: Improving Generalization of Pre-trained Language Models with Generative Adversarial NetworkRongxiang Weng, Wensen Cheng, Min ZhangACL Findings 2023 · 2 次引用
黄昏的海面,两侧是细线勾勒的悬崖