Hanlin Mai

Hanlin Mai

University of Illinois Urbana-Champaign
1 previous affiliation
3Machine learning papers tracked by Lacuna
Is this you?

Research Overview

Hanlin Mai focuses on the intersection of generative modeling, computer vision, and robotics, with a particular emphasis on the geometric consistency of synthetic media and its application to autonomous systems. His work investigates the physical and mathematical limitations of current generative models, specifically their adherence to projective geometry, and explores how these models can be leveraged to train robotic agents through synthetic video demonstrations. Currently a Software Engineer at Waymo, Mai’s research trajectory reflects a transition from the critical evaluation of generative outputs to the deployment of these models within machine learning infrastructure and robotic manipulation frameworks.

Research Trajectory

Mai’s research began with a rigorous examination of the structural integrity of images produced by state-of-the-art generative models. During his graduate studies at the University of Illinois Urbana-Champaign, he addressed the gap between the visual plausibility of generated images and their underlying geometric correctness. This phase of his work was characterized by the development of diagnostic tools that move beyond pixel-level statistical analysis to evaluate higher-order physical properties, such as perspective and shadow consistency. By identifying that generative models often fail to respect the laws of projective geometry, Mai established a foundation for more robust synthetic image detection and provided a roadmap for improving the physical realism of future generative architectures.

In 2025 and 2026, Mai’s focus shifted toward the utility of generative models in the field of robotics. Recognizing the high cost and difficulty of obtaining real-world physical demonstrations for robot training, he contributed to the development of systems that use video diffusion models as a source of synthetic training data. This work represents a significant evolution in his research, moving from identifying the flaws in generative models to utilizing their capacity for diverse visual synthesis to solve the data scarcity problem in robotic manipulation. This trajectory demonstrates a move toward embodiment-agnostic learning, where robots can acquire complex skills by "imagining" successful task executions through high-fidelity video generation.

Parallel to these efforts, Mai has participated in large-scale collaborative efforts to benchmark the capabilities of large language models (LLMs) in specialized domains. This includes evaluating the performance of these models in complex engineering design tasks, which require the synthesis of domain-specific knowledge and the management of intricate trade-offs. This work highlights an interest in the broader application of artificial intelligence to professional engineering workflows and the development of benchmarks that reflect real-world technical challenges.

Current Directions

Mai’s current work at Waymo and his recent academic contributions suggest a focus on the infrastructure and deployment of machine learning models for autonomous systems. A primary area of interest is the refinement of "Robots Imitating Generated Videos" (RIGVid), a framework that enables robots to perform tasks like pouring, wiping, and mixing without physical demonstrations. This direction involves integrating video diffusion models with vision-language models (VLMs) and 6D pose tracking to extract actionable trajectories from synthetic pixels.

Additionally, Mai continues to explore the boundaries of generative models in understanding 3D space. By investigating how projective geometry can be better integrated into the training of generative models, his work aims to bridge the gap between 2D image synthesis and 3D physical reality. This is particularly relevant for applications in autonomous driving and robotic manipulation, where the accuracy of spatial relationships is critical for safety and performance.

Representative Work

In Shadows Don't Lie and Lines Can't Bend! Generative Models Don't know Projective Geometry...for Now, Mai and his collaborators demonstrate that current generative models, including GANs and diffusion models, fail to consistently adhere to the principles of projective geometry. As a co-lead author, Mai contributed to the development of three distinct geometric classifiers that operate without access to image pixels, focusing instead on derived features. These classifiers analyze the perspective field of an image, the alignment of detected lines, and the consistency of shadows relative to light sources. The study reveals that even images capable of fooling traditional signal-based "fake" detectors can be reliably identified as synthetic through these geometric tests, highlighting a fundamental limitation in how current models represent 3D scenes.

The framework introduced in Robotic Manipulation by Imitating Generated Videos Without Physical Demonstrations (also presented in subsequent iterations) addresses the challenge of training robots for complex manipulation tasks. Mai contributed to the design of the RIGVid system, which utilizes video diffusion models to generate potential demonstration videos based on a language command and an initial scene image. The system employs a vision-language model to filter these generated videos for command adherence and uses a 6D pose tracker to extract object trajectories. These trajectories are then retargeted to a robot, allowing it to perform tasks such as sweeping or lifting without ever seeing a real human demonstration. This work demonstrates that synthetic video can serve as a viable and scalable alternative to physical data collection in robotics.

Mai also participated in a large-scale benchmarking effort described in Toward Engineering AGI: Benchmarking the Engineering Design Capabilities of LLMs. This collaborative project involved 65 researchers and focused on evaluating the engineering design capabilities of large language models across multiple disciplines, including electrical, mechanical, and computer engineering. The work identifies that while LLMs excel at factual retrieval and textbook-style problem solving, they struggle with the synthesis of domain knowledge and the navigation of complex trade-offs required in real-world engineering design. Mai’s participation in this project reflects an engagement with the challenges of applying general-purpose AI to highly specialized technical fields.

Profile updated

See something wrong? Report a mistake