Introduction
While deep learning has mastered the recognition of hand-drawn sketches, determining the quality of these drawings remains a significant challenge. Crowdsourced datasets like Google's QuickDraw contain millions of sketches, but they vary wildly in terms of aesthetic appeal, completeness, and recognizability. Historically, quantifying this quality required expensive human annotation or subjective heuristics.
The core issue lies in the standard classification approach. Traditional Softmax-based models tend to collapse features toward a class center, effectively discarding the geometric nuances that distinguish a detailed drawing from a hasty scribble. This paper addresses this by proposing that quality can be learned as a dual task alongside recognition, without any explicit quality labels.
Methodology: The Geometry-Aware Classification Layer (GACL)
The authors introduce the Geometry-Aware Classification Layer (GACL), which leverages the geometric properties of the feature space to encode quality. The key insight is that feature magnitude ($L_2$ norm)—the "length" of the vector representing a sketch—can serve as a quantitative metric for quality ($q$-score).
In a GACL-trained model, the feature space is structured such that:
- Angle determines the category (recognition).
- Magnitude represents quality.
Unlike standard Softmax, GACL employs an instance-adaptive margin. This encourages high-quality, "easy to recognize" sketches to have larger magnitudes, pushing them further from the decision boundaries and closer to the class centers. The authors explored several mathematical implementations, finding that a Cosine-based approach ("Ours-Cos") provided the most robust results.
Experimental Results
The researchers evaluated GACL using the QuickDraw dataset, training on 345 categories and testing on over 860,000 samples.
Human Alignment
To validate the $q$-score, a human study involving 40 participants was conducted. The GACL metric matched human quality rankings 92.61% of the time across eight diverse categories (e.g., Rabbit, Pig, Umbrella). This confirms that the model's mathematical definition of quality aligns closely with human visual perception.
Performance Improvements
By incorporating quality awareness, the model's primary task—recognition—also improved. The "Ours-Cos" model achieved 82.52% top-1 accuracy on QuickDraw, outperforming established baselines like BiLSTM and SketchAA. Furthermore, the metric proved useful for:
- Sketch Generation: Iteratively updating a sketch's latent code to increase its $q$-score allows for "beautifying" crude doodles.
- Malicious Input Detection: The system can effectively distinguish between legitimate but low-quality sketches and random, non-representative scribbles.
Conclusion and Future Work
GACL demonstrates that sketch quality is not just a subjective aesthetic judgment but a measurable geometric property within a learned feature space. By treating quality and recognition as dual tasks, the model gains a deeper understanding of the data without the need for manual labels.
Future research may extend this framework to raster images and 3D data. Additionally, addressing the trade-off between maintaining a sketch's unique identity and improving its prototypical quality remains an open challenge for generative applications.
Summary updated