Auto-Connect: Connectivity-Preserving RigFormer with Direct Preference Optimization

Jingfeng Guo, Jian Liu, Jinnan Chen, Shiwei Mao, Changrong Hu, Puhua Jiang, Junlin Yu, Jing Xu, Qi Liu, Lixin Xu, Zhuo Chen, Chunchao Guo · DOI

TL;DR

This paper introduces Auto-Connect, a novel approach for automatic 3D character rigging that significantly improves topological accuracy and skinning quality. It achieves this by using a specialized tokenization scheme to preserve skeletal connectivity during generation and a reward-guided fine-tuning process to align with human preferences, leading to more anatomically plausible and animatable character models.

What Problem Does This Paper Address?

Creating realistic and animatable 3D characters is a crucial but challenging task in computer graphics. A key step is "rigging," which involves building a skeletal structure (bones and joints) for a 3D mesh and defining how the mesh deforms when the skeleton moves. Existing automatic rigging methods often struggle with generating accurate skeletal topology, ensuring proper joint connections, and producing high-quality skinning (how the mesh surface adheres to the skeleton). This can lead to unnatural deformations and artifacts during animation. Previous approaches either relied on fixed templates, which are not versatile, or predicted bone positions without explicitly considering their hierarchical relationships, resulting in suboptimal connectivity.

Methods

Auto-Connect tackles these challenges with a three-stage pipeline:

  1. Rigging Pre-training (RigFormer):
    • Connectivity-Preserving Tokenization: This is a core innovation. Instead of just predicting joint coordinates, the method uses special tokens (<E1>, <E2>) to explicitly encode the hierarchical structure and parent-child relationships of the skeleton. This ensures that the generated skeleton inherently maintains correct connectivity.
  2. Autoregressive Generation: A transformer-based model, RigFormer, is used to generate a sequence of these tokens, conditioned on the input 3D mesh's geometric features.
  3. Shape Conditioning: A pre-trained Michelangelo encoder extracts geometric features from the input mesh to guide the rigging process.
  4. Rigging Post-training (Reward-Guided DPO):
    • Topology-Aware Reward Function: A novel reward function is introduced to quantify the quality of generated skeletons. It combines spatial accuracy (Chamfer Distance) with topological fidelity (Tree Edit Distance and Hierarchical Jaccard Similarity).
  5. Direct Preference Optimization (DPO): The RigFormer is fine-tuned using a reward-guided DPO approach. This leverages human preferences (derived from the reward function) to further improve topological correctness and artistic aesthetics, going beyond simple next-token prediction.
  6. Skinning Weight Prediction:
    • Geodesic-Aware Bone Probability Prediction Module: This plug-and-play module predicts the influence of each bone on each vertex. It incorporates implicit geodesic features, which capture spatial relationships on the mesh surface, to dynamically identify the most influential bones. This is crucial for mitigating skinning artifacts, especially during extreme deformations.
  7. Skinning Weight Prediction Module: This module uses the output of the geodesic module to compute the final skinning weights, minimizing KL divergence loss against ground truth.

Datasets

  • Articulation-XL2.0 (Art-XL2.0): Used for training and testing.
  • ModelsResource (MR): Used for training and testing.

Key Insights and Ideas

  • Explicit Connectivity Encoding is Key: The paper strongly suggests that explicitly encoding skeletal connectivity through specialized tokens is more effective than implicitly learning it or relying on post-hoc connectivity algorithms. This leads to more robust and topologically accurate skeletons.
  • Human Preferences Matter for Rigging: Fine-tuning with a topology-aware reward and DPO significantly improves the artistic quality and anatomical plausibility of the generated rigs, demonstrating that aligning with human aesthetic judgment is vital for good rigging.
  • Geodesic Information Enhances Skinning: Incorporating geodesic distances in the bone selection process for skinning weights leads to more accurate and artifact-free deformations, especially for complex meshes and motions.

Key Results

  • Rigging Accuracy: Auto-Connect achieves state-of-the-art results on both Art-XL2.0 and MR datasets, outperforming baselines like RigNet, MagicArticulate, and UniRig in metrics such as IoU, Precision, and Recall. For instance, on Art-XL2.0, it improves IoU by +4.2% and Precision by +5.2% compared to Magic-spatial.
  • Topological Quality: Qualitative comparisons show Auto-Connect generating more coherent, accurate, and well-structured skeletons that closely conform to the input shapes, avoiding issues like discontinuous skeletons or missing bone chains seen in other methods.
  • Skinning Quality: The geodesic-aware module significantly reduces L1-norm errors in skinning weights, leading to more precise and accurate deformations. For example, HeterSkinNet* (with the module) achieves a lower average L1-norm error (0.42) compared to HeterSkinNet (0.43) on the MR dataset.

Limitations and Future Work

  • Generalization to Unseen Topologies: The paper acknowledges that the method struggles with highly unusual or snake-like data due to its absence in the training dataset.
  • Future Directions:
    • Expand the dataset with more diverse and challenging examples (e.g., snake-like data).
  • Develop more robust data augmentation techniques.
  • Explore leveraging multimodal input (text, image, video) for more user-friendly editing of rigging results.

Summary updated

BibTeX
@inproceedings{guo2025auto,
  author = {Jingfeng Guo and Jian Liu and Jinnan Chen and Shiwei Mao and Changrong Hu and Puhua Jiang and Junlin Yu and Jing Xu and Qi Liu and Lixin Xu and Zhuo Chen and Chunchao Guo},
  title = {{Auto-Connect: Connectivity-Preserving RigFormer with Direct Preference Optimization}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2025},
  url = {https://openreview.net/forum?id=uUHNt5CoaL},
}
Figure