Dennis Duan
· 6 previous affiliations
- Google DeepMind (United Kingdom)Since 2024
- Staff Research Engineer · Since 2024
- Stanford UniversitySince 2021
- MS student · Since 2021
- Computer Science · 2024
- Google (United States)2019–2024
- Senior Software Engineer · 2022–2024
- Researcher · 2019–2022
- YouTube (United States)2019–2022
- Software Engineer · 2019–2022
- Yale University2015–2019
- Research Assistant · 2018–2019
- Undergrad student · 2015–2019
- Software Engineer Intern · 2018
Research Overview
Dennis Duan focuses on the intersection of meta-learning, sequence modeling, and representation learning within computer vision. His work addresses the limitations of traditional visual models in adapting to novel concepts and explores geometric methods for improving the optimization of discrete latent spaces in generative modeling. Duan’s research trajectory reflects a transition from developing in-context learning capabilities for vision models to addressing fundamental optimization challenges in vector-quantized architectures.
Research Trajectory
Duan’s early research, beginning around 2023, focused on bridging the gap between the in-context learning capabilities of Large Language Models (LLMs) and the more rigid adaptation mechanisms of computer vision models. While LLMs demonstrate the ability to learn new tasks during inference through prompting, visual models have historically required extensive meta-training or gradient-based fine-tuning to recognize novel object categories. Duan contributed to the development of a framework that recasts few-shot visual classification as a sequence modeling task. This approach leverages frozen, pre-trained feature extractors and treats sets of labeled examples as sequences, allowing the model to perform "context-aware" learning without updating its weights. This work demonstrated that visual models could achieve or exceed the performance of specialized meta-trained models across diverse benchmarks by adopting a non-causal sequence modeling architecture.
More recently, in 2025, Duan’s work has expanded into the domain of generative modeling and discrete representation learning. This research focuses on the optimization of Vector Quantized Variational AutoEncoders (VQ-VAEs), which are critical for high-quality image and video compression but often suffer from training instabilities. Specifically, Duan participated in research addressing the "codebook collapse" problem—a phenomenon where a large portion of the model's discrete latent variables remain unused due to poor gradient approximations. By introducing geometric inductive biases, such as treating the quantization process as a rotation and rescaling operation, this work provides a more robust mechanism for gradient propagation, leading to improved reconstruction quality in generative tasks.
Representative Work
The following papers represent Duan’s primary contributions to the fields of meta-learning and representation learning.
In Context-Aware Meta-Learning, Duan (as second author) contributed to the development of the CAML algorithm. The research addresses the inability of standard visual models to replicate the in-context learning seen in LLMs like ChatGPT. Traditional few-shot learning in vision often necessitates fine-tuning on similar objects, which is computationally expensive and limits real-time adaptation. CAML bypasses this by leveraging a frozen CLIP backbone and modeling the relationship between support sets (labeled examples) and query sets (test examples) as a sequence. By treating meta-learning as a non-causal sequence modeling task, the work shows that models can learn new visual concepts entirely during the inference phase. The approach matched or outperformed state-of-the-art models on 8 out of 11 benchmarks, demonstrating the efficacy of sequence-based architectures for visual adaptation.
Duan also participated in research regarding the fundamental optimization of quantized models in Restructuring Vector Quantization with the Rotation Trick. As a third author, Duan contributed to the development of the "Rotation Trick," a method designed to replace the standard straight-through estimator (STE) used in VQ-VAE training. The STE is a crude gradient approximation that often results in sub-optimal codebook utilization and poor data compression. The Rotation Trick offers a geometrically inspired alternative that propagates gradients by viewing the quantization step as a combination of rotation and rescaling. This method significantly improves codebook utilization and reconstruction fidelity across both image and video datasets, providing a more stable foundation for training discrete latent variable models.
Summary of Contributions
The available evidence suggests that Dennis Duan’s research is characterized by a move toward more flexible and mathematically grounded methods for model adaptation and optimization. His work on context-aware meta-learning provides a pathway for visual models to achieve the same fluid task-switching capabilities as language models. Simultaneously, his participation in restructuring vector quantization indicates a focus on the underlying geometric properties of neural network optimization. While the current corpus of work is focused on these two primary areas, the results demonstrate a consistent interest in improving how models represent and adapt to complex data distributions.
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