mlsanityData to 7 Oct 2026

Nearest Neighbor Language Models for Stylistic Controllable Generation

arXiv 2210.15762 ↗First posted 27 Oct 2022cs.CLcited by 2

Not on the map. Why?

Abstract (arXiv)

Recent language modeling performance has been greatly improved by the use of external memory. This memory encodes the context so that similar contexts can be recalled during decoding. This similarity depends on how the model learns to encode context, which can be altered to include other attributes, such as style. We construct and evaluate an architecture for this purpose, using corpora annotated for politeness, formality, and toxicity. Through extensive experiments and human evaluation we demonstrate the potential of our method to generate text while controlling style. We find that style-specific datastores improve generation performance, though results vary greatly across styles, and the effect of pretraining data and specific styles should be explored in future work.

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

Builds on

19 of 23 references.

References · 19

  1. 2016Pointer Sentinel Mixture Modelscited by 2,992
  2. 2020RealToxicityPrompts: Evaluating Neural Toxic Degeneration in Language Modelscited by 1,235
  3. 2019Plug and Play Language Models: A Simple Approach to Controlled Text Generationcited by 793
  4. 2019Generalization through Memorization: Nearest Neighbor Language Modelscited by 788
  5. 2019CTRL: A Conditional Transformer Language Model for Controllable Generationcited by 754
  6. 2021DExperts: Decoding-Time Controlled Text Generation with Experts and Anti-Expertscited by 434
  7. 2019Nuanced Metrics for Measuring Unintended Bias with Real Data for Text Classificationcited by 396
  8. 2021FUDGE: Controlled Text Generation With Future Discriminatorscited by 374
  9. 2022Memorizing Transformerscited by 219
  10. 2020Nearest Neighbor Machine Translationcited by 209
  11. 2013A Computational Approach to Politeness with Application to Social Factorscited by 104
  12. 2021Efficient Nearest Neighbor Language Modelscited by 93
7 more
  1. 2021Adaptive Semiparametric Language Modelscited by 83
  2. 2016Improving Neural Language Models with a Continuous Cachecited by 81
  3. 2022Neuro-Symbolic Language Modeling with Automaton-augmented Retrievalcited by 60
  4. 2017Unbounded cache model for online language modeling with open vocabularycited by 37
  5. 2021Fast Nearest Neighbor Machine Translationcited by 37
  6. 2021Capturing Structural Locality in Non-parametric Language Modelscited by 8
  7. 2021Faster Nearest Neighbor Machine Translationcited by 8

Built on by

Cited by year

Citing papers per year: 2023: 2.

2 papers.