cs.LGOct 19, 2026

Understanding the Benefits of Scaffolds through Computational Separations

Authors: Jingchu Gai, Adam Block, Andrej Risteski

Organizations: Machine Learning Department Carnegie Mellon University · Departments of Computer Science and Electrical Engineering Columbia University

Abstract

Inference-time harnesses, i.e., external procedures that call a model many times and keep state across calls, can substantially improve model capabilities. In this paper, we investigate the benefits of using such harnesses and the extent to which these benefits can be internalized through training. More precisely, we conceptualize a harness A\mathcal{A} as an arbitrary wrapper around a base model MM and attempt to distill a student model from the harness's traces. Empirically we find that, even with simple scaffolds and small models, the inference-time harness significantly outperforms a distilled student. We then prove that such a gap is due to a fundamental representational limitation: inference-time harnesses can compute a closure of their per-call primitive that is \NL\NL-complete even when the primitive is a trivial \AC0\AC^0 lookup, and that no fixed-depth forward pass can represent under the widely believed conjecture that \NL⊈\TC0\NL\not\subseteq\TC^0. Our theory suggests that expanding the representational capacity of the student relative to the task at hand, e.g., by enlarging the model, making the task easier, or lengthening its chain-of-thought, is necessary to close the gap, which we verify empirically. Finally, we scale to an agentic harness on competition math, where the same gap reappears. Overall, our results show that a harness confers on the base model a profound gain in representational power, one that training a same-class student on its traces cannot transfer back into the weights.

Figures & tables

Appendix figures & tables11 assets

Supplementary material from the paper’s appendix.

Appendix

Explore similar work

CardsList
  1. AI4AI at Test-Time: Strong-to-Weak Capability Transfer via Harnesses

    Aug 12, 2026Cheng Qian, Wenting Zhao, Liangwei Yang +6Knowledge Distillation

  2. Harnesses for Inference-Time Alignment over Execution Trajectories

    May 15, 2026Boyuan Wang, Bochao Li, Minghan Wang +2LLM PlanningAgent Harness Optimization