arXiv:2609.04202cs.CVSep 2026

Manuscript Offprint

arXiv:2609.04202

TokenMatch: 3D Mesh Correspondence Transformer with Curvature-Guided Tokenisation

Adeela Islam, Zorah Lähner, Vittorio Murino, Vladislav Golyanik

Abstract

While data-driven 3D shape correspondence estimation has recently seen substantial progress, robust matching under partial observations and strong non-isometric deformations remains challenging. Existing learning-based approaches often rely on hand-crafted descriptors or template-based representations, whereas recent generative models over functional maps suffer from high inference cost, limited interpretability, and poor generalisation to partial shapes. In response to these limitations, this paper introduces TokenMatch, a new transformer-based unified model for estimating 3D shape correspondences. Our feed-forward approach trained exclusively on BeCoS, a challenging non-isometric partial-to-partial shape-matching dataset, can generalise to matching full shapes without retraining or fine-tuning. TokenMatch uses self- and cross-attention mechanisms to efficiently learn patch-level and point-level relations as well as dense correspondences between shape pairs. Our core insight is that meshes can be adaptively tokenised into patches using shape curvature guidance, enabling effective learning of shape-specific geometric descriptors for correspondence estimation. We evaluate TokenMatch on standard benchmarks for partial and full shape matching, including CP2P, PSMAL, BeCoS, FAUST, SCAPE, and SHREC'19. Our method achieves consistently high performance, in most cases outperforming existing methods for partial and full shape matching in the mean geodesic error and intersection-over-union metrics, while also running faster at sub-second inference speeds.

1 Introduction

Establishing accurate correspondences between 3D shapes is a fundamental and open problem in geometry processing [11, 14, 27, 42, 47, 6, 64], with applications including texture transfer [18, 61], segmentation [58], deformation transfer [63], and statistical shape modelling [1, 32]. Given two shapes, the goal of shape correspondence estimation is to identify semantically consistent pointwise correspondences despite variability in pose, sampling, noise, and, critically, degree of partiality [74]. Among existing approaches, the functional map framework [47, 71] has emerged as a powerful paradigm, representing correspondences as compact linear operators in the Laplace–Beltrami spectral domain. Despite substantial progress in full-to-full shape matching [75, 27, 29], partial-shape matching remains a major open challenge: shapes may only partially overlap, increasing the solution space, making the problem particularly ill-posed, and often also requiring identification of the shared region. In addition, existing learning-based approaches often rely on assumptions of complete shapes

*work done during internship at the 4DQV research group, Max Planck Institute for Informatics †corresponding author's email: golyanik@mpi-inf.mpg.de

Preprint.

Figure

Figure 1: Overview of TokenMatch, our unified model for 3D mesh correspondence estimation. Given a pair of input meshes (bottom-left), we extract geometry-aware tokens (top-left; Sec. 4.1) and process them with a transformer encoder to obtain shape features (top-right; Secs. 4.2 and 4.4). Cross-attention enables efficient learning of inter-shape interactions, and the resulting representations are used to estimate functional maps. An additional overlap prediction module identifies shared regions between shapes (Sec. 4.4). Our method is first pre-trained in a self-supervised manner using a masked reconstruction objective and then trained on annotated partial-shape matching data using PointInfoNCE loss (Sec. 4.3) and functional map supervision (Sec. 4.5).

or near-isometric deformations [3, 26, 72, 50], and are typically trained on small-scale and single-category datasets. As a result, they can encode dataset-specific biases that limit robustness to unseen deformations and artefacts and generalisation across partial and full shape matching settings [25].

We address several open challenges in the field by introducing a new unified model that serves as a foundation for shape correspondence estimation across different settings; see Fig. 1. Our method, which we call TokenMatch, is based on a transformer encoder. Transformers have recently emerged as a dominant paradigm for representation learning due to their ability to model long-range dependencies and flexible interactions between input elements [69, 21, 73]. We argue that their ability to model relationships between variable-sized sets of elements makes them particularly well-suited for partial-shape matching, where the number and arrangement of input regions are not known in advance. At the same time, while significant progress has been made in adapting transformers to 3D data, applying them to shape correspondence estimation is non-trivial due to the irregular structure of meshes and the absence of a natural and universal tokenisation.

Hence, the core ingredient of our mesh transformer for 3D shape correspondence is a new curvature-guided tokenisation scheme. Our idea is to represent shapes as collections of geometry-aware surface patches, which serve as transformer tokens. The construction of these patches is guided using local curvature and spectral shape cues, capturing both local geometric detail and intrinsic shape structure. Within our formulation, self-attention models intra-shape geometric relationships and interactions, while cross-attention explicitly captures dense correspondence between shapes. As a result, the designed mesh transformer architecture jointly reasons about geometry and correspondence through attention mechanisms. We choose functional maps [47], i.e., spectral representation for encoding and recovering pointwise correspondences from learned features.

Importantly, TokenMatch is template-free and does not rely on category-specific assumptions, making it applicable across diverse shape categories. Since our method accepts a varying number of tokens per shape, it generalises naturally to full shapes, while not necessarily requiring training or fine-tuning on them (though it can be done to improve performance). We train TokenMatch on the newly introduced large-scale, curated BeCoS dataset with multiple shape categories [23], which we consider a key factor behind its performance, alongside curvature-guided tokenisation. Notably, BeCoS provides diverse full and partial shape categories (humanoids and animals) with challenging, highly non-isometric deformations at realistic scales, encouraging robustness to deformation patterns that go beyond standard nearly isometric settings. It enables method training, evaluation and—as we demonstrate experimentally in Sec. 5—cross-category zero-shot generalisation of TokenMatch across more than 2500 unique shapes. Last but not least, TokenMatch is a feed-forward approach that achieves sub-second inference time, which is unprecedented in partial-shape matching, especially for combinatorial techniques and when no additional assumptions (e.g., on mesh discretisation) are made. To summarise, the main technical contributions of this paper are as follows:

  • TokenMatch, the first mesh-transformer-based unified model for 3D shape correspondence estimation, combining functional maps with self- and cross-attention mechanisms to model geometric relationships and dense correspondences between shape pairs (Sec. 4). Our template-free formulation does not rely on shared templates or category-specific assumptions, enabling broader applicability across shape domains.

  • A curvature-guided, geometry-aware, overlapping mesh tokenisation that enables transformer-based processing of irregularly sampled shapes, i.e., meshes with spatially varying sampling density (Sec. 4.1).

To further improve robustness and generalisation of TokenMatch, we employ a masked auto-encoder pre-training strategy, encouraging the model to learn geometry-aware features that are resilient to noise, partiality, and varying sampling densities (Sec. 4.2). To enable correspondence-aware reasoning, we employ cross-attention between features of shape pairs (Sec. 4.3), and we also predict overlaps between the shapes (Sec. 4.4). In the general case, our TokenMatch approach outputs partial functional maps (Secs. 4.5 and 4.6). We plan to release the source code and trained models for research purposes to facilitate reproducibility.

References (67)