Pengfei Tang
· 4 previous affiliations
- Microsoft (United States)Since 2021
- Applied Scientist II · Since 2023
- Researcher · Since 2022
- Applied Scientist · 2021–2023
- Data Scientist Intern · 2019
- Emory University2016–2021
- Research Assistant · 2018–2021
- PhD student · 2016–2021
- Teaching Assistant · 2017
- Ctrip2015–2016
- Software Engineer · 2015–2016
- Zhejiang University2011–2015
- Bachelor of Science (B.S.), Computer Science · 2011–2015
Research Overview
Pengfei Tang focuses on the security, privacy, and optimization of machine learning models, with a particular emphasis on adversarial robustness, differential privacy, and the enhancement of large language models (LLMs) through automated prompt engineering. His research addresses the inherent vulnerabilities of deep learning architectures, specifically the susceptibility of pre-trained classifiers to adversarial manipulation and the privacy risks associated with training data leakage. More recently, his work has transitioned toward improving the reasoning capabilities of LLMs and adapting natural language processing (NLP) techniques to specialized, low-context domains such as web-based advertising queries.
Research Trajectory
Tang’s early research contributions centered on the intersection of security and privacy in deep learning, particularly within the context of Adversarial Robustness from Classification to Generative NLP. This area of study is motivated by the observation that state-of-the-art classifiers, while high-performing, are often brittle and easily deceived by minor, human-imperceptible perturbations. In 2022, Tang investigated the dual challenge of providing certified robustness against such attacks while simultaneously ensuring the privacy of the underlying training data.
In the work Two Birds, One Stone: Achieving both Differential Privacy and Certified Robustness for Pre-trained Classifiers via Input Perturbation, Tang proposed a framework that utilizes a reconstruction network positioned before a public pre-trained classifier. This architecture is designed to defend against adversarial examples through input perturbation, a method that provides a theoretical guarantee of robustness. However, because the reconstruction network itself requires training on sensitive datasets, it introduces the risk of privacy leakage via inference attacks. To mitigate this, Tang integrated differential privacy (DP) into the training process of the reconstruction network. This research highlights a critical balancing act in modern AI: maintaining the utility of powerful pre-trained models while defending against external attackers and protecting the internal data used for fine-tuning or auxiliary components.
As the field of NLP shifted toward the dominance of large-scale generative models, Tang’s focus evolved to address the limitations of prompt-based interaction with LLMs. While LLMs demonstrate significant zero-shot and few-shot capabilities, their performance is highly sensitive to the specific phrasing of human instructions. Tang’s work in 2023 and 2024 moved away from ad-hoc or manual prompt selection toward systematic, automated refinement processes.
This shift is exemplified by the development of the "Evoke" framework, detailed in Evoke: Evoking Critical Thinking Abilities in LLMs via Reviewer-Author Prompt Editing. In this research, Tang and his collaborators addressed the inefficiency of existing prompt generation methods, which often rely on random searches or labor-intensive human-in-the-loop procedures. The Evoke framework treats prompt engineering as a collaborative, iterative dialogue between two instances of the same LLM: an "Author" that generates and edits prompts, and a "Reviewer" that critiques and scores them. By focusing the refinement process on "hard samples"—instances where the model initially fails—the framework significantly enhances the model's performance on complex reasoning tasks, such as logical fallacy detection. This work represents a transition from treating LLMs as static tools to viewing them as agents capable of self-correction and optimization.
Most recently, Tang has applied these interests in model optimization and NLP to specific industrial challenges, particularly in the domain of online advertising. In 2024, he contributed to the development of DeepTagger: Knowledge Enhanced Named Entity Recognition for Web-Based Ads Queries. This research addresses the unique difficulties of Named Entity Recognition (NER) in web queries, which are typically shorter, less grammatical, and more context-poor than the standard natural language corpora used to train most language models. The DeepTagger framework employs a knowledge-enhancement strategy that combines model-free approaches (using unlabeled web queries to expand domain knowledge) and model-based approaches (leveraging web search results to provide missing context). This work demonstrates Tang’s ability to adapt theoretical insights in NLP to constrained, real-world environments where labeled data is scarce and input quality is highly variable.
Current Directions
Tang’s current research continues to explore the boundaries of LLM capabilities and the practical deployment of NLP systems. His work maintains a consistent thread of improving model reliability—whether through the lens of security and privacy or through the lens of reasoning accuracy and domain adaptation.
The "Evoke" project suggests a continuing interest in the "critical thinking" abilities of generative models. By moving beyond simple pattern matching toward structured reasoning, Tang’s work seeks to make LLMs more robust in high-stakes analytical tasks. This aligns with his earlier work on adversarial robustness, as both areas seek to ensure that models remain accurate and reliable when faced with challenging or deceptive inputs.
Furthermore, the development of DeepTagger indicates a focus on "knowledge-enhanced" machine learning. This direction explores how external, unstructured data sources (like web search results) can be used to augment the internal representations of pre-trained models. This is particularly relevant for specialized applications where general-purpose models lack the necessary niche context to perform effectively.
Representative Work
Tang’s research is characterized by a focus on the structural and procedural aspects of model training and prompting. His contributions are most prominent in the following areas:
- Privacy-Preserving Robustness: In Two Birds, One Stone: Achieving both Differential Privacy and Certified Robustness for Pre-trained Classifiers via Input Perturbation, Tang established a method for simultaneously defending against adversarial attacks and preventing training data leakage. This work is significant for its use of reconstruction networks as a buffer for public pre-trained models, allowing for security enhancements without requiring the modification of the core classifier.
- Iterative Prompt Optimization: Through the "Evoke" framework, described in Evoke: Evoking Critical Thinking Abilities in LLMs via Reviewer-Author Prompt Editing, Tang introduced a multi-agent approach to prompt engineering. By utilizing a "Reviewer-Author" dynamic, the research demonstrates how LLMs can be used to systematically improve their own performance on reasoning-heavy tasks, moving the field toward more autonomous and efficient prompt selection.
- Domain-Specific NER: In DeepTagger: Knowledge Enhanced Named Entity Recognition for Web-Based Ads Queries, Tang addressed the scarcity of labeled data and the lack of context in web-based queries. The framework’s use of search-engine-based context enrichment provides a practical solution for applying NER to the fragmented and idiosyncratic language found in online advertising and search queries.
Tang's body of work reflects a progression from the foundational security of deep learning models to the sophisticated optimization of generative AI systems, consistently prioritizing methods that enhance the reliability and utility of machine learning in complex environments.
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