Xiaofei Sun
1 previous affiliation
- Harbin Institute of Technology2011–2017
- MS student · 2015–2017
- Undergrad student · 2011–2015
2 other authors named Xiaofei Sun: Xiaofei Sun (43 papers), Xiaofei Sun (2 papers)
Research Overview
Xiaofei Sun focuses on the security, architectural optimization, and algorithmic efficiency of large-scale machine learning systems. Their work encompasses the detection and mitigation of Persistent Backdoors in Pre-trained Foundation Models, the development of graph-based language modeling techniques, and the application of reinforcement learning to complex engineering domains. Sun’s research trajectory demonstrates an evolution from analyzing the vulnerabilities of neural networks to leveraging advanced policy optimization for Hardware-in-the-Loop Optimization for Automated Circuit Design and high-performance computing.
Research Trajectory
Sun’s early research, beginning around 2021, was primarily concerned with the security of the machine learning supply chain, specifically the threat of backdoor attacks in pre-trained models. During this period, Sun led the development of defensive frameworks that utilized influence functions to identify malicious training data. This work established a methodology for visualizing the relationships between training points as an influence graph, allowing for the isolation of attack triggers based on their disproportionate impact on model predictions. Simultaneously, Sun participated in interdisciplinary efforts to apply deep learning to epidemiological modeling, contributing to methods that transformed traditional non-differentiable parameter estimation into differentiable problems suitable for neural network optimization.
By 2022, Sun’s focus expanded into the structural components of Natural Language Processing (NLP). This included investigating the susceptibility of foundation models to task-agnostic backdoors and exploring new architectures for language modeling. During this phase, Sun participated in research that integrated Graph Neural Networks (GNNs) into language models to better capture global context, moving beyond the local window constraints of standard transformers. This period marked a transition from purely defensive security research toward the enhancement of model performance and contextual awareness.
In the subsequent years, Sun’s work shifted toward the intersection of reinforcement learning (RL) and systems optimization. This transition involved moving away from static model analysis toward dynamic, agentic frameworks. Recent work focuses on improving the efficiency of the "foundation-then-adaptation" pipeline through Dynamic Retrieval for In-Context Learning, which optimizes how models select demonstrations for few-shot tasks. This trajectory has culminated in a focus on high-stakes engineering optimizations, where RL is used to bridge the gap between high-level architectural intent and physical hardware constraints.
Current Directions
Sun’s current research is centered on making reinforcement learning more stable and applicable to specialized engineering tasks, such as code generation and hardware design. A significant portion of this work involves Group Relative Policy Optimization for Large Reasoning Models, an approach that seeks to reduce the computational overhead and instability associated with traditional RLHF (Reinforcement Learning from Human Feedback) by eliminating the need for large critic models.
This algorithmic refinement supports Sun’s efforts in Agentic GPU Kernel Optimization. By treating the optimization of CUDA kernels as a reinforcement learning problem, Sun explores how automated agents can navigate the complexities of memory hierarchies and thread synchronization to reach peak hardware performance. This is complemented by research into Robust Rewards for Reinforcement Learning in Code Generation, which aims to ensure that models generated for low-level systems tasks are not only functionally correct but also computationally efficient and secure.
Representative Work
A General Framework for Defending against Backdoor Attacks via Influence Graph In this first-author work, Sun proposed a framework to defend against backdoor attacks by analyzing the "influence" of training points. The research introduced the influence graph, where nodes represent individual training points and edges represent the degree to which one point impacts the model's prediction on another. By approximating influence functions, the framework identifies specific attacking patterns that typically exhibit higher connectivity and impact within the graph, allowing for the detection of triggers without prior knowledge of the attack type.
Parameter Estimation for the SEIR Model Using Recurrent Nets Sun contributed to this research which addressed the limitations of brute-force grid search in epidemiological modeling. The work proposed a method to transform the non-differentiable problem of finding optimal parameters (such as transmission rates) in SEIR models into a differentiable one. By using recurrent neural networks to approximate the simulation process, the approach allows for more accurate and efficient parameter estimation in large-scale populations.
BadPre: Task-agnostic Backdoor Attacks to Pre-trained NLP Foundation Models In this study of supply-chain vulnerabilities, Sun participated in the investigation of task-agnostic backdoor attacks. The research demonstrates how malicious triggers can be embedded into pre-trained NLP models in a way that persists even after the models are fine-tuned for diverse downstream tasks. This work highlighted the critical need for security standards in the distribution of foundation models.
GNN-LM: Language Modeling based on Global Contexts via GNN Sun participated in the development of GNN-LM, an extension of vanilla neural language models. The architecture allows the model to reference similar contexts across a global scope using Graph Neural Networks, rather than relying solely on the immediate preceding text. This approach was motivated by the observation that referencing existing information is often more efficient for language models than internalizing all context within fixed-length embeddings.
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