Manuscript Offprint

arXiv:2608.26557

DeepRepro: State-Aware Subplanning for Paper-to-Code Reproduction in Evolving Repositories

Hongru Song, Ruqing Zhang, Jiafeng Guo, Xueqi Cheng, Maarten de Rijke

Hongru Song

Ruqing Zhang ∗^{*}

State Key Laboratory of AI Safety,

Institute of Computing Technology,

Chinese Academy of Sciences

University of Chinese Academy of

Sciences

Beijing, China

songhongru24s,zhangruqing@ict.ac.cn

Jiafeng Guo

Xueqi Cheng

State Key Laboratory of AI Safety,

Institute of Computing Technology,

Chinese Academy of Sciences

University of Chinese Academy of

Sciences

Beijing, China

guojiafeng.cxq@ict.ac.cn

Maarten de Rijke

University of Amsterdam

Amsterdam, The Netherlands

m.derijke@uva.nl

Abstract

Recent advances in agentic large language models (LLMs) have enabled increasingly autonomous software engineering workflows, yet automatic machine learning (ML) paper-to-code reproduction remains a challenging long-horizon problem. Unlike conventional code generation, this task requires constructing and maintaining a fully functional repository whose state continuously evolves during execution. Existing systems typically rely on static upfront planning followed by sequential file-level generation, which often leads to inconsistencies as dependencies, interfaces, and execution feedback change over time. We propose DeepRepro, a state-aware framework for paper-to-code reproduction based on execution-state-aware subplanning. DeepRepro dynamically transforms evolving repository states and runtime feedback into fine-grained implementation subplans, keeping planning aligned with execution throughout repository construction. The framework further incorporates repository-aware orchestration and a lightweight process-aware interface for transparent monitoring of long-horizon reproduction. Experiments on PaperBench Code-Dev show that DeepRepro consistently outperforms strong scientific and commercial code-agent baselines. Code and demo are available at https://github.com/ruyisy/DeepRepro and https://youtu.be/ZvmtVX7Rleo.

CCS Concepts

• Computing methodologies → Planning and scheduling.