Learning Sparse Prototypes for Text Generation
Not on the map. Why?
Abstract (arXiv)
Prototype-driven text generation uses non-parametric models that first choose from a library of sentence "prototypes" and then modify the prototype to generate the output text. While effective, these methods are inefficient at test time as a result of needing to store and index the entire training corpus. Further, existing methods often require heuristics to identify which prototypes to reference at training time. In this paper, we propose a novel generative model that automatically learns a sparse prototype support set that, nonetheless, achieves strong language modeling performance. This is achieved by (1) imposing a sparsity-inducing prior on the prototype selection distribution, and (2) utilizing amortized variational inference to learn a prototype retrieval function. In experiments, our model outperforms previous prototype-driven language models while achieving up to a 1000x memory reduction, as well as a 1000x speed-up at test time. More interestingly, we show that the learned prototypes are able to capture semantics and syntax at different granularity as we vary the sparsity of prototype selection, and that certain sentence attributes can be controlled by specifying the prototype for generation.
Key facts. Cited by 15 papers in the map (data through 7 Oct 2026). First posted on arXiv 29 Jun 2020.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2021: 7; 2022: 2; 2023: 3; 2024: 1; 2025: 1; 2026: 1.
15 papers.
Sort:
By area:
- 2021Efficient Nearest Neighbor Language Modelscited by 93
- 2022Neuro-Symbolic Language Modeling with Automaton-augmented Retrievalcited by 60
- 2021What's in a Summary? Laying the Groundwork for Advances in Hospital-Course Summarizationcited by 35
- 2021Controllable Semantic Parsing via Retrieval Augmentationcited by 35
- 2023Why do Nearest Neighbor Language Models Work?cited by 29
- 2021Few-shot Controllable Style Transfer for Low-Resource Multilingual Settingscited by 20
- 2022You can't pick your neighbors, or can you? When and how to rely on retrieval in the kNN-LMcited by 18
- 2023Diversify Question Generation with Retrieval-Augmented Style Transfercited by 10
- 2021Capturing Structural Locality in Non-parametric Language Modelscited by 8
- 2021Data-to-text Generation by Splicing Together Nearest Neighborscited by 4
- 2023Robust Text Classification: Analyzing Prototype-Based Networkscited by 3
- 2024MGM: Global Understanding of Audience Overlap Graphs for Predicting the Factuality and the Bias of News Mediacited by 2
- 2026GFPL: Generative Federated Prototype Learning for Resource-Constrained and Data-Imbalanced Vision Task25 Feb 2026
- 2025Long-Tail Crisis in Nearest Neighbor Language Models28 Mar 2025
- 2024MGM: Global Understanding of Audience Overlap Graphs for Predicting the Factuality and the Bias of News Media12 Dec 2024
- 2023Robust Text Classification: Analyzing Prototype-Based Networks11 Nov 2023
- 2023Diversify Question Generation with Retrieval-Augmented Style Transfer23 Oct 2023
- 2023Why do Nearest Neighbor Language Models Work?7 Jan 2023
- 2022You can't pick your neighbors, or can you? When and how to rely on retrieval in the kNN-LM28 Oct 2022
- 2022Neuro-Symbolic Language Modeling with Automaton-augmented Retrieval28 Jan 2022
- 2021Controllable Semantic Parsing via Retrieval Augmentation16 Oct 2021
- 2021Few-shot Controllable Style Transfer for Low-Resource Multilingual Settings14 Oct 2021
- 2021Capturing Structural Locality in Non-parametric Language Models6 Oct 2021
- 2021Efficient Nearest Neighbor Language Models9 Sep 2021
- 2023Why do Nearest Neighbor Language Models Work?cited by 29
- 2023Diversify Question Generation with Retrieval-Augmented Style Transfercited by 10
- 2025Long-Tail Crisis in Nearest Neighbor Language Modelscited by 1
- 2025Long-Tail Crisis in Nearest Neighbor Language Models28 Mar 2025
- 2023Diversify Question Generation with Retrieval-Augmented Style Transfer23 Oct 2023
- 2023Why do Nearest Neighbor Language Models Work?7 Jan 2023
- 2021Efficient Nearest Neighbor Language Modelscited by 93
- 2022Neuro-Symbolic Language Modeling with Automaton-augmented Retrievalcited by 60
- 2021What's in a Summary? Laying the Groundwork for Advances in Hospital-Course Summarizationcited by 35
- 2021Controllable Semantic Parsing via Retrieval Augmentationcited by 35
- 2021Few-shot Controllable Style Transfer for Low-Resource Multilingual Settingscited by 20
- 2022You can't pick your neighbors, or can you? When and how to rely on retrieval in the kNN-LMcited by 18
- 2021Capturing Structural Locality in Non-parametric Language Modelscited by 8
- 2021Data-to-text Generation by Splicing Together Nearest Neighborscited by 4
- 2023Robust Text Classification: Analyzing Prototype-Based Networkscited by 3
- 2024MGM: Global Understanding of Audience Overlap Graphs for Predicting the Factuality and the Bias of News Mediacited by 2
- 2021An Empirical Study of Extrapolation in Text Generation with Scalar Controlcited by 1
- 2026GFPL: Generative Federated Prototype Learning for Resource-Constrained and Data-Imbalanced Vision Taskcited by 0
- 2026GFPL: Generative Federated Prototype Learning for Resource-Constrained and Data-Imbalanced Vision Task25 Feb 2026
- 2024MGM: Global Understanding of Audience Overlap Graphs for Predicting the Factuality and the Bias of News Media12 Dec 2024
- 2023Robust Text Classification: Analyzing Prototype-Based Networks11 Nov 2023
- 2022You can't pick your neighbors, or can you? When and how to rely on retrieval in the kNN-LM28 Oct 2022
- 2022Neuro-Symbolic Language Modeling with Automaton-augmented Retrieval28 Jan 2022
- 2021Controllable Semantic Parsing via Retrieval Augmentation16 Oct 2021
- 2021Few-shot Controllable Style Transfer for Low-Resource Multilingual Settings14 Oct 2021
- 2021Capturing Structural Locality in Non-parametric Language Models6 Oct 2021
- 2021Efficient Nearest Neighbor Language Models9 Sep 2021
- 2021An Empirical Study of Extrapolation in Text Generation with Scalar Control16 Apr 2021
- 2021What's in a Summary? Laying the Groundwork for Advances in Hospital-Course Summarization12 Apr 2021
- 2021Data-to-text Generation by Splicing Together Nearest Neighbors20 Jan 2021