HistAlign: Improving Context Dependency in Language Generation by Aligning with History
Not on the map. Why?
Abstract (arXiv)
Language models (LMs) can generate hallucinations and incoherent outputs, which highlights their weak context dependency. Cache-LMs, which augment LMs with a memory of recent history, can increase context dependency and have shown remarkable performance in diverse language generation tasks. However, we find that even with training, the performance gain stemming from the cache component of current cache-LMs is suboptimal due to the misalignment between the current hidden states and those stored in the memory. In this work, we present HistAlign, a new training approach to ensure good cache alignment such that the model receives useful signals from the history. We first prove our concept on a simple and synthetic task where the memory is essential for correct predictions, and we show that the cache component of HistAlign is better aligned and improves overall performance. Next, we evaluate HistAlign on diverse downstream language generation tasks, including prompt continuation, abstractive summarization, and data-to-text. We demonstrate that HistAlign improves text coherence and faithfulness in open-ended and conditional generation settings respectively. HistAlign is also generalizable across different model families, showcasing its strength in improving context dependency of LMs in diverse scenarios. Our code is publicly available at https://github.com/meetdavidwan/histalign
Key facts. Cited by 6 papers in the map (data through 7 Oct 2026). Builds on 46 of its 66 references that are in the map. First posted on arXiv 8 May 2023.
Builds on
46 of 66 references.
References · 46
- 2017Attention Is All You Needcited by 59,932
- 2019Sentence-BERT: Sentence Embeddings using Siamese BERT-Networkscited by 9,049
- 2018Representation Learning with Contrastive Predictive Codingcited by 7,662
- 2019BART: Denoising Sequence-to-Sequence Pre-training for Natural Language Generation, Translation, and Comprehensioncited by 5,874
- 2013Distributed Representations of Words and Phrases and their Compositionalitycited by 3,462
- 2016Pointer Sentinel Mixture Modelscited by 2,992
- 2019The Curious Case of Neural Text Degenerationcited by 2,881
- 2021SimCSE: Simple Contrastive Learning of Sentence Embeddingscited by 2,168
- 2018Don't Give Me the Details, Just the Summary! Topic-Aware Convolutional Neural Networks for Extreme Summarizationcited by 1,308
- 2017Get To The Point: Summarization with Pointer-Generator Networkscited by 1,281
- 2018Hierarchical Neural Story Generationcited by 1,182
- 2015Teaching Machines to Read and Comprehendcited by 1,039
34 more
- 2020On Faithfulness and Factuality in Abstractive Summarizationcited by 895
- 2015Pointer Networkscited by 882
- 2019Generalization through Memorization: Nearest Neighbor Language Modelscited by 788
- 2022Contrastive Decoding: Open-ended Text Generation as Optimizationcited by 598
- 2019Evaluating the Factual Consistency of Abstractive Text Summarizationcited by 578
- 2021Datasets: A Community Library for Natural Language Processingcited by 526
- 2021MAUVE: Measuring the Gap Between Neural Text and Human Text using Divergence Frontierscited by 466
- 2019TabFact: A Large-scale Dataset for Table-based Fact Verificationcited by 425
- 2020TaBERT: Pretraining for Joint Understanding of Textual and Tabular Datacited by 395
- 2021TAPEX: Table Pre-training via Learning a Neural SQL Executorcited by 233
- 2022A Contrastive Framework for Neural Text Generationcited by 224
- 2022BRIO: Bringing Order to Abstractive Summarizationcited by 161
- 2017Breaking the Softmax Bottleneck: A High-Rank RNN Language Modelcited by 147
- 2017Faithful to the Original: Fact Aware Neural Abstractive Summarizationcited by 141
- 2021Annotating and Modeling Fine-grained Factuality in Summarizationcited by 131
- 2021CLIFF: Contrastive Learning for Improving Faithfulness and Factuality in Abstractive Summarizationcited by 120
- 2021Entity-level Factual Consistency of Abstractive Text Summarizationcited by 118
- 2022Training Language Models with Memory Augmentationcited by 112
- 2022Locally Typical Samplingcited by 108
- 2020PlotMachines: Outline-Conditioned Generation with Dynamic Plot State Trackingcited by 104
- 2020Logical Natural Language Generation from Open-Domain Tablescited by 90
- 2021Adaptive Semiparametric Language Modelscited by 83
- 2016Improving Neural Language Models with a Continuous Cachecited by 81
- 2021Improving Faithfulness in Abstractive Summarization with Contrast Candidate Generation and Selectioncited by 75
- 2020Understanding tables with intermediate pre-trainingcited by 68
- 2022FactPEGASUS: Factuality-Aware Pre-training and Fine-tuning for Abstractive Summarizationcited by 49
- 2016Pointing the Unknown Wordscited by 42
- 2022Nonparametric Masked Language Modelingcited by 39
- 2017Unbounded cache model for online language modeling with open vocabularycited by 37
- 2020A Gold Standard Methodology for Evaluating Accuracy in Data-To-Text Systemscited by 34
- 2023Faithfulness-Aware Decoding Strategies for Abstractive Summarizationcited by 31
- 2021Automatic Story Generation: Challenges and Attemptscited by 28
- 2018Sigsoftmax: Reanalysis of the Softmax Bottleneckcited by 19
- 2022PLOG: Table-to-Logic Pretraining for Logical Table-to-Text Generationcited by 16
Built on by
Citing papers per year: 2023: 3; 2024: 1; 2025: 1; 2026: 1.
6 papers.
- 2023Cognitive Mirage: A Review of Hallucinations in Large Language Modelscited by 83
- 2023Alleviating Hallucinations of Large Language Models through Induced Hallucinationscited by 78
- 2024AdaCAD: Adaptively Decoding to Balance Conflicts between Contextual and Parametric Knowledgecited by 35
- 2023Revisiting the Architectures like Pointer Networks to Efficiently Improve the Next Word Distribution, Summarization Factuality, and Beyondcited by 7
- 2025Hallucinate at the Last in Long Response Generation: A Case Study on Long Document Summarizationcited by 6
- 2026DHI: Leveraging Diverse Hallucination Induction for Enhanced Contrastive Factuality Control in Large Language Modelscited by 0
- 2026DHI: Leveraging Diverse Hallucination Induction for Enhanced Contrastive Factuality Control in Large Language Models3 Jan 2026
- 2025Hallucinate at the Last in Long Response Generation: A Case Study on Long Document Summarization21 May 2025
- 2024AdaCAD: Adaptively Decoding to Balance Conflicts between Contextual and Parametric Knowledge11 Sep 2024
- 2023Alleviating Hallucinations of Large Language Models through Induced Hallucinations25 Dec 2023
- 2023Cognitive Mirage: A Review of Hallucinations in Large Language Models13 Sep 2023
- 2023Revisiting the Architectures like Pointer Networks to Efficiently Improve the Next Word Distribution, Summarization Factuality, and Beyond20 May 2023
Similar, not cited
Close in wording, no citation either way
- 2025Stateful KV Cache Management for LLMs: Balancing Space, Time, Accuracy, and Positional Fidelity
- 2024CacheBlend: Fast Large Language Model Serving for RAG with Cached Knowledge Fusion
- 2023H2O: Heavy-Hitter Oracle for Efficient Generative Inference of Large Language Models
- 2025LaCache: Ladder-Shaped KV Caching for Efficient Long-Context Modeling of Large Language Models
- 2026Reformulating KV Cache Eviction Problem for Long-Context LLM Inference
- 2024MiniCache: KV Cache Compression in Depth Dimension for Large Language Models
- 2025Retrospective Sparse Attention for Efficient Long-Context Generation
- 2026MemoryRewardBench: Benchmarking Reward Models for Long-Term Memory Management in Large Language Models