Driving · 2026-11-20

Ferrofluid Shape Control with Deep Reinforcement Learning

Anthony Czubarow, Antonio Terpin, Raffaello D'Andrea

arXiv:2611.25232PDF

AI-assisted summary based on the paper. Consult the linked source for methods and limitations. Benchmark numbers appear after editor verification.

TL;DR

The authors use deep model-based reinforcement learning (DreamerV3) to control transient ferrofluid shapes by selecting current commands for a single fixed electromagnet from visual observations. Learning directly on hardware, they repeatedly attain 20 prescribed silhouettes (polygons, asterisks with three to six rays, and pentominoes), using a reward based on improvements in best window-averaged silhouette IoU.

Why it matters

The paper addresses reliable control of ferrofluid shape under nonlinear continuum dynamics by leveraging transient fluid responses rather than only equilibrium configurations. It combines a reproducible visual+single-magnet platform with DreamerV3 and a temporally augmented IoU-based reward, demonstrating hardware learning that can repeatedly produce a variety of target geometries.

Method

  • Formulate ferrofluid shaping as an episodic POMDP; a policy selects a scalar action that sets the current of a single fixed electromagnet using camera observations.
  • Use DreamerV3 to learn a world model from physical experience and train the policy through imagined interaction; reward is improvement in the best window-averaged registered silhouette IoU achieved during an episode.
  • Train separate policies per target; evaluate by undiscounted episode return, single-frame IoU threshold attainment frequency and first-crossing time, and persistence near each episode peak IoU.

Limitation

Area overlap (IoU) may not capture geometric detail; the authors report that some shapes (e.g., pentagon, hexagon, five-ray asterisk) do not cross thresholds and discuss poorly resolved corners/merged or rounded features affecting attainment metrics.

Abstract (from arXiv)

Ferrofluids are liquids containing magnetic nanoparticles, enabling shape control through external magnetic fields. This deformability supports their use as soft robotic bodies that can navigate confined spaces and manipulate objects. Their nonlinear continuum dynamics, however, make reliable control challenging. Existing work shows how spatial magnetic fields from electromagnet arrays can establish and maintain desired ferrofluid configurations. A complementary objective is to exploit the fluid's dynamics under limited actuation to reach prescribed shapes that may not be sustainable at equilibrium. Here, we use deep model-based reinforcement learning to control these transient shapes. Learning directly through physical interaction, our policies select current commands for a single fixed electromagnet based on visual observations, guiding the moving ferrofluid toward prescribed geometries. The learned policies repeatedly attain a variety of shapes spanning polygons, asterisks and pentominoes. These results demonstrate that learning directly from physical interaction enables reliable fluid shaping, opening new possibilities for controlling ferrofluid-based soft robots.

Related papers

Publication record

Bibliographic evidence describes where and when a record appeared. It does not validate scientific claims.

First announced by arXiv: 2026-11-20 · Indexed by Pub-AI: 2026-11-20 UTC

preprint

Ferrofluid Shape Control with Deep Reinforcement Learning

Anthony Czubarow, Antonio Terpin, Raffaello D'Andrea

First announced by arXiv: 2026-11-20 · Original record ↗

arxiv
2611.25232
Explicit source versions (1)
  • v1 · Date not supplied
  1. Preprint available

    Source date: 2026-11-20 · First detected: 2026-11-20 UTC · Historical baseline

    Source evidence (1)
    • Official evidence ↗ · RSS guid=oai:arXiv.org:2611.25232v1; arxiv:announce_type=new; item pubDate (official metadata)
Abstract · arxiv

Ferrofluids are liquids containing magnetic nanoparticles, enabling shape control through external magnetic fields. This deformability supports their use as soft robotic bodies that can navigate confined spaces and manipulate objects. Their nonlinear continuum dynamics, however, make reliable control challenging. Existing work shows how spatial magnetic fields from electromagnet arrays can establish and maintain desired ferrofluid configurations. A complementary objective is to exploit the fluid's dynamics under limited actuation to reach prescribed shapes that may not be sustainable at equilibrium. Here, we use deep model-based reinforcement learning to control these transient shapes. Learning directly through physical interaction, our policies select current commands for a single fixed electromagnet based on visual observations, guiding the moving ferrofluid toward prescribed geometries. The learned policies repeatedly attain a variety of shapes spanning polygons, asterisks and pentominoes. These results demonstrate that learning directly from physical interaction enables reliable fluid shaping, opening new possibilities for controlling ferrofluid-based soft robots.