Yaroslav Ganin
· 2 previous affiliations
- Google (United States)Since 2018
- Research Scientist · Since 2018
- Université de Montréal2016–2018
- PhD student · 2016–2018
Research Overview
Yaroslav Ganin focuses on the intersection of generative modeling, structured representation learning, and neural algorithmic reasoning. His work explores the transition from unstructured generative outputs, such as raw pixel grids, to structured, interpretable representations including computer programs, CAD sketches, and algorithmic execution traces. By integrating reinforcement learning, adversarial training, and language modeling, he addresses the challenges of synthesizing data that adheres to the rigid constraints of formal languages and geometric topologies.
Research Trajectory
Ganin’s early research was characterized by an investigation into the fundamental architectures of deep generative models. In 2017, he contributed to the development of new inference methods for graphical models, specifically addressing the limitations of directed latent variable models. This work, GibbsNet: Iterative Adversarial Inference for Deep Graphical Models, proposed an adversarial framework to learn joint distributions without the restrictive priors typically required by directed models. By utilizing an iterative procedure akin to blocked Gibbs sampling within an adversarial loop, the research sought to enhance the expressiveness of latent representations while maintaining sampling efficiency.
In 2018, Ganin shifted his focus toward the synthesis of structured visual data. This period marked a move away from standard pixel-based generation toward a more procedural approach. As the lead author of the SPIRAL framework in Synthesizing Programs for Images using Reinforced Adversarial Learning, he developed an agent that learns to generate images by interacting with a graphics engine. This approach was motivated by the observation that traditional generative adversarial networks (GANs) often struggle with The Perceptual Misalignment of Image Quality Metrics, frequently wasting model capacity on low-level noise rather than high-level structure. By forcing the model to output a sequence of discrete commands (a program) to produce an image, the work introduced a bottleneck that encouraged the learning of more abstract and interpretable visual concepts.
By 2021, Ganin’s work evolved to address the specific complexities of industrial design and engineering. He applied language modeling techniques to the domain of Computer-Aided Design (CAD), focusing on the automated generation of the 2D sketches that form the basis of 3D models. In Computer-Aided Design as Language, he demonstrated that the highly structured and constrained nature of CAD sketches could be treated as a formal language. This research is closely linked to the broader challenge of Generative 3D Modeling with Artist-Like Topology, where the goal is to produce models that are not only visually accurate but also structurally functional for downstream engineering and animation tasks. This work also touches upon the "representation gap" addressed in Converting Neural Representations into Engine Ready 3D Meshes, emphasizing the need for AI-generated designs to be compatible with professional software ecosystems.
In the most recent phase of his documented research (2022–2023), Ganin has expanded into the fields of neural algorithmic reasoning and continuous diffusion for text. He participated in the development of A Generalist Neural Algorithmic Learner, a project that sought to move beyond specialist models toward a single Graph Neural Network (GNN) capable of executing a wide array of classical algorithms. This work addresses the problem of out-of-distribution generalization in neural networks by training them to mimic the step-by-step logic of algorithms like sorting and path-finding. Concurrently, his involvement in Self-conditioned Embedding Diffusion for Text Generation explored how the success of diffusion models in the image domain could be translated to natural language. This research utilized continuous embeddings to bypass the discrete nature of text, contributing to the development of Enforcing Structural Constraints on Language Model Outputs by providing more flexible and scalable generative mechanisms.
Representative Work
Synthesizing Programs for Images using Reinforced Adversarial Learning This work introduces SPIRAL, an adversarial multi-agent reinforcement learning framework. Unlike standard generative models that produce pixels, SPIRAL generates a sequence of strokes or commands for a graphics engine. This approach ensures that the generated output is inherently structured and interpretable. The research demonstrates that by constraining the generator to use a specific set of tools (like a brush or a pen), the model learns to capture the essential topological features of the target data, such as the characters in the MNIST dataset or the structure of human faces, without being explicitly supervised on those structures.
Computer-Aided Design as Language In this paper, Ganin proposes a generative model for CAD sketches, which are the fundamental building blocks of 3D solid modeling. The method treats CAD sketches as sequences of tokens, allowing the use of transformer-based language models to predict the next element in a design. The model is trained on a large-scale dataset of real-world CAD sketches and is capable of performing tasks such as sketch completion and synthesis from scratch. This work represents a significant step toward intelligent CAD tools that can assist engineers by automating repetitive design tasks while maintaining the strict geometric constraints required by manufacturing processes.
GibbsNet: Iterative Adversarial Inference for Deep Graphical Models This research addresses the trade-off between the sampling speed of directed models and the expressiveness of undirected models. By framing the learning of a joint distribution $p(x, z)$ as an adversarial game, the authors propose a model that uses an iterative sampling procedure to refine latent codes. Ganin’s contribution to this work helped establish a method for learning complex distributions where the relationship between data and latent variables is not easily captured by a simple fixed prior.
A Generalist Neural Algorithmic Learner As part of a large-scale collaborative effort, Ganin contributed to the creation of a generalist processor for algorithmic tasks. The core of the method is a single Graph Neural Network that is trained on the CLRS Algorithmic Reasoning Benchmark. The model learns to execute various algorithms—ranging from string matching to dynamic programming—using a shared set of weights. This research demonstrates that a single neural architecture can generalize across different algorithmic domains, provided it is trained on a sufficiently diverse set of tasks with appropriate structural biases.
Self-conditioned Embedding Diffusion for Text Generation This paper investigates the application of continuous diffusion models to the discrete domain of natural language. Ganin participated in the development of Self-conditioned Embedding Diffusion (SED), which operates on token embeddings rather than raw tokens. The model introduces a self-conditioning mechanism that improves the quality of generated text, making it competitive with traditional autoregressive models. This work is particularly relevant for tasks requiring flexible, non-autoregressive generation, such as text editing or conditional synthesis.
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