MCP
AG

Alex Gu

58 papers in the library · Same-name authors told apart using DBLP

Papers

30
Zero2Repo: Can Coding Agents Build Repositories from Scratch?
Pei YangTianyu Shi…Alex Gu
We introduce Zero2Repo, a benchmark for from-scratch repository construction: an agent gets a product requirements document, an interface contract, and an empty workspace, and must deliver a complete repository in its native ecosystem. A language-agnostic pipeline converts real, version-pinned open-source projects into behavioral specifications, reproducible environments, and hidden acceptance tests; tasks are validated by reference-pass and adversarial rejection. Evaluation runs agents in isolated containers, withholds tests until submission, and gives binary rewards only when all tests pass. On 11 Python, TypeScript, Go, and C++ tasks, the strongest agent solves only 10, with failing submissions passing 90-99% of hidden tests, and most failures trace to single omissions or low-frequency rules.
arXivarXiv · · September 29, 2026
0
0
MatrAIx: Simulating the World with 8.3 Billion Persona Agents
Xiaomin LiYuexing Hao…Alex Gu
MatrAIx is an end-to-end infrastructure for evaluating AI systems and digital products with diverse simulated users. Its core is Persona 8B, containing 8.3 billion persona records characterized by 1,290 categorical dimensions, sampled from a dependency graph that preserves correlated attributes or derived from human-authored profiles. Across four environments (Survey, AI Chatbot, Web, App) and 1,010 application tasks, 18,189 evaluation trials with persona agents powered by three LLMs showed that feedback captures variation in preferences across backgrounds. A 400-trial validation study found 91.5% adherence to declared behavioral attributes.
arXivarXiv · · August 4, 2026
0
21
Scaling Collaborative Effort with Agents
Shannon Zejiang ShenValerie ChenKen GuAlexis RossZixian MaJillian RossAlex GuChenglei SiWayne ChiAndi PengJocelyn J ShenAmeet Talwalkar  +2
The paper argues that current agent evaluations, focused on one-shot task completion, miss the iterative and collaborative nature of real-world problems. It proposes collaborative effort scaling, a framework measuring how an agent's utility grows with user involvement. Case studies and simulations show that state-of-the-art agents underperform in multi-turn scenarios, lacking sustained engagement and scaffolding of user understanding. This framework diagnoses agent behavior and guides development toward more effective collaborative interactions.
ACL AnthologyACL Anthology · July 2026
0
8
Beyond Problem Solving: UOJ-Bench for Evaluating Code Generation, Hacking, and Repair in Competitive Programming
Tingqiang XuHangrui ZhouTianle CaiAlex GuKaifeng Lyu
UOJ-Bench benchmarks LLMs on three tasks from real competitive programming submissions: code generation, hacking (identifying errors in human-written code), and repair. Under one-shot evaluation, even the strongest models fail to detect errors in over 50% of submissions known to be incorrect. Test-time scaling raises detection above 90% but incurs high computational costs. Notably, the best test-time-scaled models uncover errors in over 5% of full-score submissions across ~30 problems, indicating that LLMs can complement standard judging systems.
arXivarXiv · · June 11, 2026
0
0
Beyond Problem Solving: UOJ-Bench for Evaluating Code Generation, Hacking, and Repair in Competitive Programming
Tingqiang XuHangrui ZhouTianle CaiAlex GuKaifeng Lyu
UOJ-Bench evaluates LLMs beyond code generation, focusing on error identification in human-written code for competitive programming support. It includes code generation, hacking, and repair tasks based on real submissions from the Universal Online Judge (UOJ), using its native judging infrastructure. Under one-shot evaluation, even the strongest models fail to identify errors in over 50% of submissions known to be incorrect. Test-time scaling raises success above 90%, but high inference costs limit practicality. Notably, best test-time models uncover errors in over 5% of full-score submissions across roughly 30 problems, offering complementary signals.
OpenReviewOpenReview · · May 19, 2026
0
SlopCodeBench: Benchmarking How Coding Agents Degrade Over Long-Horizon Iterative Tasks
Gabriel OrlanskiDevjeet Raj RoyAlexander YunChangho ShinAlex GuAlbert GeDyah AdilaNicholas RobertsFrederic SalaAws Albarghouthi
SlopCodeBench is introduced as a benchmark of 36 problems and 196 checkpoints in which coding agents repeatedly extend their own solutions, with evolving specifications that require architectural decisions but leave internal structure to the agent, unlike prior iterative benchmarks that constrain the design space. Measuring structural erosion (concentrated complexity) and verbosity (redundant code), the authors evaluate 15 agents and find that none fully solves any problem end-to-end, the best passes 14.8% of checkpoints, and quality degrades across checkpoints, with erosion rising in 77% of trajectories and verbosity in 75.5%. Compared with 473 open-source Python repositories, agent code is 2.3x more verbose and 2.0x more eroded, and explicit quality guidance lowers initial verbosity and erosion by up to a third without changing degradation rates.
OpenReviewOpenReview · · May 3, 2026
0
SlopCodeBench: Benchmarking How Coding Agents Degrade Over Long-Horizon Iterative Tasks
Gabriel OrlanskiDevjeet RoyAlexander YunChangho ShinAlex GuAlbert GeDyah AdilaFrederic SalaAws AlbarghouthiNicholas Roberts
SlopCodeBench is a benchmark of 36 problems and 196 checkpoints where coding agents repeatedly extend their own solutions under evolving specifications. It measures two forms of degradation: structural erosion (concentrated complexity) and verbosity (redundant code). Evaluating 15 agents, no agent solves any problem end-to-end; the best passes 14.8% of checkpoints. Structural erosion rises in 77% of trajectories and verbosity in 75.5%. Compared to human repositories, agent code is 2.3x more verbose and 2.0x more eroded. This provides the first measurement of code degradation under iterative extension, revealing that agents pass checkpoints while producing increasingly eroded and bloated code.
arXivarXiv · · March 25, 2026
0
23
Vibe Code Bench: Evaluating AI Models on End-to-End Web Application Development
Hung TranLangston NasholdRayan KrishnanAntoine BigeardAlex Gu
Vibe Code Bench evaluates AI models on end-to-end web application development from scratch, using 100 specifications and 964 browser-based workflows. The best model achieves 61.8% accuracy, showing that reliable end-to-end development remains a frontier challenge. Self-testing during generation strongly predicts performance (Pearson r=0.72), and evaluator selection affects outcomes (31.8–93.6% step-level agreement), highlighting the benchmark's role in revealing key limitations.
arXivarXiv · · March 4, 2026
0
14
Beyond Problem Solving: UOJ-Bench for Evaluating Code Generation, Hacking, and Repair in Competitive Programming
Tingqiang XuHangrui ZhouTianle CaiAlex GuKaifeng Lyu
UOJ-Bench is a new benchmark for evaluating LLMs beyond problem solving in competitive programming, using real submissions from the Universal Online Judge (UOJ). It includes three tasks: code generation, code hacking, and code repair. Under one-shot evaluation, even the strongest models fail to identify errors in over 50% of incorrect submissions, while test-time scaling boosts success above 90% but with high computational costs. Nevertheless, the best models can uncover errors in over 5% of full-score submissions, offering complementary signals to standard judging.
OpenReviewOpenReview · · January 24, 2026
0
Investigating Advanced Reasoning of Large Language Models via Black-Box Environment Interaction
Congchi YinTianyi WuYankai ShuAlex GuYun Han WangJun Shaoxun jiangPiji Li
The paper argues that existing benchmarks evaluate deductive, inductive, and abductive reasoning in isolation, missing the integrated reasoning needed in interactive, unknown environments. To address this, it introduces a black-box interaction paradigm where an LLM must infer a hidden input-output function by querying it within a limited number of exploration turns. The authors build the Oracle benchmark with six task types and 96 black-boxes, benchmarking 19 modern LLMs. OpenAI's o3 tops five of six tasks but still drops below 40% average accuracy on hard cases, revealing a universal lack of high-level planning for efficient exploration and hypothesis refinement.
OpenReviewOpenReview · · January 20, 2026
0
FrontierCS: Evolving Challenges for Evolving Intelligence
Qiuyang MangWenhao Chai…Alex Gu
We introduce FrontierCS, a benchmark of 240 open-ended computer science problems curated by experts, including PhDs and top-tier competitive programmers. Unlike benchmarks with known optimal solutions, these problems have unknown optima but objectively evaluable quality. Models must implement executable programs instead of outputting answers. Each problem includes an expert reference solution and an automatic evaluator. Frontier results show frontier reasoning models lag far behind human experts, and increasing reasoning budgets does not close the gap; models also struggle with internal equivalence classes, and agentic frameworks exhibit brittleness due to overfitting.
OpenReviewOpenReview · · January 9, 2026
3
Completion ≠\neq Collaboration: Scaling Collaborative Effort with Agents
Shannon Zejiang ShenValerie ChenKen GuAlexis RossZixian MaJillian RossAlex GuChenglei SiWayne ChiAndi PengJocelyn J ShenAmeet Talwalkar  +2
This position paper argues that evaluating agents solely by one-shot task completion misses the iterative, collaborative nature of real-world problems, where goals are underspecified and evolve. It proposes shifting to collaborative agents, assessed by how well they engage and enhance human effort, not just final outputs. To support this, it introduces collaborative effort scaling, a framework measuring how an agent's utility grows with user involvement. Case studies show current agents underperform in multi-turn scenarios, lacking sustained engagement and user scaffolding; the framework diagnoses such behavior and guides better interaction design.
OpenReviewOpenReview · · November 2, 2025
0
Completion ≠\neq Collaboration: Scaling Collaborative Effort with Agents
Shannon Zejiang ShenValerie ChenKen GuAlexis RossZixian MaJillian RossAlex GuChenglei SiWayne ChiAndi PengJocelyn J ShenAmeet Talwalkar  +2
The paper argues that evaluating agents solely on one-shot task completion ignores the iterative, underspecified nature of real-world problems. It proposes a shift toward collaborative agents, assessed by how they engage with and enhance human effort throughout problem-solving. The authors introduce collaborative effort scaling, a framework measuring an agent's utility growth with increasing user involvement. Case studies and simulated evaluations show that current agents underperform in multi-turn scenarios, lacking the ability to sustain engagement and scaffold user understanding, which this framework helps diagnose.
arXivarXiv · · October 29, 2025
0
8
ProofOptimizer: Training Language Models to Simplify Proofs without Human Demonstrations
Alex GuBartosz PiotrowskiFabian GloeckleKaiyu YangAram H. Markosyan
ProofOptimizer is the first language model trained to simplify Lean proofs without human demonstrations. It uses expert iteration and reinforcement learning, with Lean itself verifying simplifications and providing training signal. At inference, it iteratively shortens proofs. On state-of-the-art RL-trained provers, ProofOptimizer reduces proof length by 87% on miniF2F, 57% on PutnamBench, and 49% on IMO 2025 proofs. The simplified proofs also check faster in Lean and improve downstream prover performance when used as training data for supervised finetuning.
arXivarXiv · · October 17, 2025
0
9
CWM: An Open-Weights LLM for Research on Code Generation with World Models
FAIR CodeGen teamJade Copet…Alex Gu
Code World Model (CWM) is a 32B-parameter open-weights LLM designed to advance code generation research with world models. It is mid-trained on Python interpreter and agentic Docker trajectories, then fine-tuned via multi-task reinforcement learning on verifiable coding, math, and multi-turn software engineering tasks. CWM enables step-by-step simulation of Python execution and shows early evidence that world modeling can improve reasoning in agentic coding. It achieves strong results: pass@1 65.8% on SWE-bench Verified, 68.6% on LiveCodeBench, 96.6% on Math-500, and 76.0% on AIME 2024.
arXivarXiv · · September 30, 2025
0
88
ProofOptimizer: Training Language Models to Simplify Proofs without Human Demonstrations
Alex GuBartosz PiotrowskiFabian GloeckleKaiyu YangAram H. Markosyan
ProofOptimizer is the first language model trained to simplify Lean proofs without human demonstrations. It is trained via expert iteration and reinforcement learning, using Lean to verify simplifications and provide training signal. At inference, an iterative proof-shortening workflow progressively reduces proof length. Experiments show substantial compression of RL-trained provers' outputs: 87% on miniF2F, 57% on PutnamBench, and 50% on IMO 2025 proofs. Simplified proofs also check faster in Lean and improve downstream prover performance when reused as training data.
OpenReviewOpenReview · · September 19, 2025
0
Investigating Advanced Reasoning of Large Language Models via Black-Box Interaction
Congchi YinTianyi WuYankai ShuAlex GuYun Han WangJun Shaoxun jiangPiji Li
Existing tasks fail to assess LLM reasoning in interactive, unknown environments, isolating deductive, inductive, and abductive reasoning. This paper introduces black-box interaction, where a hidden function maps inputs to outputs and LLMs must uncover it through limited exploration turns and reasoning over observed pairs. They build the Oracle benchmark with 6 task types and 96 black-boxes, benchmarking 19 LLMs. o3 ranks first in 5 tasks, exceeding 70% accuracy on easy ones, but drops below 40% on hard tasks. Analysis reveals a universal lack of high-level planning for adaptive exploration and hypothesis refinement.
OpenReviewOpenReview · September 3, 2025
0
Task Completion Agents are Not Ideal Collaborators
Shannon Zejiang ShenValerie ChenKen GuAlexis RossZixian MaJillian RossAlex GuChenglei SiWayne ChiAndi PengJocelyn J ShenAmeet Talwalkar  +2
This position paper argues that LLM agents should be evaluated not for one-shot task completion but for collaboration with humans, whose goals are often underspecified and evolve. The authors introduce collaborative effort scaling, a framework measuring how an agent's utility grows with user involvement. Through case studies and simulations, they show state-of-the-art agents underperform in multi-turn, real-world scenarios, lacking sustained engagement and the ability to scaffold understanding, offering a new lens for guiding agent development.
OpenReviewOpenReview · September 3, 2025
0
0
Investigating Advanced Reasoning of Large Language Models via Black-Box Interaction
Congchi YinTianyi WuYankai ShuAlex GuYun Han WangJun Shaoxun jiangPiji Li
Existing tasks inadequately evaluate large language models (LLMs) in interactive, unknown settings, assessing deductive, inductive, and abductive reasoning in isolation. The authors introduce a black-box interaction paradigm, where a hidden function maps inputs to outputs, and LLMs must uncover it through exploration turns and reasoning over observed pairs. Building the Oracle benchmark with 6 task types and 96 black-boxes, they benchmark 19 LLMs; o3 ranks first in 5 tasks with over 70% accuracy on easy cases but drops below 40% on hard ones. They find LLMs lack high-level planning for efficient exploration.
OpenReviewOpenReview · August 27, 2025
0
Investigating Advanced Reasoning of Large Language Models via Black-Box Environment Interaction
Congchi YinTianyi WuYankai ShuAlex GuYunhan WangJun ShaoXun JiangPiji Li
The paper introduces a black-box environment interaction paradigm to evaluate LLMs' integrated reasoning. An LLM must infer a hidden function, which maps specific inputs to outputs, by interacting with the environment over limited exploration turns. On the accompanying Oracle benchmark, top models like o3 achieve over 70% accuracy on easy tasks but fall below 40% on hard ones, revealing a universal difficulty: LLMs lack high-level planning for efficient, adaptive hypothesis-testing strategies.
arXivarXiv · · August 26, 2025
0
1
Solving Inequality Proofs with Large Language Models
Jiayi ShengLuna LyuJikai JinTony XiaAlex GuJames ZouPan Lu
Addressing scarce, synthetic, or rigidly formal inequality datasets, the authors propose an informal yet verifiable task that recasts inequality proving into two auto-checkable subtasks: bound estimation and relation prediction. They release IneqMath, an expert-curated Olympiad-level dataset with step-wise solutions and theorem annotations, and a novel LLM-as-judge evaluation suite combining final-answer and four step-wise judges. Evaluating 29 leading LLMs reveals that even top models like o1 achieve under 10% overall accuracy under step-wise scrutiny, a drop of up to 65.5% from final-answer-only accuracy, exposing fragile deductive chains and highlighting theorem-guided reasoning and self-refinement as promising directions.
OpenReviewOpenReview · · June 30, 2025
0
Solving Inequality Proofs with Large Language Models
Jiayi ShengLuna LyuJikai JinTony XiaAlex GuJames ZouPan Lu
The paper introduces IneqMath, an expert-curated dataset of Olympiad-level inequalities with step-wise solutions and theorem annotations, built on a new informal yet verifiable task formulation that splits inequality proving into two automatically checkable subtasks: bound estimation and relation prediction. Evaluating 29 leading LLMs with a novel LLM-as-judge framework combining final-answer and step-wise judges, they find that even top models like o1 achieve under 10% overall accuracy under step-wise scrutiny, a drop of up to 65.5% from final-answer-only accuracy. This reveals fragile deductive chains and suggests theorem-guided reasoning and self-refinement as promising directions.
OpenReviewOpenReview · · June 18, 2025
0
Solving Inequality Proofs with Large Language Models
Pan LuJiayi ShengLuna LyuJikai JinTony XiaAlex GuJames Zou
Inequality proving is a demanding reasoning task for LLMs. This paper formulates it as two automatically checkable subtasks—bound estimation and relation prediction—and releases IneqMath, an expert-curated Olympiad-level dataset. A novel LLM-as-judge evaluation reveals that even top models like o1 achieve less than 10% overall accuracy under step-wise scrutiny, a drop of up to 65.5% from final-answer-only accuracy, exposing fragile deductive chains.
arXivarXiv · · June 9, 2025
0
27
Solving Inequality Proofs with Large Language Models
Pan LuJiayi ShengLuna LyuJikai JinTony XiaAlex GuJames Zou
This paper introduces an informal yet verifiable formulation for inequality proving, recasting it into two automatically checkable subtasks: bound estimation and relation prediction. The authors release IneqMath, an expert-curated dataset of Olympiad-level inequalities with step-wise solutions and theorem annotations, plus an LLM-as-judge evaluation suite combining a final-answer judge with four step-wise judges. Evaluating 29 LLMs, they find top models like o1 achieve under 10% accuracy under step-wise scrutiny, a drop of up to 65.5% from final-answer-only accuracy, exposing fragile reasoning chains.
OpenReviewOpenReview · · May 6, 2025
0
Challenges and Paths Towards AI for Software Engineering
Alex GuNaman JainWen-Ding LiManish ShettyYijia ShaoZiyang LiDiyi YangKevin EllisKoushik SenArmando Solar-Lezama
This paper presents a structured taxonomy of AI-for-software-engineering tasks beyond code generation, identifies key bottlenecks in current approaches, and offers an opinionated list of promising research directions toward high automation where humans focus on critical decisions while routine development is automated.
arXivarXiv · · March 28, 2025
0
44
Tasks, Challenges, and Paths Towards AI for Software Engineering
Alex GuNaman JainWen-Ding LiManish ShettyYijia ShaoZiyang LiDiyi YangKoushik SenKevin EllisArmando Solar-Lezama
This position paper maps the path toward fully automated software engineering. It offers a threefold contribution: a taxonomy of measures and tasks for categorizing AI software engineering work, a description of the key bottlenecks in current approaches, and a set of promising research directions to address these bottlenecks, intended to guide future work in this rapidly maturing field.
OpenReviewOpenReview · February 1, 2025
0
4
Tasks, Challenges, and Paths Towards AI for Software Engineering
Alex GuNaman JainWen-Ding LiManish ShettyKevin EllisKoushik SenArmando Solar-Lezama
This position paper charts the road to fully automated software engineering with AI. Its central contribution is a three-part research agenda: a taxonomy of tasks and measures for categorizing AI4SE work, an identification of the key bottlenecks in current approaches, and a proposal of promising research directions to overcome these bottlenecks, guiding future efforts in academia and industry.
OpenReviewOpenReview · February 1, 2025
0
Position: Future Research and Challenges Remain Towards AI for Software Engineering
Alex GuNaman JainWen-Ding LiManish ShettyKevin EllisKoushik SenArmando Solar-Lezama
This position paper argues that despite remarkable progress in AI for software engineering as a success of generative AI, fully automated software engineering remains a significant challenge requiring combined academic and industrial research. The authors contribute a three-part framework: a taxonomy of measures and tasks for categorizing work, an outline of key bottlenecks in current approaches, and promising paths forward to guide future research in this maturing field.
OpenReviewOpenReview · January 24, 2025
0
44
Quantum sensitivity of parametric oscillators
Alex GuJamison SloanCharles Roques-CarmesSeou ChoiEric I. RosenthalMichael HorodynskiYannick SalaminJelena VučkovićMarin Soljačić
This paper analyzes the quantum sensitivity of parametric oscillators—how quantum fluctuations in the initial state influence macroscopic observables. Focusing on optical parametric oscillators (OPOs), the authors show that the quantum statistics of arbitrary initial states are imprinted in early dynamics and can persist in steady-state probabilities. They derive a connection between the initial quantum state and the system's steady-state outcomes, demonstrating that losses and parametric gain govern this quantum sensitivity. The findings extend beyond OPOs to a broader class of nonlinear systems, such as Josephson junction circuits, offering a pathway for controlling macroscopic systems with quantum degrees of freedom.
arXivarXiv · · December 3, 2024
0
6
Mixture of Parrots: Experts improve memorization more than reasoning
Samy JelassiClara MohriDavid BrandfonbrenerAlex GuNikhil VyasNikhil AnandDavid Alvarez-MelisYuanzhi LiSham M. KakadeEran Malach
This paper shows that increasing the number of experts in Mixture-of-Experts (MoE) architectures, while keeping active parameters fixed, improves memorization but saturates reasoning. The authors prove that certain graph problems unsolvable by MoEs of bounded width are solvable by a slightly wider dense model, and empirically confirm that MoEs excel on memory-intensive tasks but plateau on reasoning benchmarks. The central contribution is a formal and empirical demonstration of a fundamental tradeoff: MoEs favor memorization over reasoning compared to dense transformers.
arXivarXiv · · October 24, 2024
0
27
Frequent collaborators
Armando Solar-Lezama (15)
Naman Jain (11)
Wen-Ding Li (11)
Koushik Sen (8)
Terry Yue Zhuo (6)
Qian Liu (6)
Niklas Muennighoff (6)
Harm de Vries (6)
James Zou (5)
Sida Wang (5)
Wenhao Yu (5)
Daniel Fried (5)