Hermes: Learning Contextual Reasoning Unlocks Test-Time Scaling

Xinyu Li, Mononito Goswami, Hao Liu, Nikos Kanakaris, Langlin Huang +3 more
9/29/2026
cs.LGcs.AIcs.CL

No confident code implementation found for this paper.

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.

Show full abstract

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.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{li2026hermes,
  title  = {Hermes: Learning Contextual Reasoning Unlocks Test-Time Scaling},
  author = {Xinyu Li and Mononito Goswami and Hao Liu and Nikos Kanakaris and Langlin Huang and Prithwish Jana and Patrick Blöbaum and Purak Jain},
  year   = {2026},
  eprint = {2609.38332},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2609.38332v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2609.38332.svg)](https://codeofpaper.com/paper/2609.38332)

Discussion