Shengnan An
· 3 previous affiliations
- Meituan (China)Since 2025
- Researcher · Since 2025
- Xi'an Jiaotong University2020–2025
- PhD student · 2020–2025
- Microsoft (United States)2019–2025
- Intern · 2019–2025
Research Overview
Shengnan An focuses on natural language processing, the reasoning capabilities of large language models, and long-context understanding. Early work investigated compositional generalization and abstraction in neural networks, while recent efforts address the practical limitations of language models in complex environments. Current research emphasizes improving long-context utilization, inductive reasoning, and the deployment of efficient small language models for specialized tasks like coding and content moderation.
Research Trajectory
Shengnan An’s research trajectory began during a joint Ph.D. program at Xi'an Jiaotong University and Microsoft Research Asia, initially focusing on the fundamental reasoning capabilities of neural networks. A primary early interest was compositional generalization—the ability of a model to understand and generate unseen combinations of known primitives. In a second-author contribution, Compositional Generalization by Learning Analytical Expressions (2020), An collaborated on a memory-augmented neural model that utilized variable slots and symbolic functions to capture compositionality, allowing the network to be trained end-to-end while mimicking cognitive processes.
By 2023, An’s focus had expanded to evaluating and probing the abstraction capabilities of pre-trained language models (PLMs). Leading this effort as first author, An published Does Deep Learning Learn to Abstract? A Systematic Probing Framework (2023). This work introduced a controlled experimental framework to test whether models like T5 and GPT-2 could induce abstract concepts from concrete instances and transfer them beyond their initial learning context, providing empirical evidence for abstraction in deep learning.
Concurrently, An began investigating the mechanics of In-Context Learning (ICL), particularly how large language models adapt to downstream tasks through few-shot prompting. Recognizing that existing retrieval methods for ICL were often biased by superficial natural language features, An led the development of Skill-Based Few-Shot Selection for In-Context Learning (2023). This first-author paper proposed Skill-KNN, a selection method that identifies appropriate in-context examples without requiring additional model fine-tuning, making it highly adaptable for evolving task requirements.
As language models scaled to accommodate larger inputs, An’s research shifted toward addressing the structural limitations of long-context processing. A major challenge in the field was the "lost-in-the-middle" phenomenon, where models fail to retrieve or reason over information buried in the center of extensive prompts. In Make Your LLM Fully Utilize the Context (2024), An introduced INformation-INtensive (IN2) training. This data-driven approach synthesized tasks requiring models to pinpoint and reason over information at any position within the context window, resulting in FILM-7B, a model demonstrating robust long-context utilization.
Following the completion of doctoral studies, An transitioned to a researcher role at Meituan, continuing to explore the capability boundaries of language models with an increasing emphasis on Small Language Models (SLMs) and domain-specific applications. In the domain of software engineering, An authored Repository Structure-Aware Training Makes SLMs Better Issue Resolver (2024). This work introduced ReSAT, a training method that leverages structured repository data to improve the bug localization and code editing capabilities of 7B-parameter models, narrowing the performance gap between accessible SLMs and massive closed-source models.
Demonstrating a transition toward senior research leadership, An served as the last author and principal investigator on STAND-Guard: A Small Task-Adaptive Content Moderation Model (2025). This research applied cross-task fine-tuning to a 7-billion-parameter SLM, training it to follow specific moderation guidelines. The resulting model achieved high adaptability across diverse safety domains, offering a highly efficient and cost-effective alternative to larger models for content moderation tasks.
Current Directions
Recent work investigates the capability boundaries of language models in handling extensive and complex contexts, particularly focusing on the reliability of Retrieval-Augmented Generation (RAG) systems. The most recent papers in the evidence address the challenge of in-context hallucinations—such as fact fabrication—when models are presented with parallel or unordered contexts. To mitigate this, ongoing research proposes methods involving context-aware negative training and information-calibrated aggregation to ensure language models remain grounded in the provided retrieval data.
Additionally, a strong current theme is the optimization and deployment of Small Language Models (SLMs) for specialized, high-complexity tasks. By leveraging targeted training techniques—such as repository structure-aware training for library-oriented code generation and cross-task fine-tuning for safety and moderation—this work seeks to maximize the efficiency and reasoning capabilities of smaller architectures, making them viable competitors to much larger, resource-intensive systems in practical applications.
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