Multi-Round Region-Based Optimization for Scene Sketching

Yiqi Liang, Ying Liu, Dandan Long, Ruihui LiarXiv 2024 · DOI

Introduction

Sketching a single object, such as a cat or a chair, is a well-documented challenge in computer vision. However, translating an entire scene—a complex composition involving foreground subjects, background elements, and intricate spatial divisions—into a minimalist sketch is significantly more difficult. Existing automated methods often suffer from two primary flaws: a lack of visual hierarchy, where every part of the image is treated with uniform importance, and a failure to balance semantic abstraction with geometric integrity.

Human artists do not draw an entire scene in a single pass; they typically establish a global layout before focusing on specific regions of interest to add detail. This paper introduces MROSS (Multi-Round Region-based Optimization), a framework designed to replicate this hierarchical, region-aware workflow to produce sketches that are both artistically abstract and structurally recognizable.

The MROSS Framework

MROSS represents sketches as a collection of Bézier curves rather than pixels. These curves provide a smooth, scalable, and mathematically elegant medium for abstraction. The framework's core innovation lies in its multi-round optimization process.

Multi-Round Optimization

Instead of a single-stage generation, MROSS operates in successive rounds. It begins by generating a "global" low-detail sketch of the entire image. In subsequent rounds, the system focuses on user-defined "Interest Regions." New strokes are sampled specifically for these regions and superimposed onto the existing sketch. This coarse-to-fine progression allows the model to maintain a "loose" style for background elements while providing high-fidelity detail for focal points, such as a person's face or a specific object.

Intelligent Stroke Initialization

The quality of an optimization-based sketch is heavily dependent on the initial placement of strokes. MROSS employs two strategies to ensure an effective starting point:

  1. Stroke Allocation: The system uses Canny edge detection to analyze the visual complexity of different regions. Areas with higher complexity are allocated a greater number of strokes, ensuring that detail is distributed where it is most needed.
  2. Farthest Point Sampling (FPS): Rather than random placement, MROSS uses FPS to distribute initial strokes uniformly along the detected edges. This prevents stroke "clumping" and ensures better initial coverage of the scene's geometry, leading to faster convergence.

Dual-Loss Guidance

To guide the optimization of the Bézier curves, MROSS utilizes a dual-loss function that balances "meaning" with "structure":

  • CLIP-based Semantic Loss: Utilizing the CLIP (Contrastive Language-Image Pre-training) model, this loss ensures the sketch maintains the high-level semantic essence of the original photograph.
  • VGG-based Feature Loss: By leveraging intermediate layers of a VGG16 network, this loss ensures the sketch adheres to the structural and geometric layout of the source image.

Experimental Results

Because MROSS is an optimization-based method—optimizing strokes for each input image from scratch—it does not require a traditional training dataset. The researchers evaluated the model across diverse categories, including portraits, landscapes, and indoor environments, comparing it against established baselines such as CLIPasso, CLIPascene, and XoG.

Quantitative and Qualitative Performance

MROSS demonstrated superior performance in maintaining structural fidelity. In low-abstraction tasks, MROSS achieved a Structural Similarity Index (SSIM) of 0.654, outperforming CLIPasso’s 0.613. Qualitatively, MROSS preserves the "identity" of complex scenes more effectively than previous methods, which often struggle to render backgrounds without turning them into unrecognizable scribbles.

User Preference

A user study involving 30 scene images revealed a strong preference for the MROSS approach. Participants preferred MROSS over the leading baseline, CLIPasso, 88.7% of the time for low-abstraction sketches, citing its superior ability to balance detail and artistic style.

Insights and Limitations

The primary insight of this research is the necessity of hierarchy in scene sketching. By allowing for varying stroke densities across different regions, MROSS mimics the "Artist's Priority." Ablation studies confirmed that while CLIP loss captures the "vibe" or lighting of a scene, VGG loss is essential for maintaining the "bones" or structural integrity.

Despite its success, MROSS faces certain limitations:

  • Computational Demand: The optimization process requires approximately 4 minutes on an NVIDIA RTX 3090 for 800 iterations.
  • Stroke Management: Multiple rounds of optimization can occasionally lead to excessive stroke overlap, which may clutter the final output.
  • Manual Intervention: Currently, "Interest Regions" are user-selected. Future iterations of the framework could automate this process using saliency maps or object detection models to create a fully autonomous pipeline.

Conclusion

MROSS represents a significant step forward in automated scene sketching. By moving away from uniform processing and adopting a multi-round, region-based optimization strategy, it successfully bridges the gap between geometric accuracy and artistic abstraction, providing AI with a more sophisticated "artist’s eye."

Summary updated

BibTeX
@misc{liang2024multi,
  author = {Yiqi Liang and Ying Liu and Dandan Long and Ruihui Li},
  title = {{Multi-Round Region-Based Optimization for Scene Sketching}},
  year = {2024},
  eprint = {2410.04072},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2410.04072},
}
Figure