Style Locality for Controllable Generation with kNN Language Models
Not on the map. Why?
Abstract (arXiv)
Recent language models have been improved by the addition of external memory. Nearest neighbor language models retrieve similar contexts to assist in word prediction. The addition of locality levels allows a model to learn how to weight neighbors based on their relative location to the current text in source documents, and have been shown to further improve model performance. Nearest neighbor models have been explored for controllable generation but have not examined the use of locality levels. We present a novel approach for this purpose and evaluate it using automatic and human evaluation on politeness, formality, supportiveness, and toxicity textual data. We find that our model is successfully able to control style and provides a better fluency-style trade-off than previous work.
Key facts. No citing papers in the map yet (data through 7 Oct 2026). Builds on 22 of its 29 references that are in the map. First posted on arXiv 1 Nov 2023.
Builds on
22 of 29 references.
References · 22
- 2019Sentence-BERT: Sentence Embeddings using Siamese BERT-Networkscited by 9,049
- 2016Pointer Sentinel Mixture Modelscited by 2,992
- 2019fairseq: A Fast, Extensible Toolkit for Sequence Modelingcited by 1,486
- 2020RealToxicityPrompts: Evaluating Neural Toxic Degeneration in Language Modelscited by 1,235
- 2019Plug and Play Language Models: A Simple Approach to Controlled Text Generationcited by 793
- 2019Generalization through Memorization: Nearest Neighbor Language Modelscited by 788
- 2014Neural Turing Machinescited by 630
- 2019Defending Against Neural Fake Newscited by 553
- 2021DExperts: Decoding-Time Controlled Text Generation with Experts and Anti-Expertscited by 434
- 2021FUDGE: Controlled Text Generation With Future Discriminatorscited by 374
- 2018Dear Sir or Madam, May I introduce the GYAFC Dataset: Corpus, Benchmarks and Metrics for Formality Style Transfercited by 209
- 2013A Computational Approach to Politeness with Application to Social Factorscited by 104
10 more
- 2016Improving Neural Language Models with a Continuous Cachecited by 81
- 2021Language Model Evaluation Beyond Perplexitycited by 77
- 2015Inferring Algorithmic Patterns with Stack-Augmented Recurrent Netscited by 76
- 2020Exploring Controllable Text Generation Techniquescited by 55
- 2015Learning to Transduce with Unbounded Memorycited by 54
- 2021Lower Perplexity is Not Always Human-Likecited by 52
- 2015Evaluating Prerequisite Qualities for Learning End-to-End Dialog Systemscited by 34
- 2021Ruddit: Norms of Offensiveness for English Reddit Commentscited by 26
- 2021Capturing Structural Locality in Non-parametric Language Modelscited by 8
- 2022Nearest Neighbor Language Models for Stylistic Controllable Generationcited by 2
Built on by
Not cited yet.