Research
Diffusion-Based Body Schema Learning Enabling Abnormal-State Adaptation in Musculoskeletal Robots
Musculoskeletal robots have redundant muscles, so an internal "body schema" must map joint angles to compatible muscle lengths and tensions. When something breaks — a muscle snaps or a motor jams…

- arXiv
- 2608.01029 · accepted · ROBOTICS AND AUTOMATION LETTERS
- Published
- 2026-08-02
- Authors
- Kento Kawaharazuka, Shuhei Ikemoto
In plain words
Musculoskeletal robots have redundant muscles, so an internal "body schema" must map joint angles to compatible muscle lengths and tensions. When something breaks — a muscle snaps or a motor jams — that mapping becomes invalid, and prior methods that compress sensor/actuator signals into a low-dimensional latent space struggle with states never seen in training.
AI summary
Overview
- Research area: Robotics — musculoskeletal robot control, body schema learning, and generative modeling (diffusion models vs. autoencoders).
- Technical level: Advanced. The paper assumes familiarity with autoencoders, variational autoencoders, diffusion/denoising processes, and muscle–joint static equilibrium.
- Scope (one sentence): A simulation study proposing a diffusion-based body schema that estimates muscle lengths and muscle tensions for a two-joint, six-muscle robot and adapts to muscle rupture and actuator jamming without retraining, benchmarked against autoencoder and variational autoencoder baselines.
What This Paper Is About
Musculoskeletal robots have redundant muscles, so an internal "body schema" must map joint angles to compatible muscle lengths and tensions. When something breaks — a muscle snaps or a motor jams — that mapping becomes invalid, and prior methods that compress sensor/actuator signals into a low-dimensional latent space struggle with states never seen in training. The paper asks whether a diffusion model, which works directly in the full high-dimensional sensor/actuator space, can adapt to these abnormal states at inference time without any retraining or failure labels.
Key Contributions
- A diffusion-based body schema for musculoskeletal robots. Instead of encoding sensor/actuator values into a low-dimensional latent variable, the model learns a denoising process over the normalized vector
x₀ = [l^motor, f]conditioned on joint anglesq, and estimates muscle lengths and tensions by iteratively denoising. - A gradient-guided denoising scheme for abnormal-state adaptation. The adaptation loss (rupture constraint
f_i = 0, jamming constraintl_i^motor ≤ l_i^fixed, nonnegative tension, and a maximum-tension bound) is differentiated and applied as a gradient update tox_tinside each denoising step, with added noiseηset to zero. - A matched-comparison baseline framework. Latent-space optimization is formulated for autoencoder (AE) and variational autoencoder (VAE) baselines using the same adaptation loss, with latent dimensions of 3, 10, and 30 and roughly matched parameter counts across all three model families.
- A quantitative evaluation protocol for abnormal states. Three failure scenarios (CUT, FIX, BOTH) evaluated over 40 sampled abnormal cases each, with four metrics: rupture tension error, jamming length error, static-equilibrium torque error, and joint-angle error, plus an inference-time comparison.
Main Findings
- Diffusion is the only model that is consistently strong across all four metrics. Under CUT, FIX, and BOTH, the diffusion model achieves high performance on
E_cut,E_fix,E_τ, andE_q, and is described as superior on the static equilibrium errorE_τ. - Rupture handling (
E_cut): AE-10, AE-30, and the diffusion model perform well under CUT and BOTH, driving ruptured-muscle tension close to zero. AE-3 and the VAE-based methods generally fail to reduce tension sufficiently. - Jamming handling (
E_fix): All models except AE-10 and AE-30 perform well under FIX and BOTH; VAE-based methods outperform AE-based methods on this metric — the opposite pattern fromE_cut. - Static equilibrium (
E_τ) and joint angle (E_q): AE-3, VAE-3, VAE-10, and the diffusion model perform well under all three conditions; VAE-10 and the diffusion model are best onE_q. - Latent dimension is a fragile trade-off for VAE/AE. Larger AE latent spaces help with rupture but hurt jamming; VAE with latent dimension 10 beats both 3 and 30 on equilibrium and joint-angle accuracy, indicating careful dimension selection is required.
- Inference time: Without adaptation, AE and VAE infer in under 0.001 s while the diffusion model takes approximately 0.1 s. With adaptation enabled, AE, VAE, and the diffusion model all take approximately 0.7 s (measured on an Intel Core i7-10750H CPU and an NVIDIA Quadro T2000 Max-Q GPU).
- Explanation offered by the authors: AE latent spaces are unregularized so optimization can drift far from the training distribution (satisfying one constraint at the expense of the other); VAE regularization plus Gaussian compression limits stable adaptation; diffusion avoids compression entirely and uses gradient information directly in the original space.
Methodology in Plain English
The robot model has two joints and six muscles. Each muscle is a wire from a motor through a tension sensor and a nonlinear elastic spring; muscle length comes from the motor encoder and tension from a pressure sensor. The spring is modeled as f = k(exp(αδ) − 1), with k = 1000, α = 20.0 m⁻¹, and a maximum tension f^max = 150 N.
Data. 800 samples of (q, f, l^motor) were generated. Joint angles were sampled uniformly, geometric muscle lengths and the muscle Jacobian were obtained from forward kinematics in MuJoCo, and tensions satisfying static equilibrium (gravity compensation) were computed by solving a constrained least-squares problem with 0 ≤ f ≤ f^max. 80 percent of the data was used for training and 20 percent for evaluation, over 10000 epochs.
Models. AE and VAE use three-layer MLPs with 64 units per hidden layer and Tanh activation, with latent dimensions of 3, 10, and 30 (approximately 10k/11k/14k parameters for the AE and 11k/12k/15k for the VAE; since z_q has dimension 2, z_latent has dimension 1, 8, and 28). The diffusion model is a three-layer MLP with two hidden layers of 91 units, SiLU activation, about 11k parameters, 200 diffusion steps, and a linear scheduler.
Adaptation. For AE/VAE, the latent variable is updated by gradient descent on the adaptation loss. For the diffusion model, each denoising step first estimates x̂₀ from x_t, then takes a gradient step on the adaptation loss with respect to x_t, then performs the standard reverse step with no injected noise. Adaptation weights are C_cut = 0.01, C_fix = 1.0, C_fmin = 0.01, C_fmax = 0.01, and learning rate C_lr = 0.01.
Evaluation. Because physical simulation with muscle slack is difficult, the realized joint angle q̂ is recovered by optimization: taut muscles contribute equality residuals, slack muscles contribute hinge residuals, jammed muscles contribute a one-sided constraint, and a static-equilibrium regularization term is added. This is solved with Iteratively Reweighted Least Squares using a Huber loss, with Gauss-Newton updates, ε^slack = 10⁻⁵ m, s_l = 0.03 m, s_τ = 5.0 Nm, λ_τ = 0.1, and λ_q = 10⁻³. Abnormal cases are CUT (two of six muscles ruptured), FIX (two jammed), and BOTH (one ruptured, one jammed), with 40 samples per condition.
Why This Matters
The work argues that preserving the full high-dimensional sensor/actuator space, rather than compressing it, is what enables robust behavior when a redundant robot is damaged — a claim relevant to any robot with more actuators or sensors than task-relevant degrees of freedom.
- Damaged legged or humanoid robots: continuing a task after a tendon-like actuator fails, without a retraining cycle.
- Prosthetics and exoskeletons: adapting assistive mappings when a motor or sensor degrades between maintenance visits.
- Field and inspection robots: recovering from jamming where collecting abnormal-state training data is impractical.
- Soft and tendon-driven manipulators: handling variable stiffness and slack in redundant actuation.
Industry relevance: the approach requires no failure annotations during pretraining and no retraining at deployment, which shortens the path from failure detection to continued operation. The reported ~0.7 s adaptation time makes it suitable for static or quasi-static tasks, but not yet for dynamic motion.
Future Directions
- Moving from simulation to hardware. The authors state this study is simulation-only and attribute it to the difficulty of reproducing many abnormal conditions on real hardware for quantitative evaluation; they note that musculoskeletal joints and muscles are typically grouped, with groups of no more than roughly five joints and ten muscles, so network complexity is not expected to differ greatly from the two-joint, six-muscle case.
- Broadening the failure taxonomy. Beyond rupture and jamming, real systems face circuit failures and sensor noise; the authors call for identifying which abnormal conditions actually occur in practice.
- Reducing inference time. ~0.7 s is acceptable for static motion but insufficient for dynamic behaviors; diffusion model acceleration methods are suggested.
- Generalizing beyond musculoskeletal structures. The method is claimed to apply to any robot with redundant joints, muscles, or sensors.
Target Audience
Robotics researchers and graduate students working on musculoskeletal and tendon-driven robots, redundant actuation, or learned internal models; practitioners interested in generative models (especially diffusion) applied to robot state estimation and fault tolerance; and engineers evaluating whether latent-space or full-space representations are better suited to out-of-distribution physical conditions.
Authors’ abstract
Musculoskeletal robots require an internal body schema that remains consistent under a wide range of physical state changes, including abnormalities such as muscle rupture and actuator jamming. Conventional approaches based on autoencoders or variational autoencoders learn average behaviors by projecting sensor and actuator signals into a low-dimensional latent space; however, exploration within the latent space alone has limited capability to handle out-of-distribution or…
The full abstract on arXivRelated papers
- VLAff: Vision-Language-Affordance Model for Unified Actionable Affordances 2026-08-05 · cs.RO · Also by Kento Kawaharazuka
- WARL: Wrench-Augmented Reinforcement Learning for Task-Agnostic Learning in Legged Robots 2026-07-27 · cs.RO · Also by Kento Kawaharazuka
- Neural Introspection Gating for Adaptive KV-Cache Reuse in Vision-Language-Action Models 2026-08-11 · cs.RO · Also by Kento Kawaharazuka
- Robust Brachiation on a Life-Sized Dual-Arm Robot Using Waypoint-Guided Reinforcement Learning 2026-08-18 · cs.RO · Also by Kento Kawaharazuka
- Design of a Biomimetic Joint-Covering Skin with Tissue-Like Structure to Enhance Proprioception in a Musculoskeletal Humanoid 2026-08-24 · cs.RO · Also by Kento Kawaharazuka