Liao Zhang

Beneficial AI Foundation · Non-Trivial
4 previous affiliations
6Machine learning papers tracked by Lacuna
Is this you?

Research Overview

Liao Zhang focuses on the formal capabilities of transformer architectures and the application of large language models to program verification. His recent work explores how neural models can be grounded in symbolic execution to generate complex loop invariants and act as efficient compilers with formal correctness guarantees.

Research Trajectory

The available evidence of Zhang's published work centers on the intersection of deep learning and formal methods, specifically investigating how neural networks can be applied to structured programming and verification tasks.

In 2025, Zhang collaborated on research examining the theoretical limits and practical applications of neural networks in compilation. This work contributes to the broader area of The Computational Depth Bottleneck in Transformers and the research direction of Automated Program Synthesis with Formal Correctness Guarantees. In the paper Transformers are Efficient Compilers, Provably, Zhang and his co-authors introduced a formal framework to analyze how transformers can function as compilers. By developing a simplified programming language called Mini-Husky and a proof-generating domain-specific language named Cybertron, the team demonstrated that transformers can execute compilation steps—such as abstract syntax tree construction and type analysis—using a parameter count that scales logarithmically with the input size. This established a theoretical exponential advantage for transformers over recurrent neural networks in these specific structured tasks.

Building on the use of neural models for formal program analysis, Zhang's subsequent work shifted toward program verification and memory-manipulating code. This aligns with research areas such as Automated Loop Invariant Synthesis and the broader field of Distilling Reasoning Trajectories into Small Language Models. In 2026, he contributed to MALICE: Memory-aware Loop Invariants Generation on Symbolic Execution Traces. This project developed a framework designed to assist large language models in generating the logical loop invariants necessary to prove the correctness of complex programs. By grounding the reasoning process of the models in symbolic execution traces and employing an agentic refinement loop, the collaborative effort yielded substantial improvements in the accuracy of invariant generation compared to prior methods.

Current Directions

The most recent papers in the evidence, dating to 2026, indicate an ongoing focus on integrating large language models with rigorous formal verification techniques. Specifically, Zhang's recent collaborative work addresses the challenge of verifying memory-manipulating programs by combining neural reasoning with symbolic execution. This suggests a broader interest in developing neuro-symbolic systems that can reliably assist in complex software engineering and verification tasks, ensuring that AI-generated code and logical assertions meet strict formal correctness guarantees.

Profile updated

See something wrong? Report a mistake