Leilei Gan
· 1 previous affiliation
- Zhejiang UniversitySince 2019
- Assistant Professor · Since 2023
- PhD student · 2019–2023
Research Overview
Leilei Gan focuses on natural language processing, legal artificial intelligence, and the alignment and security of large foundation models. His trajectory spans early work in neural parsing and legal judgment prediction to identifying vulnerabilities in parameter-efficient fine-tuning. Currently, he investigates reinforcement learning and preference optimization to enhance the reasoning capabilities and factuality of multimodal and language models.
Research Trajectory
His early research focused on foundational natural language processing architectures and representations. In 2020, he explored the efficacy of self-attention networks compared to traditional BiLSTM-CRF models in Investigating Self-Attention Network for Chinese Word Segmentation, proposing methods to integrate word-level information into character-based segmentation. He subsequently worked on enriching static word embeddings by distilling semantic co-occurrence information from contextualized models in SemGloVe: Semantic Co-Occurrences for GloVe From BERT (2022), and advanced syntactic analysis in Dependency Parsing as MRC-based Span-Span Prediction (2022).
Concurrently, he began applying NLP techniques to the legal domain, specifically addressing Legal Judgment Prediction (LJP). Recognizing that purely data-driven deep neural networks often lack interpretability in legal contexts, he introduced a method to represent declarative legal knowledge as first-order logic rules in Judgment Prediction via Injecting Legal Knowledge into Neural Networks (2021). He continued to refine LJP systems by addressing the challenge of distinguishing cases with subtle textual differences, utilizing extracted numerical evidence and contrastive learning in Exploiting Contrastive Learning and Numerical Evidence for Confusing Legal Judgment Prediction (2023).
During this period, he also investigated the robustness and security of language models. He participated in evaluating generation stability in Investigating the Robustness of Natural Language Generation from Logical Forms via Counterfactual Samples (2022) and identified vulnerabilities in standard training pipelines in Triggerless Backdoor Attack for NLP Tasks with Clean Labels (2022). As large language models (LLMs) became central to the field, his security research evolved to address the area of Backdoor Persistence in Parameter-Efficient Fine-Tuning. He demonstrated that while parameter-efficient fine-tuning (PEFT) restricts parameter updates, it remains highly susceptible to targeted vulnerabilities. This was detailed in Weak-to-Strong Backdoor Attack for Large Language Models (2024), which also touches on the broader area of Probabilistic Knowledge Transfer via Soft Labels. Building on these insights, he collaborated on developing a Poisoned Sample Identification Module to secure PEFT processes in Defending Against Weight-Poisoning Backdoor Attacks for Parameter-Efficient Fine-Tuning (2024).
In parallel with his security work, he explored methods to efficiently adapt and align LLMs. He introduced a framework for dynamic model personalization in Retrieval-Augmented Mixture of LoRA Experts for Uploadable Machine Learning (2024), which allows models to retrieve specialized adapters for mixed-task prompts. Shifting toward alignment methodologies, he co-authored A Comprehensive Survey of Datasets, Theories, Variants, and Applications in Direct Preference Optimization (2024), mapping the rapid adoption of DPO as an alternative to reinforcement learning from human feedback and contributing to the research direction of Reference-Free Preference Optimization for Efficient Model Alignment.
By 2025, his research heavily emphasized reasoning capabilities, test-time scaling, and hallucination mitigation across both language and vision-language models (VLMs). Returning to the legal domain, he conducted a systematic evaluation of reasoning-centric models in Evaluating Test-Time Scaling LLMs for Legal Reasoning: OpenAI o1, DeepSeek-R1, and Beyond (2025), distilling reasoning paths to create a specialized 14B parameter legal model. To address factuality in high-stakes legal question answering, he integrated behavior cloning with a novel Hard Sample-aware Iterative Direct Preference Optimization (HIPO) in Fine-tuning Large Language Models for Improving Factuality in Legal Question Answering (2025). He applied a similarly granular approach to structured generation, addressing the area of Semantic Alignment for Machine Verifiable Logic by introducing a clause-wise adaptive preference optimization technique in SQLCritic: Correcting Text-to-SQL Generation via Clause-wise Critic (2025).
In the multimodal space, he tackled VLM hallucinations by shifting from coarse critiques to sentence-level AI feedback in Detecting and Mitigating Hallucination in Large Vision Language Models via Fine-Grained AI Feedback (2025), contributing to the direction of Risk-Aware Metrics for Safety-Critical Perception. Finally, his recent work heavily features the area of Group Relative Policy Optimization for Large Reasoning Models. He directed the development of an interpretable text-image alignment evaluator that breaks visual reasoning into grounding, reasoning, and concluding steps in REVEALER: Reinforcement-Guided Visual Reasoning for Element-Level Text-Image Alignment Evaluation (2025). He also collaborated on Fast-Slow Thinking GRPO for Large Vision-Language Model Reasoning (2025), a reinforcement learning framework that allows VLMs to dynamically adjust their reasoning depth based on task difficulty, optimizing both accuracy and token efficiency.
Current Directions
The most recent papers in the evidence indicate a strong focus on enhancing the reasoning capabilities and factual reliability of large language and vision-language models. Recent work investigates the use of reinforcement learning—specifically Group Relative Policy Optimization (GRPO)—to dynamically scale reasoning depth at test time and to build interpretable, step-by-step evaluators for multimodal alignment. Concurrently, there is a sustained emphasis on mitigating hallucinations through fine-grained, sentence- and clause-level AI feedback combined with advanced preference optimization techniques. This methodology is actively being applied to improve both general multimodal perception and high-stakes, domain-specific tasks such as legal question answering and text-to-SQL generation.
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