Hermes: Learning Contextual Reasoning Unlocks Test-Time Scaling
Xinyu Li, Mononito Goswami, Hao Liu, Nikos Kanakaris, Langlin Huang, Prithwish Jana, Patrick Blöbaum, Purak Jain
Abstract
Test-time scaling improves model performance by allocating additional compute during inference. Using this compute effectively across multiple context windows requires deciding how to allocate fresh contexts and what information to carry between them. We call a model's ability to make these decisions contextual reasoning. Existing approaches largely prescribe these decisions through their harness; we instead shift them to the model. We introduce 1) Hermes, a family of simple, configurable harnesses that progressively varies model control over context allocation and reuse, and 2) Hermes-Learn, a two-stage framework for learning these capabilities. We find that capable models can exploit this flexibility to scale with additional inference-time compute, while smaller open-source models initially struggle to do so. Training with Hermes-Learn closes this gap, inducing adaptive contextual reasoning strategies that vary with both the problem and the progress of reasoning. These gains generalize across benchmarks and models, extrapolate beyond the inference-time compute seen during training, and transfer to complementary test-time scaling methods beyond Hermes.
Create a lesson
Metadata
- Categories
- cs.LG, cs.AI, cs.CL
- Comments
- 45 pages
Related papers
Provable Test-Time Scaling for Beam Search in LLM Reasoning
Shared title terminologycs.LGQijia He, Yu Huang, Yuan Cheng et al.
L-TSF: A Time Series Forecasting Model Designed via Logical Reasoning
Shared title terminologycs.LGJianqi Zhang, Xingyu Zhang, Zeen Song et al.
Anisotropic Stochasticity for Inference-Time Scaling of Flow Models
Shared title terminologycs.LGYeonwoo Cha, Yunseo Park, Seunghoon Hong
No Scale Left Behind: Multi-Scale Autoencoder with Bi-directional Attention for Time Series Anomaly Detection
Shared title terminologycs.LGJiaheng Guo, Haochen Zhang, Yu-Chao Huang et al.
Overcoming Scaling Limits in On-Policy Self-Distillation for LLM Reasoning
Shared title terminologycs.LGMd. Ismail Hossain, Humaira Kousar, Isidora Chara Tourni
Predicting End-to-End Fine-Tuning Time for Generative Language Models
Shared title terminologycs.LGBreno Beleza, Felipe Lima, Isis Carvalho et al.