Abstract
In this paper, we democratise caricature generation, empowering individuals to effortlessly craft personalised caricatures with just a photo and a conceptual sketch. Our objective is to strike a delicate balance between abstraction and identity, while preserving the creativity and subjectivity inherent in a sketch. To achieve this, we present Explicit Rank-1 Model Editing alongside single-image personalisation, selectively applying nuanced edits to cross-attention layers for a seamless merge of identity and style. Additionally, we propose Random Mask Reconstruction to enhance robustness, directing the model to focus on distinctive identity and style features. Crucially, our aim is not to replace artists but to eliminate accessibility barriers, allowing enthusiasts to engage in the artistry.
Introduction: The Tension Between Identity and Abstraction
Caricature is a sophisticated art form defined by the tension between two opposing forces: identity and abstraction. A successful caricature must remain recognizable as the subject while simultaneously distorting and exaggerating their features for artistic effect.
Current AI approaches often struggle to maintain this balance. Traditional GAN-based methods are frequently constrained by rigid facial landmarks, which stifles creative freedom. Conversely, modern Diffusion-based personalization techniques, such as DreamBooth or Textual Inversion, often suffer from overfitting. These models become so focused on reproducing the exact pixel details of a reference photo that they ignore the intended "roughness" or "distortion" provided in a user's sketch. Furthermore, attempting to combine a specific identity with a distinct artistic style often results in "concept bleeding," where neither the person nor the style remains clearly identifiable.
Methodology: Surgical Precision in Model Editing
To address these challenges, the researchers from the University of Surrey introduced several key innovations designed to decouple identity from local image details.
Explicit Rank-1 Model Editing (Explicit ROME)
Instead of fine-tuning the entire neural network, DemoCaricature employs a "surgical" approach. The authors apply rank-1 edits specifically to the cross-attention layers of the Stable Diffusion model. By modifying the model only at the specific "index" where the concept (e.g., "a photo of [id*]") appears, the system prevents the new identity from interfering with other parts of the prompt. This method is approximately 30 times more parameter-efficient than previous state-of-the-art methods like Perfusion.
Random Mask Reconstruction (RMR)
To prevent the model from obsessing over local pixel-perfect accuracy—which would hinder its ability to follow a distorted sketch—the authors introduced Random Mask Reconstruction. During training, the model is forced to reconstruct the subject while parts of their face are hidden. This encourages the AI to prioritize global "identity" features and the overall essence of the person rather than memorizing specific skin textures or eye shapes.
Spatial Conditioning and Regularization
The framework utilizes a pre-trained T2I-Adapter to handle the spatial conditioning of the sketch, allowing rough hand-drawn lines to dictate the final shape of the caricature. Additionally, "superclass" word embeddings (e.g., "man" or "woman") are used as anchors to ensure the model does not drift into "out-of-distribution" territory during the rapid fine-tuning process.
Results and Performance
DemoCaricature is optimized for speed and fidelity, making it accessible for consumer-grade hardware.
- Efficiency: The system requires only about one minute for identity fine-tuning and two minutes for style fine-tuning on a single NVIDIA GTX 4090 GPU.
- Quality: In human evaluation studies, DemoCaricature achieved a score of 4.1/5.0, significantly outperforming competitors like Perfusion (2.7) and Textual Inversion (2.9) in terms of overall quality and identity preservation.
- Artistic Flexibility: Unlike GAN-based methods that often produce "uncanny valley" artifacts, DemoCaricature generates painterly, aesthetically pleasing results that faithfully follow even highly abstract "one-stroke" sketches.
Conclusion
DemoCaricature successfully lowers the barrier to entry for caricature creation by balancing identity preservation with extreme artistic exaggeration. While a potential conflict remains when a user's sketch is fundamentally inconsistent with a subject's facial structure, the introduction of a tunable identity scale ($s$) allows users to manage this trade-off. Future work will explore extending this framework to full-body caricatures and further automating the optimization of the identity-abstraction balance.
Summary updated