# Manipulation of Deformable Linear Objects Using Model Predictive Path Integral Control with Bidirectional Long Short-Term Memory Learning

Robotics.world

> Cables, ropes and wires have effectively infinite degrees of freedom, so an external force changes both their position and their shape at the same time — making them hard to model and hard to control…

**arXiv**: 2609.26238

**Published**: 2026-09-22

**Authors**: Lukas Zeh, Johannes Meiwaldt, Zexu Zhou, Armin Lechler, Alexander Verl

## In plain words

Cables, ropes and wires have effectively infinite degrees of freedom, so an external force changes both their position and their shape at the same time — making them hard to model and hard to control in real time. The authors' goal is to learn the deformation behaviour of a DLO from simulated data and then use that learned model inside a sampling-based predictive controller to push the object into a desired shape.

## AI summary

## Overview

**Research area:** Robotics — deformable object manipulation, specifically Deformable Linear Objects (DLOs) such as cables, ropes, hoses and wires; sits at the intersection of learned dynamics models (recurrent neural networks) and sampling-based optimal control (Model Predictive Path Integral control).

**Technical level:** Advanced. The paper assumes familiarity with recurrent neural networks (LSTM/biLSTM), Model Predictive Control, MuJoCo simulation, and cost-function design for trajectory optimization.

**Scope (one sentence):** The paper pairs a bidirectional LSTM dynamics model trained on synthetic MuJoCo data with an MPPI controller to drive a Franka Emika Panda robot so that a cable or wire is shaped into a target configuration, evaluated in simulation and in three real-world scenarios.

## What This Paper Is About

Cables, ropes and wires have effectively infinite degrees of freedom, so an external force changes both their position and their shape at the same time — making them hard to model and hard to control in real time. The authors' goal is to learn the deformation behaviour of a DLO from simulated data and then use that learned model inside a sampling-based predictive controller to push the object into a desired shape. Manipulation is restricted to a 2D plane (with one 3D experiment), where one end of the DLO is clamped and the other is moved by a robot arm.

## Key Contributions

1. **A published dataset, model architecture and trained model weights** for cable modelling, released at `https://doi.org/10.18419/DARUS-5050`. The dataset is generated synthetically with the MuJoCo physics engine.
2. **A biLSTM-based dynamics model** of the DLO that consumes the full system state (relative capsule positions and velocities plus end-effector pose and velocity) and predicts capsule velocities for the next timestep; the architecture and hyperparameters were selected through a random search followed by a grid search.
3. **A control framework combining that learned model with a Model Predictive Path Integral (MPPI) controller** that samples control sequences, rolls them out through the biLSTM, scores them with a shape cost plus control cost, and applies the first control input.
4. **Simulation and hardware validation** on a Franka Emika Panda, including U-shape control in simulation and in three physical scenarios (2D cable, 3D cable on a raised platform, and a thinner wire with vision-based shape estimation instead of markers).

## Main Findings

- **Learned model accuracy:** Evaluated over 100 rollouts of 150 timesteps (3 seconds), the biLSTM achieved an average shape error of **3.3 cm** and an average velocity error of **61.59 %**. Shape and velocity error both grow with the number of predicted timesteps, though qualitative rollouts at 1, 50 and 150 timesteps preserved structure, length and curvature.
- **Model capacity:** The best configuration used **three biLSTM layers** with **512 neurons each** (equivalent to 256 neurons per direction), learning rate **1e-4**, weight decay **1e-7**, and batch size **128**.
- **Simulation, U-shape:** **100 trials** with a success criterion of at most **2 cm** deviation between simulated capsule positions and target points gave a **93 %** success rate and an average of **7.26 s** per successful trial (success required completion within 30 s).
- **Simulation, random goal shapes:** **1,000 trials** gave a success rate of **20.5 %** with an average of **13.3 s** per successful trial — a large drop indicating sensitivity to how closely the target matches the tuning scenario.
- **Physical experiment, 2D cable (50 cm, 6 mm diameter, 9 markers):** **20 trials**, **85 %** success, average **15.7 s** per successful trial; fastest **2.1 s**, slowest **45.2 s**.
- **Physical experiment, 3D cable on a 7 cm platform:** **20 trials**, **50 %** success, average **28.3 s** per successful trial; fastest **10.4 s**, slowest **80.5 s**. Control was less robust, and the authors note this scenario was not part of training.
- **Physical experiment, thin wire (50 cm, 1.5 mm diameter, no markers, FastDLO shape estimation):** The paper states this scenario was less robust than the first and led to a higher failure rate; the quantitative success rate is **not reported** in the available content (the text is truncated at this point).
- **Sim-to-real gap:** The MPPI parameters tuned in simulation needed further adjustment for the physical setup. Final experimental parameters were horizon **8**, timestep **0.02**, **200** samples, temperature **0.002**, disturbance standard deviation **[0.2; 0.2; 0; 0.02]** for [X, Y, Z, Rot(Z)], form-error weight **150** and control-error weight **5**.
- **Named bottleneck:** The computational cost of the biLSTM when evaluating many sampled trajectories limits controller performance; more computing resources and a larger sample count would generally improve accuracy and robustness.

## Methodology in Plain English

**Data generation.** The authors build a simulated cable in MuJoCo as a chain of **50 capsules** (0.5 m total length, 1 cm diameter) linked by linear, torsional and bending springs, with a Young's modulus of 4 × 10⁶ Pa, shear modulus of 1 × 10⁶ Pa and damping of 1 Nms/rad. One end is clamped; the other is dragged by a simulated robot arm to a random target position within x ∈ [0.05, 0.35] m and y ∈ [-0.2, 0.2] m, with the cable also randomly rotated about the z-axis by ψ ∈ [-1, 1] rad. Gravity, friction and air drag are ignored. Each trajectory lasts 5 s at a 1 ms simulation step; **10,000 trajectories** were recorded.

**Making the problem 2D and translation-invariant.** Only every 5th capsule is kept, giving **n = 10** points, and the first and last capsules are dropped. Rather than absolute coordinates, the model sees each capsule's position relative to the end effector, which ties deformation directly to actuator motion and lets the network generalise when the whole setup moves. Velocities come from frame-to-frame differences.

**The model.** A bidirectional LSTM reads the sequence in both temporal directions, so it can use context from both earlier and later in the sequence, and it also receives the end-effector state. Its output is the predicted capsule velocities at the next timestep. Training used the Adam optimizer and mean squared error, with an **80 % / 20 %** train/test split of the 10,000 trajectories.

**The controller.** MPPI samples many perturbed control sequences around a nominal one (perturbations drawn from pink noise), rolls each one through the biLSTM, and scores it. The cost has two parts: a shape cost measuring deviation from the target configuration (weighted by Q = 150) and a control cost penalising large inputs (weighted by R = 5). Each trajectory's weight is the exponential of its negative cost divided by a temperature λ = 0.002; the weights are normalised and used to shift the nominal sequence. Only the first control input is executed, then the loop repeats — the standard receding-horizon pattern, with warm-starting from the previous solution.

**Evaluation loop.** Simulation uses a MuJoCo model of the Franka Emika Panda with the end effector attached to the free cable end; the MPPI output is sent as a Cartesian target for inverse kinematics, with the z-height held at 10 cm. Hardware uses the same robot, an Intel RealSense D435i RGB-D camera, marker tracking via colour filtering (or the FastDLO algorithm when no markers are used), a communication frequency of 1,000 Hz to the robot, and camera processing at 40 fps on an Ubuntu 24.04 real-time desktop.

## Why This Matters

**Research impact.** The work is a concrete demonstration that a relatively lightweight learned model (a biLSTM) can serve as the predictive model inside a sampling-based MPC loop for deformable object shaping, and it contributes an open dataset, architecture and weights — which matters in a subfield where reproducibility is limited. It also quantifies how much performance degrades when the target shape or the object deviates from the tuning conditions (93 % on a tuned U-shape versus 20.5 % on random shapes).

**Real-world applications:**

- Automated cable routing and harness assembly in electronics and automotive manufacturing.
- Wire handling in electrical cabinet and switchgear assembly.
- Rope, hose or thread handling in food processing, textiles, and packaging.
- Robotic servicing tasks that require unplugging, dressing or tidying cables.

**Industry relevance.** Cable and wire handling is a persistent manual bottleneck in small-batch production, and most commercial robot systems assume rigid workpieces. A method that needs only simulated training data plus a modest amount of retuning, and that works with a standard industrial arm and an RGB-D camera, is a practical route towards automating those steps — provided the reported success rates and cycle times can be made reliable across shapes.

## Future Directions

- **Compute scaling for the sampler.** The authors identify biLSTM inference cost across many sampled trajectories as the main limiting factor; larger sample counts would improve accuracy and robustness, which points to GPU parallelisation or a faster dynamics model.
- **Smarter sampling.** Replacing the current sampling strategy with an adaptive scheme that concentrates exploration on trajectories with high solution potential is proposed to improve results.
- **Target-shape generalisation.** The gap between 93 % (tuned U-shape) and 20.5 % (random shapes) suggests that per-task MPPI retuning or a more shape-agnostic cost formulation is needed.
- **Closing the sim-to-real gap and extending to harder cases.** Parameters tuned in simulation needed manual adjustment on hardware, and the 3D and thin-wire scenarios were markedly less robust; better domain randomisation, gravity-aware models, and marker-free perception are natural next steps.

## Target Audience

Robotics researchers and graduate students working on deformable object manipulation, learned dynamics models, or sampling-based MPC; control engineers evaluating whether a learned-model MPPI pipeline is viable for flexible-part handling; and industrial automation engineers interested in the practical failure modes (retuning burden, execution time, robustness to untrained conditions) of bringing such a method to a production cell.

## Authors’ abstract

The manipulation of Deformable Linear Objects (DLOs) such as cables poses a significant challenge for automation due to their infinite degrees of freedom and non-linear dynamics. In this paper we present a machine learning based optimal control approach for the manipulation of DLOs. This approach is divided into two main components: modeling and control. For modeling the dynamics of the DLO, we propose a learning based approach using a bidirectional Long Short-Term Memory…

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

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

## Related papers

- [Modeling Load-, Velocity-, and Temperature-Dependent Transmission Errors of Cycloidal Drives for Industrial Robots Using Fourier Series](https://robotics.world/paper/modeling-load-velocity-and-temperature-dependent-transmission-errors-of-2609.29112) 2026-09-24 · cs.RO · Also by Alexander Verl, Armin Lechler
- [OCC4M: Object-Centric 4D Memory for Spatiotemporal Reasoning in Long-Horizon Manipulation](https://robotics.world/paper/occ4m-object-centric-4d-memory-for-spatiotemporal-reasoning-in-long-2609.28798) 2026-09-23 · cs.RO · Key terms of the title in common
- [EvoMem-VLA: State-Evolution Memory for Long-Horizon Robot Manipulation](https://robotics.world/paper/evomem-vla-state-evolution-memory-for-long-horizon-robot-manipulation-2610.05418) 2026-10-04 · cs.RO · Key terms of the title in common
- [RoboFolDeX: A Physical-World Benchmark for Long-Horizon Robotic Manipulation of Deformable Objects](https://robotics.world/paper/robofoldex-a-physical-world-benchmark-for-long-horizon-robotic-2609.10243) 2026-09-09 · cs.RO · Key terms of the title in common
- [Point It, Strike It: Direction-Conditioned Dynamic Manipulation of Deformable Linear Objects](https://robotics.world/paper/point-it-strike-it-direction-conditioned-dynamic-manipulation-of-2610.09573) 2026-10-07 · cs.RO · Key terms of the title in common

---

Canonical: https://robotics.world/paper/manipulation-of-deformable-linear-objects-using-model-predictive-path-2609.26238
