Linyang Li

Shanghai Artificial Intelligence Laboratory · Fudan University
2 previous affiliations
55Machine learning papers tracked by Lacuna
Is this you?

Research Overview

Linyang Li focuses on natural language processing, adversarial robustness, and the development of reliable large language models. His research trajectory spans from early work on machine reading comprehension and adversarial attacks in discrete text spaces to recent advancements in scalable code synthesis and model honesty. Currently, his work investigates execution feedback and synthetic data generation to improve the reasoning and coding capabilities of language models.

Research Trajectory

His early research began in the domain of machine reading comprehension. With collaborators, he developed U-Net: Machine Reading Comprehension with Unanswerable Questions, proposing a unified model that processes a question and its context passage as a single contiguous sequence to reliably predict whether a question is answerable.

Moving into the early 2020s, his focus expanded significantly into the adversarial robustness of natural language processing models. He introduced BERT-ATTACK: Adversarial Attack Against BERT Using BERT, exploring vulnerabilities in widely used transformer architectures. Recognizing the difficulty of applying gradient-based adversarial training to discrete text, he proposed Token-Aware Virtual Adversarial Training in Natural Language Understanding to craft fine-grained perturbations in the embedding space. During this period, he also investigated security threats in pre-trained models, demonstrating how they could be compromised through Backdoor Attacks on Pre-trained Models by Layerwise Weight Poisoning.

In parallel with his security research, he explored efficient model adaptation and information extraction. He developed EntLM, detailed in Template-free Prompt Tuning for Few-shot NER, which achieved high accuracy in low-data regimes by predicting label words directly at entity positions. This work contributed to the research area of Classification as Masked Language Modeling and the broader direction of Span Level Representations for Structured Information Extraction. Addressing the lifecycle of deployed models, he formulated a framework for CONTINUAL MODEL EVOLVEMENT WITH INNER-PRODUCT RESTRICTION to help fine-tuned models adapt to increasingly complicated inference tasks. He also improved Chinese language modeling by integrating explicit word boundaries into the vocabulary, as presented in MarkBERT: Marking Word Boundaries Improves Chinese BERT.

Building on his earlier adversarial attack research, he subsequently focused on robust defense mechanisms and model certification. He introduced a novel adversarial purification method for text in Rebuild and Ensemble: Exploring Defense Against Text Adversaries, aiming to remove adversarial perturbations before classification. To provide provable security guarantees, he developed Certified Robustness to Text Adversarial Attacks by Randomized [MASK], a method that certifies robustness against word substitution without requiring knowledge of the adversary's generation strategy. Further bridging the gap between computer vision and NLP robustness, he designed a regression task in PerturbScore: Connecting Discrete and Continuous Perturbations in NLP to measure and learn the correlation between discrete and continuous perturbations.

As large language models (LLMs) became ubiquitous, his research pivoted toward LLM provenance, security, and agent simulation. To protect open-source licenses, he proposed a method for Watermarking LLMs with Weight Quantization, embedding hidden watermarks that remain inactive during quantized inference but protect the full-precision weights. He also developed Sniffer, a tool detailed in Origin Tracing and Detecting of LLMs, which leverages contrastive perplexity features to trace generated text back to its specific source model. Exploring the generative capabilities of these models, he participated in the creation of Character-LLM: A Trainable Agent for Role-Playing, which trains agents to simulate the profiles, experiences, and emotional states of specific historical figures.

Most recently, his work has addressed model alignment and scalable code synthesis. He collaborated on Can AI Assistants Know What They Don't Know?, demonstrating that preference optimization on custom datasets can teach models to recognize their own limitations, advancing work in the area of Aligning Language Models to Their Knowledge Boundaries. In the domain of code generation, he introduced UnitCoder: Scalable Code Synthesis from Pre-training Corpora, a framework that transforms raw pre-training code into high-quality data via automated unit testing and iterative refinement. He further scaled synthetic data generation with Case2Code: Scalable Synthetic Data for Code Generation, proposing an inductive inference task that infers underlying implementations from observed program behaviors. These recent advancements contribute to the research directions of Execution Feedback for Training Code Language Models, The Quality Bottleneck of Teacher Generated Synthetic Data, and Autonomous Agents with Executable Code Actions.

Current Directions

The most recent work in the evidence addresses the intersection of code generation, synthetic data scaling, and model alignment. A primary focus is on leveraging execution feedback and inductive inference to automatically generate and verify high-quality training data for code language models. By transforming raw, in-the-wild code into structured datasets with verified reasoning paths, this research aims to significantly enhance the complex coding and reasoning capabilities of large language models without relying exclusively on expensive teacher models. Additionally, recent efforts explore model honesty, specifically aligning AI assistants to recognize and articulate their own knowledge boundaries to reduce hallucinations and improve factual reliability.

Profile updated

See something wrong? Report a mistake