Qian Liu

11Machine learning papers tracked by Lacuna

6 other authors named Qian Liu: Qian Liu (University of Auckland · 342 papers), Qian Liu (ByteDance (China) · xAI (United States) · 97 papers), Qian Liu (University of Pennsylvania · 3 papers), Qian Liu (2 papers), Qian Liu (1 paper), and 1 more

Is this you?

Research Overview

Qian Liu focuses on the optimization, evaluation, and safety of large language models (LLMs), with a specialized emphasis on code generation, retrieval-augmented generation (RAG), and the scaling properties of foundation models. Their work frequently addresses the intersection of model architecture—such as vocabulary size and parametric capacity—and the practical deployment of language agents in complex, multimodal environments. By developing new benchmarks and training methodologies, Liu contributes to the transition of LLMs from general-purpose text generators to specialized tools capable of autonomous data science and software engineering tasks.

Research Trajectory

Liu’s research trajectory reflects a rapid evolution from investigating the fundamental behaviors of language models to optimizing their performance in specialized domains. In 2023, their work was primarily concerned with the internal mechanics and limitations of LLMs, specifically regarding data privacy and information retrieval. During this period, Liu participated in research exploring how models memorize training data and the methods by which this sensitive information can be extracted. This early focus on Parametric Knowledge Capacity and Storage Limits established a foundation for understanding the boundaries between a model's learned weights and external knowledge sources.

Simultaneously, Liu contributed to the development of more dynamic retrieval systems. Rather than relying on static, one-shot retrieval, this work moved toward active retrieval frameworks that allow models to decide when and what to retrieve during the generation process. This period also saw Liu involved in bridging the gap between structured data and natural language, specifically through the integration of text-attributed graphs (TAGs) with graph neural networks (GNNs) using variational inference.

In 2024, Liu’s focus shifted toward the specialization of LLMs for technical tasks, particularly code generation and data engineering. This transition involved not only improving the functional correctness of generated code but also addressing Multi-turn Iterative Code Generation and Refinement. A significant portion of Liu’s recent work involves the creation of large-scale datasets and benchmarks designed to evaluate the efficiency and instruction-following capabilities of code-centric models. Furthermore, Liu has expanded into the study of scaling laws, investigating how structural components like vocabulary size impact the compute-optimal training of large-scale models. This recent phase also includes a growing interest in the safety of multimodal agents, specifically the risks of "infectious" jailbreaks in multi-agent environments.

Current Directions

Liu’s current research is concentrated on three primary pillars: the refinement of code-specific language models, the formalization of scaling laws for model components, and the safety of autonomous agents.

A central theme in Liu's current work is Data Selection via Small Proxy Models. This involves moving away from the "black art" of data mixing toward systematic approaches for instruction tuning. By leveraging natural structures in software development, such as Git commits, Liu explores how to better align models with human intent in programming contexts. This work is closely tied to the development of benchmarks that measure not just whether a model's code works, but how efficiently it runs compared to human-written baselines.

Another significant direction is the investigation of scaling properties beyond simple parameter counts. Liu is actively researching how vocabulary size and other architectural hyperparameters scale with compute budgets. This research suggests that as models grow, their internal "dictionaries" must also expand to remain compute-optimal, a finding that challenges the static vocabulary sizes used in many current frontier models.

Finally, Liu is increasingly focused on the security and reliability of language agents. As models are integrated into multimodal workflows—spanning web search, tool use, and data warehousing—Liu investigates new classes of vulnerabilities. This includes studying how a single adversarial input can propagate through a network of agents, as well as developing benchmarks like Spider2-V to assess how far current vision-language models are from truly automating professional data engineering workflows.

Representative Work

Liu has contributed to several key papers that define their current research profile, particularly in the areas of code LLMs, scaling laws, and retrieval strategies.

In OctoPack: Instruction Tuning Code Large Language Models, Liu served as a primary contributor to a novel methodology for instruction-tuning code models. The research introduced CommitPack, a massive dataset derived from Git commits, which pairs human-written commit messages with code changes. This approach allows models to learn the rationale behind code modifications rather than just the syntax. The resulting model, OctoCoda, demonstrated state-of-the-art performance among permissively licensed models, highlighting the importance of high-quality, structured data curation for specialized domains.

Liu’s work on model architecture is exemplified by Scaling Laws with Vocabulary: Larger Models Deserve Larger Vocabularies. As a second author, Liu helped lead an investigation into how vocabulary size impacts the efficiency of LLMs. By training a suite of models ranging from 33M to 3B parameters, the team demonstrated that the optimal vocabulary size is not fixed but is a function of the total compute budget. This work provides a mathematical framework—using IsoFLOPs analysis and derivative estimation—to predict the most efficient vocabulary configuration for a given model size, suggesting that many contemporary models are bottlenecked by sub-optimal tokenization.

In the domain of evaluation, Liu contributed to Mercury: A Code Efficiency Benchmark for Code Large Language Models. This paper addresses a critical gap in the field: while most benchmarks focus on functional correctness (i.e., does the code pass the test?), they ignore computational efficiency. Mercury introduces a dataset of nearly 2,000 Python tasks and a new metric, "Beyond," which weights a model's success by the runtime percentile of its solution. This work encourages the development of models that produce not just correct code, but optimized code suitable for production environments.

Liu’s earlier work on model auditing is represented by Bag of Tricks for Training Data Extraction from Language Models. In this study, Liu participated in a systematic evaluation of how LLMs memorize and potentially leak sensitive snippets from their training sets. By refining the "tricks" used to trigger these leaks, the research provides a more rigorous way for developers to audit their models for privacy risks before deployment.

In the area of retrieval, Liu was involved in the development of Active Retrieval Augmented Generation. This work critiques the standard retrieve-and-generate paradigm, which often fails during the generation of long, complex texts. The paper proposes a generalized view of active RAG, where the model iteratively determines the necessity of external information. This theme was further refined in the context of programming in "Active Retrieval in Knowledge Soup (ARKS)," where Liu participated in constructing a "knowledge soup" of web search, documentation, and execution feedback to assist in code generation.

Liu has also addressed emerging safety concerns in Agent Smith: A Single Image Can Jailbreak One Million Multimodal LLM Agents Exponentially Fast. This research identifies a vulnerability in multi-agent systems where an adversarial image can "infect" a single agent and subsequently spread harmful behaviors to all other agents in the environment. This work underscores the latent risks in the rapid deployment of autonomous agents and the need for Low-Latency Interpretability for Real-Time Machine Learning and safety auditing to keep pace with model capabilities.

Profile updated

See something wrong? Report a mistake