Learning Visually Interpretable Oscillator Networks for Soft Continuum Robots from Video

Henrik Krauss, Johann Licher, Naoya Takeishi, Annika Raatz, Takehisa Yairi

TL;DR

This paper introduces a fully data-driven approach to learn the complex dynamics of soft continuum robots directly from video while maintaining both visual and mechanical interpretability. By combining a novel Attention Broadcast Decoder (ABCD) with Visual Oscillator Networks (VONs), the method maps abstract latent states directly onto the physical structure of the robot, significantly improving multi-step prediction accuracy and enabling the on-image visualization of physical forces, masses, and stiffness.

Overview of the proposed framework combining ABCD and Visual Oscillator Networks (VONs).

What Problem Does This Paper Address?

Soft continuum robots (SCRs)—made of flexible, compliant materials—are notoriously difficult to model due to their infinite-dimensional and highly nonlinear mechanics. Traditional physics-based models (like Cosserat rod theory) are computationally expensive and require tedious manual calibration.

Data-driven methods, such as deep autoencoders paired with Koopman operators or latent oscillator networks, can learn these dynamics directly from raw video data. However, they suffer from a major flaw: their latent spaces are abstract "black boxes." There is no straightforward way to map a latent variable back to a specific physical part of the robot or to interpret the learned dynamics mechanically. This paper bridges the gap between the flexibility of data-driven video learning and the interpretability of physical models.

Methods

The authors propose an autoencoder-based latent dynamics learning framework modified with two key innovations:

  1. Attention Broadcast Decoder (ABCD): Replacing standard convolutional decoders, the ABCD forces individual latent dimensions to compete for pixel reconstruction via a spatial attention mechanism. This generates pixel-accurate attention maps that localize where each latent dimension is looking while automatically filtering out static backgrounds.
  2. Visual Oscillator Networks (VONs): The authors group pairs of latent dimensions into 2D latent oscillators. By introducing an attention coupling loss, they force the relative motions of these oscillators in latent space to match the relative motions of their centers-of-mass in the image space. This grounds the abstract mathematical oscillators to real physical locations on the robot, allowing physical properties like mass, coupling stiffness, and forces (actuation, stiffness, and inertial) to be overlaid directly onto the video frames.
Detailed architecture of the Attention Broadcast Decoder (ABCD) and its internal Attention Processor.

Datasets

The method was validated on real-world datasets collected from two physical setups:

  • A single-segment soft pneumatic continuum robot.
  • A two-segment soft pneumatic continuum robot connected by a rigid intermediate joint.

The actuators were controlled using random multi-frequency pressure trajectories to capture a wide workspace and diverse frequency spectrum. Video was recorded at 120 fps in Full HD, downscaled to $3 \times 32 \times 32$ pixels, and subsampled to 60 fps. The authors have made this dataset publicly available.

Key Insights and Ideas

  • Emergent Physical Structure: Without any prior physical knowledge or structural constraints, the VON autonomously discovered a chain-like structure of oscillators for the two-segment robot. This directly mirrors the discrete approximations used in classical mechanics (like finite element methods or Cosserat rod theory).
  • Localization through Competition: Forcing the latents to compete via a softmax layer naturally segments the robot's moving parts from the static background, assigning distinct latents to distinct physical regions (e.g., base vs. tip).
  • Robust Extrapolation: Because the latents are spatially grounded, the model exhibits strong generalization. When extrapolating states far beyond the training data (e.g., extreme bending angles), ABCD-based models generate plausible physical shapes and restoring forces, whereas standard autoencoders collapse into high-frequency noise.
Attention maps showing how different latent dimensions focus on distinct physical regions of the single- and double-segment robots.

Key Results

  • Massive Error Reduction: For the complex two-segment robot, incorporating the ABCD module reduced multi-step prediction error (over a 0.5-second horizon) by $5.8\times$ for Koopman operators and $3.5\times$ for oscillator networks compared to standard decoders.
  • Physically Consistent Force Overlays: As shown in the visualizations, the learned stiffness forces correctly act as restoring forces toward the robot's rest state, while actuation forces align with the direction of pneumatic physical inputs.
VONs visualized on physical robot images alongside their corresponding latent space representations.

Limitations and Future Work

While promising, the study notes several limitations:

  • Static Backgrounds: The current formulation assumes a largely static background to separate the robot's dynamics cleanly.
  • Planar Motion: The experiments enforced planar motion observed by a single camera, though the physical robots are capable of moving in 3D space.
  • Open-Loop Evaluation: The learned models have not yet been tested in a closed-loop control framework.

Future directions include extending the framework to 3D oscillator networks using multi-camera setups, adapting to variable backgrounds, and validating the models in real-time model predictive control (MPC) loops.

Summary updated

BibTeX
@misc{krauss2025learning,
  author = {Henrik Krauss and Johann Licher and Naoya Takeishi and Annika Raatz and Takehisa Yairi},
  title = {{Learning Visually Interpretable Oscillator Networks for Soft Continuum Robots from Video}},
  year = {2025},
  eprint = {2511.18322},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2511.18322},
}
Figure