Meridia Insight Tech for Good Frontiers

A robot can learn a cable’s shape without knowing what it’s made of

Instead of solving the physics of every cable, a robot can learn locally how its own movements reshape an object—and adjust as it goes.

24 small motions gave a robot a local map of how six gripper controls reshape a rod.

A robot does not need to know exactly how stiff a cable is before it can begin bending it toward a target. It can try small movements, watch how the cable responds, and build a local map from action to shape change. That map can then guide the next movement—and be revised as the object deforms. This is the central idea in shape servoing, a feedback-control approach for manipulating flexible things.

The idea matters because the objects people want robots to handle are often the ones least suited to rigid-body playbooks. A cable can go slack or taut; cloth folds and slides; tissue responds differently depending on how it is held. The same movement of a gripper can produce different outcomes as geometry, material properties and contact conditions change. A controller based on a precise mechanical simulation could, in principle, account for those effects. But obtaining the right material properties and contact model is difficult. This tutorial instead explains how to learn a usable local relationship from observations (Cuiral-Zueco et al., 2026).

The paper is a fundamentals tutorial, not a report of a robot deployed in a factory or clinic. Its running example is a simulation: two robot arms manipulate an elastic rod while a camera tracks points along it. The practical promise is therefore a control framework, not evidence that a particular real-world task has already been solved. Its value lies in making the pieces—and the limits—of a widely used approach easier to understand.

The Science

Shape servoing means automatically moving a deformable object toward a desired shape while repeatedly measuring how close it is. The robot sees a current configuration, compares it with a target, and chooses an action intended to reduce the difference. Then it measures again. That closed loop is the same broad logic used in many kinds of automation, but here the controlled thing is not a rigid arm or a wheel: it is the cable, cloth or other object being manipulated.

A controller cannot usually work directly with every point in an object’s full physical state. Instead, perception extracts a manageable set of features from camera images or other sensor data. In the example, a camera tracks five material points on the rod. Each point has two image coordinates, so the controller represents the shape with ten numbers. The target is expressed using the same points, and the difference between current and target coordinates becomes the shape error. Keeping each feature tied to a consistent point—or otherwise using a consistent shape parameterization—is crucial: without it, the controller might compare unlike parts of the object.

The bridge between a robot’s action and the resulting feature movement is the deformation Jacobian. A Jacobian is a local linear map: it predicts how a small change in one set of quantities—in this case, robot motion—will change another—in this case, measured shape. “Local” is essential. The map is an approximation around the object’s current configuration, not a universal law for every pose or every material state. If the rod changes from slack to taut, the same gripper movement may have a different effect, so the map must adapt.

The controller uses an estimate of this map to turn shape error into robot velocity. It applies the Moore–Penrose pseudoinverse, a standard mathematical tool for finding a suitable solution when a system has more measured outputs than controls, or when several control motions could produce the same output. In plain terms, it asks: given the shape changes these actuators can produce, which robot movement would best reduce the error? The gain controls how aggressively the robot moves toward the target.

Fig. 3: Offline Jacobian estimation in the running example. Left: a small robot
perturbation Δ𝐪c produces a measured feature change Δ𝐬c. Center: the
C=24 action–response pairs are stacked as the columns of Δ𝐐 and Δ𝐒.
Right: least-squares regression gives the initial Jacobian estimate 𝐉^0.
Fig. 3: Offline Jacobian estimation in the running example. Left: a small robot perturbation Δ𝐪c produces a measured feature change Δ𝐬c. Center: the C=24 action–response pairs are stacked as the columns of Δ𝐐 and Δ𝐒. Right: least-squares regression gives the initial Jacobian estimate 𝐉^0. Source: Ignacio Cuiral-Zueco, Alessio Caporali

The example gives the abstract recipe a concrete scale. Two planar grippers have three degrees of freedom apiece—two translations and one rotation—so there are six robot control coordinates. The camera’s five tracked points contribute ten shape-feature coordinates. The Jacobian therefore maps six possible robot velocities into changes across ten observed shape coordinates. The figure illustrates the initial estimation step: perturb the robot, measure the point movement, and use many such pairs to fit the map.

To initialize that map, the tutorial’s simulated system makes small exploratory movements around its starting configuration. Each movement is paired with the resulting measured shape change. The pairs are combined in a least-squares regression: find the linear map that best predicts the observed responses. For a reliable estimate, the probes must collectively test every independent direction the robot can move. They must also strike a practical balance—large enough that camera measurements can distinguish the response from noise, but small enough that the local linear approximation remains reasonable.

The tutorial then describes online adaptation. During ordinary control, every robot movement produces another action–response pair. Broyden’s rule uses the newest pair to adjust the Jacobian so that the revised estimate reproduces that observed response. This lets the robot learn while pursuing the task rather than stopping to repeat a separate calibration routine. It does not make the estimate perfect: one observation constrains the map along the direction just tested, and measurement noise or abrupt changes can still cause trouble.

The paper assumes a quasistatic regime: the object settles after each motion, and inertia does not dominate the result. It also assumes that the relevant shape can be measured and that the manipulation proceeds continuously enough for a local relationship to remain meaningful. A regrasp, collision, break, or sharp transition in deformation can make the old Jacobian obsolete. These are not minor footnotes; they define the operating conditions under which this elegant feedback loop is meant to work.

What They Found

The tutorial’s worked simulation uses 24 exploratory action–response pairs to estimate the initial Jacobian. Each of the six actuation coordinates is probed in both positive and negative directions, with repeated motions; the trials are arranged so the grippers return to their initial configuration after probing each coordinate. The result is a data-derived map from robot commands to measured image-space shape changes—not a detailed reconstruction of the rod’s mechanics.

The fit is useful but imperfect. The authors report a Frobenius-norm regression residual of about 0.31, compared with about 1.72 for the measured response matrix. They describe the residual as approximately 18% of the response magnitude: the local linear map captures much, but not all, of the measured variation. This is a reminder that “model-free” does not mean “model-free of assumptions.” It means the controller avoids an explicit mechanical model, while still relying on a learned local model that can be wrong.

The initial Jacobian in the example has a reported condition number of about 17. A condition number summarizes how unevenly the map responds across different movement directions. When some directions barely change the observed shape, the pseudoinverse can amplify small errors into large commands. The tutorial flags this as a source of instability and points to more advanced treatment, including a damped inverse, in Part II. The implication is practical: estimating a map is not enough; the robot also needs to know when the map makes a requested correction numerically fragile.

A more basic limit comes from reachability. The pseudoinverse can only command feature changes that lie in the set of changes the robot’s current motion directions can produce. If part of the target error points outside that set, the controller can reduce the reachable component but cannot erase the rest. The authors identify unreachable target shapes as a central issue and connect the limitation to the geometry of the Jacobian. Adding more control freedom or choosing different shape features can change what is reachable, but no algebraic trick can make a physically unavailable motion available.

The control loop also depends on the choice of shape representation. Tracking individual material points gives the target a direct, intuitive meaning: this portion of the cable should end up here. But points must stay correctly identified as the object bends. Other representations, such as curvature or shape modes, can summarize the overall form more compactly, though they bring their own choices about how to parameterize and compare shapes. In other words, perception is not merely a camera problem; the representation determines what the controller considers success.

A local model from 24 exploratory motions

The tutorial’s simulated rod example uses 24 small action–response pairs to estimate an initial deformation Jacobian.

A local model from 24 exploratory motions
LabelValue
Exploratory action–response pairs24 pairs

Why This Changes Things

The broader significance is a shift in what a robot must know before it acts. Traditional model-based control asks for a sufficiently accurate description of the object, its mechanics and its boundary conditions. Data-driven Jacobian control asks for something narrower: a local account of how the available controls affect a chosen set of measurements. That can be a much more attainable requirement when the object’s stiffness or contact state is difficult to measure directly.

This is especially relevant to tasks where shape is the objective, not a nuisance to be suppressed. A cable-routing robot needs a cable to pass through a path; a cloth-folding system needs a particular fold; a medical robot may need to reposition soft tissue while respecting limits. The tutorial does not demonstrate those applications, but its common control structure could, in principle, support them if the sensing and operating assumptions hold. By separating perception, local-model estimation and feedback, it also gives engineers components they can replace or improve independently.

There is an appealing economy to the method. A camera does not necessarily need to be calibrated into world coordinates if the robot can learn directly how its motion changes image features. That can simplify setup: the controller can reason in the sensor’s own coordinates rather than translating every measurement into a perfectly calibrated physical model. But the simplification is conditional. The same features must remain measurable and meaningful, and the learned relationship must be refreshed when the response changes.

The framework’s reachability limit is a useful corrective to a common intuition about automation: a target is not achievable merely because it can be described. A controller may see an error clearly and still lack a movement that removes it. The shape features, grasp points, number of actuators and mechanical constraints jointly define the available directions of change. When a target is unreachable, the system may need to choose a different grasp, alter its representation, add an actuator, or revise the goal.

That perspective connects control design to task design. A robot developer should not ask only, “Can the controller follow this target?” but also, “Can this combination of sensing and actuation produce the target’s shape features from this grasp?” The answer may depend on the current configuration. A cable held at two ends has different controllable motions from the same cable grasped at several points, just as a slack cable responds differently from a taut one.

The initial fit leaves some motion unexplained

Reported Frobenius norms for the regression residual and the measured feature-response matrix in the simulated rod example.

The initial fit leaves some motion unexplained
LabelValue
Regression residual0.31
Measured responses1.72

What’s Next

The tutorial’s next installment, according to the authors, turns to advanced topics. The first part already identifies several issues that deserve deeper treatment: what happens near rank loss, how to interpret singular values, how to handle ill-conditioned inverses, and how to respond when the object’s local behavior shifts. These are not peripheral refinements. They determine whether the neat feedback law remains safe and useful once it leaves a clean simulation.

The evidence presented here is deliberately foundational. The rod example is simulated, and its probing motions are controlled and small. Real manipulation adds camera noise, occlusion, uncertain grasping, friction, delays, and possible contact transitions. A system intended for industrial cable routing or soft-tissue manipulation would need to test how robust the online estimate remains under those conditions—and how it detects when the assumptions have stopped holding.

A further question is what to do with the part of the shape error the robot cannot reach. The pseudoinverse reveals that limitation, but a complete task-level system may need to negotiate it: select a new grasp, move to a more favorable configuration, temporarily optimize another objective, or ask whether the target itself should change. The tutorial’s stability analysis is important here, too. A locally sensible command is not automatically a guarantee that the whole closed loop will converge, especially when the model is inaccurate or the robot takes steps too large for a local approximation.

Still, the central proposition is both modest and powerful. A robot need not begin with a perfect account of a flexible object’s physics. It can learn a local relationship from measured motion, use that relationship to make a correction, and keep learning as it goes. If future work can make the method robust to real-world noise and abrupt changes, this could help robots handle the everyday materials that rigid automation has long treated as exceptional: wires, fabrics, tubing and soft biological structures. The path forward is not to pretend those objects are simple. It is to build controllers that know their own models are local—and update them accordingly.

Comments (0)

No comments yet. Be the first to share your thoughts.