Yangruibo Ding

Yangruibo Ding

University of California, Los Angeles
3 previous affiliations
23Machine learning papers tracked by Lacuna
Is this you?

Research Overview

Yangruibo Ding focuses on large language models for software engineering, program analysis, and automated vulnerability detection. His trajectory spans from early work on neural program repair and code semantics to the development of execution-aware training frameworks for code generation. Currently, he investigates collaborative agentic systems and reasoning models for complex software engineering and cybersecurity tasks.

Research Trajectory

Yangruibo Ding’s research arc begins with foundational investigations into how machine learning models interpret and manipulate source code, particularly for automated program repair (APR) and vulnerability detection. In 2020, he introduced an edit-based approach to APR in Patching as Translation: the Data and the Metaphor. This work challenged the prevailing analogy that software patching is akin to natural language translation, demonstrating that models aligned with real-world, structured fixing behaviors—such as explicit edit operations—achieve superior accuracy.

Building on this focus on code semantics, his subsequent work explored how models learn the functional properties of programs. With collaborators, he participated in the development of DISCO in Towards Learning (Dis)-Similarity of Source Code from Program Contrasts (2022). This self-supervised pre-training framework uses contrastive learning to teach models to distinguish between syntactically similar but functionally distinct code. By training on a small fraction of the data used by prior models, this approach improved performance on downstream tasks like clone and vulnerability detection. His early investigations also touched on the area of Eliminating Spurious Correlations in Neural Code Analysis, seeking to make models more robust to superficial syntactic patterns. During this period, he contributed to the broader area of Unified Graph Representations for Deep Program Analysis and explored generative pre-training objectives that exploit the bimodal, dual-channel nature of code—encompassing both formal syntax and natural language semantics—in NatGen: generative pre-training by "naturalizing" source code (2022). Concurrently, he assessed the real-world viability of these models in Deep Learning Based Vulnerability Detection: Are We There Yet? (2022), evaluating the false positive and false negative rates of state-of-the-art deep learning techniques and advancing the research direction of Robust Vulnerability Detection from Noisy Security Commits.

By 2023, Ding’s focus expanded to incorporate runtime behavior and broader repository contexts into neural code analysis. He led the development of TraceFixer: Execution Trace-Driven Program Repair, a technique that mimics human debugging by providing models with actual execution traces and desired states rather than relying on static code alone. This integration of dynamic behavior intersects with work in Synthetic Bug Injection for Software Engineering Agents. Recognizing that real-world software development extends beyond single files, he also participated in creating CrossCodeEval: A Diverse and Multilingual Benchmark for Cross-File Code Completion (2023), establishing robust evaluation metrics for repository-scale code intelligence and highlighting the necessity of cross-file context in modern modular software development.

In 2024, a major theme of Ding’s work became teaching code language models to explicitly reason about execution. He developed SemCoder: Training Code Language Models with Comprehensive Semantics and its expanded study, SemCoder: Training Code Language Models with Comprehensive Semantics Reasoning. These works introduce a training strategy that prompts models to generate a "monologue" about code execution, significantly improving their performance on complex generation and debugging tasks. This directly contributed to the research direction of Execution Feedback for Training Code Language Models. Complementing this, he introduced CYCLE: Learning to Self-Refine the Code Generation (2024), a framework that trains models to iteratively correct their own generated code based on execution feedback. He also continued to address project-level semantics by contributing to CoCoMIC: Code Completion by Jointly Modeling In-file and Cross-file Context (2024), advancing the area of Repository Level Code Completion with Cross File Context.

Most recently, Ding’s trajectory has shifted toward complex, multi-agent systems and specialized environments. In 2025, he returned to security evaluations with Vulnerability Detection with Code Language Models: How Far are We? and participated in benchmarking automated program repair for low-level systems in Rethinking Kernel Program Repair: Benchmarking and Enhancing LLMs with RGym. This work addressed the unique challenges of the Linux kernel, such as its monolithic structure and hardware interactions, by introducing a lightweight, platform-agnostic evaluation framework. Moving beyond monolithic models, he contributed to Co-PatcheR: Collaborative Software Patching with Component-specific Small Reasoning Models (2025), which demonstrated that collaborative ensembles of smaller, specialized reasoning models can achieve highly competitive resolution rates on software patching tasks, outperforming massive language models while using less compute. Extending this agentic paradigm, he participated in the development of OpenSage: Self-programming Agent Generation Engine (2026), an agent development kit that allows LLMs to autonomously synthesize custom tools, create sub-agents, and manage complex memory structures for software engineering and cybersecurity.

Current Directions

Recent work investigates the design and evaluation of autonomous, multi-agent systems for software engineering and cybersecurity. The most recent papers in the evidence address the limitations of monolithic large language models by exploring collaborative ensembles of smaller, specialized reasoning models for complex patching tasks. Additionally, this work focuses on shifting from human-handcrafted agent architectures to self-programming frameworks where AI models autonomously synthesize tools, orchestrate sub-agents, and manage graph-based memory. A continuing theme is the application of these advanced agentic workflows to challenging, low-level domains, including kernel-space program repair and robust vulnerability detection.

Profile updated

See something wrong? Report a mistake