paper-with-me

Papers

Bidirectional Language Models Are Also Few-shot Learners

2022-09-29 · Ajay Patel, Bryan Li, Mohammad Sadegh Rasooli, Noah Constant, Colin Raffel, Chris Callison-Burch

Large language models such as GPT-3 (Brown et al., 2020) can perform arbitrary tasks without undergoing fine-tuning after being prompted with only a few labeled examples. An arbitrary task can be reformulated as a natural language prompt, and a language model can be asked to generate the completion, indirectly performing the task in a paradigm known as prompt-based learning. To date, emergent prompt-based learning capabilities have mainly been demonstrated for unidirectional language models. However, bidirectional language models pre-trained on denoising objectives such as masked language modeling produce stronger learned representations for transfer learning. This motivates the possibility of prompting bidirectional models, but their pre-training objectives have made them largely incompatible with the existing prompting paradigm. We present SAP (Sequential Autoregressive Prompting), a technique that enables the prompting of bidirectional models. Utilizing the machine translation task as a case study, we prompt the bidirectional mT5 model (Xue et al., 2021) with SAP and demonstrate its few-shot and zero-shot translations outperform the few-shot translations of unidirectional models like GPT-3 and XGLM (Lin et al., 2021), despite mT5's approximately 50% fewer parameters. We further show SAP is effective on question answering and summarization. For the first time, our results demonstrate prompt-based learning is an emergent property of a broader class of language models, rather than only unidirectional models.

📄 PDF Abstract BibTeX arXiv:2209.14500

Code (0)

등록된 구현이 없습니다.

Tasks

DenoisingLanguage ModelingLanguage ModellingMachine TranslationMasked Language ModelingQuestion AnsweringTransfer Learning

Methods 이 논문이 사용한 방법론

Attention 설명 없음
Linear Layer A Linear Layer is a projection $\mathbf{XW + b}$.
Gated Linear Unit A Gated Linear Unit, or GLU computes: $$ \mathrm{GLU}(a, b) = a \otimes \sigma(b) $$ It is used in natural language processing architectures, for example the Gated CNN,…
Inverse Square Root Schedule Inverse Square Root is a learning rate schedule 1 / $\sqrt{\max\left(n, k\right)}$ where $n$ is the current training iteration and $k$ is the number of warm-up steps. This…
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…
Cosine Annealing Cosine Annealing is a type of learning rate schedule that has the effect of starting with a large learning rate that is relatively rapidly decreased to a minimum value before…
BPE Byte Pair Encoding, or BPE, is a subword segmentation algorithm that encodes rare and unknown words as sequences of subword units. The intuition is that various word…
SentencePiece 설명 없음

Similar Papers 제목 키워드 기반

Syntactic Structure Distillation Pretraining For Bidirectional Encoders

2020-05-27 · Adhiguna Kuncoro, Lingpeng Kong, Daniel Fried, Dani Yogatama 외

Textual representation learners trained on large amounts of data have achieved notable success on downstream tasks; intriguingly, they have also performed well on challenging tests of syntactic competence. Given this suc…

Knowledge DistillationLanguage ModelingLanguage ModellingNatural Language Understanding+2

LMTurk: Few-Shot Learners as Crowdsourcing Workers in a Language-Model-as-a-Service Framework

2021-12-14 · Findings (NAACL) 2022 7 · Mengjie Zhao, Fei Mi, Yasheng Wang, Minglei Li 외

Vast efforts have been devoted to creating high-performance few-shot learners, i.e., large-scale pretrained language models (PLMs) that perform well with little downstream task training data. Training PLMs has incurred s…

Active LearningLanguage ModelingLanguage Modelling

LMTurk: Few-Shot Learners as Crowdsourcing Workers

2022-01-16 · ACL ARR January 2022 1 · Anonymous

Vast efforts have been devoted to creating high-performance few-shot learners, i.e., large-scale pretrained language models (PLMs) that perform well with little downstream task training data. Training PLMs has incurred …

Making Pretrained Language Models Good Long-tailed Learners

2022-05-11 · Chen Zhang, Lei Ren, Jingang Wang, Wei Wu 외

Prompt-tuning has shown appealing performance in few-shot classification by virtue of its capability in effectively exploiting pre-trained knowledge. This motivates us to check the hypothesis that prompt-tuning is also a…

Classification

Evaluating Prompting Strategies for Grammatical Error Correction Based on Language Proficiency

2024-02-24 · Min Zeng, Jiexin Kuang, Mengyang Qiu, Jayoung Song 외

The writing examples of English language learners may be different from those of native speakers. Given that there is a significant differences in second language (L2) learners' error types by their proficiency levels, t…

Grammatical Error Correction