mlsanityData to 14 Oct 2026

Code2Math: Can Your Code Agent Effectively Evolve Math Problems Through Exploration?

arXiv 2603.03202 ↗First posted 3 Mar 2026cs.CLcited by 2

On the map: LLM agents and tool use → Educational agents and math problem solving

Abstract (arXiv)

As large language models (LLMs) advance their mathematical capabilities toward the IMO and research level, the scarcity of challenging, high-quality problems has become a significant bottleneck for training, evaluation and self-evolution of LLMs. Simultaneously, recent code agents have demonstrated sophisticated skills in agentic coding and reasoning, suggesting that code execution can serve as a scalable environment for mathematical experimentation. In this paper, we investigate the potential of code agents to autonomously evolve existing math problems into more complex variations. We introduce a multi-agent framework designed to perform problem evolution while validating the solvability and increased difficulty of the generated problems. Our experiments demonstrate that, given sufficient test-time exploration, code agents can synthesize new, solvable problems that are structurally distinct from and more challenging than the originals. This work provides empirical evidence that code-driven agents can serve as a viable mechanism for synthesizing high-difficulty mathematical reasoning problems within scalable computational environments. Code and data is available at https://github.com/TarferSoul/Code2Math.

Key facts. Cited by 2 papers in the map (data through 14 Oct 2026). Placed in Educational agents and math problem solving, one of 16 directions in LLM agents and tool use. Builds on 31 of its 48 references that are in the map. First posted on arXiv 3 Mar 2026.

Builds on

31 of 48 references.

References · 31

  1. 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,459
  2. 2024A Survey on LLM-as-a-Judgecited by 1,423
  3. 2025s1: Simple test-time scalingcited by 1,341
  4. 2025R-Zero: Self-Evolving Reasoning LLM from Zero Datacited by 228
  5. 2025A Survey on Test-Time Scaling in Large Language Models: What, How, Where, and How Well?cited by 223
  6. 2024OS-Genesis: Automating GUI Agent Trajectory Construction via Reverse Task Synthesiscited by 163
  7. 2023Chain of Code: Reasoning with a Language Model-Augmented Code Emulatorcited by 123
  8. 2025WebExplorer: Explore and Evolve for Training Long-Horizon Web Agentscited by 92
  9. 2025MATH-Perturb: Benchmarking LLMs' Math Reasoning Abilities against Hard Perturbationscited by 89
  10. 2025AgentEvolver: Towards Efficient Self-Evolving Agent Systemcited by 85
  11. 2025Winning Gold at IMO 2025 with a Model-Agnostic Verification-and-Refinement Pipelinecited by 82
  12. 2025UserBench: An Interactive Gym Environment for User-Centric Agentscited by 76
19 more
  1. 2024Benchmark Self-Evolving: A Multi-Agent Framework for Dynamic LLM Evaluationcited by 75
  2. 2024Tell Me More! Towards Implicit User Intention Understanding of Language Model Driven Agentscited by 74
  3. 2025TaskCraft: Automated Generation of Agentic Taskscited by 51
  4. 2025Self-Questioning Language Modelscited by 50
  5. 2025RLVE: Scaling Up Reinforcement Learning for Language Models with Adaptive Verifiable Environmentscited by 50
  6. 2025Cognitive Kernel-Pro: A Framework for Deep Research Agents and Agent Foundation Models Trainingcited by 42
  7. 2025Go-Browse: Training Web Agents with Structured Explorationcited by 33
  8. 2025CostBench: Evaluating Multi-Turn Cost-Optimal Planning and Adaptation in Dynamic Environments for LLM Tool-Use Agentscited by 33
  9. 2025Theory of Mind in Large Language Models: Assessment and Enhancementcited by 25
  10. 2025Mathematical Proof as a Litmus Test: Revealing Failure Modes of Advanced Large Reasoning Modelscited by 20
  11. 2025Revisiting Epistemic Markers in Confidence Estimation: Can Markers Accurately Reflect Large Language Models' Uncertainty?cited by 16
  12. 2025Environment Scaling for Interactive Agentic Experience Collection: A Surveycited by 13
  13. 2025SAND-Math: Using LLMs to Generate Novel, Difficult and Useful Mathematics Questions and Answerscited by 11
  14. 2025AutoCode: LLMs as Problem Setters for Competitive Programmingcited by 11
  15. 2025Diversity-Enhanced Reasoning for Subjective Questionscited by 9
  16. 2025Towards Self-Evolving Benchmarks: Synthesizing Agent Trajectories via Test-Time Exploration under Validate-by-Reproduce Paradigmcited by 5
  17. 2025Learning the Boundary of Solvability: Aligning LLMs to Detect Unsolvable Problemscited by 4
  18. 2025EvolMathEval: Towards Evolvable Benchmarks for Mathematical Reasoning via Evolutionary Testingcited by 3
  19. 2026UltraLogic: Enhancing LLM Reasoning through Large-Scale Data Synthesis and Bipolar Float Rewardcited by 1

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2026: 2.

2 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2026What Do Evolutionary Coding Agents Evolve?
  2. 2026MechMath Agent Team: LLM Driven Agents for Mathematical Research
  3. 2025Mathematical exploration and discovery at scale
  4. 2025AgentMath: Empowering Mathematical Reasoning for Large Language Models via Tool-Augmented Agent
  5. 2025CATArena: Evaluating Evolutionary Capabilities of Code Agents via Iterative Tournaments
  6. 2024MapCoder: Multi-Agent Code Generation for Competitive Problem Solving
  7. 2026D'ej`aQ: Open-Ended Evolution of Diverse, Learnable and Verifiable Problems
  8. 2025Multi-Agent Evolve: LLM Self-Improve through Co-evolution