# Chain on Demand: Deferred Evidence Organization for Long-Term Conversational Memory

arXiv: https://arxiv.org/abs/2611.02480 · HTML: https://mlsanity.com/paper/2611.02480/

## Key facts

- No citing papers in the map yet (data through 26 Nov 2026).
- Builds on 10 of its 44 references that are in the map.
- Submitted 2 Nov 2026.

## Builds on (most cited first, 10 of 10)

- [Restormer: Efficient Transformer for High-Resolution Image Restoration](https://mlsanity.com/paper/2111.09881/) (2021)
- [Gradient Surgery for Multi-Task Learning](https://mlsanity.com/paper/2001.06782/) (2020)
- [GradNorm: Gradient Normalization for Adaptive Loss Balancing in Deep Multitask Networks](https://mlsanity.com/paper/1711.02257/) (2017)
- [Learning to Reweight Examples for Robust Deep Learning](https://mlsanity.com/paper/1803.09050/) (2018)
- [Deeply-Supervised Nets](https://mlsanity.com/paper/1409.5185/) (2014)
- [Focal Frequency Loss for Image Reconstruction and Synthesis](https://mlsanity.com/paper/2012.12821/) (2020)
- [Betty: An Automatic Differentiation Library for Multilevel Optimization](https://mlsanity.com/paper/2207.02849/) (2022)
- [Seismic data interpolation based on U-net with texture loss](https://mlsanity.com/paper/1911.04092/) (2019)
- [Can learning from natural image denoising be used for seismic data interpolation?](https://mlsanity.com/paper/1902.10379/) (2019)
- [Spatial-Spectral Interactive POCS Network for Large-Gap Seismic Data Interpolation](https://mlsanity.com/paper/2611.00556/) (2026)

## Abstract (arXiv)

Long-term conversational memory faces a timing mismatch: write-time summaries and graphs organize history before a future query is known, while independent retrieval can allocate a limited evidence budget to redundant or fragmented turns. We introduce Chain on Demand (CoD), a query-time evidence organization framework over an unchanged turn-level memory. Given a broad candidate pool, CoD constructs a temporary evidence chain by allocating a fixed anchor budget according to query relevance, lexical diversity relative to selected anchors, and newly covered query terms, followed by deterministic restoration of each selected anchor's same-session neighborhood. The resulting chain is used only for the current query, while the underlying conversational memory remains unchanged. In a paired comparison over all 1,986 LoCoMo questions, CoD achieves 82.2% accuracy on 1,540 non-adversarial questions and 76.3% on all 1,986 questions. On LongMemEval-S, one fixed configuration that indexes both user and assistant turns obtains 86.6% across all 500 questions. These results show that long-term memory can preserve the original conversation while deferring evidence organization until the information need is known.
