Introduction
Creating 3D content remains a significant hurdle for non-experts. While Virtual Reality (VR) sketching provides an intuitive interface for users to "draw" their ideas in 3D space, the resulting sketches are often messy, abstract, and geometrically distorted. Retrieving a clean 3D model from a digital gallery that matches such a sketch requires a system that understands not just point-to-point proximity, but the underlying structure of the object. This paper presents a structure-aware retrieval framework that leverages an adaptive margin triplet loss driven by a "fitting gap" metric.
The Challenge of Fixed-Margin Retrieval
Traditional 3D shape retrieval systems typically employ a Siamese network architecture trained with a triplet loss. In this setup, the model learns to minimize the distance between a query (the sketch) and a positive match (the ground truth) while maximizing the distance to a negative match (a different shape). Most existing methods use a fixed margin—a constant value that dictates how much further away the negative must be compared to the positive.
However, a fixed margin treats all negative samples equally. In reality, some "negative" shapes are structurally similar to the target (e.g., two different styles of four-legged chairs), while others are entirely distinct (e.g., a chair vs. a lamp). By ignoring these structural nuances, fixed-margin models often struggle to produce top-ranked results that are visually or functionally consistent with the user's intent, even if the exact ground truth is ranked highly.
Methodology: The Fitting Gap and Adaptive Margins
The authors propose a retrieval pipeline using PointNet++ as a backbone to encode both 3D sketches and 3D shapes into a shared feature space. The core innovation is the introduction of an Adaptive Margin Triplet Loss.
The Fitting Gap
To quantify structural similarity, the researchers introduce the "fitting gap." This metric measures the distance between two shapes after one has been computationally deformed to match the other. By using a pre-trained neural deformation operator, the system determines how much "effort" or geometric warping is required to align a gallery shape with the target. If a shape can be easily warped into the target, it is considered structurally similar.
Adaptive Margin
Instead of a universal constant, the triplet loss margin is calculated dynamically for every pair of shapes in a training batch.
- Small Fitting Gap: If a negative shape is structurally similar to the target, the margin is reduced, allowing the model to learn fine-grained distinctions.
- Large Fitting Gap: If the negative shape is structurally dissimilar, the margin is increased, forcing the model to push the unrelated shape further away in the feature space.
The authors found that asymmetric deformation—warping the gallery shape toward the target—offered the best balance of computational efficiency and alignment with human perception.
Datasets and Evaluation
The model was evaluated using the FVRS (Freehand VR Sketches) dataset, which contains approximately 1,500 sketch-shape pairs. To test the system's robustness in more realistic scenarios, the authors introduced FVRS-M, a new dataset consisting of 202 sketches drawn entirely from memory. Memory-based sketches are significantly more distorted than those drawn with a reference, representing a more difficult "brain-to-VR" workflow. The 3D gallery was sourced from ShapeNet, focusing on categories such as chairs, lamps, and airplanes.
Results and Key Insights
The structure-aware approach demonstrated superior performance across multiple metrics:
- Improved Accuracy: On the standard FVRS dataset, the adaptive margin method achieved a Top-1 retrieval accuracy of 27.23%, surpassing the previous state-of-the-art (24.95%).
- Structural Relevance: Even when the exact ground truth was not the top result, the top-10 retrieved shapes were significantly more structurally similar to the query. Quantitative analysis using the Average Fitting Gap showed that the proposed method consistently outperformed fixed-margin models.
- Human Intuition: A user study revealed that 72% of participants preferred the "fitting gap" over the standard Chamfer distance as a measure of similarity, confirming that the deformation-based approach better captures human perception of object topology.
Conclusion and Future Work
By replacing rigid margins with a structure-aware adaptive loss, this research bridges the gap between messy VR sketches and clean 3D models. The "fitting gap" serves as a powerful proxy for structural similarity, ensuring that retrieval results respect the topology of the user's intent.
While the system currently depends on the quality of the underlying deformation operator and introduces some computational overhead during training, it opens new doors for intuitive 3D modeling. Future directions include incorporating the "energy" or physical effort required for deformation into the loss function, potentially penalizing shapes that require unnatural stretching to match a query.
Summary updated