NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Ruyi Ji

University of Michigan
2 previous affiliations
22Machine learning papers tracked by Lacuna

1 other author named Ruyi Ji: Ruyi Ji (Chinese Academy of Sciences · 11 papers)

Is this you?

Research Overview

Ruyi Ji focuses on program synthesis, program optimization, and formal verification. His work spans the development of efficient algorithms for programming by example and the automatic application of algorithmic paradigms like divide-and-conquer. Recently, he investigates the integration of large language models with formal methods to enhance domain-specific reasoning and constrained code generation.

Research Trajectory

Ruyi Ji’s early research concentrated on improving the efficiency and reliability of Programming by Example (PBE) and interactive program synthesis. In 2020, he explored methods to accelerate PBE systems, detailing these techniques in Guiding dynamic programing via structural probability for accelerating programming by example. A major challenge in interactive synthesis is resolving specification ambiguity with minimal user interaction. To address this, he developed algorithms for optimal question selection in Question selection for interactive program synthesis, introducing strategies like SampleSy and EpsSy to reduce interaction rounds while maintaining bounded error rates.

Building on this foundation, his focus expanded to the theoretical guarantees of synthesis systems. In Generalizable synthesis through unification (2021), he applied concepts from computational learning theory—specifically Occam learning—to the framework of synthesis through unification (STUN), aiming to improve the generalizability of PBE solvers in domains like conditional linear integer arithmetic.

A central theme of his subsequent work has been the automatic synthesis of highly efficient algorithms, moving beyond simple code generation to structural algorithmic optimization. In 2022, he addressed the difficulty of designing dynamic programming algorithms with Synthesizing Efficient Dynamic Programming Algorithms, proposing approaches to systematically derive efficient solutions. This effort to automate complex algorithmic paradigms led to the development of AutoLifter, detailed in Black-Box Algorithm Synthesis - Divide-and-Conquer and More. By utilizing a black-box decomposition strategy rather than relying on strict syntax transformations, AutoLifter enabled the automatic application of paradigms like divide-and-conquer and segment trees. This work contributed significantly to the research direction of Navigating the Combinatorial Search Space of Program Synthesis and addressed ongoing challenges in the area of Expressivity Constraints in Grammar-Constrained Program Synthesis. He provided a broader perspective on these optimization goals in Scaling up Program Synthesis to Efficient Algorithms (2023).

Parallel to his work on algorithmic paradigms, he continued to refine interactive synthesis methodologies, as seen in Improving Oracle-Guided Inductive Synthesis by Efficient Question Selection (2023). His research on divide-and-conquer synthesis culminated in a comprehensive framework published in Decomposition-based Synthesis for Applying Divide-and-Conquer-like Algorithmic Paradigms (2024). This work formalized "lifting problems" to uniformly capture the application of various algorithmic paradigms, overcoming the limitations of previous syntax-bound approaches. Extending these inductive synthesis techniques to data structure optimization, he and his collaborators introduced SuFu in Superfusion: Eliminating Intermediate Data Structures via Inductive Synthesis (2024), an efficient synthesizer designed to automatically eliminate intermediate data structures.

More recently, his research has integrated formal verification structures, such as e-graphs, with modern machine learning techniques. In 2024, he contributed to CCLemma: E-Graph Guided Lemma Discovery for Inductive Equational Proofs, exploring how e-graphs can facilitate automated theorem proving. He further bridged formal methods and large language models (LLMs) in Equality Saturation Guided by Large Language Models (2025). This framework, LGuess, uses LLMs to strategically navigate e-graphs, avoiding combinatorial explosion while ensuring that every optimization step remains formally verified.

His work on LLMs also extends to ensuring their outputs adhere to strict syntactic and logical constraints. In Constrained Sampling for Language Models Should Be Easy: An MCMC Perspective (2025), he and his co-authors framed constrained decoding as a Markov Chain Monte Carlo sampling problem, improving the diversity and accuracy of generated code for software fuzzing. This research advances the broader area of Semantic Alignment for Machine Verifiable Logic and contributes to the domain of Enforcing Structural Constraints on Language Model Outputs.

Continuing to optimize the underlying infrastructure of synthesis, he explored domain-specific language enhancements in Accelerating Syntax-Guided Program Synthesis by Optimizing Domain-Specific Languages (2026). Concurrently, he participated in evaluating the limits of modern AI reasoning through FrontierCS: Evolving Challenges for Evolving Intelligence (2026), a benchmark of open-ended computer science problems designed to measure how advanced models handle micro-optimizations and complex problem formulation compared to human experts.

Current Directions

The most recent papers in the evidence indicate a strong focus on the intersection of large language models and formal program synthesis. A primary current direction involves leveraging the intuitive, high-level reasoning capabilities of LLMs to guide rigorous, traditionally intractable formal processes, such as equality saturation and e-graph navigation. By using models to propose strategic checkpoints rather than raw code, this approach maintains formal correctness while bypassing combinatorial bottlenecks.

Additionally, recent work investigates probabilistic and sampling-based methods to enforce strict constraints on LLM outputs. By treating constrained decoding as an MCMC sampling problem, this research aims to generate syntactically valid and logically sound code without degrading the model's underlying distribution. Finally, ongoing efforts address the evaluation of these advanced models, utilizing expert-curated, open-ended benchmarks to identify where current AI systems struggle with problem formulation and algorithmic optimization in complex computer science domains.

Profile updated

See something wrong? Report a mistake