Humanize MLE Agents: Multi-Agent Session Alternation Beyond Single-Agent Limits
cs.AI
Submitted: 2026-10-09
Updated: 2026-10-09
Comments: 32 pages, 10 figures. Code: https://github.com/humanfia/hma
Code: https://github.com/humanfia/hma
License: http://creativecommons.org/licenses/by/4.0/
The gist: Existing LLM-based agent approaches for long-horizon machine learning engineering (MLE) often use context engineering, implemented through custom harnesses that manage tools, skills, and accumulated
Terminology
Abstract
Existing LLM-based agent approaches for long-horizon machine learning engineering (MLE) often use context engineering, implemented through custom harnesses that manage tools, skills, and accumulated experience. However, we find that as single-session execution lengthens, the agent's reasoning intensity declines alongside slowing progress, summarized as long-horizon deceleration, and the benefits of these custom harnesses vanish as the underlying model improves, summarized as harness staleness. These findings suggest that their benefits may not persist across versions, which motivates a workflow-level approach in which agents build on one another's work across sessions. We model these alternating agent sessions as a context-reset semi-Markov decision process (CR-SMDP) and establish sufficient conditions for alternation to exceed single-agent reference limits, derive an explicit experiment-budget bound, and characterize when session caps preserve this advantage. Guided by this analysis, we introduce Humanize MLE Agents (HMA), which alternates two agents on a shared workspace, limits each session to at most k experiments and resets the context between sessions, without additional task-specific harness or prior knowledge supplements. Across 75 Kaggle tasks in MLE-bench, HMA reaches a state-of-the-art any-medal rate of 78.2%, exceeding the strongest open-source baseline by 8.0 points with a quarter of its time budget. Moreover, among six configurations spanning five heterogeneous agent pairs, HMA improves any-medal rate over the constituent baselines by 6.4 points on average, demonstrating cross-pair generality. A supplementary case on kernel optimization reaches 878 cycles, within 1.6% of the community leaderboard leader, demonstrating applicability beyond MLE.
Sources
- MLE-bench: Evaluating Machine Learning Agents on Machine Learning Engineering
- MARS: Modular Agent with Reflective Search for Automated AI Research
- MLEvolve: A Self-Evolving Framework for Automated Machine Learning Algorithm Discovery
- The Handoff Tax: Continuing Non-Native Trajectories in LLM Agents
- AgentGit: A Version Control Framework for Reliable and Scalable LLM-Powered Multi-Agent Systems
- Humanize: Judgement Engineering for Agentic Coding
- Relay, Don't Route: Adaptive Population Handoff for Cost-Efficient LLM-Driven Evolution
- AI Research Agents for Machine Learning: Search, Exploration, and Generalization in MLE-bench
- Recursive Experiential-Working Memory Evolution for Long-Horizon Agent Harnesses
Related papers
- MAVEN-T: Reinforced Heterogeneous Distillation for Real-Time Multi-Agent Trajectory Prediction
- Model Discovery Agent: LLM-assisted Bayesian experiment design for data-efficient discovery of mechanistic world models
- Agents' Last Exam
- The Clinician's Veto: Navigating Trust, Liability, and Uncertainty in Autonomous AI Prescribing
- MindHelper: Closed-Loop Embodied Mental-State Reasoning for Precision Intervention
- Incumbent Advantage: Brand Bias and Cognitive Manipulation Dynamics in LLM Recommendation Systems