Robot Positioning Using Torus Packing for Multisets
Chung Shue Chen, Peter Keevash, Sean Kennedy, Élie de Panafieu, Adrian Vetta
TL;DR
The paper tackles robot position reconstruction on a torus by observing multisets of colors in a fixed window, shifting away from the classic full-pattern (de Bruijn) approach. It develops a theoretical framework built around grid colourings and vector sum packings to achieve near-optimal room-size scaling: for fixed dimension $d$ and palette size $k$, the grid size satisfies $n \sim C_k^{1/d}\,m^{k-1}$ with $C_k = \left(\frac{2}{k-1}\right)^{k-1}$, while enabling localization from multisets in a constant number of arithmetic operations. The core contributions are (i) the reduction from grid colouring to vector sum packings, (ii) a explicit near-optimal construction with provable injectivity, and (iii) a constant-time decoding algorithm, together with complexity analysis and a Python implementation. This framework supports low-cost, fast-positioning solutions for indoor and ambient IoT scenarios by using color intensities rather than exact patterns, with potential robustness extensions and new window geometries for practical deployments.
Abstract
We consider the design of a positioning system where a robot determines its position from local observations. This is a well-studied problem of considerable practical importance and mathematical interest. The dominant paradigm derives from the classical theory of de Bruijn sequences, where the robot has access to a window within a larger code and can determine its position if these windows are distinct. We propose an alternative model in which the robot has more limited observational powers, which we argue is more realistic in terms of engineering: the robot does not have access to the full pattern of colours (or letters) in the window, but only to the intensity of each colour (or the number of occurrences of each letter). This leads to a mathematically interesting problem with a different flavour to that arising in the classical paradigm, requiring new construction techniques. The parameters of our construction are optimal up to a constant factor, and computing the position requires only a constant number of arithmetic operations.
