Grip, Trace, Write: Force-Aware Imitation and Reinforcement Learning for High-DoF Robotic Handwriting

Rongqian Chen, Yiding Chen, Jijie Zhou, Tom Z. JiahaoarXiv 2026 · arXiv

TL;DR

Researchers have developed "Grip, Trace, Write," a framework that enables a high-DoF robotic hand to write with a freely held pen—a task far more complex than standard rigid-mount robotic writing. By combining a two-branch neural network architecture with a multi-stage learning pipeline (Imitation + Reinforcement Learning), the system masters the delicate balance of grasp stability and precise contact force required for legible handwriting across multiple languages.

What Problem Does This Paper Address?

Most robotic handwriting systems take a shortcut: they rigidly bolt the pen to the robot arm. This turns writing into a simple 2D trajectory-tracking problem. However, humans write using a "freely held" pen, which introduces a complex physical coupling.

If the robot doesn't grip the pen correctly, it slips. If it presses too hard, it might destabilize its own grip or distort the letters. If it doesn't press hard enough, no ink is deposited. This paper tackles the challenge of force-aware dexterous manipulation, using handwriting as a testbed for how robots can stabilize slender tools while simultaneously performing fine-motor tasks that require specific contact forces.

Methods

The authors use a simulated environment (MuJoCo) featuring a UR5e arm equipped with a 25-DoF anthropomorphic hand. To make this high-dimensional control problem tractable, they introduced two key innovations:

  1. Two-Branch Actor Architecture: Instead of one giant network, the controller is split into a Grasp MLP (responsible for finger movements to keep the pen stable) and a Writing MLP (responsible for arm and wrist movements to trace the characters). These branches share the same state information, allowing them to remain physically coupled while specializing in their respective roles.
  2. A Three-Stage Training Pipeline:
    • Stage 1: Grasp Learning. The Grasp MLP is initialized via Behavior Cloning (BC) from human data and refined with RL to ensure the pen stays in a stable tripod grip even when the arm moves.
  3. Stage 2: All-Task BC. Using an Inverse Kinematics (IK) "teacher," the robot collects demonstrations of various writing tasks. The Writing MLP learns to imitate these nominal motions.
  4. Stage 3: Full-Task Outcome RL. Finally, the whole system is refined using Proximal Policy Optimization (PPO). Crucially, the rewards here are based on outcomes—ordered ink coverage, force accuracy, and time efficiency—rather than just mimicking the teacher.
Figure 1: Hand kinematics and two-branch actor. (a)(b) Spheres mark the finger joints, colored by finger, with rods along the hinge axes; the skin is rendered translucent. The hand has 25 finger joints, in addition to 2 wrist and 7 arm joints. (c) Actor model reads both the same state and trajectory. A fixed output mask selects finger actions from the grasp branch and UR5e arm, wrist, and stop actions from the writing branch. The branches interact through the held pen and live state.

Datasets

The system was trained and evaluated on a diverse suite of tasks:

  • Geometric Tracing: Lines, circles, and complex shapes.
  • Handwriting: All 10 digits, 26 capital letters, and 15 English words.
  • Chinese Characters: 118 characters across several fonts.
  • Zero-Shot Generalization: To prove the robot wasn't just memorizing, it was tested on 20 unseen English words, 10 four-character Chinese idioms, and 122 complex Chinese characters (7+ strokes) that were never seen during training.

Key Insights and Ideas

  • Separation of Concerns: By isolating the "grasp" from the "write," the authors made a 34-degree-of-freedom problem manageable. The Grasp MLP provides a stable "interface" for the Writing MLP to work through.
  • RL as a "Polisher": Behavior Cloning (BC) is great for getting the "gist" of a motion, but it often results in "jittery" paths or incorrect pressure. The final RL stage is essential because it optimizes for the actual physical result (the ink on the page) rather than just trying to look like the teacher.
  • Force is Content: In this framework, force isn't just a constraint; it's part of the "5D cursor" (x, y, height, force, time). This allows the robot to handle tasks where line thickness or ink deposition is variable.
The multi-stage training pipeline: from learning to hold the pen to mastering complex Chinese calligraphy.

Key Results

The RL-refined policy significantly outperformed both the IK teacher and the BC-only baseline:

  • Completion & Precision: RL achieved a mean completion rate of 94.8%, compared to 91.3% for BC.
  • Force Regulation: RL reduced the Force Mean Absolute Error (MAE) by 53% (from 0.773 N to 0.362 N) compared to BC.
  • Jitter Reduction: Qualitatively, RL produced much smoother, more human-like strokes. While IK and BC often exhibited high-frequency deviations that left "stray" ink, RL suppressed this jitter.
  • Generalization: The system successfully wrote unseen Chinese idioms and English words zero-shot, proving it had learned the mechanics of writing rather than just specific patterns.
Qualitative comparison showing how RL suppresses the jitter found in IK and BC traces, leading to cleaner, more precise characters.

Limitations and Future Work

  • Sim-to-Real Gap: The current work is entirely in simulation. While the physics are complex, real-world sensors (like tactile skins) and noisy actuators present additional hurdles for a physical robot.
  • Fixed Grasp: The grasp mean parameters were frozen during the final RL stage to prevent the "drawing" reward from accidentally degrading the "holding" strategy. Future work could explore more dynamic re-grasping during writing.
  • Tool Diversity: The study focused on a standard pen. Testing the framework with different tools (brushes, markers, or even chalk) would further validate its robustness as a general dexterous manipulation framework.

Summary updated

Abstract

Most robotic handwriting rigidly mounts the pen and reduces writing to trajectory tracking. A freely held pen instead couples grasp stability, tip motion, and contact force. We present Grip, Trace, Write, a force-aware simulation environment and learning framework for high-DoF handwriting. A two-branch actor separates pen retention from arm-wrist writing while preserving their closed-loop coupling. Training learns a grasp controller, initializes writing from inverse-kinematics demonstrations by behavior cloning, and improves writing through reinforcement learning with rewards on ink, force, time, and retention. Across diverse tasks, the policy improves completion, precision, force regulation, and efficiency over behavior cloning and inverse kinematics, and generalizes without fine-tuning to unseen English and Chinese content. These results establish force-aware handwriting as a testbed for dexterous tool use.
BibTeX
@misc{chen2026grip,
  author = {Rongqian Chen and Yiding Chen and Jijie Zhou and Tom Z. Jiahao},
  title = {{Grip, Trace, Write: Force-Aware Imitation and Reinforcement Learning for High-DoF Robotic Handwriting}},
  year = {2026},
  eprint = {2611.10451},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.10451},
}
Figure