mlsanityData to 14 Oct 2026

CASCADE Your Datasets for Cross-Mode Knowledge Retrieval of Language Models

arXiv 2504.01450 ↗First posted 2 Apr 2025cs.LG cs.CLcited by 2

Not on the map. Why?

Abstract (arXiv)

Language models often struggle with cross-mode knowledge retrieval -- the ability to access knowledge learned in one format (mode) when queried in another. We demonstrate that models trained on multiple data sources (e.g., Wikipedia and TinyStories) exhibit significantly reduced accuracy when retrieving knowledge in a format different from its original training mode. This paper quantitatively investigates this phenomenon through a controlled study of random token sequence memorization across different modes. We first explore dataset rewriting as a solution, revealing that effective cross-mode retrieval requires prohibitively extensive rewriting efforts that follow a sigmoid-like relationship. As an alternative, we propose CASCADE, a novel pretraining algorithm that uses cascading datasets with varying sequence lengths and computing losses on only the second half of each training sequence to capture knowledge at different scales. Our experiments demonstrate that CASCADE outperforms dataset rewriting approaches, even when compressed into a single model with a unified loss function. This work provides both qualitative evidence of cross-mode retrieval limitations and a practical solution to enhance language models' ability to access knowledge independently of its presentational format.

Key facts. Cited by 2 papers in the map (data through 14 Oct 2026). Builds on 29 of its 34 references that are in the map. First posted on arXiv 2 Apr 2025.

Builds on

29 of 34 references.

References · 29

  1. 2017Attention Is All You Needcited by 60,361
  2. 2020Language Models are Few-Shot Learnerscited by 32,419
  3. 2023GPT-4 Technical Reportcited by 18,396
  4. 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,459
  5. 2020Retrieval-Augmented Generation for Knowledge-Intensive NLP Taskscited by 9,297
  6. 2022FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awarenesscited by 3,673
  7. 2023FlashAttention-2: Faster Attention with Better Parallelism and Work Partitioningcited by 2,598
  8. 2019Evaluating the Factual Consistency of Abstractive Text Summarizationcited by 584
  9. 2023Textbooks Are All You Needcited by 569
  10. 2023TinyStories: How Small Can Language Models Be and Still Speak Coherent English?cited by 449
  11. 2021Measuring and Improving Consistency in Pretrained Language Modelscited by 364
  12. 2022The Stack: 3 TB of permissively licensed source codecited by 359
17 more
  1. 2023Physics of Language Models: Part 3.1, Knowledge Storage and Extractioncited by 270
  2. 2024Physics of Language Models: Part 3.3, Knowledge Capacity Scaling Lawscited by 144
  3. 2023Physics of Language Models: Part 3.2, Knowledge Manipulationcited by 143
  4. 2024Physics of Language Models: Part 2.1, Grade-School Math and the Hidden Reasoning Processcited by 108
  5. 2023Physics of Language Models: Part 1, Learning Hierarchical Language Structurescited by 83
  6. 2020Logic-Guided Data Augmentation and Regularization for Consistent Question Answeringcited by 78
  7. 2021Identifying and Mitigating Spurious Correlations for Improving Robustness in NLP Modelscited by 76
  8. 2019Make Up Your Mind! Adversarial Generation of Inconsistent Natural Language Explanationscited by 71
  9. 2019A Logic-Driven Framework for Consistency of Neural Modelscited by 64
  10. 2022Generating Data to Mitigate Spurious Correlations in Natural Language Inference Datasetscited by 54
  11. 2024Physics of Language Models: Part 2.2, How to Learn From Mistakes on Grade-School Math Problemscited by 50
  12. 2021Can NLI Models Verify QA Systems' Predictions?cited by 46
  13. 2022Are All Spurious Features in Natural Language Alike? An Analysis through a Causal Lenscited by 28
  14. 2022Informativeness and Invariance: Two Perspectives on Spurious Correlations in Natural Languagecited by 21
  15. 2024Clarify: Improving Model Robustness With Natural Language Correctionscited by 8
  16. 2023Controlling Learned Effects to Reduce Spurious Correlations in Text Classifierscited by 5
  17. 2021Enriching a Model's Notion of Belief using a Persistent Memorycited by 4

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2025: 1; 2026: 1.

2 papers.