Xiaokun Luan
· 2 previous affiliations
- National University of SingaporeSince 2026
- Postdoc · Since 2026
- Peking University2017–2026
- PhD student · 2021–2026
- Undergrad student · 2017–2021
Research Overview
Xiaokun Luan focuses on formal methods, automated reasoning, and the security and evaluation of large language models. His trajectory spans the formal verification of distributed systems and the development of machine learning techniques for theorem proving, evolving toward the integration of formal guarantees into modern AI systems. Recently, he investigates the robustness, copyright protection, and psychometric evaluation of language models and autonomous agents.
Research Trajectory
Luan's early research centered on formal verification and the automation of interactive theorem provers. In 2021, he explored the application of machine learning to proof synthesis, introducing sequence models to guide proof search in Using LSTM to Predict Tactics in Coq. Concurrently, he applied formal methods to distributed systems, formalizing the security guarantees of permissionless blockchains. In Modeling and Verification of CKB Consensus Protocol in Coq, he verified a novel consensus protocol designed to overcome throughput limitations and selfish mining vulnerabilities found in traditional blockchain architectures.
As deep learning systems became increasingly deployed in safety-critical domains, his collaborative work expanded into neural network testing. He participated in the development of standardized testing metrics in HeatC: A Variable-Grained Coverage Criterion for Deep Learning Systems, which proposed adaptable coverage criteria to evaluate the dependable behavior of deep neural networks across different tasks.
Returning to software reliability and formal methods, Luan investigated the practical challenges of maintaining formal proofs. He conducted an empirical study on proof assistant maintenance in Why the Proof Fails in Different Versions of Theorem Provers: An Empirical Study of Compatibility Issues in Isabelle, characterizing the compatibility issues that frequently break proofs and disrupt the dissemination of formalized theories. He also developed automated translation methods for regulatory compliance, bridging domain-specific languages and verification toolchains. In MedTiny Code Generation for Enhancing RegLang Smart Contract Reliability, he introduced a method to translate regulatory smart contracts into a component-based modeling language, enabling the use of SMT solvers to detect redundancies and conflicts. In broader theoretical work, he contributed to the automation of program logic through collaborative research on Generically Automating Separation Logic by Functors, Homomorphisms, and Modules.
A major theme in Luan's recent trajectory is the synthesis of large language models with formal methods to create reliable AI systems. He co-authored Position: Trustworthy AI Agents Require the Integration of Large Language Models and Formal Methods, arguing that combining the natural language capabilities of LLMs with rigorous correctness guarantees is essential for overcoming the limitations of each paradigm. Putting this into practice, he contributed to Automated Program Refinement: Guide and Verify Code Large Language Model with Refinement Calculus, utilizing formal calculus to constrain and verify LLM-generated code. He further advanced structured generation techniques in Automata-Based Steering of Large Language Models for Diverse Structured Generation, utilizing automata traversal histories to steer models toward novel structural patterns, thereby improving output diversity without sacrificing validity.
Alongside reliability, Luan has addressed the security and intellectual property challenges of deep learning. He developed techniques for detecting unauthorized model replication in Protecting Deep Learning Model Copyrights With Adversarial Example-Free Reuse Detection, addressing heterogeneous reuse scenarios where traditional white-box fingerprinting fails. He extended this focus on intellectual property to generative AI, proposing robust protection mechanisms in Robust and Efficient Watermarking of Large Language Models Using Error Correction Codes.
Luan's work on AI evaluation has sought to move beyond static benchmarks. He collaborated on Psychometric-Based Evaluation for Theorem Proving with Large Language Models, which applies item response theory to model assessment. By using adaptive testing to measure an "Ability Score," this approach reduces evaluation costs while distinguishing between varying levels of problem difficulty. This work contributes to several research areas, including Adaptive Testing for Efficient AI Evaluation, The Divergence of Human and Machine Task Complexity, and the broader area of Efficient Benchmarking for Large Language Models.
Most recently, his research has expanded into the security of autonomous agent ecosystems. He participated in the analysis of self-replicating threats in ClawWorm: Self-Propagating Attacks Across LLM Agent Ecosystems, demonstrating how flat trust architectures in multi-agent networks can be exploited by autonomous worms using natural language payloads to achieve infection and persistence.
Current Directions
The most recent papers in the evidence indicate a strong focus on the security, evaluation, and formal verification of large language models and autonomous agents. Luan investigates the vulnerabilities of multi-agent ecosystems, particularly how natural language interfaces can be exploited by self-propagating attacks and configuration hijacking. Concurrently, he is advancing the intellectual property protection of generative models through robust watermarking and reuse detection techniques. A central, ongoing theme in his research is the pursuit of trustworthy AI, which he approaches both by integrating formal methods to constrain and verify LLM outputs, and by developing adaptive, psychometric-based evaluation frameworks to more accurately measure latent model capabilities.
Profile updated
Loading new papers…
Other researchers whose papers cluster into the same research directions — a proxy for overlapping technical interests and shared intellectual neighborhoods.
See something wrong? Report a mistake