Zhangqian Bi

Huazhong University of Science and Technology
2 previous affiliations
9Machine learning papers tracked by Lacuna
Is this you?

Research Overview

Zhangqian Bi focuses on code intelligence, program synthesis, and the application of large language models to scientific discovery. His research trajectory spans the development of foundational toolkits for machine-learning-based source code analysis to advanced techniques for project-level code generation and model watermarking. Currently, his work addresses the evaluation and reuse of pre-trained code models alongside automated protocol design for self-driving laboratories.

Research Trajectory

Bi's early research centers on establishing robust infrastructure for machine-learning-based source code analysis. In 2022, he collaborated on the development of NaturalCC: An Open-Source Toolkit for Code Intelligence, an extensible framework built on Fairseq and PyTorch. This toolkit was designed to facilitate rapid prototyping and the reproduction of state-of-the-art models for tasks like code summarization, retrieval, and completion by providing standardized code corpora and modular preprocessing scripts. He subsequently expanded on this foundational work in a comprehensive 2024 study, Deep Learning for Code Intelligence: Survey, Benchmark and Toolkit. This work categorized the rapidly growing research landscape and provided a standardized evaluation platform, touching upon broader research areas such as Multimodal Fusion for Source Code Representation, Mapping Natural Language to Source Code Semantics, and Robust Optimization and Stability in Deep Reinforcement Learning.

Building on these foundational tools, Bi advanced the application of large language models (LLMs) to complex programming tasks. He introduced Iterative Refinement of Project-Level Code Context for Precise Code Generation with Compiler Feedback, presenting CoCoGen, an approach that addresses the limitations of LLM context windows. Because comprehensive project-specific context often exceeds standard prompt limits, CoCoGen leverages static analysis and compiler feedback to iteratively align generated code with project constraints, effectively fixing API and data structure errors. Alongside code generation, he also investigated the security and provenance of AI-generated software, contributing to CodeIP: A Grammar-Guided Multi-Bit Watermark for Large Language Models of Code. This technique embeds multi-bit information into machine-generated code to protect intellectual property and identify specific vendor models without degrading the functional integrity of the code.

Concurrently, Bi's research expanded into interdisciplinary applications, specifically "AI for Science" and the automation of laboratory environments. He participated in developing frameworks to translate complex scientific procedures into machine-executable formats. This included work on AutoDSL: Automated domain-specific language design for structural representation of procedures with constraints, which automates the creation of domain-specific languages (DSLs) to structurally represent non-standardized experimental protocols by optimizing syntactic constraints and abstracting semantic rules from domain corpora. He further contributed to Expert-level protocol translation for self-driving labs, an autonomous system that parses human-readable protocols into Protocol Dependence Graphs (PDGs) across syntax, semantics, and execution stages.

This interdisciplinary trajectory continued into 2025 with Hierarchically Encapsulated Representation for Protocol Design in Self-Driving Labs, where he collaborated on a multi-scale representation framework acting as a guardrail for LLMs in experimental planning. By combining operation-centric and product-flow-centric views into a unified DSL, this work aligns with the broader research direction of Schema Constrained Generation for Large Language Models, enabling AI systems to design and modify laboratory protocols with expert-level nuance.

Returning to the core challenges of code intelligence, Bi's 2025 research addresses the computational overhead of deploying large language models. He developed How to Select Pre-Trained Code Models for Reuse? A Learning Perspective, which investigates learning-based strategies for evaluating and selecting the most appropriate off-the-shelf pre-trained code models (such as CodeBERT or Code Llama) for specific downstream tasks, thereby optimizing model reuse and reducing the need for expensive pre-training from scratch.

Current Directions

The most recent papers in the evidence indicate a dual focus on optimizing the deployment of large-scale code models and advancing automated scientific discovery. In the domain of code intelligence, recent work addresses the computational expense of pre-training by developing systematic, learning-based approaches to identify the most effective pre-trained models for specific downstream tasks, such as code generation and vulnerability detection. Simultaneously, ongoing contributions to self-driving laboratories highlight a continued interest in using structured representations and domain-specific languages to safely constrain and guide LLMs in complex, real-world scientific environments.

Profile updated

See something wrong? Report a mistake