mlsanityData to 7 Oct 2026

HistAlign: Improving Context Dependency in Language Generation by Aligning with History

arXiv 2305.04782 ↗First posted 8 May 2023cs.CL cs.AI cs.LGcited by 6

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

  1. 2017Attention Is All You Needcited by 59,932
  2. 2019Sentence-BERT: Sentence Embeddings using Siamese BERT-Networkscited by 9,049
  3. 2018Representation Learning with Contrastive Predictive Codingcited by 7,662
  4. 2019BART: Denoising Sequence-to-Sequence Pre-training for Natural Language Generation, Translation, and Comprehensioncited by 5,874
  5. 2013Distributed Representations of Words and Phrases and their Compositionalitycited by 3,462
  6. 2016Pointer Sentinel Mixture Modelscited by 2,992
  7. 2019The Curious Case of Neural Text Degenerationcited by 2,881
  8. 2021SimCSE: Simple Contrastive Learning of Sentence Embeddingscited by 2,168
  9. 2018Don't Give Me the Details, Just the Summary! Topic-Aware Convolutional Neural Networks for Extreme Summarizationcited by 1,308
  10. 2017Get To The Point: Summarization with Pointer-Generator Networkscited by 1,281
  11. 2018Hierarchical Neural Story Generationcited by 1,182
  12. 2015Teaching Machines to Read and Comprehendcited by 1,039
34 more
  1. 2020On Faithfulness and Factuality in Abstractive Summarizationcited by 895
  2. 2015Pointer Networkscited by 882
  3. 2019Generalization through Memorization: Nearest Neighbor Language Modelscited by 788
  4. 2022Contrastive Decoding: Open-ended Text Generation as Optimizationcited by 598
  5. 2019Evaluating the Factual Consistency of Abstractive Text Summarizationcited by 578
  6. 2021Datasets: A Community Library for Natural Language Processingcited by 526
  7. 2021MAUVE: Measuring the Gap Between Neural Text and Human Text using Divergence Frontierscited by 466
  8. 2019TabFact: A Large-scale Dataset for Table-based Fact Verificationcited by 425
  9. 2020TaBERT: Pretraining for Joint Understanding of Textual and Tabular Datacited by 395
  10. 2021TAPEX: Table Pre-training via Learning a Neural SQL Executorcited by 233
  11. 2022A Contrastive Framework for Neural Text Generationcited by 224
  12. 2022BRIO: Bringing Order to Abstractive Summarizationcited by 161
  13. 2017Breaking the Softmax Bottleneck: A High-Rank RNN Language Modelcited by 147
  14. 2017Faithful to the Original: Fact Aware Neural Abstractive Summarizationcited by 141
  15. 2021Annotating and Modeling Fine-grained Factuality in Summarizationcited by 131
  16. 2021CLIFF: Contrastive Learning for Improving Faithfulness and Factuality in Abstractive Summarizationcited by 120
  17. 2021Entity-level Factual Consistency of Abstractive Text Summarizationcited by 118
  18. 2022Training Language Models with Memory Augmentationcited by 112
  19. 2022Locally Typical Samplingcited by 108
  20. 2020PlotMachines: Outline-Conditioned Generation with Dynamic Plot State Trackingcited by 104
  21. 2020Logical Natural Language Generation from Open-Domain Tablescited by 90
  22. 2021Adaptive Semiparametric Language Modelscited by 83
  23. 2016Improving Neural Language Models with a Continuous Cachecited by 81
  24. 2021Improving Faithfulness in Abstractive Summarization with Contrast Candidate Generation and Selectioncited by 75
  25. 2020Understanding tables with intermediate pre-trainingcited by 68
  26. 2022FactPEGASUS: Factuality-Aware Pre-training and Fine-tuning for Abstractive Summarizationcited by 49
  27. 2016Pointing the Unknown Wordscited by 42
  28. 2022Nonparametric Masked Language Modelingcited by 39
  29. 2017Unbounded cache model for online language modeling with open vocabularycited by 37
  30. 2020A Gold Standard Methodology for Evaluating Accuracy in Data-To-Text Systemscited by 34
  31. 2023Faithfulness-Aware Decoding Strategies for Abstractive Summarizationcited by 31
  32. 2021Automatic Story Generation: Challenges and Attemptscited by 28
  33. 2018Sigsoftmax: Reanalysis of the Softmax Bottleneckcited by 19
  34. 2022PLOG: Table-to-Logic Pretraining for Logical Table-to-Text Generationcited by 16

Built on by

Cited by year (2026 to 7 Oct)

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

6 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2025Stateful KV Cache Management for LLMs: Balancing Space, Time, Accuracy, and Positional Fidelity
  2. 2024CacheBlend: Fast Large Language Model Serving for RAG with Cached Knowledge Fusion
  3. 2023H2O: Heavy-Hitter Oracle for Efficient Generative Inference of Large Language Models
  4. 2025LaCache: Ladder-Shaped KV Caching for Efficient Long-Context Modeling of Large Language Models
  5. 2026Reformulating KV Cache Eviction Problem for Long-Context LLM Inference
  6. 2024MiniCache: KV Cache Compression in Depth Dimension for Large Language Models
  7. 2025Retrospective Sparse Attention for Efficient Long-Context Generation
  8. 2026MemoryRewardBench: Benchmarking Reward Models for Long-Term Memory Management in Large Language Models