Lune

EMNLP2022顶会

Nearest Neighbor Zero-Shot Inference

Weijia Shi, Julian Michael, Suchin Gururangan, Luke Zettlemoyer

摘要

Retrieval-augmented language models (LMs) use non-parametric memory to substantially outperform their non-retrieval counterparts on perplexity-based evaluations, but it is an open question whether they achieve similar gains in few- and zero-shot end-task accuracy. We extensively study one such model, the k-nearest neighbor LM (kNN-LM), showing that the gains marginally transfer. The main challenge is to achieve coverage of the verbalizer tokens that define the different end-task class labels. To address this challenge, we also introduce kNN-Prompt, a simple and effective kNN-LM with automatically expanded fuzzy verbalizers (e.g. to expand "terrible" to also include "silly" and other task-specific synonyms for sentiment classification). Across nine diverse end-tasks, using kNN-Prompt with GPT-2 large yields significant performance boosts over strong zeroshot baselines (13.4% absolute improvement over the base LM on average). We also show that other advantages of non-parametric augmentation hold for end tasks; kNN-Prompt is effective for domain adaptation with no further training, and gains increase with the size of the retrieval model.

问 Lune

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

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

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

可以从这些问题问起

Lune 可以查阅

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

获取答案

免费开始,无需绑卡

脉络

  • How Do Large Language Models Capture the Ever-changing World Knowledge? A Review of Recent Advances 引用了 Language Models are Few-Shot Learners
  • How Do Large Language Models Capture the Ever-changing World Knowledge? A Review of Recent Advances 引用了 Retrieval-Augmented Generation for Knowledge-Intensive NLP Tasks
  • How Do Large Language Models Capture the Ever-changing World Knowledge? A Review of Recent Advances 引用了 Retrieval Augmented Language Model Pre-Training
  • PromptCap: Prompt-Guided Image Captioning for VQA with GPT-3 引用了 Language Models are Few-Shot Learners
  • PromptCap: Prompt-Guided Image Captioning for VQA with GPT-3 引用了 Finetuned Language Models are Zero-Shot Learners
  • Knowledge Card: Filling LLMs' Knowledge Gaps with Plug-in Specialized Language Models 引用了 Retrieval-Augmented Generation for Knowledge-Intensive NLP Tasks
  • Knowledge Card: Filling LLMs' Knowledge Gaps with Plug-in Specialized Language Models 引用了 Retrieval Augmented Language Model Pre-Training
  • Language Models are Few-Shot Learners 引用了 Retrieval-Augmented Generation for Knowledge-Intensive NLP Tasks
  • SILO Language Models: Isolating Legal Risk In a Nonparametric Datastore 引用了 Language Models are Few-Shot Learners
  • SILO Language Models: Isolating Legal Risk In a Nonparametric Datastore 引用了 Retrieval Augmented Language Model Pre-Training
  • Finetuned Language Models are Zero-Shot Learners 引用了 Language Models are Few-Shot Learners
  • TIARA: Multi-grained Retrieval for Robust Question Answering over Large Knowledge Base 引用了 Language Models are Few-Shot Learners
  • Calibrate Before Use: Improving Few-shot Performance of Language Models 引用了 Language Models are Few-Shot Learners
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper19

  1. PromptCap: Prompt-Guided Image Captioning for VQA with GPT-3Yushi Hu, Hang Hua, Zhengyuan Yang, Weijia Shi 等ICCV 2023 · 91 次引用
  2. SILO Language Models: Isolating Legal Risk In a Nonparametric DatastoreSewon Min, Suchin Gururangan, Eric Wallace, Weijia Shi 等ICLR 2024 · 91 次引用
  3. Knowledge Card: Filling LLMs' Knowledge Gaps with Plug-in Specialized Language ModelsShangbin Feng, Weijia Shi, Yuyang Bai, Vidhisha Balachandran 等ICLR 2024 · 56 次引用
  4. TIARA: Multi-grained Retrieval for Robust Question Answering over Large Knowledge BaseYiheng Shu, Zhiwei Yu, Yuhan Li, Börje F. Karlsson 等EMNLP 2022 · 39 次引用
  5. How Do Large Language Models Capture the Ever-changing World Knowledge? A Review of Recent AdvancesZihan Zhang, Meng Fang, Ling Chen, Mohammad-Reza Namazi-Rad 等EMNLP 2023 · 22 次引用

它引用的 Paper14

  1. Language Models are Few-Shot LearnersTom B. Brown, Benjamin Mann, Nick Ryder, Melanie Subbiah 等NeurIPS 2020 · 64,255 次引用
  2. Retrieval-Augmented Generation for Knowledge-Intensive NLP TasksPatrick Lewis, Ethan Perez, Aleksandra Piktus, Fabio Petroni 等NeurIPS 2020 · 19,162 次引用
  3. Finetuned Language Models are Zero-Shot LearnersJason Wei, Maarten Bosma, Vincent Y. Zhao, Kelvin Guu 等ICLR 2022 · 4,966 次引用
  4. Retrieval Augmented Language Model Pre-TrainingKelvin Guu, Kenton Lee, Zora Tung, Panupong Pasupat 等ICML 2020 · 2,937 次引用
  5. Calibrate Before Use: Improving Few-shot Performance of Language ModelsZihao Zhao, Eric Wallace, Shi Feng, Dan Klein 等ICML 2021 · 1,843 次引用

相关 Paper

  1. Adaptation Approaches for Nearest Neighbor Language ModelsRishabh Bhardwaj, George Polovets, Monica SunkaraACL Findings 2023 · 7 次引用
  2. Retrieval-Augmented Retrieval: Large Language Models are Strong Zero-Shot RetrieverTao Shen, Guodong Long, Xiubo Geng, Chongyang Tao 等ACL Findings 2024 · 29 次引用
  3. AdaPrompt: Adaptive Model Training for Prompt-based NLPYulong Chen, Yang Liu, Li Dong, Shuohang Wang 等EMNLP Findings 2022 · 44 次引用
  4. Why do Nearest Neighbor Language Models Work?Frank F. Xu, Uri Alon, Graham NeubigICML 2023 · 33 次引用
  5. TransPrompt: Towards an Automatic Transferable Prompting Framework for Few-shot Text ClassificationChengyu Wang, Jianing Wang, Minghui Qiu, Jun Huang 等EMNLP 2021 · 39 次引用
黄昏的海面,两侧是细线勾勒的悬崖