
None of the 25 robots can see the walls of the arena. They have no cameras, no GPS and no maps, and they notice their neighbours only when these are no more than a dozen or so centimetres away. Yet the group as a whole can tell whether it has been shut inside a round pool or a ring with an island in the middle. In 30 trials, the robots never once got it wrong.
This apparent paradox was described in Science Robotics by researchers from Sorbonne Université, Université Paris Cité, France's CNRS and the University of Tokyo. They call their method spectral swarm robotics. The idea grew out of a question posed 60 years ago by a mathematician born in Krzemieniec and educated in Lwów: can one hear the shape of a drum?
The blind men and the elephant
Describing the project, the paper's first author, Leo Cazenille, reaches for the old parable of the blind men and the elephant. Each touches a different part of the animal, one the trunk, another a leg, a third an ear, so none can guess what the whole looks like. Swarm robots are in a similar position. Each knows only what its nearest neighbours tell it. It does not know its own position, lacks the memory and computing power to build a map, and cannot ask a central computer, because in this experiment there simply isn't one.
This is precisely why robot swarms today struggle with tasks that require a view of the whole. Large robots handle them differently, with lidar, cameras and SLAM, an algorithm that builds a map while simultaneously working out the robot's position on it. Such a kit, however, is so expensive that nobody will fit it to hundreds of tiny machines. A swarm has other advantages: it is cheap, numerous and resilient to the failure of individual machines. The price is that its members are almost blind.
Mark Kac's question
In 1966 Mark Kac published an article in The American Mathematical Monthly with the teasing title "Can One Hear the Shape of a Drum?". Kac was born in 1914 in Krzemieniec, earned his doctorate in Lwów under Hugo Steinhaus, and in 1938 left for the United States. His question was simple. A drum's membrane vibrates at particular frequencies that depend on its shape. Knowing only those frequencies, that is, the spectrum of the sound, can one reconstruct the shape of the membrane?
Mathematicians worked on the answer for a quarter of a century. In 1992 Carolyn Gordon, David Webb and Scott Wolpert presented two different polygons that sound identical. So the answer is: not always. In practice, though, the spectrum gives away a great deal, including the area, the length of the boundary and the number of holes. A whole field, known as spectral shape analysis, rests on this observation.
The Franco-Japanese team transferred the question from the drum to the swarm. The robots make no sounds and there is no membrane. What there is instead is a network of connections: who can exchange a message with whom. Such a network also has a spectrum, and it too depends on the shape of the space in which the robots have spread out.
Heat that isn't there
The easiest way to picture the method is as the spread of heat. Each robot stores a single number, which the authors call its virtual temperature. At the start, some robots draw a random positive value and others a negative one. Then each repeatedly exchanges its number with its neighbours and nudges it towards their average, just as a warm plate gives up heat to a cooler one beside it.
After a while the differences even out. How quickly they do so depends on geometry. In a disc, information flows freely in all directions. In a ring it has to travel around the central island, and bottlenecks form in narrow passages. According to the authors, information spreads roughly ten times faster in a disc than in a ring of the same area.

Figure 1. TRL09 simulation: 25 robots in a disc and 25 in a ring of the same area swap numbers with their neighbours. In the ring the differences between robots fade more slowly, and that rate gives away the arena shape. Illustrates the method of: Cazenille et al., Science Robotics 2026; not data from the paper.
Each robot watches only its own number and measures how quickly its fluctuations die away. From that decline it calculates a single value, which mathematicians denote λ₂ and call the second eigenvalue of the Laplacian, or the algebraic connectivity of the graph. This number is the counterpart of a drum's fundamental tone. The robots then average their estimates with their neighbours until the whole group settles on a single value. Finally, each compares it with a short list of known shapes and lights an LED in the corresponding colour: turquoise for a disc, purple for a ring.
Between rounds the robots wander randomly for a while. In doing so they change neighbours, and each repeated measurement yields an increasingly reliable result. The whole procedure requires only short messages and simple calculations that a modest processor can handle.
A hundred per cent and seventy-three
The researchers first tested the method mathematically and in simulations. The virtual swarms numbered between 50 and 500 robots and were placed in seven arenas of different shapes. With well-chosen parameters, the simulated robots identified all seven shapes without error; in somewhat less favourable conditions they were right 86% of the time.
Along the way the authors found a simple rule. The number of robots and their communication range have to match. If there are too few robots, or they can hear each other only over too short a distance, the network breaks up into separate islands that do not exchange information. If there are too many, or they can hear each other too far away, everyone talks to everyone and all the arenas start to look alike. The optimal range is described by a single relationship between the number of robots, their range and the area of the arena. When a robot has more than 25 neighbours on average, the algorithm stops converging.
Then it was time for real machines. The team used two platforms. The Kilobot, a robot not much bigger than a coin, has been popular in swarm-robotics laboratories for a decade; it was with 1,024 of these machines that a Harvard team assembled shapes in 2014. A Kilobot communicates with neighbours up to 85 mm away and sends at most two short messages per second. The Pogobot is a newer design from the ISIR laboratory at the Sorbonne: a robot about 6 cm across that moves by vibration, communicates by infrared up to 135 mm and can send as many as 120 messages per second. Its creators put the cost of a single unit at around €250, and the whole project is open source.
Each swarm consisted of 25 robots and had to distinguish a disc from a ring. The Pogobots succeeded in 30 trials out of 30. The Kilobots managed 22 out of 30, or 73%. The difference stems mainly from communication speed: a single round took the Pogobots about 5 minutes and the Kilobots nearly 80. In an additional test with a third, triangular arena, the Pogobots identified the shape in 93% of trials.

Figure 2. The real experiment with 25 Pogobots. After the measurement the robots in the disc light up turquoise LEDs and those in the ring violet ones. Video frames: Cazenille et al., figshare 2026, CC BY 4.0.
Resolving the paradox
How can a group of blind machines see something that none of them can see individually? The answer is less mysterious than it seems. The shape of the arena is not stored in any single robot. It is stored in the network of connections between them.
Once the robots have spread out evenly, their network takes on the shape of the room: in a ring it too forms a ring, in a disc a disc. The virtual heat flows through this network and cannot leave it, so the rate at which it evens out reveals something about the whole. Each robot measures this rate locally, but because they are all connected, each is in effect measuring the same thing. The swarm's communication network, says Cazenille, acts as a collective sensor.
So the swarm does not see the walls; rather, it becomes the instrument itself, a little like a drum listening to itself.
What the method cannot yet do
The authors themselves stress that this is a first demonstration, not a finished solution. The robots do not draw a map of the room. They pick one answer from a short list of shapes they know in advance. A single number, λ₂, speaks mainly to the connectivity of the network and to its bottlenecks. Recognising arbitrary shapes will require estimating more values from the spectrum, and that demands more precise calculations on very weak hardware.
There is also a limitation that goes back to Kac himself. Since different drums can sound identical, different arenas can also share the same spectrum. The authors note that the robots' movement between rounds slightly alters the network of connections and may reduce the risk of error, but it does not eliminate the problem.
In the experiments the robots stopped while taking measurements. The next step is to compute the spectrum on the move, while the network of connections is constantly changing. The results also proved sensitive to settings. When, in one test, the robots remembered messages from their neighbours for too short or too long a time, accuracy fell from 100% to 31%. The robots' unsynchronised clocks also cause trouble.
The team now wants to test different swarms in more complex rooms and to see whether the same trick can detect boundaries, recesses and empty spaces within the swarm. In the longer term, the swarm would not only recognise its surroundings but also respond to them, for example by changing formation.
Where it might be useful
A product is a long way off. The work corresponds to the second, at most the third, level of technology readiness: there is a mechanism and proof that it works in the laboratory, but in arenas of about 0.15 m², not much larger than a sheet of A3 paper. The idea itself, however, answers a real need.
Where cameras see nothing and satellite signals do not reach, small robots have to rely on one another. Think of pipes and ducts, tanks, the insides of machines, the rubble of collapsed buildings and, in the more distant future, blood vessels, into which researchers are trying to introduce microrobots. In such places every extra sensor means more weight, a higher price and greater energy consumption. A method that extracts information from connectivity alone adds no hardware. It makes use of something the swarm must have anyway.
For now this is a vision, not an application. The authors did not test their robots in pipes or ruins. What they showed is more modest and more fundamental: a swarm of very simple machines can, on its own, compute a quantity that until now was calculated centrally, with full knowledge of the entire network.
Polish roots and Polish stakes
Polish readers may notice two threads here. The first is history. The question with which the Science Robotics paper begins grew out of the tradition of the Lwów school of mathematics. Kac studied under Steinhaus, who together with Stefan Banach created one of the most important mathematical communities in interwar Europe.
The second thread concerns the future. Poland has strong capabilities in mobile robotics, from university teams building Mars rovers to the Warsaw-based Łukasiewicz – PIAP institute, which has for years built robots for rescue services and bomb-disposal units. Swarms of cheap machines are a field in which you do not need a semiconductor plant to have something to say. Mathematics, software and open hardware such as the Pogobot are enough. Whoever starts experimenting today, while the method is still fresh, may help shape the direction in which it develops.
A swarm that can hear the shape of a room will not be leaving the laboratory tomorrow. But it shows that the simplicity of individual robots need not limit what they can do together.
Bibliography
- Cazenille L., Lobato-Dauzier N., Loi A., Macabre L., Ito M., Marchal O., Kim S.-H., Aubert-Kato N., Bredeche N., Genot A. J. Hearing the shape of an arena with spectral swarm robotics. Science Robotics 11(119), eadr9578 (2026). DOI: 10.1126/scirobotics.adr9578
- Cazenille L. et al. Hearing the shape of an arena with spectral swarm robotics (author version). arXiv:2403.17147v2 (2026). arxiv.org/abs/2403.17147
- Pogobot: an Open-Source, Low-Cost Robot for Swarm Robotics and Programmable Active Matter. arXiv:2504.08686 (2025). arxiv.org/abs/2504.08686
- Rubenstein M., Cornejo A., Nagpal R. Programmable self-assembly in a thousand-robot swarm. Science 345, 795–799 (2014). DOI: 10.1126/science.1254295
- Kac M. Can One Hear the Shape of a Drum? The American Mathematical Monthly 73, 1–23 (1966). DOI: 10.1080/00029890.1966.11970915
- Gordon C., Webb D., Wolpert S. One cannot hear the shape of a drum. Bulletin of the American Mathematical Society 27, 134–138 (1992). DOI: 10.1090/S0273-0979-1992-00289-6
- Fadelli I. Robots recognize the shape of an arena by messaging each other. Tech Xplore, 14 Nov 2026. techxplore.com
Comments· 0
No comments yet. Be the first.