# DigitCode: Symbolic Tokenization of Hand Motion by Anatomical Units

Robotics.world

> Hand motion is almost always stored as continuous numbers (joint angles or MANO parameters), which are accurate but unstructured: you cannot index a finger, edit one finger in place, or even flag a…

**arXiv**: 2608.03127 · Preprint · not peer-reviewed

**Published**: 2026-08-04

**Authors**: Haoyu Gu, Haotian Lu, Jingrun Du, Xiao-Ping Zhang

## In plain words

Hand motion is almost always stored as continuous numbers (joint angles or MANO parameters), which are accurate but unstructured: you cannot index a finger, edit one finger in place, or even flag a pose as anatomically impossible.

## AI summary

## Overview

**Research area:** Robotics and computer vision — specifically, discrete/symbolic representations of 3D hand motion for generation, understanding, and robot learning.

**Technical level:** Intermediate. The core idea is intuitive (make each token cover a whole finger instead of a single bone), but the paper assumes familiarity with vector quantization (VQ, RVQ, FSQ, PQ, BSQ), rate–distortion trade-offs, and the MANO hand model.

**Scope (one sentence):** The paper asks what anatomical unit a symbolic hand-motion token should span — bone, finger, or whole hand — and shows, using a controlled tokenizer testbed called HandTok, that this choice matters more than which quantizer is used.

## What This Paper Is About

Hand motion is almost always stored as continuous numbers (joint angles or MANO parameters), which are accurate but unstructured: you cannot index a finger, edit one finger in place, or even flag a pose as anatomically impossible. Hand Labanotation (HL) showed that hand motion can instead be written as symbols — a T × 40 grid with one direction symbol per bone drawn from a fixed 26-direction alphabet (HL-26) — but it silently fixed the unit at the single bone.

The paper's question is the design decision underneath that grid: should a token span a bone, a finger, or the whole hand? DigitCode answers by adapting, grouping, and layering HL's alphabet along the hand's anatomical hierarchy.

## Key Contributions

1. **DigitCode**, a family of symbolic codes whose tokens are anatomical units. By fitting the alphabet to the data (DigitCode-A), grouping a finger's four bones into one joint token (DigitCode-F), and layering a per-bone residual beneath the finger token (DigitCode-H), a single code spans bone, finger, and hand — cutting held-out quantization error from 14.71° to 3.26° while every token remains a readable direction.
2. **A controlled separation of the two decisions every discrete hand representation makes**: what unit a token spans, and how it is quantized. On a common harness that sweeps both axes at matched rate, moving the unit down the anatomy dominates any change of quantizer family, while training-free and learned *strong* quantizers are interchangeable at a fixed unit.
3. **A genuine anatomical unit that doubles as a task interface.** Because a finger is enumerable, one per-finger token is a training-free handle for detecting, localizing, editing, and repairing corrupted fingers, and for compiling retargeting onto robot hands — operations no continuous parameterization supports.
4. **HandTok**, a released, reproducible evaluation harness so hand tokenizers can be compared unit-for-unit across any skeleton topology and quantizer family. Project page: https://digitcode-demo.github.io

## Main Findings

- **The unit, not the quantizer, is the lever.** At matched empirical-entropy rate, swapping a tuned learned VQ for training-free k-means moves reconstruction by at most 0.10°, while holding mechanism, depth, and code fixed and moving only the coarse stage's unit from bone to finger shifts it 1.63°. The paper states the quantizer claim as an *equivalence* against a declared 0.5° margin, larger than the observed gap (≤0.10°, either sign; ≤0.15° across three VQ seeds) and above the VQ's own ±0.04° run-to-run floor.
- **Three empirical regularities motivate the design** (measured on InterHand2.6M, 36 captures, 717K vectors): 68.1% of bone directions fall on the single +Y cube face (so a uniform alphabet wastes symbols); mutual information averages 39% within a finger versus 29% across fingers (cross-finger peak 51%, middle–ring); and 79% of tokens are unchanged from the previous frame.
- **Each step down the hierarchy improves accuracy and rate together.** HL-26 reaches 14.71° at 4.70 fixed-width bits (3.29 entropy bits). DigitCode-A reaches 8.45° at the same 4.70 bits (a 43% error reduction). DigitCode-F reaches 5.50° at 2.0 bits/bone, beating independent per-bone k-means (5.69° at 6.0 bits) — the same fidelity at a third of the rate. DigitCode-H reaches 3.26° at 4.75 bits, essentially HL-26's rate, and continues to 2.55° at 5.75 bits and 1.86° at 6.75 bits.
- **The anatomical seam matters, not just the block size.** At a fixed 12-D block, K, and rate, regrouping the same bones at random costs 2.4° (9.48° versus 7.10° at K = 64), with a half-anatomical split landing in between.
- **Training does not beat unit alignment.** A full MoMask-style RVQ-VAE with temporal context the frame-local codes lack at best draws level with the finger code (5.83° at 1.80 bits; 3.90° at 6.30 bits) and stays roughly 2× behind the layered one. At matched bits, FSQ, PQ, and BSQ trail the k-means/VQ pairing by up to 3.8°; FSQ and BSQ grids leave most cells empty under the +Y concentration, saturating their entropy around 2.8 and 4.9 bits below nominal.
- **Which unit wins depends on the task, and the ordering is predictable.** Dynamics read the bone: single-step forecasting reaches 12.90° versus HL-26's 18.85° (−31%) and the per-finger code's 19.04°, though no tokenizer beats a "predict no motion" continuous baseline (12.74°), so this is evidence about *which unit*, not a win over continuous poses. Interaction reads the finger: retrieval at 25.4% P@1 versus 1.1% random (23×), denoising at +5.5° against a MANO re-fit that is roughly 440× slower, and single-finger editing with exactly 0° off-finger violation by construction versus 0.90 violations for MANO. Identity reads the whole hand: a *single* whole-hand token reaches 46.8% top-1, matching the 20-token per-bone code's 46.2% at 1/14.6 of its rate, and adding it to the finger code reaches 49.7% top-1 (+6.7 pp, CI [+4.3, +9.0]) on 137-class subject-disjoint classification.
- **Generation reveals the mechanism.** HL-26 trails both adaptive codes at every seed on the collapse-sensitive AE-FGD metric (4.46 versus 3.01), with generated speed drifting toward stillness: coarse tokens quantize away small inter-frame changes, so a model trained on them mean-collapses. A stronger masked decoder does not close the gap.
- **Noise reverses the winning unit, as the mechanism predicts.** Discrimination under noise is an identity task and rewards coarseness (HL-26's coarse alphabet is most robust), while fidelity reads the finest unit — the finger code collapses on noisy lifted ASL (14.03°), and DigitCode-H's per-bone residual decouples the corrupted bone to reach 4.29° (−69% versus DigitCode-F).
- **The genuine unit yields four operations with no added machinery.** The per-finger codeword residual detects corrupted fingers with zero training and is the only detector strong on both regimes (AUC 0.953 off-manifold, 0.823 anatomically illegal), versus a trained Mahalanobis detector (0.961 but 0.684 on illegal poses) and a MANO-refit residual with no detection power (0.428, 0.534). Purely symbolic token-infill repairs a flagged finger in place (23.8° corrected, 5.6° plausibility versus 25.3° for no repair), while every MANO arm fails because its parameters are not decomposed per finger.
- **Retargeting compiles into a lookup table.** Because a per-finger codebook is finite, the code-to-robot-joint map is solved once — 640 inverse-kinematics solves (5 fingers × 128 codes) in 1.6 s — after which streaming retargeting is O(1) table assembly, 480–1500× faster than per-frame optimization on all six robot hands at 0.4–5.0 mm of accuracy cost (Allegro at the low end: 35.5 mm, 0.005 ms/frame versus 35.1 mm, 2.4 ms/frame for per-frame IK). The same residual screens action labels before IK, lowering label error 25–27% for structural corruption and 13–15% for real estimator noise across 4/4 hands.
- **The factored code generalizes compositionally.** Fit only on FreiHAND and tested on ASL handshapes, a per-finger encoding reaches 31.2° encoding residual versus 34.9° for a 6.4× larger whole-hand codebook — even though that whole-hand code fits better in-distribution (1.75° versus 3.98°).

## Methodology in Plain English

The researchers start from an existing symbolic notation for hands, HL-26, which turns each of a hand's 20 bone directions into one of 26 fixed compass-like symbols per frame. They keep that grid, frame rate, and extraction pipeline fixed, then change one design decision at a time, so any improvement can be attributed to the decision rather than to a new encoder.

Three changes, each justified by a measured property of real hand data. First, *fit*: because bone directions cluster heavily in one region of the sphere, they run spherical k-means on training directions and replace HL-26's fixed alphabet with a data-adaptive one of the same size. Second, *group*: because the four bones inside a finger move together while fingers move apart, they concatenate a finger's four bone directions into a single 12-D vector and quantize it jointly, so one token now denotes a whole finger pose. Third, *layer*: because one finger token caps precision, they keep both units by quantizing the finger first and then encoding the leftover error per bone as a small rotation into a shared codebook — a coarse "which pose" layer plus a fine "how much" residual.

On top of this they study two orthogonal axes (coding directions relative to a temporal/kinematic reference, and emitting tokens only at curvature-aware keyframes with interpolation), but the headline codes use neither. Evaluation covers four public 3D-joint datasets — InterHand2.6M, FreiHAND, HanCo, and the noisy lifted ASL-Skeleton3D — with leakage-controlled splits, and compares against a swept field of quantizers (k-means, VQ, RVQ, FSQ, PQ, BSQ, plus a full MoMask-style RVQ-VAE) at matched rate under two labelled rate conventions.

## Why This Matters

**Impact on research.** Tokenization work has overwhelmingly optimized *how* to quantize while inheriting *what a token covers* from the data grid. This paper makes the unit a first-class, controllable variable and provides a harness to compare unit-for-unit — a methodological reframing that extends beyond hands to any signal with compositional structure. It also shows a symbolic representation need not be a precision compromise: the layered code holds the rate–distortion frontier against learned alternatives at matched rate.

**Real-world applications:**

- **Repairing malformed hands in generated images and video.** A per-finger residual flags which finger is wrong and rewrites only that finger, where existing pipelines (HandRefiner, RealisHuman) must repaint the entire hand.
- **Learning dexterity from human video.** The code plugs into video → hand estimate → retarget → action label, compiling retargeting into a per-finger lookup table and screening unreachable labels before inverse kinematics.
- **Sign-language and gesture tooling.** Retrieval of same-gesture clips at 23× random and zero-shot composed finger predicates, with codes that stay readable and archivable.
- **Motion capture and animation cleanup.** Snapping a noisy finger to its nearest codeword projects it back onto the manifold of real poses in one shot, roughly 440× faster than an iterative MANO re-fit.

**Industry relevance.** Any pipeline that streams human hand motion into a robot — teleoperation, imitation-learning data collection, animation, AR/VR input — cares about per-frame latency and anatomical validity. A compiled O(1) retarget with a built-in reachability filter and a zero-training corruption detector addresses both, and HandTok offers a common benchmark the field currently lacks.

## Future Directions

- **Does the unit-first principle govern other compositional signals?** The authors explicitly leave this open, offering HandTok as the harness that makes it testable across skeleton topologies and quantizer families.
- **Does the finger unit improve downstream control, not just representation and data layers?** The paper claims no manipulation-task result and defers this to "the next system built on it."
- **A shared system-level benchmark for hand tokenizers.** The authors note a full system comparison needs a common grid the field does not yet share.
- **Closing the off-manifold gap in the layered design.** A per-finger codeword is a prototype pose — a soft prior that pays on clean data and costs off-manifold, where one corrupted bone dominates the shared code; the per-bone residual covers this passively and infill actively, but the trade-off is inherent to any finite codebook.

## Target Audience

Robotics and graphics researchers working on motion representation, tokenization, or human-to-robot transfer; practitioners building dexterous manipulation pipelines from video; and anyone using MANO or joint-angle representations who needs part-level indexing, editing, or anatomical validity checks. Readers designing discrete tokenizers for other structured signals (body, face, hand–object interaction) will find the unit-versus-quantizer framing directly transferable. Some comfort with vector quantization and rate–distortion analysis is assumed.

## Authors’ abstract

Hand motion carries the finest-grained information in human activity, yet the representations behind hand generation, understanding, and robot learning are overwhelmingly continuous--joint angles or MANO parameters. These are accurate but unstructured: a finger cannot be indexed or edited as a symbol, and nothing marks a pose as anatomically valid. Discrete symbolic representations supply exactly this structure, and Hand Labanotation (HL) has shown they are feasible for the…

[The full abstract on arXiv](https://arxiv.org/abs/2608.03127)

[Read the original paper](https://arxiv.org/abs/2608.03127)

## Related papers

- [RFW-S: Everyday Deformable Objects with Independent Simulation Verification](https://robotics.world/paper/rfw-s-everyday-deformable-objects-with-independent-simulation-2611.23056) 2026-11-17 · cs.RO · Also by Jingrun Du
- [EMPIRE: Explicit Manipulation Planning as a Learnable Intermediate Representation for Egocentric Hand-Motion Forecasting](https://robotics.world/paper/empire-explicit-manipulation-planning-as-a-learnable-intermediate-2608.22449) 2026-08-23 · cs.RO · Key terms of the title in common
- [Recording Hand-Held Laparoscopic Instrument Motion in the Operating Room: Magnetometer-Free Fusion of Inertial, Range and Visual Sensing](https://robotics.world/paper/recording-hand-held-laparoscopic-instrument-motion-in-the-operating-2609.25577) 2026-09-22 · cs.RO · Key terms of the title in common
- [CAMP: Cooperative Arm-Hand Motion Planning in Constrained Spaces](https://robotics.world/paper/camp-cooperative-arm-hand-motion-planning-in-constrained-spaces-2609.29021) 2026-09-24 · cs.RO · Key terms of the title in common
- [Masked Generative Motion Planning with Geometry-Guided Token Search](https://robotics.world/paper/masked-generative-motion-planning-with-geometry-guided-token-search-2610.10646) 2026-10-07 · cs.RO · Key terms of the title in common

---

Canonical: https://robotics.world/paper/digitcode-symbolic-tokenization-of-hand-motion-by-anatomical-units-2608.03127
