Abstract
In the 3D animation pipeline, automatic rigging and skinning remain significant bottlenecks due to the difficulty of maintaining topological consistency. This paper introduces Auto-Connect, a framework presented at NeurIPS 2025 that ensures generated skeletons are connected, anatomically plausible, and ready for motion. By combining a novel hierarchical tokenization scheme with Direct Preference Optimization (DPO), Auto-Connect treats skeleton generation as a structured sequence problem, aligning the model to prefer topologically correct results. Experimental results demonstrate that Auto-Connect significantly outperforms previous state-of-the-art methods in both spatial accuracy and structural integrity.
Introduction
Rigging—the process of creating an internal skeleton for a 3D mesh—and skinning—defining how the mesh surface deforms in response to bone movement—are foundational to character animation. While automated methods have sought to replace the manual labor involved, current "template-free" approaches often struggle with topological consistency. These models frequently predict joint positions accurately but fail to connect them into a coherent hierarchy, leading to "broken" skeletons or missing limbs.
Furthermore, standard skinning techniques often rely on simple Euclidean distance to assign bone influence. This leads to "webbing" or stretching artifacts, where a character's limbs might be influenced by bones that are physically close in 3D space but distant along the mesh surface (e.g., a hand influencing a hip). Auto-Connect addresses these challenges by enforcing structural rules during both the generation and refinement phases of the rigging process.
Methodology
The Auto-Connect framework introduces three core innovations designed to bridge the gap between point-cloud prediction and structured skeletal generation.
1. RigFormer and Connectivity-Preserving Tokenization
Instead of treating a skeleton as an unordered set of points, Auto-Connect represents it as a tree structure. The authors utilize a Breadth-First Search (BFS) traversal to convert this tree into a sequence of tokens. To preserve the hierarchy, they introduce specialized structural tokens:
<E1>: Marks the end of a specific joint's children.<E2>: Marks the completion of an entire hierarchical level.
This tokenization scheme forces the underlying transformer model, RigFormer, to learn the "grammar" of a skeleton. By predicting these tokens, the model learns not just where joints are located, but how they are fundamentally connected.
2. Reward-Guided Direct Preference Optimization (DPO)
Standard training using cross-entropy loss focuses on local next-token prediction, which often fails to capture the global validity of a skeleton. To solve this, the authors adapt Direct Preference Optimization (DPO)—a technique widely used to align Large Language Models with human preferences—for geometric tasks.
They define a "topology-aware reward function" that evaluates skeletons based on spatial accuracy and topological fidelity, utilizing metrics such as Tree Edit Distance. The model is then fine-tuned to "prefer" high-reward (topologically sound) skeletons over low-reward (disconnected or messy) ones. This is the first successful application of DPO to the rigging task, proving that geometric alignment can be mathematically quantified.
3. Geodesic-Aware Bone Selection
To improve the skinning stage, the framework moves away from Euclidean-based bone selection. It implements a module that utilizes implicit geodesic features—distances measured along the surface of the mesh. This ensures that vertices are only influenced by bones that are geometrically relevant, effectively preventing the mesh from stretching across empty space between unrelated body parts.
Experimental Results
The model was rigorously evaluated on two primary benchmarks: Articulation-XL2.0 (Art-XL2.0), containing 46k training samples, and ModelsResource (MR), a diverse dataset of 2.1k samples. The authors also conducted "in-the-wild" testing using meshes generated from the Hunyuan3D 2.5 model.
Quantitative Performance
On the Art-XL2.0 dataset, Auto-Connect demonstrated clear superiority over the previous state-of-the-art (Magic-spatial):
- +4.2% increase in Intersection over Union (IoU).
- +5.2% increase in Precision.
- 15% reduction in joint position errors (CD-J2J).
Qualitative Impact
Qualitative analysis shows that while competing models like UniRig or RigNet often produce disconnected joints or erratic topologies, Auto-Connect consistently generates clean, hierarchical trees that match the character's specific morphology. The integration of geodesic-aware skinning also resulted in a significant drop in L1-norm error, leading to smoother, more realistic animations without the common "webbing" artifacts.
Conclusion and Future Work
Auto-Connect represents a shift in auto-rigging by treating skeletal hierarchy as a structured language. By leveraging DPO and geodesic cues, the framework ensures that the generated rigs are not just visually similar to the ground truth, but functionally viable for animators.
One identified limitation is the model's performance on highly linear or "snake-like" structures, as the current training data is dominated by bipeds and quadrupeds. Future research will focus on expanding dataset diversity and exploring multimodal rigging, potentially allowing users to edit or generate rigs via natural language prompts or video references.
Summary updated