arXiv:2610.11975cs.ROOct 2026

Manuscript Offprint

arXiv:2610.11975

Predicting Cable Dynamics with Physical Attention Bias

Avihai Giuili, Rotem Atari, Avishai Sintov, Maya Bechler-Speicher

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

Learned simulators for deformable linear objects (DLOs) such as cables have to predict the motion of cables they were not trained on and stay stable over long rollouts. Most of their error occurs where the cable touches itself or the floor. Attention over all pairs of cable segments can represent contact between parts of the cable that are far apart along its length, but attention has no notion of geometry. A cable has two pairwise distances, which agree only while it is straight: the arc-length distance along the cable, which governs elastic forces, and the Euclidean distance in space, which governs contact. We add a physical attention bias, an additive term on the attention logits with a learned rate, and ask which distance it should use. We compare no bias, each distance alone, and both distances on disjoint sets of heads, keeping the rest of the model and the training protocol fixed. A physical bias improves prediction on unseen cables. The gain is largest when attention is the only mechanism that connects distant segments: there, the arc-length bias reduces prediction error by 15% and more than halves the drift in segment length. The Euclidean bias alone stays close to unbiased attention, while assigning both distances across heads is best or near-best on every metric we report. Code and per-run records: https://github.com/avihaig/dlogps.

Keywords: graph transformers; attention bias; geometric priors; deformable linear objects

1. Introduction

A robot that manipulates a deformable linear object (DLO) such as a cable, rope, or suture needs a model of how it will move (Caporali et al., 2026; Yu et al., 2025a). Rod mechanics gives one (Bergou et al., 2008), but it is expensive to solve and needs material parameters that are hard to identify for a new cable. Learned dynamics models instead fit trajectories and are cheap to run online (Yang et al., 2021; Gu et al., 2025). They have to generalize in two ways. The cable met at deployment is not a training cable, and the model is trained on single steps but run in closed loop for hundreds of them, so its own errors become its next inputs.

Graph-based learned simulators update a graph by message passing, and the edge set decides which nodes interact. GNS rebuilds edges from a spatial radius at every step

∗^{*} Equal contribution.

© 2026 A. Giuili, R. Atari, A. Sintov & M. Bechler-Speicher.

(Sanchez-Gonzalez et al., 2020), and MeshGraphNets adds world edges between nodes that are close in space but not connected in the mesh (Pfaff et al., 2021). For a DLO this choice matters. A cable is a one-dimensional chain in R3R^{3} and so has two distances: the intrinsic arc-length distance along the chain, which governs elastic forces, and the extrinsic Euclidean distance, which governs self-contact between segments that are close in space but far apart along the chain. The two agree while the cable is straight and diverge once it folds, and folding is where rollouts accumulate most of their error.

Hybrid graph transformers move this choice from the edge set into attention. A GraphGPS layer runs local message passing in parallel with dense attention over all node pairs (Rampášek et al., 2022), so either distance can enter the attention branch as a pairwise term without changing the graph. Graph transformers already add structure this way, through additive logit biases or attention masks, but mostly on static benchmarks and usually combining several signals (Ying et al., 2021; Luo et al., 2023; Liu et al., 2024; Yun et al., 2026). The closest hybrid model for DLOs aggregates local interactions before a Transformer encoder, for quasi-static 2D shape control (Yu et al., 2025b). Concurrent work on a cable suspended from a drone scales all attention logits by one state-dependent scalar computed from learned Lagrangian matrices (Pierallini et al., 2026); this changes how sharp attention is but adds no pairwise structure. So it is still open which distance should bias global attention during a rollout, and whether the answer changes when the local stream is removed.

This extended abstract is a first study of that question. We change only the pairwise distance and keep the backbone, optimizer, seeds, and evaluation windows fixed. We compare five variants with the same parameter budget, two of which are dual-metric: they put the two distances on disjoint subsets of heads. We evaluate each variant with the local stream on and off, and compare against chain-only, per-node MLP, and global LSTM baselines.