When you look at a photo of a person standing in front of a brick wall with their hand obscured, your brain doesn't just calculate one "correct" position for that hand. You intuitively understand that the hand could be open, closed, or holding an object. However, for years, computer vision models treated image inpainting—the task of filling in missing pixels—as a deterministic math problem with a single right answer.
This traditional approach leads to a fundamental problem: when a model is forced to pick one "average" result from many possibilities, it often produces blurry, unrealistic artifacts. Recent research has shifted toward pluralistic image completion, a paradigm that embraces the inherent ambiguity of the visual world by generating multiple, diverse, and semantically valid reconstructions for a single missing region.
The Failure of the Single Best Guess
In deterministic inpainting, models are often trained to minimize the distance between their output and a single ground-truth image. As Emilien Dupont and Suhas Suresha point out in Probabilistic Semantic Inpainting with Pixel Constrained CNNs, this "one-size-fits-all" approach fails to capture the multi-modal nature of real scenes. If a missing area could be either a window or a door, a deterministic model might average the two, resulting in a ghostly, nonsensical texture.
To solve this, researchers like Tat-Jen Cham developed frameworks like PICNet, which use a dual-pipeline architecture to couple reconstructive paths with generative ones. This allows the model to sample from a distribution of possibilities rather than converging on a single point.
Disentangling Structure and Texture
A key intuition in modern pluralistic inpainting is that "imagining" a scene requires two different skills: understanding the global layout (structure) and filling in the details (texture).
Ziyu Wan and colleagues demonstrated in High-Fidelity Pluralistic Image Completion with Transformers that Transformers are excellent at "structural imagination"—reasoning about how lines and shapes should connect across large gaps. Once the Transformer establishes a structural skeleton, a CNN can take over to refine the local textures.
This disentanglement is also vital in specialized domains like fashion. In FiNet, Xintong Han and Zuxuan Wu separate garment shape from appearance. This allows a user to generate multiple compatible outfit options—like different skirt styles or colors—that all fit the same person's pose and context.
Navigating the Latent Space of Possibilities
How does a model actually "choose" a variation to show the user? Many modern methods treat inpainting as a search through a pre-trained "latent space"—a mathematical map of all possible images the model has seen.
In InOut: Diverse Image Outpainting via GAN Inversion, Yen-Chi Cheng and Hsin-Ying Lee show that by inverting an image back into the latent space of a Generative Adversarial Network (GAN), we can find multiple "paths" to extend the image. This allows for diverse outpainting where a user can specify whether they want the scene to expand into a mountain range or a city skyline.
Similarly, PD-GAN by Hongyu Liu and Ziyu Wan uses a diversity loss to ensure that the model doesn't just produce slight variations of the same image, but explores the full breadth of plausible completions.
Learning from the Scene Itself
While most models learn from millions of external images, a fascinating sub-field focuses on internal learning. In Internal Diverse Image Completion, Noa Alkobi and Tomer Michaeli argue that for unique domains—like satellite imagery or rare medical scans—external datasets are actually a hindrance.
Instead, their method, IDC, learns the statistics of the single image being edited. By injecting noise at different scales of this internal model, they can generate diverse textures (like different patterns of clouds or foliage) that are perfectly consistent with the rest of that specific photo, without ever having seen another image.
From Restoration to Imagination
The shift toward pluralistic completion represents a move from viewing AI as a "repair tool" to viewing it as a "creative collaborator." By acknowledging that there is rarely one right answer in visual reconstruction, these models—ranging from PICME's use of Gaussian Mixture Models to Infusion's diffusion-based video inpainting—provide a more honest and flexible representation of the world's natural uncertainty.