Tao Wei
· 2 previous affiliations
- Ant Group (China)Since 2019
- Principal Researcher · Since 2019
- Peking University2002–2013
- Associate Professor · 2008–2013
- PhD student · 2002–2007
3 other authors named Tao Wei: Tao Wei (3 papers), Tao Wei (1 paper), Tao Wei (1 paper)
Research Overview
Tao Wei focuses on software security, privacy-preserving machine learning, and the integrity of large-scale AI systems. His work has evolved from addressing low-level binary vulnerabilities and peer-to-peer network reliability to developing high-performance cryptographic and hardware-based frameworks for secure neural network inference. Currently, his research emphasizes the security of large language model (LLM) agents, the valuation of data used in training foundation models, and the self-awareness of reasoning models regarding their own capability boundaries.
Research Trajectory
The early phase of Wei’s research was grounded in systems security, specifically Securing Control Flow Against Code Reuse Attacks. During this period, the security landscape was shifting from preventing simple code injection to mitigating more sophisticated exploits that hijacked existing program logic. Wei contributed to this field by developing practical implementations of Control Flow Integrity (CFI), a defense mechanism that ensures a program's execution follows a predetermined graph. This work often involved Contextual Pointer Authentication for Execution Integrity, aiming to protect return addresses and function pointers from being overwritten by attackers to stitch together malicious "gadgets."
Parallel to these systems security efforts, Wei investigated the reliability of large-scale distributed systems. This included empirical measurements of popular peer-to-peer networks to identify causes of lookup failures and propose algorithmic improvements to enhance service availability. This interest in the robustness of large-scale communication protocols provided a foundation for his later work on communication-efficient privacy frameworks.
In the early 2020s, Wei’s focus pivoted toward the intersection of security and machine learning. This transition began with exploring vulnerabilities in deep neural networks, such as backdoor attacks and membership inference. He examined how the training process could be compromised if third-party resources were used, and how private information could be leaked from models even in the absence of traditional classification layers. This period also saw an engagement with the theoretical foundations of deep learning, including the Provable Acceleration of Momentum in Neural Optimization, which sought to move beyond heuristic-based training methods toward mathematically grounded speedups.
More recently, Wei has concentrated on Efficient Private Inference via Non-linear Operator Optimization. As Machine Learning as a Service (MLaaS) became a dominant paradigm, the need to protect both user data and proprietary model weights grew. Wei’s work in this area addresses the "memory wall" and communication bottlenecks inherent in Scaling Trusted Execution Environments Beyond Hardware Memory Limits and Secure Multi-Party Computation (MPC). By optimizing non-linear operators and fusing activation functions into cryptographic processes like bootstrapping in Fully Homomorphic Encryption (FHE), his research aims to make private inference computationally viable for real-world applications.
His most recent work extends these security and privacy principles to Large Language Models (LLMs). This includes developing frameworks for data valuation to facilitate high-quality data engineering and investigating the security of LLM agents against indirect prompt injection. A significant emerging theme in his research is the study of "self-awareness" in large reasoning models, specifically whether these models can detect when a problem lies beyond their capability boundaries to prevent unproductive or erroneous reasoning.
Current Directions
Wei’s current research program is defined by three primary pillars: high-performance privacy-preserving computation, the security of autonomous AI agents, and the economics of data for foundation models.
In the realm of privacy-preserving computation, Wei is developing frameworks that utilize Efficient Hardware Security Against Microarchitectural Side Channels and Trusted Execution Environments (TEEs). These projects focus on securing on-device inference for large models by selectively shielding sensitive components, such as model adapters, while maintaining performance through structural pruning and reinforcement learning-guided optimization.
His work on LLM security addresses the vulnerabilities introduced by the integration of external data services and tool-calling capabilities. He is developing adaptive attack frameworks to evaluate the robustness of AI agents against evolving injection techniques. Simultaneously, he is exploring the internal states of reasoning models to identify signals that predict failure, aiming to build models that can "know what they do not know."
Finally, Wei is addressing the challenge of data quality in the LLM era. As the cost of collecting high-quality data rises, his research into data valuation provides a mechanism for quantifying the contribution of individual data points to model performance. This work is intended to support more efficient data trading and engineering processes, moving away from traditional retraining-based valuation methods that are no longer scalable for massive models.
Representative Work
Practical Control Flow Integrity and Randomization for Binary Executables This work introduces CCFIR (Compact Control Flow Integrity and Randomization), a method designed to overcome the performance and compatibility barriers that historically hindered the adoption of CFI. By collecting legal targets of indirect control-transfer instructions into a randomized "Springboard section," the framework simplifies the validation of targets. This approach allows for faster execution and provides support for on-site randomization, making CFI a more practical defense for binary executables.
Inference Attacks Against Face Recognition Model without Classification Layers Serving as the senior author, Wei explores a novel class of inference attacks targeting face recognition (FR) models that rely on feature embeddings rather than explicit classification layers. The research demonstrates a two-stage attack involving membership inference and attribute inference, revealing that even models without traditional logits are susceptible to leaking private information. This work highlights the privacy risks inherent in the backbone architectures of modern biometric systems.
Kona: An Efficient Privacy-Preservation Framework for KNN Classification by Communication Optimization In this senior-authored paper, Wei presents Kona, a framework designed to reduce the communication overhead in privacy-preserving K-Nearest Neighbors (KNN) classification. By shifting distance calculations to an offline phase and parallelizing the neighbor search, Kona achieves significant speedups in runtime compared to existing state-of-the-art methods. The framework maintains full accuracy while addressing the primary bottleneck in secure multi-party computation for classification tasks.
NESTLE: An Efficient and Robust Data Valuation Framework for Large Language Models As senior author, Wei addresses the scalability issues of traditional data valuation methods when applied to LLMs. NESTLE provides a framework for quantifying the value of training data without the need for expensive model retraining. This research is critical for the evolving data economy, where the ability to precisely and efficiently value data is essential for both data engineering and the commercial trading of high-quality datasets.
PANTHER: Private Approximate Nearest Neighbor Search in the Single Server Setting In this collaborative work, Wei participated in the development of Panther, a high-performance framework for private Approximate Nearest Neighbor Search (ANNS). The system replaces traditional oblivious RAM with a "shuffle-and-reveal" batch Private Information Retrieval (PIR) protocol. This contribution significantly reduces both communication costs and latency, making private search more feasible in realistic single-server cloud environments.
TrojanTools: Adaptive Indirect Prompt Injection on LLM Agents via Malicious Tool-Calling Wei contributed to the development of TrojanTools, a framework for evaluating the security of LLM-based agents. The research focuses on indirect prompt injection (IPI) attacks that exploit the integration of external tools and data services. By generating adaptive attack prompts and selecting stealthy tools, the framework provides a rigorous environment for testing the vulnerabilities of modern AI agents that go beyond simple static patterns.
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