Manuscript Offprint

arXiv:2609.06218

Branch-Centric Tokenization and Test-Time Augmentation for Skeleton Generation

Zhengyuan Li, Chuanyu Pan, Yuanming Hu, Raymond Yeh

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

ABSTRACT

Automatic skeleton generation involves predicting both joint positions and skeletal connectivity. However, existing approaches struggle to encode branch structures into token sequences and do not use test-time computation effectively. We study these choices within a unified autoregressive framework. First, we introduce branch-centric tokenization, a branch-aware representation that places structurally related elements next to each other and encodes connectivity directly in the sequence. Compared with standard BFS-style serialization, this representation yields more compact sequences. Second, we introduce view-augmented generation, a test-time augmentation procedure that applies axis-aligned rotations to the input mesh, maps all predictions back to a common frame, and selects the final skeleton based on mesh coverage and consistency among predictions from different views. Experiments show that our method achieves better skeleton prediction accuracy than state-of-the-art methods. In particular, our method reduces the CD-J2B error by 16.9% on the Articulation-XL2.0 dataset compared to the strongest directly comparable baseline, Auto-Connect. Qualitative results on in-the-wild meshes further demonstrate generalization across diverse inputs.

1 Introduction

Creating the skeleton of a given static mesh is a crucial step for character animation. Traditionally, this process is done manually by skilled rigging artists with domain knowledge of human and animal anatomy. With the advancement in deep learning (Vaswani et al., 2017; Brown et al., 2020) and the availability of large rigged-mesh datasets (Xu et al., 2019; Song et al., 2025a; Xu et al., 2020; Deng et al., 2025), automatic skeleton generation (Guo et al., 2025a; Zhang et al., 2025; Song et al., 2025a,b; Liu et al., 2025; Zhang et al., 2026; Deng et al., 2025) has substantially improved. Recent state-of-the-art (SOTA) skeleton generation methods (Zhang et al., 2025; Song et al., 2025a; Guo et al., 2025a) are inspired by language models (Touvron et al., 2023; Brown et al., 2020). The main idea is to represent a skeleton as a sequence of tokens and autoregressively decode the token sequence with Transformers (Zhang et al., 2022) given an encoded feature vector of the input mesh (Zhao et al., 2023; Yu et al., 2022). Despite this progress, some design choices could still be improved.

First, the quality of these autoregressive models heavily depends on how the skeleton is tokenized. Auto-Connect (Guo et al., 2025a) introduced a unified vocabulary that encodes both joint positions and connectivity. This enables standard autoregressive generation without a separate connectivity module. However, a standard breadth-first search (BFS) traversal is used to generate the sequence from the skeleton, which treats all nodes identically. In other words, the tokenization does not explicitly capture the different structural roles of nodes in the skeleton. Second, existing works (Zhang et al., 2025, 2026) use generic test-time scaling methods to improve performance at the cost of computation, e.g., increasing the beam width during decoding. In this work, we address these two shortcomings.

Intuitively, a good tokenization should compactly represent both joint positions and connectivity by keeping structurally related joints close together in the token sequence. Classical work on skeleton representation distinguishes junction nodes (degree > 2), leaf nodes (degree = 1), and degree-2 connection nodes that form branches between them (Cornea et al., 2024; Felzenszwalb & Huttenlocher, 2005; Torsello & Hancock, 2006; Siddiqi et al., 1999; Bai et al., 2009; Bai & Latecki, 2008). Inspired by these works, we propose branch-centric tokenization, where the serialization first visits the junction and leaf nodes to identify the branch structure. Then, the connection nodes are placed back between the nodes representing the two ends of a branch. In other words, tokens from the same branch are placed adjacent in the sequence.

Next, we introduce a test-time augmentation (TTA) approach to improve test-time performance that is complementary to the existing generic test-time scaling. The proposed TTA approach is based on the observation that meshes in existing datasets, e.g., Articulation-XL2.0 (Song et al., 2025a), do not have a consistent upright direction/axis (Zhao et al., 2026). Commonly, 3D assets from different sources may appear in different axis-aligned orientations. To address this orientation issue, we perform view augmentation on the mesh to generate one skeleton for each rotated view. We then introduce a coverage-consensus aggregation to select the final generation based on the coverage of the mesh geometry and agreement among the other predictions.

Empirically, we train a standard autoregressive next-token prediction model (Zhang et al., 2022) for skeleton generation and incorporate these two improvements; other design choices are kept the same as the baseline SOTA of Auto-Connect. Across Articulation-XL2.0, ModelsResource, and the more challenging diverse-pose split, our model achieves the best results on all reported metrics. Specifically, relative to Auto-Connect on Articulation-XL2.0, our model reduces CD-J2J, CD-J2B, and CD-B2B by 8.1%, 16.9%, and 14.0%, respectively. Our contributions are as follows:

  • We propose branch-centric tokenization, a branch-aware skeleton representation that encodes connectivity directly and places structurally related elements close together in the token sequence.

  • We introduce view-augmented generation, a test-time augmentation strategy for skeleton generation that applies axis-aligned input rotations and selects the final prediction based on mesh coverage and cross-view consistency.

  • Extensive experiments show that our method achieves state-of-the-art skeleton prediction accuracy on both in-dataset and cross-dataset evaluations, and generalizes well to in-the-wild meshes.

References (57)