journal article·2026-06Open access

Tracking bacterial active matter in complex environments using deep learning

Patrick Grant, Timo A. Nieminen, Halina Rubinsztein-Dunlop, Alexander B. Stilgoe

Cell Reports Physical Science· Volume 7· Issue 6

Abstract

Active matter refers to materials that consist of energy-harvesting sub-components that interact to give non-trivial sub- to super-diffusive properties. Tracking such components is challenging due to their variable size, shape, and density—especially in complex environments—making traditional, hand-tuned algorithms unreliable, which limits their generality. We address this by applying deep learning to perform single-particle tracking of bacterial active matter in environments with walls and obstructions by chaining two neural networks for simultaneous detection and trajectory linking that are subsequently analyzed using standard statistical techniques. Remarkably, our models require only a single training example to generalize, enabling the detection of near-bulk flow in densely interacting systems. This approach obtains data that bridge the gap between discrete and continuous descriptions of active matter. It allows for a scalable path to test established theories against experimental data and hence uncover the fundamental principles that drive collective behavior in active matter.
Source: openalex_inverted_index · Quality: baseline

Research context

OpenAlex topics: Bacterial Genetics and Biotechnology · Machine Learning in Bioinformatics · Cell Image Analysis Techniques

SciVX discovery tags are terminology-based. OpenAlex topics are source-provided classifications.

References (51)

Show source-provided references
1. The Mechanics and Statistics of Active Matter10.1146/annurev-conmatphys-070909-104101 ↗
2. Metareview: a survey of active matter reviews10.1140/epje/s10189-024-00466-z ↗
3. Active particles bound by information flows10.1038/s41467-018-06445-1 ↗
4. Active particles in complex and crowded environments10.1103/RevModPhys.88.045006 ↗
5. Hydrodynamics of soft active matter10.1103/RevModPhys.85.1143 ↗
6. The 2020 motile active matter roadmap10.1088/1361-648X/ab6348 ↗
7. Chemotaxis in Escherichia coli analysed by Three-dimensional Tracking10.1038/239500a0 ↗
8. Scattering particle characteristics and their effect on pulsed laser measurements of fluid flow: speckle velocimetry vs particle image velocimetry10.1364/AO.23.001690 ↗
9. Methods of Digital Video Microscopy for Colloidal Studies10.1006/jcis.1996.0217 ↗
10. Swarming bacteria migrate by Lévy Walk10.1038/ncomms9396 ↗
11. Digital video microscopy enhanced by deep learning10.1364/OPTICA.6.000506 ↗
12. Volpe · 2025
13. Machine learning for active matter10.1038/s42256-020-0146-9 ↗
14. Quantitative digital microscopy with deep learning10.1063/5.0034891 ↗
15. Machine Learning for Active Matter
16. Bacterial active matter10.1088/1361-6633/ac723d ↗
17. Self-Concentration and Large-Scale Coherence in Bacterial Dynamics10.1103/PhysRevLett.93.098103 ↗
18. Collective Swimming and the Dynamics of Bacterial Turbulence10.1529/biophysj.107.118257 ↗
19. Meso-scale turbulence in living fluids10.1073/pnas.1202032109 ↗
20. Vortex reversal is a precursor of confined bacterial turbulence10.1073/pnas.2414446122 ↗
21. Light controlled 3D micromotors powered by bacteria10.1038/ncomms15974 ↗
22. Targeted delivery of colloids by swimming bacteria10.1038/ncomms3588 ↗
23. The 3D architecture of a bacterial swarm has implications for antibiotic tolerance10.1038/s41598-018-34192-2 ↗
24. Statistical Mechanics of Interacting Run-and-Tumble Bacteria10.1103/PhysRevLett.100.218103 ↗
25. Escherichia coli swim on the right-hand side10.1038/nature03660 ↗
26. Confinement Stabilizes a Bacterial Suspension into a Spiral Vortex10.1103/PhysRevLett.110.268102 ↗
27. Fluid flows created by swimming bacteria drive self-organization in confined suspensions10.1073/pnas.1405698111 ↗
28. Ferromagnetic and antiferromagnetic order in bacterial vortex lattices10.1038/nphys3607 ↗
29. Fluid dynamics and noise in bacterial cell–cell and cell–surface scattering10.1073/pnas.1019079108 ↗
30. Hydrodynamics-Induced Long-Range Attraction between Plates in Bacterial Suspensions10.1103/PhysRevLett.131.158301 ↗
31. Bacterial ratchet motors10.1073/pnas.0910426107 ↗
32. Patterns of bacterial motility in microfluidics-confining environments10.1073/pnas.2013925118 ↗
33. Armstrong, D. (2023). Probing bacterial dynamics with holographic optical tweezers. https://doi.org/10.14264/bba0500.10.14264/bba0500 ↗
34. Single-shot self-supervised object detection in microscopy10.1038/s41467-022-35004-y ↗
35. Geometric deep learning reveals the spatiotemporal features of microscopic motion10.1038/s42256-022-00595-0 ↗
36. Midtvedt, B., Pineda, J., Klein Moberg, H., Bachimanchi, H., Manzo, C., and Volpe, G. (2025). DeepTrack2. GitHub. https://github.com/DeepTrackAI/DeepTrack2.
37. Midtvedt, B., Pineda, J., Klein Morberg, H., Bachimanchi, H., Granfors, M., Lech, A., Manzo, C., and Volpe, G. (2026). Deeplay. GitHub. https://github.com/DeepTrackAI/deeplay.
38. Volpe · 2026
39. Single trajectory characterization via machine learning10.1088/1367-2630/ab6065 ↗
40. Swimming in Circles: Motion of Bacteria near Solid Boundaries10.1529/biophysj.105.069401 ↗
41. Allan, D.B., Caswell, T., Keim, N.C., van der Wel, C.M., and Verweij, R.W. (2025). soft-matter/trackpy: v0.7. Zenodo. https://doi.org/10.5281/zenodo.16089574.
42. Dynamics of swimming bacteria: Transition to directional order at high concentration
43. TrackMate 7: integrating state-of-the-art segmentation algorithms into tracking pipelines10.1038/s41592-022-01507-1 ↗
44. Single molecule tracking and analysis framework including theory-predicted parameter settings10.1038/s41598-021-88802-7 ↗
45. Grant · 2026
46. Hydrodynamics and phases of flocks10.1016/j.aop.2005.04.011 ↗
47. Novel Type of Phase Transition in a System of Self-Driven Particles10.1103/PhysRevLett.75.1226 ↗
48. Increased Motility of Escherichia coli by Insertion Sequence Element Integration into the Regulatory Region of the flhD Operon10.1128/JB.186.22.7529-7537.2004 ↗
49. The Cell Tracking Challenge: 10 years of objective benchmarking10.1038/s41592-023-01879-y ↗
50. Self-Motile Colloidal Particles: From Directed Propulsion to Random Walk10.1103/PhysRevLett.99.048102 ↗
51. Fitting an active Brownian particle’s mean-squared displacement with improved parameter estimation10.1103/PhysRevE.106.L052602 ↗