Abstract
Face sketch synthesis is a critical task in law enforcement and digital entertainment, traditionally hampered by slow, exhaustive search processes. This paper presents the Random Sampling and Locality Constraint for Face Sketch Synthesis (RSLCR) framework, which significantly accelerates the synthesis process by shifting computational burdens to an offline phase. By utilizing random sampling and a locality constraint, the method achieves state-of-the-art quality and recognition accuracy in under two seconds, representing a massive speedup over traditional exemplar-based methods.
Introduction
Face sketch synthesis is vital for identifying suspects from artist drawings and for various digital entertainment applications. Most modern approaches are "exemplar-based": they decompose an input photo into small patches and search a database of photo-sketch pairs to find the "best matches" (K-Nearest Neighbors or K-NN) to reconstruct the final sketch.
The primary bottleneck in these systems is the online search. For every patch in a new photo, the system must traverse the entire training database to find neighbors. As databases grow, the synthesis time balloons, making these systems difficult to scale. Furthermore, traditional methods often treat all selected neighbors as equally important, failing to account for varying degrees of similarity to the input.
Methodology
The proposed Random Sampling and Locality Constraint for Face Sketch Synthesis (RSLCR) framework addresses these limitations by moving the heavy lifting from the "online" synthesis phase to an "offline" preparation phase.
Offline Random Sampling
Instead of searching for perfect neighbors when a test photo arrives, the system randomly selects a fixed number of candidate patches from a defined "search region" in the training set beforehand. This makes the computation time independent of the total database size, ensuring constant-time scalability.
Locality Constraint (LC)
Since the samples are random, many will not resemble the input. To address this, the authors apply a mathematical locality constraint during weight calculation. This constraint "excites" (assigns more weight to) patches similar to the input and "restrains" (ignores) those that are distant in the feature space.
Fast-RSLCR and Dimensionality Reduction
To further enhance speed, a "Fast" version of the framework narrows the initial random pool to the top $K$ most similar patches before final reconstruction. Additionally, Principal Component Analysis (PCA) is employed to compress patch data, accelerating the process without significant loss of detail.
Experimental Results
The researchers evaluated RSLCR on two major benchmarks: the CUHK Face Sketch Database (CUFS) (606 faces) and the CUHK Face Sketch FERET Database (CUFSF) (1,194 persons with significant lighting and artistic variations).
Performance and Quality
- Speed: On the CUFSF database, Fast-RSLCR synthesized a sketch in just 1.44 seconds. In contrast, the traditional Locally Linear Embedding (LLE) method required over 1,591 seconds (approximately 26 minutes).
- Image Quality: RSLCR achieved the highest SSIM (Structural Similarity Index) scores across both databases, outperforming complex deep learning models like FCNs and GANs available at the time.
- Recognition Accuracy: Sketches generated by RSLCR led to higher face recognition accuracy (up to 98.38% on CUFS), proving that the synthesized sketches retain essential identity features.
Discussion and Conclusion
The RSLCR framework demonstrates that finding the absolute best neighbors in a massive database is unnecessary. A sufficiently large random sample, filtered by a locality constraint, provides enough geometric information for high-quality reconstruction. By sampling from a "search region," the method is also robust against small errors in face alignment or cropping.
While the method currently relies on geometric alignment based on three points (eyes and mouth), future work could incorporate more robust features learned via deep learning to improve resilience to extreme lighting or expression changes. The framework also shows promise for extension to other image-to-image tasks, such as face hallucination.
Summary updated