HarnessMM: Recursive Self-Improvement for Harness Token Efficiency
Not on the map. Why?
Abstract (arXiv)
HarnessMinusMinus (HarnessMM) is a research project on improving the efficiency of agent harnesses, the software coordinating model reasoning, tool execution, and feedback. This technical report consolidates its shared framework, implementations, and empirical studies across coding, tool-based, and visual-agent settings. Agent harnesses often invoke reasoning after each tool result, even when earlier calls have already determined subsequent actions. HarnessMM addresses this overhead through guarded decision reuse and recursive self-improvement (RSI). RSI refines author prompts, context settings, and adapter rules using training feedback, with validation selecting deployment configurations. At inference time, a controller reuses resolved decisions while keeping actor weights fixed. Executable Decision Graphs encode actions, arguments, dependencies, and guards. Guarded Decision Reuse activates eligible decisions from observed feedback, while Certified Callback Substitution executes them through native tool interfaces, replacing redundant reasoning callbacks. The original actor resumes when new reasoning is required or reuse conditions are unmet. On HumanEval, HarnessMM preserves Codex success at 90.82% while reducing tokens per task from 66.72k to 47.02k (29.54% saving). For DeepSeek Harness, success improves from 71.43% to 85.71% while tokens decrease from 96.28k to 11.62k (87.93% saving). An MBPP ablation shows 26.91% lower cost than single-use graphs and 19.52% lower cost than retained callbacks. The report also summarizes the HarnessMM-V visual-agent study and documents optimization overhead and execution time where measured. Together, these studies investigate guarded decision reuse across diverse agent harness settings. Code is available at https://github.com/YuhuaJiang2002/HarnessMM.
Key facts. No citing papers in the map yet (data through 26 Nov 2026). Builds on 41 of its 54 references that are in the map. Submitted 23 Oct 2026.
Builds on
41 of 54 references.
References · 41
- 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,963
- 2023Visual Instruction Tuningcited by 8,191
- 2023Efficient Memory Management for Large Language Model Serving with PagedAttentioncited by 6,685
- 2023Reflexion: Language Agents with Verbal Reinforcement Learningcited by 4,789
- 2023Toolformer: Language Models Can Teach Themselves to Use Toolscited by 4,469
- 2021Program Synthesis with Large Language Modelscited by 3,972
- 2023Self-Refine: Iterative Refinement with Self-Feedbackcited by 3,799
- 2016Making the V in VQA Matter: Elevating the Role of Image Understanding in Visual Question Answeringcited by 2,604
- 2023Voyager: An Open-Ended Embodied Agent with Large Language Modelscited by 2,483
- 2024SWE-agent: Agent-Computer Interfaces Enable Automated Software Engineeringcited by 2,069
- 2016CLEVR: A Diagnostic Dataset for Compositional Language and Elementary Visual Reasoningcited by 1,518
- 2022Large Language Models Are Human-Level Prompt Engineerscited by 1,102
29 more
- 2023Quantifying Language Models' Sensitivity to Spurious Features in Prompt Design or: How I learned to start worrying about prompt formattingcited by 916
- 2024RouteLLM: Learning to Route LLMs with Preference Datacited by 809
- 2023ViperGPT: Visual Inference via Python Execution for Reasoningcited by 678
- 2024Automated Design of Agentic Systemscited by 507
- 2025Darwin Godel Machine: Open-Ended Evolution of Self-Improving Agentscited by 502
- 2023LongLLMLingua: Accelerating and Enhancing LLMs in Long Context Scenarios via Prompt Compressioncited by 500
- 2024LLMLingua-2: Data Distillation for Efficient and Faithful Task-Agnostic Prompt Compressioncited by 397
- 2023LLMLingua: Compressing Prompts for Accelerated Inference of Large Language Modelscited by 324
- 2020Counterfactual VQA: A Cause-Effect Look at Language Biascited by 279
- 2023An LLM Compiler for Parallel Function Callingcited by 217
- 2023Self-Taught Optimizer (STOP): Recursively Self-Improving Code Generationcited by 213
- 2023ReWOO: Decoupling Reasoning from Observations for Efficient Augmented Language Modelscited by 208
- 2019MRQA 2019 Shared Task: Evaluating Generalization in Reading Comprehensioncited by 191
- 2024ProSA: Assessing and Understanding the Prompt Sensitivity of LLMscited by 162
- 2024Efficient multi-prompt evaluation of LLMscited by 82
- 2025The Complexity Trap: Simple Observation Masking Is as Efficient as LLM Summarization for Agent Context Managementcited by 73
- 2025Reducing Cost of LLM Agents with Trajectory Reductioncited by 66
- 2024POSIX: A Prompt Sensitivity Index For Large Language Modelscited by 64
- 2024Agents Thinking Fast and Slow: A Talker-Reasoner Architecturecited by 41
- 2017Replicability Analysis for Natural Language Processing: Testing Significance with Multiple Datasetscited by 34
- 2026SoL-Pi: Recursively Scaling Auto-Research Loops for Efficient Agent Harnesscited by 13
- 2026Budget-Aware Agentic Routing via Boundary-Guided Trainingcited by 12
- 2026Beyond Reproducibility: Token Probabilities Expose Large Language Model Nondeterminismcited by 10
- 2026SkillLens: Adaptive Multi-Granularity Skill Reuse for Cost-Efficient LLM Agentscited by 10
- 2020Application of the hierarchical bootstrap to multi-level data in neurosciencecited by 7
- 2026Think Fast and Slow: Step-Level Cognitive Depth Adaptation for LLM Agentscited by 7
- 2025PARC: A Quantitative Framework Uncovering the Symmetries within Vision Language Modelscited by 6
- 2026Not All Turns Are Equally Hard: Adaptive Thinking Budgets For Efficient Multi-Turn Reasoning in Agentscited by 5
- 2026ActionEngine: From Reactive to Programmatic GUI Agents via State Machine Memorycited by 2
Built on by
Not cited yet.