# Rapid Learning of Dexterous In-Hand Pen Writing through Real-Time Jacobian Estimation

Robotics.world

> Contact-rich in-hand manipulation is hard because the fingers and the grasped object form constantly changing contact chains, so the relationship between finger actuation and object motion is…

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

**Published**: 2026-09-10

**Authors**: Kai Stewart, Yasunori Toshimitsu, Robert K. Katzschmann

## In plain words

Contact-rich in-hand manipulation is hard because the fingers and the grasped object form constantly changing contact chains, so the relationship between finger actuation and object motion is nonlinear and configuration-dependent.

## AI summary

## Overview

- **Research area:** Robotics — dexterous in-hand manipulation, specifically robotic handwriting with an anthropomorphic hand using online Jacobian estimation instead of reinforcement learning (RL) or imitation learning (IL).
- **Technical level:** Intermediate. The core idea is intuitive, but the paper assumes familiarity with Jacobians, nullspace control, and recursive least-squares estimation.
- **Scope (one sentence):** The paper shows that a laptop-CPU controller which estimates the hand–object task Jacobian live on the robot can make a 17-DoF tendon-driven ORCA hand write arbitrary single-stroke trajectories with a grasped pen to sub-millimeter in-plane accuracy, without an analytic model, simulation training, or demonstrations.

## What This Paper Is About

Contact-rich in-hand manipulation is hard because the fingers and the grasped object form constantly changing contact chains, so the relationship between finger actuation and object motion is nonlinear and configuration-dependent. RL approaches need heavy domain randomization to cross the sim-to-real gap, and IL approaches are bottlenecked by demonstration data that is difficult to collect when fingers occlude the object. The authors' goal is to sidestep both: estimate the local relationship between joint commands and pen-tip motion directly on the physical robot, in real time, and use that estimate to write letters with a real pen on real paper.

## Key Contributions

1. **In-hand pen writing with no model, no simulation training, no demonstrations.** An anthropomorphic ORCA hand writes arbitrary single-stroke trajectories on paper by finger articulation of a real pen, using a command-space task Jacobian estimated and continuously updated from real-time interaction. The same estimator/controller formulation is demonstrated on three robot platforms (one physical, two simulated) and released as open-source code.
2. **A Jacobian-estimation control architecture for redundant in-hand systems.** A short grip-pose excitation phase bootstraps the map (six grip poses along a Catmull–Rom spline), sustained recursive learning keeps it accurate, and a damped task-space controller commands the joints while its nullspace maintains a stable grip.
3. **An ablation study characterizing the method's limits.** Comparisons of in-plane tracking metrics and robustness isolate which components are essential — notably continuous Jacobian updating and nullspace grip regularization.
4. **A generalization check across embodiments.** The same formulation runs in MuJoCo on the Shadow Hand and Wuji Hand 2 with no hand-specific analytic Jacobian.

## Main Findings

- **Sub-millimeter in-air accuracy:** Across 22 post-excitation in-air runs, mean in-plane error was ~0.62 ± 0.12 mm (range ~0.39–0.86 mm), with ~1.4 mm 95th percentile and per-axis standard deviations of ~0.34 mm (x) and ~0.7 mm (y).
- **On-paper accuracy is essentially unchanged:** Across 16 on-paper runs (eight single shapes/letters and eight writing "hello" letter by letter), mean error was ~0.67 ± 0.08 mm (range ~0.57–0.82 mm, ~1.4 mm 95th percentile). Pooled over all n = 38 fully configured runs, error averaged ~0.64 ± 0.10 mm.
- **Fast startup, modest compute:** The system begins writing after approximately 18 s of initialization (~15 s spline sweep plus ~3 s settle), running at roughly 15 Hz on a laptop CPU with a simple webcam — perception-limited, below the camera's nominal 30 Hz.
- **Long-run stability without recalibration:** In one uninterrupted ~31-minute run covering all 26 letters (26,600 post-excitation steps), per-window mean error stayed within 0.59–0.69 mm and 95th percentile within 1.2–1.6 mm, with no upward trend and no loss of grip.
- **Recovery from disturbances:** A sudden finger motion during the letter "K" jerked the pen off path (peak ~20 mm, above 5 mm for ~1 s); the controller recovered within the same letter without re-excitation or human intervention.
- **Continuous updating is essential:** Freezing the Jacobian after excitation failed in two of three runs (mean 1.0 mm, 95th percentile ~2.9 mm). Freezing after ~12 s of tracking was little better (one run diverged, one degraded to ~1.1 mm). Freezing after ~30 s of tracking matched baseline (0.62 ± 0.06 mm, 4/4 completing) and transferred to unseen letters (0.54–0.64 mm), but only continuous updating could adapt to disturbances the frozen map had never seen.
- **Nullspace grip regularization is essential:** With the posture term disabled, four of ten runs failed outright (two catastrophically, above 12 mm mean with 95th percentile up to ~140 mm; two aborted within a minute), two degraded severely (2.1 mm and 3.3 mm), and only four completed near baseline (0.55–0.87 mm).
- **Speed trades against robustness:** Writing is deliberately slow (8 × 10⁻⁴ m/s). At 2× speed one run tracked at ~0.8 mm while its repeat degraded to a 2.3 mm mean (95th percentile 6.6 mm); at 3× a run degraded to ~2.1 mm, yet a 4× run still held ~1.1 mm. Runs that ramped speed progressively mid-run all had large transients or diverged (excursions to ~57 mm).
- **Cross-embodiment in simulation:** Controlling all three Cartesian coordinates (m = 3) in MuJoCo, the Shadow Hand reached 0.17 mm RMSE and the Wuji Hand 2 reached 1.48 mm — with noise-free ground-truth states and without the compliant TPU pen sleeve used on hardware.
- **Favorable comparison to RL-based writing:** Zhao et al. reported 0.074–3.624 mm stick-tip error and Hu et al. 8.3–23.2 mm, both only in the simulation environments they were trained in; the authors note some smaller, simpler trajectories produced lower errors than theirs, but errors grew on more complex shapes while theirs stayed consistent across all trajectories tested.
- **Well-conditioned estimate:** The in-plane steady-state map had a condition number σ₁/σ₂ of approximately 2 on average, below ~3.5 across runs, indicating both in-plane directions were excited and learned similarly.
- **Out-of-plane drift is uncontrolled:** The z-height was not commanded; observed drift was ~0.6–3 mm in air and ~2–3 mm on paper (excluding the eight arm-repositioning runs). On-paper runs relied on paper folded or taped so its middle bulges upward by about a centimeter to absorb this drift.

## Methodology in Plain English

The team mounted an ORCA hand — a 17-DoF tendon-driven anthropomorphic hand — on a robot arm and had it hold a real pen in a fixed power-precision grip. The pen is wrapped in a custom soft TPU sleeve that enlarges its effective diameter to roughly four times that of the bare pen, giving a larger, more secure grip surface. Only 10 joints are controlled (four thumb, three index, three middle); the wrist, ring, and pinky are held fixed, so writing comes from the fingers alone.

A webcam watches an ArUco marker on the pen and three markers taped to the desk that define the paper frame. The pen-tip position is recovered from a fixed marker-to-tip offset and smoothed with a constant-velocity Kalman filter with outlier rejection.

The controller never uses a kinematic or contact model of the hand–object system. Instead it learns the local relationship between small joint commands and resulting pen-tip motion, using a recursive least-squares / Kalman-style update borrowed from uncalibrated visual servoing. Updates only run when at least one joint is actually moving, so the estimate does not drift on observation noise, and a forgetting factor keeps it adaptive rather than fully converged. The regressor uses the previous commanded joint increment rather than measured joint velocities, because the command-to-motion mapping is what the controller actually inverts and measured velocities proved too noisy.

Because fingers and pen form several closed kinematic chains, random wiggling may not produce useful pen motion, so each run starts with an 18-second excitation: the hand sweeps through six fixed grip poses along a Catmull–Rom spline, giving the estimator a well-conditioned set of observation pairs. The six waypoints were recorded once by manually posing the hand and reused unchanged in every physical experiment.

During writing, a PID-plus-feedforward law turns tracking error into a desired pen-tip velocity. That velocity is mapped into joint commands by inverting the current Jacobian estimate with damping, while a posture term projected through an approximate nullspace pulls the hand back toward its initial grip pose. Commands are clipped to a per-joint velocity limit and low-pass filtered before being sent to the hand. Letters A–Z are defined as cubic-Bézier glyphs at constant tangential speed; parametric shapes and free-form SVG drawings are also supported.

## Why This Matters

The paper argues that a lack of a precise model or a large data set is not necessarily what blocks real dexterity. A computationally simple, data-efficient algorithm running on a laptop CPU achieved, on physical hardware, a precision regime that costlier RL-based approaches have so far shown mainly in simulation — and its lightness suggests use where high-performance computing is unavailable, such as onboard prosthetic control.

**Real-world applications:**

- Prosthetic hand control, where onboard compute is limited and per-user calibration data is scarce.
- Fine manipulation tasks in homes and workplaces built around human hands, where objects must be repositioned or articulated by the fingers alone.
- Tool use and writing-like contact tasks that require precise tip placement while maintaining a grasp.
- Rapid re-deployment to new hand designs, since the same formulation ran on three different embodiments without hand-specific analytic Jacobians.

**Industry relevance:** The approach offers an alternative to compute- and data-heavy RL/IL pipelines for contact-rich manipulation, cutting the engineering effort of simulator modeling, domain randomization, and demonstration collection down to a one-time, minutes-long manual waypoint setup that is reused across all runs.

## Future Directions

- **Hand–arm coordination:** The arm currently runs hardcoded motions to move the hand between characters, and on-paper writing depends on elevated paper to absorb z drift. Distributing commands across the hand–arm system — fingers for detail, arm for gross positioning — would enable writing on rigid surfaces and multi-stroke letters such as "i".
- **Contact-discontinuous tasks:** The formulation estimates only the Jacobian of a continuous task with unchanging contact state, so it cannot re-grasp a pen within the hand or perform finger gaiting. How to extend rapid online learning to grasping and gaiting motions is stated as an open question.
- **Higher writing speeds:** Even a 2× increase made tracking unreliable, so reaching human-level writing speeds needs a controller that can compensate for the larger friction encountered there.
- **Better perception:** Persistent ArUco pen-marker jitter bounded accuracy; a different detector or a better-instrumented setup (higher frame rate, cleaner background) could improve it. The authors also note they did not independently verify the deposited ink against a physical ground truth, so absolute accuracy inherits the camera calibration and marker-tracking accuracy.

## Target Audience

Robotics researchers working on dexterous manipulation, in-hand manipulation, and visual servoing; engineers interested in lightweight alternatives to RL and IL for contact-rich tasks; and practitioners in prosthetic or low-compute embodied control who need adaptive controllers that can be deployed quickly on new hardware. Readers without a control background can follow the results and ablations, but the method section assumes comfort with Jacobians and least-squares estimation.

## Authors’ abstract

Dexterous in-hand manipulation of a grasped object with an anthropomorphic hand is an unsolved frontier for robot dexterity. The contact-richness and highly dynamic nature of object-hand interactions tend to require extensive modeling or data-collection efforts for learning-based approaches. Modern simulators used for reinforcement learning (RL) cannot fully replicate the required contact complexity, while collecting dexterous demonstrations for imitation learning (IL)…

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

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

## Related papers

- [VOKE: Visual Object Kinematics Estimator for Dexterous In-Hand Manipulation](https://robotics.world/paper/voke-visual-object-kinematics-estimator-for-dexterous-in-hand-2611.16423) 2026-11-12 · cs.RO · Key terms of the title in common
- [Real-Time Force Regulation for Whole-Hand Dexterous Grasping](https://robotics.world/paper/real-time-force-regulation-for-whole-hand-dexterous-grasping-2609.30082) 2026-09-24 · cs.RO · Key terms of the title in common
- [All You Need Is Low Fidelity: Zero-Shot Sim-to-Real of Learned Robotic Fish Control](https://robotics.world/paper/all-you-need-is-low-fidelity-zero-shot-sim-to-real-of-learned-robotic-2609.36993) 2026-09-29 · cs.RO · Also by Robert K. Katzschmann
- [Pushing Dexterity and Safety for In-Hand Object Pose Reaching That Works Remarkably Well](https://robotics.world/paper/pushing-dexterity-and-safety-for-in-hand-object-pose-reaching-that-2610.37652) 2026-10-27 · cs.RO · Key terms of the title in common
- [GoalDex: Learning Image-Goal-Conditioned Policies for Dexterous In-Hand Manipulation](https://robotics.world/paper/goaldex-learning-image-goal-conditioned-policies-for-dexterous-in-hand-2611.02171) 2026-11-01 · cs.RO · Key terms of the title in common

---

Canonical: https://robotics.world/paper/rapid-learning-of-dexterous-in-hand-pen-writing-through-real-time-2609.11775
