arXiv(opens in a new tab)cs.LGAug 2026Cited by 4 papers on PaperVantage

Manuscript Offprint

arXiv:2608.12307

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

Cheng Qian, Wenting Zhao, Liangwei Yang, Heng Wang, Jielin Qiu, Heng Ji, Silvio Savarese, Huan Wang, Shelby Heinecke

Abstract Recent work on distillation transfers the capabilities of large models to smaller ones often by updating the latter’s parameters, through teacher forcing, on-policy distillation, and related training-time methods. In this paper, we ask whether such transfer can instead occur at test time. We study strong-to-weak scaffolding: whether a stronger builder model can construct inference-time harnesses that help a weaker target model solve tasks more reliably without any parameter updates. Using four representative Theory-of-Mind benchmarks, each builder model uses 5% of the data as a validation set to iteratively refine its harness over multiple rounds, after which the finalized harness is evaluated on the full test set. Empirically, this form of test-time capability transfer is highly effective, nearly doubling average target-model performance from 0.49 to 0.91. Our analysis shows that the gains come primarily from offloading unstable model reasoning into deterministic code, benchmark-specific routing, and strict answer-format enforcement, rather than from encouraging the target model to reason more extensively or sample more broadly. We further find that builder-model reasoning effort improves harness quality monotonically, platform effects are modest relative to the builder model’s own capability, and weaker target models receive the largest gains. These results suggest that inference-time harness design is an important complement to conventional training-time distillation, enabling strong models to transfer cognitive structure to weaker models without retraining.

1 Introduction

Recent progress in model distillation has made it increasingly plausible to deploy smaller language model experts in settings that once required much larger ones (Hinton et al., 2015; Hsieh et al., 2023; Agarwal et al., 2024). Most existing approaches transfer capability by changing the weak model itself. For instance, data distillation trains a small student on examples, rationales, or demonstrations produced by a stronger teacher. On-policy distillation further exposes the student to dense feedback, preferences, or reward signals while it acts, allowing the student to internalize behaviors that would otherwise be difficult to acquire from static data alone (Agarwal et al., 2024; Ouyang et al., 2022). These approaches are effective, but they share a common premise: closing the gap between a strong model and a weak model needs additional training.

This paper studies a complementary premise. When a small model fails on a task, the failure may reflect not only insufficient internal capability, but also excessive cognitive load imposed by the way the task is presented. (Sweller, 1988). A system can therefore improve performance in two ways: it can make the model more capable, or it can make the task easier for the model to solve. The first route is the dominant route of distillation. The second route is increasingly realized through inference-time harnesses: external structures that surround a model with routing logic, prompt templates, verification checks, memory, and tool use (Wei et al., 2022; Yao et al., 2022; Schick et al., 2023; Madaan et al., 2023). Rather updating the target model’s parameters, a harness engineers the conditions under which the target model reasons.

In this paper, we investigate into this strong-to-weak scaffolding. Specifically, a strong builder model is asked to construct a scaffold: any combination of task routing, prompt templates, deterministic solvers, few-shot exemplars, verification passes, or format enforcement designed to improve a fixed weaker target model on a hidden test set. The target model is not trained, and the builder never observes the full test set; its only opportunity to improve performance is to design an inference-time environment that transfers across examples. Thus, a successful scaffold must capture reusable skills and task structure rather than memorize instance-specific answers. This setting isolates a practical form of strong-to-weak transfer in which capability is transferred not through model weights, but through the harness that shapes how the weak model receives, reasons, and responds.

Strong-to-weak scaffolding is becoming more important as model deployment shifts from single prompts to agentic systems (Wang et al., 2024; Ke et al., 2025). In practice, small models are rarely used in isolation. They are embedded in pipelines that parse inputs, select tools, check answers, and decompose tasks (Yue et al., 2026). Yet we still lack a systematic account of why these harnesses help, when they are stable, which design choices matter, and how much of the improvement reflects genuine reasoning support rather than benchmark-specific shortcuts (Ullman, 2023; Riemer et al., 2024). Without such an account, harness engineering remains difficult to compare, reproduce, and improve.

We investigate these questions in the domain of Theory-of-Mind (ToM) reasoning. ToM benchmarks are a useful stress test because they require models to track nested beliefs, perspective shifts, hidden information, and Bayesian goal inference (Chen et al., 2025; Wu et al., 2023; Baker et al., 2009). These demands are challenging for smaller models, but they also contain structure that an external scaffold may exploit: tasks can often be routed by subtype, decomposed into intermediate states, checked for consistency, or solved partly through symbolic procedures (Zhang et al., 2026). To fully understand the effect of scaffolding, we analyze a large corpus of strong-builder, weak-target runs and investigate into the following aspects:

  • Effect size: how much scaffolding improves weak target model’s accuracy overall;
  • Stability: whether independently built scaffolds produce consistent gains;
  • Validation effort: how much times the validation data is used, and whether using more helps;
  • Scaffold techniques: what specific mechanisms builders actually implement;
  • Platform effects: if the builder’s own agentic harness changes outcomes;
  • Target dependence: how scaffolding strategies and gains vary with the weak target model;
  • Builder reasoning effort: whether stronger internal reasoning of builder improves scaffolds;
  • Causal mechanisms: which scaffold features are associated with accuracy gains;
  • Cognitive-load reduction: how much reasoning is shifted away from the target model;
  • Failure modes: where even the best scaffolds continue to make errors.

Our empirical results show that strong-to-weak scaffolding is both large and robust. The best scaffold raises GPT-5.4-mini from a macro-average accuracy of 0.490.49 to 0.910.91, an absolute gain of 0.420.42, and every builder configuration yields positive net uplift. The gains are driven less by using more validation data, sampling more, or simply eliciting longer reasoning, and more by structure externalization, deterministic offloading, and strict format enforcement, etc.

Besides, the improvements are not uniform in kind. On BigToM, the best scaffolds discover that answers can be fully exploited through structured reasoning, thus turning the benchmark into compilable skills and rules. On the other benchmarks, the gains reflect genuine reduction of reasoning burden rather than a shortcut. Residual errors concentrate in the hardest regimes, especially higher-order Hi-ToM cases with recursion depth at least two and Bayesian goal-inference subtypes. We also find that builder reasoning effort improves scaffold quality monotonically across effort tiers, platform effects are modest relative to builder-model effects, and scaffolding helps the weaker GPT-5.4-mini target more than the already stronger Gemini-3.5-flash target. In summary, this study makes three contributions:

  • First, we formalize strong-to-weak scaffolding as a distinct inference-time capability transfer setting.
  • Second, we provide a systematic empirical analysis of its effect size, stability, validation efficiency, platform and target dependence, mechanisms, and cognitive-load reduction.
  • Third, we identify actionable design principles: successful scaffolds often rely on deterministic offloading, benchmark-aware routing, format control, and targeted decomposition than brute-force validation search.

Looking ahead, strong-to-weak scaffolding is valuable not only as a deployment strategy but also as a way to evaluate builder-model capability. For deployment, it offers a practical route to improving weaker or cheaper models at inference time, without changing their weights. This closely aligns with the motivation behind automatic agent-harness self-evolution. For evaluation, it reframes the question from “How well can a model solve a task?” to “How well can a stronger model construct the conditions under which a weaker model can solve it?” Given the same hidden task, validation budget, and open-ended workspace, the quality of the resulting scaffold becomes a measure of the builder’s ability to externalize reasoning into procedures, tools, feedback loops, and constraints. More broadly, this setting creates a natural platform for studying harness evolution itself: what structures builders invent, where their designs fail, how they revise them, and which forms of external organization most efficiently translate strong-model insight into weak-model performance.

References (34)