1 00:00:01,000 --> 00:00:07,873 [Hal Turing] Alrighty! Thanks for tuning in! Hello AI world! I am your host, Hal Turing, and my co-host is Dr. Ada Shannon. 2 00:00:07,873 --> 00:00:39,220 [Hal Turing] Today's paper is "Harness Learning Enables Generalizable Test-Time Adaptation," from Alvin Zhang and colleagues, including Daniel Khashabi, Yuda Song and Andrea Zanette. It's an arXiv paper from September 2026, and the source text doesn't name their institutions. The question: can a small model learn, from execution outcomes, to rewrite the code around a frozen solver, so the system adapts to tasks it never trained on, with no weight updates at all? 3 00:00:39,220 --> 00:00:52,455 [Dr. Ada Shannon] The short version is that the adaptation lives in the program, not the weights. The solver never changes. A separate trained model edits the code wrapped around it. So I'll define the pieces first, because the whole paper hangs on them. 4 00:00:52,455 --> 00:00:55,148 [Hal Turing] Start with "harness," since I hear it constantly now. 5 00:00:55,148 --> 00:01:33,926 [Dr. Ada Shannon] A harness is the executable program around a model. It decides what the model sees, when it gets called, which tools it can use, and how outputs are checked and retried. The paper's example is tiny. The seed harness just calls the solver once and returns whatever comes back. A better harness validates the answer and retries if it's malformed, or has the model write code and runs it. Same weights, very different behavior. SWE-agent, from John Yang and colleagues at Princeton in 2024, made this point for coding. The interface around the model changed how many real GitHub issues it solved. 6 00:01:33,926 --> 00:01:37,409 [Hal Turing] So people already tune these. What's the existing automated approach? 7 00:01:37,409 --> 00:02:08,802 [Dr. Ada Shannon] Search. DSPy, from Omar Khattab and colleagues at Stanford in 2023, compiles prompts and demonstrations against a metric. Others, such as AFlow, Meta-Harness and AutoHarness, search or evolve harness designs per task. The cost is repeated experimentation at test time, and what you find for one task may not transfer. In most of these systems the optimizer is also just a prompted model. Nobody trained it to be good at revising. 8 00:02:08,802 --> 00:02:11,960 [Hal Turing] And here the reviser is trained. Walk me through the loop. 9 00:02:11,960 --> 00:02:44,422 [Dr. Ada Shannon] Causally. The proposer, the model being trained, reads an execution report. That report has the task description, the current harness code, outcome counts, and failed questions with trace excerpts. It writes a code edit. The edited harness runs with the frozen solver on graded problems. The score is the reward. At test time both models are frozen. You run the harness on a small development set, get graded feedback, propose another edit, and repeat. Only the code changes between rounds. 10 00:02:44,422 --> 00:02:46,000 [Hal Turing] That sounds like meta-learning. 11 00:02:46,000 --> 00:03:32,580 [Dr. Ada Shannon] The paper makes that mapping explicitly. In MAML, by Chelsea Finn and colleagues in 2017, an outer loop trains an initialization so a few inner gradient steps adapt it to a new task. Here the inner loop is the harness revision, and a code edit plays the role of the weight update. The outer loop trains the proposer across many tasks. RL-squared, from Yan Duan and colleagues in 2016, is the other ancestor: adaptation as a learned procedure running with frozen parameters. The mapping is loose, though. An edit is a discrete code change, not a gradient, so you can't backpropagate through it. And training uses a greedy reward for each single revision. Nothing credits the proposer for improvements that only show up several rounds later. 12 00:03:32,580 --> 00:03:36,063 [Hal Turing] Then how is the proposer trained, if there's no gradient through the edit? 13 00:03:36,063 --> 00:04:02,766 [Dr. Ada Shannon] Reinforcement learning with verifiable rewards. A program grades each outcome, so no human or learned judge is needed. They use GRPO. For each input you sample a group of candidate edits, score them all, and normalize the rewards within the group. A candidate gets credit relative to its siblings. That works well when rewards are noisy, because you only need to know which edits beat the others on the same problem. 14 00:04:02,766 --> 00:04:04,902 [Hal Turing] And the testbed for "unseen tasks"? 15 00:04:04,902 --> 00:04:30,165 [Dr. Ada Shannon] Reasoning Gym, from Zafir Stojanovski and colleagues in 2025. It's a collection of procedurally generated puzzle families, such as mazes and sudoku, each with its own generator and grader. Scores run from zero to one, higher is better. "Unseen" means a family was excluded from both supervised fine-tuning and RL. There's also a multi-hop question-answering setting, which we'll get to. 16 00:04:30,165 --> 00:04:32,069 [Hal Turing] So what is the paper actually asking? 17 00:04:32,069 --> 00:04:49,391 [Dr. Ada Shannon] Three things. Do learned revisions generalize to unseen tasks? Does repeated revision help beyond one revision? And does training on whole revision sequences help beyond training on single revisions? Keep that third one in mind. It doesn't get a clean yes. 18 00:04:49,391 --> 00:04:52,317 [Hal Turing] Who else is working on this? It feels like a crowded corner. 19 00:04:52,317 --> 00:05:19,206 [Dr. Ada Shannon] It is. The closest concurrent work is Harness-R1, by Shao and colleagues, 2026, arXiv 2608.02276. It also does teacher fine-tuning and then GRPO to train a dedicated harness editor around a frozen target agent. It tests transfer to unseen target models. One difference we'll return to is where the reward comes from. In Harness-R1 it comes from rerunning the same batch that supplied the failure feedback. 20 00:05:19,206 --> 00:05:21,203 [Hal Turing] And the other citations you flagged? 21 00:05:21,203 --> 00:05:51,064 [Dr. Ada Shannon] Two critiques that will matter later. "Rethinking the Evaluation of Harness Evolution for Agents," by Wang and colleagues, 2026, arXiv 2607.12227. And "Harness Updating Is Not Harness Benefit," by Lin and colleagues, 2026, arXiv 2605.30621. The second title is basically a warning. A harness can get edited without the solver getting any benefit. I'd hold both as lenses for when we look at the evidence. 22 00:05:51,064 --> 00:05:56,915 [Hal Turing] Good. Let's get into the experiments. What are the two settings, and what does the proposer start from in each? 23 00:05:56,915 --> 00:06:46,884 [Dr. Ada Shannon] Reasoning Gym uses Qwen3.5-4B as both proposer and solver. The seed harness is a single solver call. The proposer first gets supervised fine-tuning on 432 revisions written by a 35B teacher, Qwen3.6-35B-A3B, across 21 task families. Then it gets reinforcement learning on just five families. Each family has 25 development instances for feedback and 75 held-out instances for scoring. The second setting is multi-hop question answering. The proposer is Qwen3-4B and the solver is Qwen3-8B. The proposer trains with RL directly from the base model on HotpotQA, and it's tested on MuSiQue and 2Wiki. The starting point there is an existing retrieval workflow, not a bare call. 24 00:06:46,884 --> 00:06:52,457 [Hal Turing] How does a revision turn into a training signal? You said the reward comes from running the edited harness. 25 00:06:52,457 --> 00:07:28,448 [Dr. Ada Shannon] For each context, the proposer samples eight candidate edits. Each edited harness runs on a common scoring set, and that set is disjoint from the questions behind the execution report. The reward is the task score plus a small validity credit: 0.05 if the edit parses, 0.10 if it applies, and 0.15 times the fraction of trials that complete. So a harness that runs every trial but answers every question wrong still earns 0.30. The teacher data was filtered too. A revision had to beat the seed by at least 0.08 and reach at least 0.40 on development. 26 00:07:28,448 --> 00:07:38,758 [Hal Turing] That validity credit worries me. If broken code is penalized and working-but-wrong code gets 0.30, then "more reliable" is partly what the reward asked for. 27 00:07:38,758 --> 00:08:05,879 [Dr. Ada Shannon] Yes, and it matters for the reliability result in a minute. First, three terms. Single-step revision samples independent edits to the seed harness. Multistep revision builds on the best harness kept so far. Single-step RL and Multistep RL are training configurations, and either can be used for either kind of revision at test time. Oracle best-of-eight means picking the best of eight proposals using held-out scores. That's an upper bound, not something you can deploy. 28 00:08:05,879 --> 00:08:10,941 [Hal Turing] Now the headline. Do the trained proposers actually do better on families they never saw? 29 00:08:10,941 --> 00:08:55,291 [Dr. Ada Shannon] The base-to-RL jump is large. On 21 unseen families, the average base proposal scores about a third, 0.32. After SFT and RL it's 0.62. That's an average over all eight proposals per family, so it doesn't depend on picking the best one. The teacher scores 0.56 on the same families, so the 4B student leads by six points on average. Each round makes one proposal, with eight independent proposals, a 32,768-token budget, and up to three retries on rejected edits. But under oracle best-of-eight the teacher is slightly ahead, 0.85 to 0.83. The lead also depends on which families are counted, and we'll come back to that. 30 00:08:55,291 --> 00:08:57,752 [Hal Turing] So the average is better, but the best case isn't. 31 00:08:57,752 --> 00:09:32,535 [Dr. Ada Shannon] Right. The average mostly measures how often a proposal is usable. Take the five unseen families where this is cleanest. About four in ten base proposals either fail to produce a harness or score zero. After RL it's under one in ten, 3 of 40. SFT alone barely moved it, 35%. Only 40 proposals sit behind that figure, and a zero score isn't proof of invalid code. But it fits the mechanism. RL taught the proposer to write edits that run, so more viable candidates reach selection each round. 32 00:09:32,535 --> 00:09:35,415 [Hal Turing] That's a more modest claim than "learned harness design." 33 00:09:35,415 --> 00:10:13,588 [Dr. Ada Shannon] It is. The better comparison for the adaptation story is sequential against independent revision. On MuSiQue, independent revisions from the Single-step RL proposer average 0.15 exact match, only marginally above the seed. After ten sequential rounds, each building on the previous edit, the same proposer reaches 0.27. And the average final run beats even the best of 80 independent proposals. The caveat is unmatched compute and feedback. The runs match proposal count, but sequential rounds also see feedback from the retained harness, and independent proposals don't. The paper says outright that the comparison doesn't isolate feedback. 34 00:10:13,588 --> 00:10:17,907 [Hal Turing] What do the learned harnesses look like? Is it clever architecture or something plainer? 35 00:10:17,907 --> 00:11:02,815 [Dr. Ada Shannon] Plainer. On Reasoning Gym the dominant structure is the interpreter loop. The solver writes code for the puzzle and the runtime executes it. That's 48% of the teacher data, 207 of 432 examples, and it stays dominant after RL. When the prompt tells the proposer to build helper tools, helpers contribute to the answer in only a minority of the harnesses that integrate them. Failures often pair a correct helper algorithm with broken question parsing, tool communication, or answer extraction. In QA, a common revision keeps summaries to guide the next retrieval hop, but passes the retrieved passages straight to the answering call. The evidence for forming a query and the evidence for answering get separated. 36 00:11:02,815 --> 00:11:06,994 [Hal Turing] Why do Reasoning Gym gains flatten after the first revision while QA keeps climbing? 37 00:11:06,994 --> 00:11:27,288 [Dr. Ada Shannon] The paper's guess is the seed. A bare solver call gets one big fix, the interpreter loop, and then there's less to refine. The QA seed already has a retrieval workflow, with depth, evidence access and search triggers each open to refinement. The authors hedge that the procedures differ too, so they can't pin it on the starting harness alone. 38 00:11:27,288 --> 00:11:38,573 [Hal Turing] Let me push on the headline. The student-beats-teacher result: the main figures leave out five of the 26 unseen families. Does it survive putting them back? 39 00:11:38,573 --> 00:12:12,800 [Dr. Ada Shannon] The margin shrinks, and the paper gives no way to say whether it survives. On the 21 families, the trained 4B proposer leads the 35B teacher by six points, 0.62 to 0.56. Add back knight_swap, letter_jumble, modulo_grid, sokoban and ab, and the lead is under three points, 0.528 to 0.501. Those five are exactly where the teacher is ahead. The exclusion rule is based on results, not declared in advance, and I see no standard errors for the 26-family comparison. 40 00:12:12,800 --> 00:12:13,868 [Hal Turing] So is it noise? 41 00:12:13,868 --> 00:12:33,930 [Dr. Ada Shannon] The source can't say it's real, and it can't say it's noise. What would settle it is per-family paired differences with uncertainty over repeated runs, on a family list fixed before anyone looks at scores. The robust claim is the other one: the base-to-RL gain, which holds in the mean over all proposals and doesn't depend on picking winners. 42 00:12:33,930 --> 00:12:36,298 [Hal Turing] And the teacher wins when you pick the best of eight. 43 00:12:36,298 --> 00:13:09,085 [Dr. Ada Shannon] Right. The average and the best-of-eight measure different things, and the average punishes breakage. Failed edits keep the parent's score, and zero-scoring harnesses are counted. The paper's sensitivity table on 19 families has the RL proposer ahead under all three scoring rules, 0.501 against about 0.47 for the teacher. But it notes that excluding zero-scoring harnesses can reverse the comparison. The teacher produced 30 zeros in 152 proposals, RL 19. 44 00:13:09,085 --> 00:13:13,915 [Hal Turing] So some of the lead is the teacher breaking more often, on an edit format it was never trained on. 45 00:13:13,915 --> 00:13:23,249 [Dr. Ada Shannon] That's a fair reading, though the source doesn't say why the teacher breaks more. Either way, fewer broken edits is real value. It's a smaller claim than superior harness-design judgment. 46 00:13:23,249 --> 00:13:31,051 [Hal Turing] Now the sequential result. On MuSiQue, ten rounds reach 0.27 against 0.15 for independent proposals. What am I missing? 47 00:13:31,051 --> 00:13:57,522 [Dr. Ada Shannon] Feedback. Each run has 80 proposals, but each round sees execution reports and scores. Independent best-of-80 gets none of that. The paper says outright that compute and feedback are unmatched. Wang and colleagues make the general point that harness-evolution gains can shrink or vanish once feedback and inference budgets are matched. A fairer control would be the untrained base proposer running the same ten-round loop. 48 00:13:57,522 --> 00:14:00,076 [Hal Turing] The multistep null result seems to bear on that. 49 00:14:00,076 --> 00:14:30,447 [Dr. Ada Shannon] It does. Multistep RL didn't consistently beat Single-step RL. On standard-format questions all three trained proposers land within three thousandths of 0.70. On reworded questions the single-step one is highest and the multistep one lowest. The differences are within about one to two standard errors. The reward is greedy, so nothing credits an edit for helping a later round, and the paper doesn't claim otherwise. It also means the keep-the-best loop could be doing much of the work. Without a trained-versus-untrained comparison in the same loop, I can't separate the two. 50 00:14:30,447 --> 00:14:34,999 [Hal Turing] Then there's the finding I found most telling. Correct helper algorithms still failed. 51 00:14:34,999 --> 00:14:56,825 [Dr. Ada Shannon] That's Lin and colleagues' distinction between updating a harness and benefiting from the update. Here the helper algorithm was right, but parsing, tool communication or answer extraction broke. A good edit the solver can't use is worth nothing. Also, interpreter loops dominate the teacher data, so I'd want to know how much of the skill is just letting the model run code. 52 00:14:56,825 --> 00:14:58,869 [Hal Turing] How does this sit against Harness-R1? 53 00:14:58,869 --> 00:15:30,494 [Dr. Ada Shannon] The recipe is similar: teacher SFT, then GRPO, with a frozen target agent. The differences matter. Harness-R1 rewards edits by rerunning the batch that supplied the failure feedback, while this paper scores on disjoint questions. Harness-R1 tests transfer across target solver models. This paper transfers across tasks with one fixed solver. There are no head-to-head numbers, so the comparison is qualitative. Whether a proposer trained against a 4B solver helps a stronger one is untested. 54 00:15:30,494 --> 00:15:31,330 [Hal Turing] Other limits? 55 00:15:31,330 --> 00:15:51,253 [Dr. Ada Shannon] Prescribed revision prompts, one teacher, two settings, small models. And the loop needs graded development questions. TTHE, from Nie and colleagues in 2026, adapts harnesses from unlabeled traces, which is closer to deployment. Nothing here accounts for the added cost of retries and extra calls either. 56 00:15:51,253 --> 00:15:53,157 [Hal Turing] What can a practitioner take from it? 57 00:15:53,157 --> 00:16:11,036 [Dr. Ada Shannon] A small trained proposer can reliably produce runnable edits that beat what the untrained base proposer writes. And at a fixed proposal count, revising from feedback beats independent resampling here, though not under matched budgets. Don't take away that it beats a larger teacher, or that gains survive matched compute. 58 00:16:11,036 --> 00:16:12,197 [Hal Turing] Where does it go next? 59 00:16:12,197 --> 00:16:41,315 [Dr. Ada Shannon] The authors name stronger teachers or direct RL, proposers that can inspect and test designs, joint training of proposer and solver, and credit across rounds. The Darwin Gödel Machine from Zhang and Clune's group in 2025 keeps an archive of stepping-stone candidates, where this paper's keep-the-best rule discards them. Joint work like WHALE, from Kim and colleagues in 2026, alternates weight updates with harness optimization. That's the open question of whether the two adaptations complement each other. 60 00:16:41,315 --> 00:17:09,922 [Hal Turing] So, to sum up. A 4B proposer can learn a reusable harness-revision skill with a frozen solver, and it improves held-out harness quality on unseen puzzle families and on unseen QA benchmarks, mostly by making edits that run and work. The boundary is that the lead over the teacher is small, depends on which families you count, and has no reported uncertainty. Compute-matched evidence and transfer to other solvers aren't shown. 61 00:17:09,922 --> 00:17:11,687 [Dr. Ada Shannon] That's right. Thanks for listening. 62 00:17:11,687 --> 00:17:13,405 [Hal Turing] Thanks, everyone. See you next time.