Zi Wang
· 3 previous affiliations
- University of Wisconsin–MadisonSince 2016
- Research Assistant · Since 2017
- Doctor of Philosophy (PhD), Computer Science · 2016–2024
- Meta (United States)Since 2025
- Research Scientist · Since 2025
- Software Engineer · 2021
- New York University2014–2016
- Master's degree, Computer Science · 2016
- Teaching Assistant · 2015
- Grader · 2014
4 other authors named Zi Wang: Zi Wang (Google (United States) · Google DeepMind (United Kingdom) · 25 papers), Zi Wang (Tencent (China) · 3 papers), Zi Wang (Nvidia (United States) · 2 papers), Zi Wang (Texas A&M University · 1 paper)
Research Overview
Zi Wang focuses on the intersection of programming languages and deep learning, with a primary interest in formalizing computational phenomena and analyzing the variational properties of neural networks. His work encompasses the development of robust models for source code, the theoretical certification of neural network properties, and the optimization of large language models (LLMs) for security and reasoning. Currently, he employs meta-programming techniques to investigate emergent linguistic behaviors and novel computational paradigms within generative models.
Research Trajectory
Wang’s research trajectory is characterized by a transition from the empirical robustness of structured data models to the formal verification of neural architectures, and more recently, to the optimization and reasoning capabilities of large-scale language models.
From 2020 to 2021, his work addressed the inherent fragility of deep learning models when applied to source code and metric learning. He identified that models for source code are often susceptible to simple, semantics-preserving transformations—such as variable renaming or the insertion of dead code—which can significantly alter model predictions. This research led to the creation of frameworks for adversarial training that utilize program sketches to maintain semantic consistency. During this period, he also investigated the adversarial robustness of Deep Metric Learning (DML). Unlike standard classification, DML involves metric losses that are interdependent across samples in a mini-batch. Wang developed principled training approaches to account for this sensitivity, significantly increasing adversarial accuracy in tasks such as face recognition and image retrieval.
Between 2022 and 2023, Wang’s focus shifted toward the theoretical foundations of neural network safety and smoothness. He developed quantitative geometric frameworks to address the computational hardness of Lipschitz constant estimation, a critical factor in understanding the trade-off between a model's accuracy and its regularization. This period also saw a move toward more precise verification methods. By treating neural-network verification as a symbolic reasoning problem, he moved beyond standard linear approximations to implement quadratic and semidefinite programming relaxations. These methods allowed for the certification of complex architectures, including Deep Equilibrium Models (DEQs), which had previously proven difficult for traditional verification tools.
Since 2024, Wang has concentrated on the discrete optimization challenges and reasoning frameworks associated with LLMs. His recent work addresses the difficulty of generating adversarial "jailbreak" attacks on robustly aligned models. By introducing continuous parameters to smooth the optimization landscape, he has developed methods to refine attack prompts more effectively than traditional gradient-based approaches. Additionally, he has worked on formalizing the complexity of computational reasoning tasks, proposing frameworks that decompose these problems into components that LLMs can solve through program synthesis.
Current Directions
Wang’s current research at Meta continues to explore the boundaries of meta-programming and the emergent properties of language models. He treats the challenge of understanding deep learning as a process of abstraction and modeling, drawing on a philosophy that interprets computational challenges through both linguistic and mathematical lenses.
A significant portion of his current focus involves harnessing emergent phenomena, such as Source-Side Syntactic Reordering, to improve the structural understanding of generative agents. He is also investigating the variational properties of neural networks to better understand how these models navigate complex optimization landscapes. This work aims to bridge the gap between the formal guarantees of programming languages and the probabilistic nature of deep learning, ultimately seeking to develop more reliable and capable reasoning engines.
Representative Work
Generalized Universal Approximation for Certified Networks In this work, Wang addresses the theoretical power of interval bound propagation (IBP) in certifying the safety and robustness of neural networks. He introduces the Abstract Universal Approximation (AUA) theorem, which generalizes previous results for ReLU networks to a broader class of activation functions. The theorem demonstrates that for any continuous function, there exists a neural network capable of approximating both the function itself and its set semantics via interval bounds. This provides a theoretical justification for the use of abstract interpretation in neural network certification.
Exploring Adversarial Robustness of Deep Metric Learning This research investigates the vulnerability of Deep Metric Learning (DML) models to adversarial attacks. Wang identifies that the core challenge in securing DML lies in the interdependence of metric losses, which depend on the relationships between all samples in a mini-batch rather than individual classifications. He proposes a robust training framework that accounts for these dependencies, demonstrating a substantial increase in adversarial accuracy—ranging from 5 to 76 times that of standard models—without compromising performance on natural, unperturbed data.
A Quantitative Geometric Approach to Neural-Network Smoothness Addressing the trade-off between accuracy and smoothness in deep learning, Wang proposes a unified theoretical framework for Lipschitz constant estimation. The paper explores the computational hardness of this estimation and provides a geometric approach to approximate it more precisely. By improving the speed and precision of these estimations, the work allows for better-calibrated regularization during training, preventing the significant accuracy loss that often accompanies loose Lipschitz bounds.
Efficient Symbolic Reasoning for Neural-Network Verification Wang introduces a symbolic reasoning framework designed to enhance the precision of neural-network verification. By transforming the verification problem into Quadratic Programs (QPs) and subsequently relaxing them into Semidefinite Programs (SDPs), the method moves beyond the limitations of standard linear approximations. This approach resulted in a 60% improvement in certification precision and enabled the verification of complex architectures, such as Deep Equilibrium Models, that are often inaccessible to traditional verification tools.
Functional Homotopy: Smoothing Discrete Optimization via Continuous Parameters for LLM Jailbreak Attacks This paper addresses the difficulty of discrete optimization in the context of LLM security. Wang proposes "Functional Homotopy" (FH), a method that temporarily misaligns a target model to create a simplified optimization landscape for generating jailbreak attacks. As the model is gradually restored to its original, safe state, the attack prompt is iteratively refined. This smoothing technique achieves a significantly higher success rate than existing gradient-based methods on highly robust models like Llama-2 and Llama-3.
PEA: Enhancing LLM Performance on Computational-Reasoning Tasks Wang introduces the Predicate-Enumeration-Aggregation (PEA) framework to formalize and solve computational reasoning problems using LLMs. The framework decomposes complex reasoning tasks into distinct components, allowing LLMs to synthesize programs that solve the underlying logic. This approach provides a structured method for characterizing the complexity of reasoning tasks and enhances the performance of LLMs when acting as generic reasoning engines for multifaceted problems.
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