Symmetry Detection with Patch Embedding Models by Means of a Scalar Product Transform
Authors: Christoph Dalitz, Jan Beeker
Organizations: Institute for Pattern Recognition, Niederrhein University of Applied Sciences, Reinarzstr. 49, Krefeld, Germany · adesso SE, Adessoplatz 1, 44269 Dortmund
We present a transformation of vector embeddings representing image patches into scores for point reflection symmetry at the crossing points of patches. The transformation is heavily inspired by the Gradient Product Transform, but it uses the vector embeddings instead of the grayscale gradients. We therefore call it the "Scalar Product Transform" (SPT). Unlike deep learning models for symmetry detection, the method does not require a specific training step tailored for symmetry detection, but it works with arbitrary pre-trained patch embedding models. We have tested the method with DINOv3 and Franca. In our tests, the method outperformed the Gradient Product Transform and was even better than EquiSym, a convolutional neural network specifically designed and trained for symmetry detection. Although the runtime of the SPT is greater than that of EquiSym, the SPT has the advantage that it directly yields a bounding box for the symmetric region.
Figures & tables
Figure 1: A symmetric object with reflection symmetries along the blue axes, a C6 rotation symmetry which also implies a point reflection symmetry, and several translation symmetries of subregions, some of which are indicated with red arrows.
Figure 2: The Scalar Product Transform (SPT) sums the scalar products of a vector embedding A with an embedding B belonging to an opposite patch that has been rotated by π .
Figure 3: Example of the effect of the post-processing with Algorithm 1 on the SPT applied to DINOv3 ViT-S. The symmetry scores have been computed with α=0.5 , a sub-patch resolution of 4 pixels, and the restriction rx=ry . For visualization purposes, the image was converted to grayscale and the scores have been overlaid as as a transparent heatmap.
Figure 4: Effect of varying the normalization scaling power α for DINOv3 ViT-S. The bounding box shows the detected region with the highest symmetry score.
Table 2: Effect of varying the normalization scaling power α on recognition rate and area precision for the various models. The highest values per model and aspect ratio restriction are highlighted in bold.
model
p
#params
n
DINOv3 ViT-S
16
21M
384
DINOv3 ViT-H+
16
840M
1280
Franca ViT-L
14
300M
1024
Table 1: Patch size p , total number of parameters, and feature dimension n of the evaluated patch embedding models.
Figure 5: With the restriction rx=ry , the highest symmetry score might be assigned to a smaller different region with a more obvious symmetry.
SPT with
SPT with
GPT
GPT
Loy &
image
count
Franca-L
DINOv3-S
EquiSym
square
rectangle
Eklundh
detail
83
0.81
0.67
0.51
0.60
0.58
0.37
context
76
0.71
0.57
0.76
0.30
0.32
0.37
front
43
0.79
0.65
0.74
0.63
0.53
0.70
light skew
57
0.79
0.68
0.61
0.51
0.53
0.39
strong skew
59
0.71
0.54
0.56
0.29
0.32
0.12
Table 4: Recognition rate comparison for different symmetry detection algorithms, grouped by two different image types. The last three columns have been taken from Dalitz et al. (2015) .
Franca
DINOv3
DINOv3
image
count
ViT-L
ViT-H+
ViT-S
detail
83
0.81
0.83
0.67
context
76
0.71
0.61
0.57
total
159
0.76
0.72
0.62
Table 3: Recognition rates of the SPT on different patch embedding models with α=0.5 and square symmetry regions, grouped by image type.
Figure 6: Examples for the highest symmetry regions returned by the SPT with DINOv3 ViT-S.
Figure 7: Example where EquiSym and the SPT assign the highest symmetry scores to very different positions.
Franca
DINOv3
DINOv3
ViT-L
ViT-H+
ViT-S
EquiSym
time
11.2s
13.5s
1.6s
0.3s
Table 5: Average runtime per image of the different algorithms on an NVIDIA GeForce RTX 3060. The SPT was done with α=0.5 and the restriction to square regions.
Reflection symmetry detection remains challenging due to interference from asymmetric regions and arbitrary orientations of symmetric patterns. Asymmetric regions introduce background clutter that disrupts symmetric pattern matching, whereas conventional convolutional neural networks lack rotation equivariance, leading to inconsistent feature representations under rotational transformations. To address these issues, we propose an Asymmetric Region Denoising (ARD) module and a Rotation Equivariant Feature Similarity Matching (REFSM) module. The ARD module suppresses asymmetric interference to refine symmetric patterns, while the REFSM module enhances rotation equivariance through feature similarity matching between original and rotated images. Specifically, our dual-input REFSM framework leverages rotation loss to maximize consistency between the score maps of original and rotated images, thereby enabling precise prediction of rotation-equivariant symmetry axes. Furthermore, we introduce GMSYM, a new benchmark dataset that categorizes images into diverse scenarios and incorporates various interferences to address the limitations of existing reflection symmetry detection benchmarks. Extensive experiments on four standard datasets (DENDI, NYU, LDRS, SDRW) and our proposed GMSYM dataset demonstrate that our method achieves state-of-the-art performance in both accuracy and robustness.
Dongfu Yin, Rourou Su, Cong Zhao +1
Guangdong Laboratory of Artificial Intelligence and Digital Economy(SZ), Shenzhen, China · College of Computer Science and Software Engineering, Shenzhen University, China · Department of Biomedical Engineering, Southern University of Science and Technology, China +1
Quantifying how mirror-symmetric an image is about a given axis (symmetry scoring) underpins applications from visual aesthetics to medical imaging, yet proposed scoring methods have never been compared on a common, statistically grounded protocol. We benchmark 13 scoring methods (nine collected from literature, four introduced here) spanning from classical features to frozen deep features, across four single-axis and five multi-axis datasets under a reflection-exact protocol with a chance-anchored, significance-tested discrimination skill. Deep backbones perform best on single-axis and harder multi-axis protocols. However, a classical histogram-of-oriented-gradients (HOG) descriptor trails the best frozen-network readout by a small (but significant) margin, is not statistically separable from the runner-up (a CNN-filter measure), and runs ~300x faster on CPU. Our results show that discrimination concentrates in mid-scale oriented features, where deep backbones peak at a low or mid stage, and HOG peaks at a mid cell size. Among existing methods, frozen deep features thus offer little over a tuned classical descriptor for measuring symmetry; whether task-trained deep scorers can do better remains open. We release the scorers and harness in imgsym, an open toolkit for image symmetry detection and measurement.
Maximilian Woehrer
Research Group Software Architecture, Faculty of Computer Science, University of Vienna, Vienna, Austria
Detecting partial extrinsic symmetry in 3D geometry is a fundamental yet persistent challenge in computer vision and graphics, critical for tasks ranging from shape completion to procedural generation. Classical transformation-space voting methods rely on pairwise matching, scaling as O(n^2) and struggling to resolve coherent multi-instance groups. Recent learning approaches advance global symmetry detection but restrict the solution space to reflection planes, failing to capture rotational or translational repetitions such as the legs of a chair or the steps of a staircase. We propose SymCL, a self-supervised contrastive learning framework that detects partial symmetries across rotation, translation, and reflection (with scale-invariant features) and requires no ground truth annotations. By mapping local geodesic patches to a latent space invariant to the Euclidean group, we reformulate symmetry detection as a density-based clustering problem, enabling the simultaneous discovery of multi-instance symmetric relationships in a single forward pass. We evaluate quantitatively on SymPartNet, a new benchmark annotating all PartNet categories with partial symmetry relations, and demonstrate class-agnostic generalization qualitatively on everyday objects outside the training distribution.
Gregor Kobsik, Isaak Lim, Leif Kobbelt
Visual Computing Institute, RWTH Aachen University, Germany