David W Zhang

David W Zhang

Meta (United States)
5 previous affiliations
45Machine learning papers tracked by Lacuna
Is this you?

Research Overview

David W Zhang focuses on structured prediction, generative modeling, and reinforcement learning, with applications ranging from computer vision to large language model (LLM) reasoning. His work investigates how neural networks can better represent and generate complex data structures—such as sets, graphs, and neural network weights—and how these models can be improved through self-supervised signals and verifiable feedback. Currently a researcher at Qualcomm AI Research, Zhang’s recent trajectory emphasizes the intersection of Scaling Language Model Reasoning Beyond Verifiable Rewards and the development of autonomous software engineering agents.

Research Trajectory

Zhang’s early research focused on the fundamental challenges of predicting unordered collections of variables. Between 2020 and 2022, he developed methods for set prediction that moved beyond traditional regression-based approaches, which often struggle with the underdefined nature of stochastic sets. By reframing set prediction as conditional density estimation, he introduced frameworks that utilize energy-based models and gradient-guided sampling to capture multiple plausible configurations of a set. During this period, he also explored the mathematical properties of multisets, identifying limitations in standard set-equivariant operations and proposing more flexible architectures for set-to-hypergraph prediction.

In 2023, Zhang’s focus shifted toward generative modeling, particularly diffusion-based approaches. He addressed the dependency of guided diffusion models on large-scale human annotations by developing self-supervised frameworks. This work allowed models to generate images guided by their own internal feature extractions and self-generated masks, reducing the need for ground-truth labels. Concurrently, he investigated the emerging field of deep weight spaces, designing methods to process and augment the weights of other neural networks while respecting their inherent permutation-equivariant structures.

Since 2024, Zhang has increasingly applied reinforcement learning and self-improvement strategies to the domain of code generation and LLM reasoning. This work addresses the finite nature of high-quality human-written code by developing methods for models to improve autonomously through search and expert iteration. His recent contributions involve grounding code understanding in execution states rather than just textual patterns, as well as developing stable reinforcement learning algorithms for fine-tuning LLMs. This includes participation in research on Group Relative Policy Optimization for Large Reasoning Models and the creation of Synthetic Bug Injection for Software Engineering Agents, which facilitates the training of agents through self-play and automated repair tasks.

Representative Work

Set Prediction without Imposing Structure as Conditional Density Estimation This work addresses the limitations of standard set-loss functions, such as Chamfer or Hungarian loss, which often produce averaged, implausible predictions in underdefined tasks. Zhang proposes Deep Energy-based Set Prediction (DESP), a framework that treats set prediction as a conditional density estimation problem. By fitting deep energy-based models and using gradient-guided sampling, the method can predict multiple plausible set configurations for applications like point-cloud reconstruction and molecular state prediction.

Multiset-Equivariant Set Prediction with Approximate Implicit Differentiation In this study, Zhang and his collaborators demonstrate that standard set-equivariant functions are insufficient for representing certain functions on multisets. They introduce the concept of multiset-equivariance and apply it to the Deep Set Prediction Network (DSPN). By incorporating approximate implicit differentiation, the research improves the optimization, speed, and memory efficiency of set prediction models, showing that the multiset perspective leads to superior performance across various benchmarks.

Self-Guided Diffusion Models Zhang developed a framework that enables diffusion models to perform guided image generation without requiring external human annotations. By leveraging self-supervised signals to create internal labels, the method provides guidance at multiple granularities, from holistic image levels to specific object boxes and segmentation masks. The approach demonstrates that self-labeled guidance can match or exceed the performance of models trained on ground-truth labels while maintaining high visual diversity.

Data Augmentations in Deep Weight Spaces This research explores learning in weight spaces, where neural networks are designed to process the parameters of other deep models. Zhang addresses the severe overfitting common in this domain due to the difficulty of generating large-scale weight-space datasets. He proposes specialized data augmentation techniques that respect the unique permutation-equivariant structure of neural network weights, enabling more effective training for tasks such as analyzing implicit neural representations and network pruning.

Grounding code understanding in step-by-step execution Moving into the domain of code reasoning, Zhang proposes a method to measure and improve code understanding by grounding it in the machine state during execution. The work argues that while LLMs are proficient at generating code, they often lack a deep understanding of its functional effects. By training models to predict the state changes caused by individual lines of code, the research aims to move beyond surface-level pattern matching toward a more robust internal model of program logic.

RL-finetuning LLMs from on- and off-policy data with a single algorithm Zhang contributed to the development of AGRO (Any-Generation Reward Optimization), a reinforcement learning algorithm designed for fine-tuning LLMs. The algorithm utilizes the concept of response consistency to satisfy optimal policy requirements across diverse generations. This work supports the broader research theme of Distribution Correction for Offline Reinforcement Learning, demonstrating improved performance on complex mathematical reasoning tasks in both on-policy and off-policy settings.

Profile updated

See something wrong? Report a mistake