mlsanityData to 14 Oct 2026

Adaptation Approaches for Nearest Neighbor Language Models

arXiv 2211.07828 ↗First posted 15 Nov 2022cs.CLcited by 6

Not on the map. Why?

Abstract (arXiv)

Semi-parametric Nearest Neighbor Language Models (kNN-LMs) have produced impressive gains over purely parametric LMs, by leveraging large-scale neighborhood retrieval over external memory datastores. However, there has been little investigation into adapting such models for new domains. This work attempts to fill that gap and suggests the following approaches for adapting kNN-LMs -- 1) adapting the underlying LM (using Adapters), 2) expanding neighborhood retrieval over an additional adaptation datastore, and 3) adapting the weights (scores) of retrieved neighbors using a learned Rescorer module. We study each adaptation strategy separately, as well as the combined performance improvement through ablation experiments and an extensive set of evaluations run over seven adaptation domains. Our combined adaptation approach consistently outperforms purely parametric adaptation and zero-shot (kNN-LM) baselines that construct datastores from the adaptation data. On average, we see perplexity improvements of 17.1% and 16% for these respective baselines, across domains.

Key facts. Cited by 6 papers in the map (data through 14 Oct 2026). Builds on 23 of its 29 references that are in the map. First posted on arXiv 15 Nov 2022.

Builds on

23 of 29 references.

References · 23

  1. 2021LoRA: Low-Rank Adaptation of Large Language Modelscited by 14,380
  2. 2018Representation Learning with Contrastive Predictive Codingcited by 7,777
  3. 2019Parameter-Efficient Transfer Learning for NLPcited by 4,236
  4. 2017Billion-scale similarity search with GPUscited by 2,497
  5. 2019HuggingFace's Transformers: State-of-the-art Natural Language Processingcited by 2,218
  6. 2018Don't Give Me the Details, Just the Summary! Topic-Aware Convolutional Neural Networks for Extreme Summarizationcited by 1,317
  7. 2021Improving language models by retrieving from trillions of tokenscited by 1,293
  8. 2021BitFit: Simple Parameter-efficient Fine-tuning for Transformer-based Masked Language-modelscited by 1,245
  9. 2022Few-Shot Parameter-Efficient Fine-Tuning is Better and Cheaper than In-Context Learningcited by 896
  10. 2019Generalization through Memorization: Nearest Neighbor Language Modelscited by 800
  11. 2017Crowdsourcing Multiple Choice Science Questionscited by 765
  12. 2019Passage Re-ranking with BERTcited by 645
11 more
  1. 2019SAMSum Corpus: A Human-annotated Dialogue Dataset for Abstractive Summarizationcited by 535
  2. 2018A Discourse-Aware Attention Model for Abstractive Summarization of Long Documentscited by 478
  3. 2020AdapterHub: A Framework for Adapting Transformerscited by 444
  4. 2021XL-Sum: Large-Scale Multilingual Abstractive Summarization for 44 Languagescited by 347
  5. 2021Efficient Attentions for Long Document Summarizationcited by 345
  6. 2020Nearest Neighbor Machine Translationcited by 209
  7. 2021BookSum: A Collection of Datasets for Long-form Narrative Summarizationcited by 184
  8. 2022Re2G: Retrieve, Rerank, Generatecited by 102
  9. 2021Efficient Nearest Neighbor Language Modelscited by 93
  10. 2021Adaptive Semiparametric Language Modelscited by 83
  11. 2022Meta-Learning the Difference: Preparing Large Language Models for Efficient Adaptationcited by 14

Built on by

Cited by year

Citing papers per year: 2023: 3; 2024: 2; 2025: 1.

6 papers.