mlsanityData to 7 Oct 2026

Predicting Task Performance with Context-aware Scaling Laws

arXiv 2510.14919 ↗First posted 16 Oct 2025cs.CL cs.AI cs.LGcited by 2

Not on the map. Why?

Abstract (arXiv)

Scaling laws have transformed our understanding of large language models by linking upstream metrics like cross-entropy loss to design factors such as model size, training data, and compute. However, these conventional laws fail to capture downstream task performance, where context plays a critical role. In this work, we propose a straightforward, interpretable framework that jointly models downstream performance as a function of the training compute and the provided context. We empirically validate our framework by fitting it on the observed downstream performance of extended-context variants of Llama-2-7B and Llama-2-13B across 65,500 unique instances spanning three tasks: arithmetic reasoning, common sense reasoning, and machine translation. Our results demonstrate that our framework accurately models in-distribution downstream performance, generalizes across three orders of magnitude in training compute, and reliably extrapolates performance as the amount of context increases. These findings offer valuable insights into the interplay between training compute and context utilization, providing guidance for designing more efficient long-context LLMs for diverse downstream tasks. Our code is available at https://github.com/wang-research-lab/context-scaling.

Key facts. Cited by 2 papers in the map (data through 7 Oct 2026). Builds on 33 of its 50 references that are in the map. First posted on arXiv 16 Oct 2025.

Builds on

33 of 50 references.

References · 33

  1. 2020Language Models are Few-Shot Learnerscited by 32,199
  2. 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 12,865
  3. 2021Training Verifiers to Solve Math Word Problemscited by 9,743
  4. 2020Retrieval-Augmented Generation for Knowledge-Intensive NLP Taskscited by 9,160
  5. 2020Scaling Laws for Neural Language Modelscited by 6,411
  6. 2023Efficient Memory Management for Large Language Model Serving with PagedAttentioncited by 5,767
  7. 2021Measuring Mathematical Problem Solving With the MATH Datasetcited by 5,203
  8. 2018Think you have Solved Question Answering? Try ARC, the AI2 Reasoning Challengecited by 4,710
  9. 2021RoFormer: Enhanced Transformer with Rotary Position Embeddingcited by 4,581
  10. 2019HellaSwag: Can a Machine Really Finish Your Sentence?cited by 4,018
  11. 2022FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awarenesscited by 3,611
  12. 2019PIQA: Reasoning about Physical Commonsense in Natural Languagecited by 2,818
21 more
  1. 2018Can a Suit of Armor Conduct Electricity? A New Dataset for Open Book Question Answeringcited by 2,114
  2. 2018CommonsenseQA: A Question Answering Challenge Targeting Commonsense Knowledgecited by 1,793
  3. 2024RULER: What's the Real Context Size of Your Long-Context Language Models?cited by 1,270
  4. 2021Train Short, Test Long: Attention with Linear Biases Enables Input Length Extrapolationcited by 1,085
  5. 2023Extending Context Window of Large Language Models via Positional Interpolationcited by 721
  6. 2019Compressive Transformers for Long-Range Sequence Modellingcited by 699
  7. 2017Program Induction by Rationale Generation : Learning to Solve and Explain Algebraic Word Problemscited by 642
  8. 2020Scaling Laws for Autoregressive Generative Modelingcited by 510
  9. 2019Analysing Mathematical Reasoning Abilities of Neural Modelscited by 331
  10. 2023Effective Long-Context Scaling of Foundation Modelscited by 301
  11. 2024InfLLM: Training-Free Long-Context Extrapolation for LLMs with an Efficient Context Memorycited by 192
  12. 2022On The Computational Complexity of Self-Attentioncited by 137
  13. 2024Observational Scaling Laws and the Predictability of Language Model Performancecited by 128
  14. 2024Language models scale reliably with over-training and on downstream taskscited by 105
  15. 2024Scaling Laws for Predicting Downstream Performance in LLMscited by 48
  16. 2024Why Has Predicting Downstream Capabilities of Frontier AI Models with Scale Remained Elusive?cited by 39
  17. 2024How predictable is language model benchmark performance?cited by 36
  18. 2023How Predictable Are Large Language Model Capabilities? A Case Study on BIG-benchcited by 34
  19. 2023Agent Instructs Large Language Models to be General Zero-Shot Reasonerscited by 32
  20. 2023Predicting Emergent Abilities with Infinite Resolution Evaluationcited by 28
  21. 2024Sloth: scaling laws for LLM skills to predict multi-benchmark performance across familiescited by 23

Built on by

Cited by year (2026 to 7 Oct)

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

2 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2025LLMs on the Line: Data Determines Loss-to-Loss Scaling Laws
  2. 2025The Illusion of Diminishing Returns: Measuring Long Horizon Execution in LLMs
  3. 2022Rethinking the Role of Scale for In-Context Learning: An Interpretability-based Case Study at 66 Billion Scale
  4. 2025On the Fundamental Limits of LLMs at Scale
  5. 2025A Survey on Test-Time Scaling in Large Language Models: What, How, Where, and How Well?
  6. 2025Context Discipline and Performance Correlation: Analyzing LLM Performance and Quality Degradation Under Varying Context Lengths
  7. 2025Rethinking the Unsolvable: When In-Context Search Meets Test-Time Scaling
  8. 2025Instruction Tuning with and without Context: Behavioral Shifts and Downstream Impact