Junwei Liu

Junwei Liu

Fudan University
1 previous affiliation
    • PhD student · 2022–2027
    • Current
    • Undergrad student · 2018–2022
12Machine learning papers tracked by Lacuna

1 other author named Junwei Liu: Junwei Liu (Peking University · 4 papers)

Is this you?

Research Overview

Junwei Liu focuses on the intersection of software engineering and artificial intelligence, specifically the application of large language models to code generation, comprehension, and repository-level reasoning. His work traces an evolution from evaluating and prompting instruction-tuned models for basic programming tasks to developing autonomous, multi-agent frameworks for complex software development. Currently, he investigates the reliability and debugging of LLM-based agent systems.

Research Trajectory

In 2023, Liu's research began with foundational assessments of how large language models handle software engineering tasks. He contributed to Evaluating Instruction-Tuned Large Language Models on Code Comprehension and Generation, which systematically tested ten open-source instruction-tuned models across four diverse programming challenges. This work highlighted that while instruction tuning enables surprisingly competitive zero-shot performance, parameter-efficient fine-tuning remains crucial for achieving state-of-the-art results over traditional small-scale models. This research intersected with broader areas such as Shifting from Static Benchmarks to Dynamic Evaluation and the Semantic Evaluation of Code Summaries, while also touching upon the research direction of Dynamic Retrieval for In-Context Learning.

During the same period, he participated in efforts to improve program comprehension through natural language generation. In Generating Variable Explanations via Zero-shot Prompt Learning, he collaborated on a method to produce concise explanations for variables. This work addressed the prevalence of poor-quality variable naming and the difficulty of synthesizing complex surrounding code contexts without relying on extensive training data. Continuing the theme of rigorous model assessment into 2024, Liu contributed to Evaluating Large Language Models in Class-Level Code Generation, which expanded the scope of code generation benchmarks from simple function-level snippets to more complex, object-oriented class structures.

As his focus shifted toward more sophisticated, context-aware code intelligence, Liu introduced STALL+: Boosting LLM-based Repository-level Code Completion with Static Analysis. This framework systematically integrated static analysis—specifically file-level dependencies—into the prompting phase of LLM pipelines. By demonstrating that this approach significantly outperforms traditional retrieval-augmented generation (RAG) methods, the work advanced the research direction of Enforcing Structural Constraints on Language Model Outputs and the broader area of Constrained Decoding for Structured and Lexical Generation, setting new accuracy standards for cross-file code completion.

Recognizing the rapid evolution of AI in programming, Liu subsequently led a comprehensive review of the field's transition from passive coding assistants to autonomous systems. His paper Large Language Model-Based Agents for Software Engineering: A Survey detailed how the industry is deploying LLMs to handle complex, multi-step software engineering tasks. Building directly on this paradigm shift, he developed EvoDev: An Iterative Feature-Driven Framework for End-to-End Software Development with LLM-based Agents. Moving away from rigid, linear development pipelines, EvoDev decomposes complex software requirements into a dependency-aware feature map. This architecture allows agents to construct sophisticated applications, such as Android apps, in a step-by-step manner, demonstrating substantial improvements over existing commercial baselines.

Current Directions

The most recent papers in the evidence address the reliability, debugging, and evaluation of autonomous software engineering systems. Recent work investigates the unique challenges that arise when LLM-based agents attempt to debug and maintain other agentic systems. For example, Liu collaborated on Can Agent Fix Agent Issues?, which introduced a benchmark of real-world bugs specifically found in LLM-based agent architectures. This research revealed that current state-of-the-art agents struggle to resolve the vast majority of these issues—failing over 95% of the time—due to the complexities of non-determinism and external dependencies. This focus on robust evaluation and failure modes aligns with the broader research direction of Containerized Isolation for Reproducible Benchmarking, pointing toward a future where autonomous coding agents must be rigorously tested and secured against cascading failures before deployment.

Profile updated

See something wrong? Report a mistake