Abstract
Humans can effortlessly draw new categories from a single exemplar, a feat that has long posed a challenge for generative models. However, this gap has started to close with recent advances in diffusion models. This one-shot drawing task requires powerful inductive biases that have not been systematically investigated. Here, we study how different inductive biases shape the latent space of Latent Diffusion Models (LDMs). Along with standard LDM regularizers (KL and vector quantization), we explore supervised regularizations (including classification and prototype-based representation) and contrastive inductive biases (using SimCLR and redundancy reduction objectives). We demonstrate that LDMs with redundancy reduction and prototype-based regularizations produce near-human-like drawings (regarding both samples' recognizability and originality) -- better mimicking human perception (as evaluated psychophysically). Overall, our results suggest that the gap between humans and machines in one-shot drawings is almost closed.
Introduction
One-shot drawing—the ability to generate novel, recognizable variations of a category from a single example—is a fundamental human skill. For generative AI, this task is notoriously difficult because it is ill-defined; there are infinite ways to vary a single exemplar. While Latent Diffusion Models (LDMs) have improved generative quality, a significant gap remains between machine-generated sketches and human ones. This paper investigates whether specific inductive biases in the model's latent space can bridge this gap.
Methods
The study utilizes an LDM framework consisting of two primary components: a Regularized AutoEncoder (RAE) that compresses images into a lower-dimensional latent space, and a Diffusion Model that learns to generate new samples within that space.
The core research focuses on six regularization objectives for the RAE's latent space:
- Standard: KL-divergence and Vector Quantization (VQ).
- Supervised: Classification and Prototype-based losses (clustering variations around a central category prototype).
- Contrastive: SimCLR (maximizing similarity between views) and Barlow Twins (reducing redundancy by decorrelating features).
Performance was evaluated on the Omniglot and QuickDraw-FS datasets using a framework measuring "Originality vs. Recognizability."
Results
The choice of regularizer proved critical. Standard regularizers like KL and VQ, common in models like Stable Diffusion, were among the least effective for one-shot drawing. In contrast, Prototype-based and Barlow Twins objectives significantly outperformed others, closely approaching human performance levels.
Key insights include:
- Prototypes and Redundancy: The success of Prototype-based and Barlow Twins objectives aligns with neuroscience theories regarding how the human brain encodes object information efficiently.
- Perceptual Alignment: Explainability analysis showed that these high-performing models focus on sparse, diagnostic features of sketches, similar to human perceptual strategies.
- Synergy: Combining Prototype-based learning with Barlow Twins or KL further enhanced the "human-likeness" of the generated output.
Conclusion
The findings suggest that achieving human-like creativity in AI depends less on model scale and more on the structural organization of internal representations. By adopting biologically-inspired inductive biases, LDMs can now produce one-shot drawings that are nearly indistinguishable from human work in terms of recognizability and originality.
Summary updated