# All You Need Is Low Fidelity: Zero-Shot Sim-to-Real of Learned Robotic Fish Control

Robotics.world

> Soft swimming robots have mostly cruised in straight lines or executed hard-coded gaits, because the compliance that makes them agile also makes them hard to control: their tail shape emerges from…

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

**Published**: 2026-09-29

**Authors**: Liam Maloney, Simon Ramchandani, Mike Y. Michelis, Ronan Hinchet, Robert K. Katzschmann

## In plain words

Soft swimming robots have mostly cruised in straight lines or executed hard-coded gaits, because the compliance that makes them agile also makes them hard to control: their tail shape emerges from coupled motor, elastic-body, tendon and fluid dynamics rather than being commanded joint by joint.

## AI summary

## Overview

**Research area:** Soft robotics and sim-to-real reinforcement learning, specifically learned closed-loop control for an underactuated, tendon-driven robotic fish.

**Technical level:** Advanced. The paper assumes familiarity with reinforcement learning (soft actor-critic), system identification, quasi-steady hydrodynamic models, and domain randomization. The prose is unusually readable, but the content is dense.

**Scope:** The paper shows that a deliberately low-fidelity, stateless fluid simulator is sufficient to train a general closed-loop swimming controller that transfers to a physical soft robotic fish without retuning, provided the policy's action space is constrained to the frequency band over which the fluid model was identified.

## What This Paper Is About

Soft swimming robots have mostly cruised in straight lines or executed hard-coded gaits, because the compliance that makes them agile also makes them hard to control: their tail shape emerges from coupled motor, elastic-body, tendon and fluid dynamics rather than being commanded joint by joint. Learning a general controller requires simulation, but accurate computational fluid dynamics is too slow for the sample budgets of reinforcement learning, while fast simulators approximate the fluid only coarsely. The paper's goal is to determine whether a controller learned inside an intentionally cheap, wake-free, stateless fluid model can be deployed unchanged on real hardware to do general tasks — reaching targets, rejecting disturbances, and tracking moving targets — rather than one tuned gait.

## Key Contributions

1. **A zero-shot sim-to-real demonstration on a soft underactuated fish.** A single policy trained entirely in a MuJoCo twin with stateless, quasi-steady hydrodynamics runs unchanged on the physical robot and performs closed-loop target reaching, disturbance rejection, out-of-distribution target acquisition, and moving-target tracking. The authors state this is, to their knowledge, the first closed-loop swimming policy trained in a stateless fluid model and deployed on a soft underactuated fish.
2. **A band-limited trajectory generator as the mechanism that makes transfer work.** Instead of commanding motor angles, the policy sets six parameters of a low-order harmonic gait generator with a hard frequency ceiling, so the small-amplitude, high-frequency "flutter" that a stateless fluid model rewards is structurally unreachable while the policy retains authority over amplitude, offset and turning. The ceiling is set to the band over which the fluid coefficients were fitted.
3. **A staged, two-part identification that grounds the simulator.** Tail stiffness and damping are identified in air from a frequency response (stiffness ≈ 0.98 N·m/rad, damping ≈ 0.011 N·m·s/rad, from 42 drive conditions over four frequencies), then mapped to five per-joint stiffnesses (2.99 to 1.32 N·m/rad from body to fin) through the tendon geometry. Separately, fifteen quasi-steady fluid coefficients — five per zone across head/body, tail and fin — are fitted from open-loop free-swim runs with the motor decoupled, using CMA-ES with position errors weighted four times more heavily during acceleration.
4. **A diagnostic for when a low-fidelity model can be trusted.** The authors compare where each controller places its tail-velocity power relative to the 1–4 Hz band the fluid was identified over, arguing that velocity — not commanded setpoint or tail angle — is the right quantity to check because thrust is proportional to velocity squared in the model.

## Main Findings

- **Zero-shot reaching from a standing start:** From 1.6 m, the deployed policy converged to within 4.5 cm of the target with a smooth, large-amplitude stroke, and no retuning between simulation and pool.
- **Descriptive session counts, not an unbiased rate:** Across the session the fish arrived inside the 5 cm training radius on 11 of 22 static and 5 of 8 perturbed targets, and within 20 cm on 13 and 7 respectively. The authors explicitly note that targets were hand-placed rather than sampled uniformly, so these are descriptive counts rather than an unbiased reachability rate.
- **Generalization beyond the trained distribution:** The deployed policy completed the curriculum only through the ±120° arc and targets out to 2.5 m, yet it reached targets at +158° and −175° (nearly directly behind, via a wide U-turn), closing to 2.1 and 1.6 cm, and a target at 2.8 m, closing to 2.3 cm. Trained only on static targets, it followed a hand-moved target along a figure-eight for about 73 s in both attempts.
- **Disturbance rejection it was never trained for:** No external disturbance appeared in training, yet the fish reached the target in 7 of 8 perturbed trials, including imposed backward or spun starts, two prods with a stick, and all three swims through stirred water.
- **A turning-radius limit, not a tracking failure:** The lateral-rear 90°–120° band went 0 of 4, and only one of ten figure-eight attempts produced two clean crossing loops, which the authors attribute to a tighter turn than the trajectory generator's bias can close in a pool of this size.
- **The frequency diagnostic separates the controllers:** Open-loop identification runs place 92% of velocity power below 4 Hz; the trajectory-generator policy places 97% there. Unconstrained direct action places only 44% — outside the band where the fluid was validated. The deployed policy measures 62% on hardware, and rescaling for a frequency-ceiling scaling error recovers 77%; the remainder is not accounted for. A first-order setpoint filter holds 93% in band while swimming forward over 40 episodes but only 68% in the 14 episodes where the gait reverses.
- **The actuator model was substantially wrong, yet the policy still worked:** Motor identification performed after deployment showed the servo the policy trained against was near-ideal (position gain 800, rotor armature 0.001, zero delay), whereas the identified Dynamixel has position gain 5.41, rotor armature 0.0113, joint damping 0.48, force limit 2.3 N·m and roughly 14 ms transport delay. The identified model reproduces the stroke to 1.0° RMSE against 3.6° for the idealized one, and peak shaft speed is capped near the measured 5 rad/s.
- **The fluid fit deliberately inflates the fin coefficients:** Fin angular drag (18.310) and Kutta lift (10.148) come out an order of magnitude larger than the head/body values (0.813 and 0.521), because a stateless model cannot represent unsteady vortex-driven thrust. A separate identification on different data inflates the fin just as much, so the authors treat this as intrinsic to the model rather than a fitting error.
- **A sign error caught during identification:** Early identification produced a simulated fish that swam net backward under a forward-driving gait when certain body-mass and fluid-coefficient combinations were allowed; fixing inertial properties from the CAD assembly removed it. The authors frame this as the identification-stage analogue of constraining what a policy may command.
- **Shipping misconfigurations did not break transfer:** Every trajectory-generator scaling constant differed between training and the shipped configuration — amplitude and turn bias 2.7× and 5.3× smaller, and the frequency ceiling 1.5× higher (6 Hz at deployment versus 4 Hz in training), which made every commanded frequency 1.5× higher than intended. The measured tail beat was 1.3 Hz across deployment runs.

## Methodology in Plain English

The team built a small tendon-driven soft fish: one motor turns a pulley that pulls two opposing tendons routed along a flexible 3D-printed tail, so a single actuator bends a continuum into a traveling S-shape. Onboard, a Raspberry Pi 5 in an oil-filled head runs the policy; sensing comes from a motor encoder, an inertial measurement unit, and an AprilTag tracked by an overhead camera.

Rather than resolving the water flow, they trained in MuJoCo on a digital twin that models the fish as a rigid head plus a five-hinge tail chain, with fluid forces computed only from the body's instantaneous velocity — no wake, no fluid memory. Because this model cannot distinguish a big slow stroke from a small fast flutter (both give the same velocity, and thrust goes as velocity squared), an unconstrained policy would learn the flutter, which was never validated.

Their fix has two parts. First, they identified the simulator's parameters from separate experiments: the tail's stiffness and damping from sweeping it with sinusoids in air at four frequencies, and the fluid coefficients from free-swimming runs where recorded motor commands were replayed so the fit never depended on the motor. Second, they made the policy's action space a six-parameter rhythmic gait generator with a hard frequency ceiling set to the identified band; a first-order lag with a 0.1 s time constant smooths the parameters so they adapt within a stroke but never jump between steps.

The policy itself is a soft actor-critic agent with three-layer networks of 286 ReLU units per layer and about 175k actor parameters, observing only what the hardware can measure: motor angle and velocity, body yaw rate, gait phase, recent frequency and offset commands, and the three most recent camera frames giving target distance, offset in the fish frame, and frame staleness. The reward is negative distance to the target minus a small action penalty, plus a large bonus for arriving within 5 cm.

Training used a ten-stage curriculum, promoted at above 95% rolling target acquisition, that added observation noise and delay, then per-episode physics randomization (head-body mass, inertia and center of mass to ±5% and ±5 mm; tail stiffness and damping to ±15%; fluid coefficients to ±20%), then widened the target arc from a narrow forward cone through ±60° and ±120° to ±180°. A warm-restart learning-rate schedule (×0.3 per stage, reset at each phase boundary) let the optimizer adapt without discarding the replay buffer.

## Why This Matters

The paper reframes the sim-to-real problem: instead of asking how much physics a simulator must capture, it asks how much of the physics can live in the controller's structure instead. If that trade generalizes, learned control for compliant robots becomes feasible for groups without a validated flow solver or the compute to run one — a much lower barrier than CFD-in-the-loop training. It also offers a concrete, measurable criterion (fraction of velocity power inside the identified band) for judging whether a learned gait is trustworthy, and documents how much can go wrong simultaneously — wrong actuator model, wrong scaling constants — while still transferring, provided the action family stays bounded.

Real-world applications:

- **Marine-life observation:** quiet, soft-bodied swimmers that can station-keep near animals and track moving targets rather than cruising fixed lines.
- **Environmental and infrastructure monitoring:** closed-loop reaching and disturbance rejection in ponds, tanks and cluttered shallow water where hard-coded gaits fail against currents.
- **Aquaculture and inspection:** target-relative navigation using only onboard sensing plus simple external pose fixes, without a validated hydrodynamic model.
- **Low-cost robotics education and research:** a template for training deployable controllers on consumer-grade simulation and cheap actuators.

Industry relevance: the result lowers the cost of entry for learned control of soft and underactuated systems — fewer simulation hours, no flow solver, and no per-robot tuning — which matters for anyone commercializing compliant underwater platforms or, more broadly, for sim-to-real pipelines where the plant model is known to be poor.

## Future Directions

- **Identifying the validity boundary directly.** The authors propose measuring where the simulator's coefficients stop being trustworthy and enforcing that boundary with something less blunt than a fixed harmonic oscillator, which may recover the agility the current prior gives up.
- **Unbiased reach maps.** Replacing hand-placed targets with a sampled grid would turn the session counts into an unbiased reachability map, addressing the paper's own stated limitation.
- **Training with randomized external forces.** The observed disturbance rejection was not designed for; adding randomized forces during training could make it deliberate and stronger.
- **A controlled comparison of action spaces.** The authors state their experiments cannot settle whether tightening the fluid model instead of constraining the policy would also transfer, because they never ran an unconstrained policy on the fish. A controlled deployment of both action spaces against a common plant would decide it.
- **A better actuator model.** Because the deployed policy was trained against an idealized servo quite unlike the identified Dynamixel, re-training with the identified motor model is an open, unmeasured question the paper implies but does not report.

## Target Audience

Robotics researchers working on sim-to-real transfer, soft and underactuated robot control, and underwater locomotion; reinforcement learning practitioners who care about action-space design as a substitute for simulator fidelity; and engineers building compliant robots who need deployable controllers without access to high-fidelity flow simulation. The paper is also useful to readers interested in system identification methodology, particularly the argument that parameters a model is not meant to explain must be constrained during fitting. Beginners will follow the narrative but will need background in reinforcement learning and dynamic modeling to engage with the identification sections.

## Authors’ abstract

Complex tasks for underwater robots remain limited by the capabilities of their controllers. Learning a better one for a soft, underactuated robotic fish trades simulator cost against fidelity. We show that an intentionally low-fidelity simulator is enough: a stateless, quasi-steady fluid model with no wake and no added-mass history suffices to learn a \emph{general}, closed-loop controller that transfers to hardware without tuning. Our platform is a soft, single-motor,…

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

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

## Related papers

- [WayFinder: Hierarchical Visual-Language-Action for Zero-Shot Waypoint Generation and Low-Level Kinematic Control](https://robotics.world/paper/wayfinder-hierarchical-visual-language-action-for-zero-shot-waypoint-2609.37922) 2026-09-29 · cs.RO · Key terms of the title in common
- [MOSAIC-SV: Real-Time Adaptive Identification of Vessel Dynamics for the Control and Deployment of Aquatic Robots](https://robotics.world/paper/mosaic-sv-real-time-adaptive-identification-of-vessel-dynamics-for-the-2610.03898) 2026-10-02 · cs.RO · Key terms of the title in common
- [Dual Variational Autoencoders for Efficient Sim-to-Real Transfer in Low-Cost Robotic Navigation](https://robotics.world/paper/dual-variational-autoencoders-for-efficient-sim-to-real-transfer-in-low-2610.06327) 2026-10-05 · cs.RO · Key terms of the title in common
- [Rapid Learning of Dexterous In-Hand Pen Writing through Real-Time Jacobian Estimation](https://robotics.world/paper/rapid-learning-of-dexterous-in-hand-pen-writing-through-real-time-2609.11775) 2026-09-10 · cs.RO · Also by Robert K. Katzschmann
- [Real-Time Shape Control of Multi-Segment Soft Robotic Arms Using Koopman Operators with Global and Local Observables](https://robotics.world/paper/real-time-shape-control-of-multi-segment-soft-robotic-arms-using-2609.03175) 2026-09-02 · cs.RO · Key terms of the title in common

---

Canonical: https://robotics.world/paper/all-you-need-is-low-fidelity-zero-shot-sim-to-real-of-learned-robotic-2609.36993
