Matryoshka Agent: Unfolding Sub-Agents for Long-Horizon Machine Learning Engineering
Not on the map. Why?
Abstract (arXiv)
Machine learning engineering (MLE) tasks require long-horizon decision making over iterative solution debugging and refinement, under expensive and feedback-driven environment interactions. Developing and training a monolithic agent for such tasks is fundamentally challenging, as it must simultaneously manage extremely long and noisy contexts, explore vast solution spaces, and remain effective under limited model capacity and computational budgets. To address these challenges, we propose Matryoshka Agent, a unified hierarchical agent framework for complex long-horizon tasks. Matryoshka Agent decomposes agentic problem solving into a coordinated hierarchy of decision making and execution: a high-level Orchestrator maintains compact, long-horizon exploration states and issues strategic instructions, while lower-level Sub-Agents execute concrete solution attempts through direct environment interaction, mediated by standardized Tool interface. This design decouples strategic exploration from costly execution, substantially reducing the burden of long-context reasoning and enabling efficient iterative refinement. We further develop an efficient training paradigm for Matryoshka Agent. Experimental results on a broad range of MLE tasks with diverse model types and scales demonstrate that Matryoshka Agent is an effective and scalable paradigm for long-horizon MLE tasks and complex agentic problem solving. Notably, Matryoshka Agent enables Qwen3-4B-Instruct to reach Orchestrator performance comparable to o4-mini. Applying Matryoshka Agent to Qwen3-30B-Coder results in at most 36.7% relative performance gain.
Key facts. Cited by 2 papers in the map (data through 7 Oct 2026). Builds on 51 of its 58 references that are in the map. First posted on arXiv 27 Jul 2026.
Builds on
51 of 58 references.
References · 51
- 2025Gemini 2.5: Pushing the Frontier with Advanced Reasoning, Multimodality, Long Context, and Next Generation Agentic Capabilitiescited by 3,655
- 2023SWE-bench: Can Language Models Resolve Real-World GitHub Issues?cited by 3,193
- 2023WebArena: A Realistic Web Environment for Building Autonomous Agentscited by 1,908
- 2024LiveCodeBench: Holistic and Contamination Free Evaluation of Large Language Models for Codecited by 1,906
- 2024τ-bench: A Benchmark for Tool-Agent-User Interaction in Real-World Domainscited by 1,280
- 2024OSWorld: Benchmarking Multimodal Agents for Open-Ended Tasks in Real Computer Environmentscited by 1,134
- 2023Encouraging Divergent Thinking in Large Language Models through Multi-Agent Debatecited by 995
- 2024OpenHands: An Open Platform for AI Software Developers as Generalist Agentscited by 956
- 2023Large Language Modelscited by 774
- 2025BrowseComp: A Simple Yet Challenging Benchmark for Browsing Agentscited by 616
- 2023AgentVerse: Facilitating Multi-Agent Collaboration and Exploring Emergent Behaviorscited by 580
- 2025Why Do Multi-Agent LLM Systems Fail?cited by 559
38 more
- 2026Terminal-Bench: Benchmarking Agents on Hard, Realistic Tasks in Command Line Interfacescited by 515
- 2024MLE-bench: Evaluating Machine Learning Agents on Machine Learning Engineeringcited by 429
- 2023MLAgentBench: Evaluating Language Agents on Machine Learning Experimentationcited by 339
- 2023Multi-Agent Collaboration: Harnessing the Power of Intelligent LLM Agentscited by 329
- 2025PaperBench: Evaluating AI's Ability to Replicate AI Researchcited by 286
- 2025DeepResearch Bench: A Comprehensive Benchmark for Deep Research Agentscited by 236
- 2025R-Zero: Self-Evolving Reasoning LLM from Zero Datacited by 210
- 2025KernelBench: Can LLMs Write Efficient GPU Kernels?cited by 206
- 2025AIDE: AI-Driven Exploration in the Space of Codecited by 206
- 2025GDPval: Evaluating AI Model Performance on Real-World Economically Valuable Taskscited by 142
- 2024DS-Agent: Automated Data Science by Empowering Large Language Models with Case-Based Reasoningcited by 119
- 2024DSBench: How Far Are Data Science Agents from Becoming Data Science Experts?cited by 119
- 2024What Did I Do Wrong? Quantifying LLMs' Sensitivity and Consistency to Prompt Engineeringcited by 88
- 2023AutoML-GPT: Automatic Machine Learning with GPTcited by 80
- 2024AutoKaggle: A Multi-Agent Framework for Autonomous Data Science Competitionscited by 70
- 2025AI Research Agents for Machine Learning: Search, Exploration, and Generalization in MLE-benchcited by 65
- 2023ML-Bench: Evaluating Large Language Models and Agents for Machine Learning Tasks on Repository-Level Codecited by 63
- 2024Large Language Model Agent for Hyper-Parameter Optimizationcited by 62
- 2025Beyond Self-Talk: A Communication-Centric Survey of LLM-Based Multi-Agent Systemscited by 58
- 2025Multi-Agent Evolve: LLM Self-Improve through Co-evolutioncited by 58
- 2025MLE-STAR: Machine Learning Engineering Agent via Search and Targeted Refinementcited by 52
- 2026PostTrainBench: Can LLM Agents Automate LLM Post-Training?cited by 45
- 2025MLE-Dojo: Interactive Environments for Empowering LLM Agents in Machine Learning Engineeringcited by 38
- 2025AgentOrchestra: Orchestrating Multi-Agent Intelligence with the Tool-Environment-Agent(TEA) Protocolcited by 36
- 2023BenchMARL: Benchmarking Multi-Agent Reinforcement Learningcited by 31
- 2024Simulating Human-like Daily Activities with Desire-driven Autonomycited by 30
- 2025AlgoTune: Can Language Models Speed Up General-Purpose Numerical Programs?cited by 24
- 2025MLZero: A Multi-Agent System for End-to-end Machine Learning Automationcited by 22
- 2025Exploring LLM Agents for Cleaning Tabular Machine Learning Datasetscited by 20
- 2025AutoMind: Adaptive Knowledgeable Agent for Automated Data Sciencecited by 20
- 2025How to Train Your Advisor: Steering Black-Box LLMs with Advisor Modelscited by 20
- 2025Adaptation of Agentic AI: A Survey of Post-Training, Memory, and Skillscited by 19
- 2025AutoMLGen: Navigating Fine-Grained Optimization for Coding Agentscited by 17
- 2025Beyond ReAct: A Planner-Centric Framework for Complex Tool-Augmented LLM Reasoningcited by 16
- 2025Reinforcement Learning for Machine Learning Engineering Agentscited by 13
- 2025Unlocking the Power of Multi-Agent LLM for Reasoning: From Lazy Agents to Deliberationcited by 11
- 2024Matryoshka Pilot: Learning to Drive Black-Box LLMs with LLMscited by 9
- 2025MLE-Smith: Scaling MLE Tasks with Automated Multi-Agent Pipelinecited by 9
50 most cited of 51 All 51 (JSON)
Built on by
Citing papers per year: 2026: 2.
2 papers.
Similar, not cited
Close in wording, no citation either way
- 2026Toward Ultra-Long-Horizon Agentic Science: Cognitive Accumulation for Machine Learning Engineering
- 2025ArchPilot: A Proxy-Guided Multi-Agent Approach for Machine Learning Engineering
- 2026Toward Autonomous Long-Horizon Engineering for ML Research
- 2025R&D-Agent: An LLM-Agent Framework Towards Autonomous Data Science
- 2026MLEvolve: A Self-Evolving Framework for Automated Machine Learning Algorithm Discovery
- 2025ML-Agent: Reinforcing LLM Agents for Autonomous Machine Learning Engineering
- 2026AgentHPOBench: A Benchmark For Evaluating LLM Agents as Sequential Hyperparameter Optimizers
- 2026Reasoning as Gradient: Scaling MLE Agents Beyond Tree Search