# HarnessMM: Recursive Self-Improvement for Harness Token Efficiency

DevFeed: [HarnessMM: Recursive Self-Improvement for Harness Token Efficiency](<https://devfeed.tech/articles/harnessmm-recursive-self-improvement-for-harness-token-efficiency-100049.md>)

Original publisher: [Read original article](<https://arxiv.org/abs/2610.32813>)

Author: Yuhua Jiang, Chang Xu, Feifei Gao, Li Zhao

Published: 2026-10-26T04:00:00Z

Content type: article

Language: en

Sources: [arXiv: Artificial Intelligence](<https://devfeed.tech/sources/arxiv-artificial-intelligence.md>)

Topics: [Agent Harness](<https://devfeed.tech/topics/agent-harness.md>), [llm-reasoning](<https://devfeed.tech/topics/llm-reasoning.md>), [Multi-step AI processes](<https://devfeed.tech/topics/multi-step-ai-processes.md>), [DeepSeek Harness](<https://devfeed.tech/topics/dsh.md>)

Tags: [ablation](<https://devfeed.tech/tags/ablation.md>), [agent-harnesses](<https://devfeed.tech/tags/agent-harnesses.md>), [arguments](<https://devfeed.tech/tags/arguments.md>), [callback](<https://devfeed.tech/tags/callback.md>), [codex](<https://devfeed.tech/tags/codex.md>), [cost](<https://devfeed.tech/tags/cost.md>), [cs-ai](<https://devfeed.tech/tags/cs-ai.md>), [deepseek-harness](<https://devfeed.tech/tags/deepseek-harness.md>), [efficiency](<https://devfeed.tech/tags/efficiency.md>), [feedback](<https://devfeed.tech/tags/feedback.md>), [graphs](<https://devfeed.tech/tags/graphs.md>), [harness](<https://devfeed.tech/tags/harness.md>), [humaneval](<https://devfeed.tech/tags/humaneval.md>), [interface](<https://devfeed.tech/tags/interface.md>), [mbpp](<https://devfeed.tech/tags/mbpp.md>), [model](<https://devfeed.tech/tags/model.md>), [reasoning](<https://devfeed.tech/tags/reasoning.md>), [recursive-self-improvement](<https://devfeed.tech/tags/recursive-self-improvement.md>), [reduce](<https://devfeed.tech/tags/reduce.md>), [rsi](<https://devfeed.tech/tags/rsi.md>), [token-efficiency](<https://devfeed.tech/tags/token-efficiency.md>)

## AI overview

HarnessMM reduces repeated reasoning callbacks by reusing prior decisions only when observed tool receipts satisfy stored public guards. Its executable decision graphs preserve exact actions, arguments, and causal dependencies; new decisions, unsupported evidence, or selector abstention return control to the original actor, whose weights remain fixed. Recursive self-improvement refines companion harness configurations from training feedback, with validation choosing the deployment configuration. On HumanEval, Codex success remains 90.82% as tokens per task fall 29.54%; for DeepSeek Harness, success increases from 71.43% to 85.71% while tokens per task fall 87.93%. An MBPP ablation reports 26.91% lower cost than single-use graphs and 19.52% lower cost than retained callbacks.

## Source excerpt

arXiv:2610.32813v1 Announce Type: new Abstract: Agent harnesses repeatedly invoke reasoning after tool feedback, even when an earlier call has already fixed the next action. We introduce HarnessMM (Harness Minus Minus), a method for improving harness token efficiency through guarded decision reuse and recursive self-improvement (RSI). RSI iteratively refines companion harness configurations from training feedback, with validation selecting the configuration for deployment. A controller at the model-tool boundary reuses resolved decisions to replace later reasoning callbacks while actor weights remain fixed. Executable Decision Graphs store exact actions, literal arguments, causal dependencies, and public guards. Guarded Decision Reuse activates these persistent decisions from observed receipts; Certified Callback Substitution executes them through the native interface and records removal of the registered slow callback. New semantic decisions, unsupported evidence, and selector abstention invoke the original actor again. The representation restricts what feedback may change, while complete-task measurements establish quality and cost. On HumanEval, HarnessMM preserves Codex success at 90.82\% while reducing Tokens/task (k) from 66.72 to 47.02 (29.54\% saving). For DeepSeek Harness, success rises from 71.43\% to 85.71\% while Tokens/task (k) fall from 96.28 to 11.62 (87.93\% saving). A separate MBPP ablation measures 26.91\% lower cost than single-use graphs and 19.52\% lower cost than retained callbacks. These results establish guarded decision reuse as a practical way to reduce repeated reasoning in existing harnesses.