Partition Generative Modeling: Masked Modeling Without Masks

Justin Deschenaux (PhD student · EPFL), Lan Tran, Caglar Gulcehre

International Conference on Learning Representations 2026 · Oral

Overview

In the rapidly evolving landscape of generative AI, two dominant paradigms have emerged: autoregressive (AR) models and masked generative models (MGMs). Each offers distinct advantages and disadvantages, creating a perpetual quest for architectures that can synthesize their complementary strengths. Justin Deschenaux, a PhD student at EPFL, along with Lan Tran and Caglar Gulcehre, presented their work on Partition Generative Modeling (PGM), a novel approach designed to bridge this gap. This talk introduces PGMs as an alternative framework that fundamentally rethinks how generative models handle sequence generation, moving beyond the limitations of traditional masking.

Watch on SlidesLive

Visual summary for Partition Generative Modeling: Masked Modeling Without Masks by Justin Deschenaux, Lan Tran, Caglar Gulcehre
Visual summary for Partition Generative Modeling: Masked Modeling Without Masks by Justin Deschenaux, Lan Tran, Caglar Gulcehre

Key moments

  1. 0:00 Introduction: Partition Generative Modeling without Masks
  2. 1:30 PGMs combine strengths of autoregressive and masked models
  3. 2:00 Symmetric design enables dense supervision and training
  4. 3:30 Group Swap Layer for cross-partition information exchange
  5. 4:30 PGM enables efficient inference without mask tokens
  6. 6:00 Text generation: 53x faster than masked generative models
  7. 6:30 Image generation: 75x faster than MaskGIT with better FID
  8. 8:00 Q&A: Robustness to partitioning strategy

Partition Generative Modeling: Masked Modeling Without Masks

Speakers: Justin Deschenaux (PhD student, EPFL); Lan Tran; Caglar Gulcehre

Conference: ICLR 2026

YouTube: https://slideslive.com/39062053

Overview

In the rapidly evolving landscape of generative AI, two dominant paradigms have emerged: autoregressive (AR) models and masked generative models (MGMs). Each offers distinct advantages and disadvantages, creating a perpetual quest for architectures that can synthesize their complementary strengths. Justin Deschenaux, a PhD student at EPFL, along with Lan Tran and Caglar Gulcehre, presented their work on Partition Generative Modeling (PGM), a novel approach designed to bridge this gap. This talk introduces PGMs as an alternative framework that fundamentally rethinks how generative models handle sequence generation, moving beyond the limitations of traditional masking.

The core innovation of PGMs lies in replacing the concept of "masking" with "partitioning," thereby eliminating the need to process costly mask tokens during inference. This seemingly simple change unlocks significant efficiency gains while preserving the desirable attributes of parallel and any-order generation, bidirectional attention across clean tokens, and dense supervision during training. Deschenaux's presentation at ICLR highlighted how PGMs, implemented through their proposed Partition Transformer architecture, achieve drastic speedups in both text and image generation tasks, offering a compelling new direction for developing more efficient and scalable generative AI systems.

Background

▶ Watch: Introduction: Partition Generative Modeling without Masks (0:00)

Generative models are at the forefront of AI innovation, capable of producing diverse and realistic data. The two primary architectures, autoregressive and masked generative models, have shaped much of the field's progress, each with inherent trade-offs.

Autoregressive (AR) models, exemplified by models like GPT-series, generate tokens sequentially, typically from left to right. Their causal architecture is inherently efficient during inference, as they only attend to previously generated tokens. This sequential dependency allows for a dense supervision signal during training, where every position in a sequence receives a training signal from the next-token prediction objective in a single forward pass. However, their sequential nature means that generation is inherently slow, as tokens cannot be produced in parallel or in an arbitrary order. This bottleneck becomes particularly pronounced for long sequences or in latency-sensitive applications.

In contrast, Masked Generative Models (MGMs), such as BERT, MaskGIT, or discrete diffusion models like MDLM, enable parallel and any-order generation. They achieve this through bidirectional attention, allowing each token to attend to all other tokens in the input sequence. While powerful for tasks like denoising or infilling, this flexibility comes at a significant cost during generation. MGMs typically operate by iteratively predicting masked tokens. During this sampling process, they must process numerous mask tokens, which do not carry information themselves but still consume substantial computational resources (FLOPs). Furthermore, MGMs suffer from partial supervision during training; the model can only be trained to predict the tokens at masked positions. Predicting unmasked tokens would be trivial given the bidirectional attention, thus limiting the density of the training signal.

The dilemma facing researchers and practitioners is clear: how can one achieve the parallel, any-order generation and bidirectional attention of MGMs without incurring the computational overhead of mask tokens, while simultaneously benefiting from the efficient inference and dense supervision characteristic of AR models? This fundamental question underpins the motivation for Partition Generative Modeling, seeking a paradigm that harmonizes these conflicting requirements to unlock truly efficient and powerful generative AI.

Key Findings

▶ Watch: Symmetric design enables dense supervision and training (2:00)

Partition Generative Models (PGMs) represent a significant stride towards resolving the inherent trade-offs between autoregressive and masked generative models. The key findings presented by Deschenaux highlight a novel framework that successfully combines their respective strengths, leading to substantial improvements in efficiency without compromising generation quality.

The most critical contribution of PGM is the complete elimination of mask tokens during inference. By replacing the concept of masking with a symmetric partitioning strategy, PGMs remove the computational burden associated with processing non-informative mask tokens, which is a major bottleneck for MGMs. This allows for efficient sampling while retaining the benefits of parallel and any-order generation and bidirectional attention across clean tokens.

A central finding is the development of the Partition Transformer architecture. This encoder-decoder design, with its carefully constrained attention mechanisms, is what enables the PGM paradigm. It ensures that information is exchanged across partitions only when necessary, facilitating efficient inference by allowing entire groups of tokens to be ignored when not relevant to the current generation step.

Empirically, PGMs demonstrate drastic speedups across both text and image generation tasks. For text generation, PGMs were found to be approximately 53 times faster than conventional masked generative models, such as those following the setup of MDLM or Duo. Remarkably, even without employing KV caching—a common optimization for AR models—PGMs at a context length of 1024 were still faster than a GPT-2 small model, showcasing their inherent efficiency. In image generation, the gains were even more pronounced, with PGMs achieving up to 75 times faster sampling than MaskGIT for a small increase in FID (Fréchet Inception Distance). Furthermore, by doubling the sampling steps from 32 to 64, PGMs could still sample around four times faster than MaskGIT while simultaneously achieving better FID scores, demonstrating superior quality-to-speed trade-offs.

Beyond efficiency, PGMs maintain a crucial level of compatibility with existing techniques developed for MGMs. The talk emphasized that PGMs do not introduce an entirely new framework, making them amenable to various established methods. This includes distillation techniques (demonstrated with SDTT, a prior work by the speaker), classifier-free guidance for enhanced generation control, and the use of alternative samplers (e.g., confidence-based or Halton sequences), which are particularly effective for image generation. This compatibility significantly lowers the barrier to adoption for practitioners accustomed to MGM workflows.

Finally, PGMs achieve dense supervision during training, similar to autoregressive models. Because the entire input is clean and the model is trained to reconstruct it under partitioning constraints, a training signal is received at every position in the sequence. This dense supervision is noted to potentially have a small variance reduction effect on the objective, contributing to more stable and effective training.

Technical Deep Dive

▶ Watch: PGM enables efficient inference without mask tokens (4:30)

The technical ingenuity of Partition Generative Modeling lies in its novel architecture and training methodology, which meticulously re-engineers the attention mechanism to achieve efficiency without sacrificing generative power. The core idea is to replace the asymmetric design of masking with a symmetric partitioning strategy, ensuring the input remains "clean" while enabling dense supervision and efficient inference.

At a high level, the PGM framework trains a model to reconstruct its input directly, but with a crucial constraint on the attention matrices. The input sequence is logically divided into two groups (e.g., "blue" and "orange"). The task is then defined symmetrically: tokens in the blue group predict tokens in the orange group, and vice versa. This symmetric design ensures that every position in the sequence contributes to the training loss, leading to dense supervision.

The training objective used is a weighted cross-entropy loss, drawing inspiration from prior work in discrete diffusion models like MDLM. The weight function, omega_T, is designed to be proportional to the size of the "other group"—the number of tokens the model is expected to predict. This mirrors the concept of mask fraction in MGMs but applies it within the partitioning context.

The practical implementation of PGM is realized through the Partition Transformer, an encoder-decoder architecture with specific constraints on its attention layers:

  1. Encoder:
  • The encoder primarily utilizes group-wise self-attention layers. This means that within the encoder, tokens only attend to other tokens belonging to their same logical group. For instance, blue tokens only attend to other blue tokens, and orange tokens only attend to other orange tokens. Crucially, there is no interaction between the groups at this stage. This initial processing allows for parallel computation within each partition, leveraging the benefits of bidirectional attention without inter-group dependencies.
  • To facilitate information exchange between these isolated groups, the encoder incorporates a group swap layer. This is a specialized cross-attention layer designed to prevent information leakage. The layer uses learnable, data-independent queries. The attention matrix within this layer is meticulously crafted such that a token from one group (e.g., a blue token) only attends to tokens from the other group (e.g., orange tokens). Because the queries are data-independent, there is no direct dependency on the blue token's own features when attending to orange tokens, preventing "leakage" of information that would make the prediction task trivial. After passing through the group swap layer, the latent representation of a token effectively depends only on the tokens from the other group. This mechanism is vital for enabling predictions across partitions.
  1. Decoder:
  • The decoder exclusively employs cross-attention layers. In this stage, the keys and values are computed from the output of the encoder (specifically, after the group swap layer), while the queries are derived from the output of the previous decoder layer.
  • A critical design choice in the decoder is the absence of self-attention. This is fundamental for enabling the generation of an arbitrary number of tokens during inference.
  • Importantly, similar to the encoder's initial layers, there is absolutely no interaction between the two groups within the decoder. Blue tokens never attend to orange tokens, and vice versa.

The absence of inter-group attention in both the encoder (after the group swap layer) and the decoder is the cornerstone of efficient inference. Because groups do not attend to each other, during generation, one entire group can be completely ignored. The model only needs to focus on the tokens that have already been generated (the "clean tokens"). This means PGMs can leverage the benefits of bidirectional attention within a group (like MGMs) but without the computational overhead of processing mask positions. For instance, to generate specific tokens, the model uses the learned queries from the group swap layer to query for those positions, attending to the relevant encoder output, all without ever processing a mask token. This architectural design directly translates into the drastic speedups observed in practice.

Experimental Setup & Results

▶ Watch: Text generation: 53x faster than masked generative models (6:00)

To validate the efficacy of Partition Generative Models, experiments were conducted across both text and image generation domains, comparing PGMs against state-of-the-art masked generative models and established autoregressive baselines.

Text Generation

  • Setup: For text generation, the experimental setup closely followed that of recent discrete diffusion models, specifically citing MDLM and Duo. This ensures a fair comparison by operating within a similar framework and training methodology.
  • Metrics: The primary metric for evaluating text quality was Gen-it perplexity, which serves as a proxy for the likelihood of the generated samples. Lower perplexity generally indicates higher quality and coherence.
  • Results:
  • PGMs demonstrated remarkable efficiency, achieving approximately 53 times faster inference compared to masked generative models.
  • A notable finding was that even without the use of KV caching, a common optimization for autoregressive models, PGMs were capable of generating text faster than GPT-2 small at a context length of 1024. This highlights the inherent efficiency gains derived from eliminating mask tokens and enabling parallel generation. The speaker clarified that the goal was to retain bidirectional attention in previously generated tokens, thus not prioritizing KV caching, which would typically be used to speed up sequential processing.

Image Generation

  • Setup: For image generation, the experiments adopted the framework of MaskGIT, training models on a VQGAN quantized version of ImageNet. This provides a challenging and widely recognized benchmark for image synthesis.
  • Metrics: Image quality was primarily assessed using the Fréchet Inception Distance (FID), a standard metric where lower values indicate higher perceptual quality and closer resemblance to real images.
  • Results:
  • The efficiency improvements were even more substantial in the image domain. PGMs achieved at least 75 times faster sampling than MaskGIT. This significant speedup was observed with only a "small increase of FID," indicating that the efficiency gains did not come at a severe cost to image quality. The larger speedup in images is attributed to the common use of classifier-free guidance in image generation, which typically requires two forward passes per sampling step, causing the gains from PGM to compound.
  • Furthermore, when increasing the number of sampling steps from 32 to 64 (which typically improves quality), PGMs were still around four times faster than MaskGIT while simultaneously achieving better FID scores. This demonstrates a superior speed-quality trade-off, allowing for higher-quality generation at significantly reduced computational expense.

Compatibility and Additional Demonstrations

A crucial aspect of the experimental validation was showcasing the compatibility of PGMs with existing techniques developed for MGMs. This ensures that PGMs are not an isolated paradigm but can integrate into existing research and development workflows.

  • Distillation: PGMs were successfully distilled using methods like SDTT (the speaker's prior work from a previous ICLR), indicating that knowledge transfer techniques can be applied to further optimize PGM performance.
  • Guided Generation: The framework supports classifier-free guidance, a popular technique for controlling the attributes of generated samples, especially in image synthesis.
  • Alternative Samplers: PGMs are compatible with various alternative samplers, including confidence-based sampling and those utilizing Halton sequences, which were highlighted as particularly effective for image generation.

These results collectively establish Partition Generative Models as a highly efficient and versatile generative paradigm, offering compelling performance improvements across modalities while maintaining compatibility with established techniques.

Practical Implications

▶ Watch: Q&A: Robustness to partitioning strategy (8:00)

The introduction of Partition Generative Models (PGMs) carries significant practical implications for various stakeholders in the AI/ML ecosystem, from infrastructure teams to model builders and deployers. The core promise of PGMs—combining the best of autoregressive and masked generative models while drastically improving inference efficiency—has the potential to reshape how generative AI is developed and deployed.

For Practitioners and Infrastructure Teams:

The most immediate and impactful implication is the drastic reduction in inference costs and latency. With speedups of up to 53 times for text generation and 75 times for image generation, PGMs can lead to substantial savings in computational resources (e.g., GPU hours). This enables:

  • Faster Applications: Real-time generative AI applications, such as chatbots, content creation tools, or image editors, can become significantly more responsive, improving user experience.
  • Scalability: Deploying generative models at scale becomes more feasible and cost-effective, allowing for broader adoption and larger user bases.
  • Reduced Carbon Footprint: Lower computational demands for inference translate to reduced energy consumption, addressing growing concerns about the environmental impact of large AI models.
  • Improved Development Cycles: Faster iteration times during model development and experimentation, as feedback on generated outputs can be obtained much quicker.

For Model Builders and Researchers:

PGMs offer a powerful new tool in the generative modeling toolkit:

  • A Unified Paradigm: Model builders no longer have to strictly choose between the sequential efficiency of AR models and the parallel generation capabilities of MGMs. PGMs provide a path to combine these strengths without the traditional compromises.
  • Enhanced Efficiency without Compromise: The ability to achieve parallel, any-order generation with bidirectional attention on clean tokens (i.e., no mask tokens) while receiving dense supervision during training is a significant architectural advantage. This means higher quality models can potentially be trained with more stable objectives.
  • Compatibility with Existing Techniques: The compatibility with established MGM techniques like distillation, classifier-free guidance, and alternative samplers is a major boon. It means that researchers can leverage years of development in these areas directly with PGMs, reducing the need to reinvent the wheel and accelerating innovation.
  • New Research Avenues: The PGM framework opens up new research directions, such as exploring optimal partitioning strategies beyond random assignment, or investigating how the group swap layer can be further optimized for different modalities or tasks.

Tradeoffs and Limitations:

While PGMs offer compelling advantages, it's important to consider potential tradeoffs and areas for further exploration:

  • Partitioning Strategy Robustness: The talk acknowledged that the robustness of the model to different partitioning strategies was not extensively explored, with a simple random assignment used to maintain compatibility with MGM masking strategies. For highly structured or long-horizon data, more sophisticated, data-dependent partitioning might yield further benefits or be necessary for optimal performance. This could be an area for future research.
  • Quality vs. Speed Trade-off: While PGMs generally offer superior speed-quality trade-offs, there might still be specific scenarios where the absolute highest quality requires more sampling steps or where the "small increase of FID" (as noted for the 75x speedup in images) is unacceptable. However, the ability to achieve better FID with more steps while still being significantly faster mitigates this concern for many applications.
  • KV Caching: The speaker noted that the goal was to retain bidirectional attention in previously generated tokens, and thus KV caching was not a primary focus. For applications where strict left-to-right generation is acceptable and maximum sequential throughput is critical (e.g., streaming text generation), traditional AR models with KV caching might still hold an edge in that specific inference mode. However, PGM's parallel generation capability offers a different, often more desirable, inference paradigm.

In summary, Partition Generative Modeling presents a powerful new paradigm that significantly improves the efficiency of generative AI, making advanced models more accessible, scalable, and environmentally friendly, while offering model builders a flexible and compatible framework for future innovation.

Key Takeaways

  • Novel Paradigm: Partition Generative Models (PGMs) introduce a new generative modeling paradigm that effectively combines the strengths of autoregressive (AR) and masked generative models (MGMs).
  • Mask-Free Efficiency: PGMs eliminate the need to process mask tokens during inference by replacing masking with symmetric partitioning, leading to substantial speedups (e.g., 53x for text, 75x for images).
  • Partition Transformer Architecture: The core innovation is the Partition Transformer, an encoder-decoder model featuring group-wise self-attention and a specialized cross-attention group swap layer to manage information flow between partitioned token groups without leakage.
  • Enhanced Generative Capabilities: PGMs enable parallel and any-order generation with bidirectional attention across clean tokens, coupled with dense supervision during training, offering a more robust and efficient learning signal.
  • Broad Compatibility: The framework is highly compatible with existing MGM techniques, including distillation (e.g., SDTT), classifier-free guidance, and various alternative samplers (e.g., confidence-based, Halton sequences), facilitating easier adoption and integration into current research.
  • Superior Performance Trade-offs: Empirically, PGMs demonstrate significantly faster inference speed while maintaining or even improving generation quality (e.g., better FID with increased steps at still 4x faster than MaskGIT).

About the Speaker(s)

The talk was presented by Justin Deschenaux, a PhD student at EPFL. His work on Partition Generative Modeling was co-authored by Lan Tran and Caglar Gulcehre. Deschenaux is an active researcher in the field of generative AI, particularly focusing on discrete diffusion models and alternative samplers. During the same conference, he was also scheduled to present other related works, including "Diffusion Duality Chapter 2" (focusing on alternative samplers and uniform stay diffusion), "Loophole in Discrete Diffusion," and "BlockGen" (another work on alternative samplers for discrete diffusion) at the RealmGen workshop, underscoring his expertise and contributions to the advancements in efficient and effective generative modeling.

Reviews

→ Top-rated talks at International Conference on Learning Representations 2026

All talks from International Conference on Learning Representations 2026