Social Physics of Bacteria:
Avoidance of an Information Black Hole
Abstract
Social physics explores responses to information exchange in a social network [1], and can be mapped down to bacterial collective signaling [2]. Here, we explore how social inter-bacterial communication includes coordination of response to communication loss, as opposed to solitary searching for food [3, 4, 5], with collective response emergence at the population level [6, 7]. We present a 2-dimensional enclosed microfluidic environment [8] that utilizes concentric rings of funnel ratchets, which direct motile E.coli bacteria towards a sole exit hole, an information “black hole”, passage into the black hole irreversibly sweeps the bacteria away via hydrodynamic flow. We show that the spatiotemporal evolution of entropy production [9] reveals how bacteria avoid crossing the hydrodynamic black hole information horizon.
I Introduction
Bacterial chemotaxis can be both solitary [3] and communal [10]. The more familiar solitary form of chemotaxis, a lonely Proustian search of nutrients, can give rise to collective wave-like dynamics in a bacterial population. These observed collective motions emerge from individual chemotactic sensing and response to nutrient gradients created by other bacteria consuming their nutrients. As fascinating as these dynamics are, it can be difficult to attribute a definitive collective fitness advantage to these waves. However, bacteria can also communicate with each other directly in the absence of any metabolic gradients; this communication can be used to convey information related to the local time-dependent bacterial density [11]. This collective sharing of information, and responding to this information, suggests an information approach to important aspects of bacterial behavior not considered in pure metabolic chemotaxis and which can be extended to other forms of active matter [12].
We confine our experiments and modeling to the bacteria E. coli, chemotactic bacteria which has an unusual quorum sensing response [6], our model discussed below explicitly takes this into account. However, we believe the general phenomena and analysis presented here can be easily modified for other bacterial strains with differing sensing response.
II The Information Black Hole Experiment: Technology
We have constructed a microfabricated device which has both broken spatial symmetries and information sink-holes, allowing us to separate classical thermodynamic entropy from biological Shannon information entropy. The full device structure is depicted in the Supplementary Material, whilst a simplified diagram is shown in Fig. 1A. The exit hole is an opening into a channel in which the fluid flows by at an average speed . This hydrodynamic black hole is the only exit from the enclosed volume: across this exit there is no convective flow of fluid, but diffusion permits a finite flux of signaling molecules, media and bacteria across the streamline horizon. This exit hole, which we will call a black hole, is bounded by a separatrix stream line; a bacterium crossing this streamline is swept away as shown in Fig. 1B in a recording of motile bacteria paths. The device shown in Fig. 1A has directed funnels (shown expanded in the photograph Fig. 1B); the funnels due to the placement of the open narrow apex of the funnel direct motile bacteria towards the exit hole. In the absence of channel flow this results in a higher concentration of bacteria at the exit hole, as is seen in Fig. 1C. If we replace the funnels by round posts, so there is no symmetry breaking, the bacterial concentration remains roughly uniform in the device at least at the onset of flow, as seen in Fig. 1D.
The bacteria respond to two diffusing chemicals: local nutrients in the original nutrient rich media in the hemisphere and signaling molecules (the “signal”) they exchange. Nutrients in the nutrient-rich flow diffuse across the exit hole into the hemisphere, where they are consumed as shown in Fig. 1E, whilst signaling molecules exchanged by the bacteria are carried away at the exit hole as shown in Fig. 1E as are bacteria that enter it, as shown in Fig. 1F. As we will show, the net result between nutrient consumption and signal loss is what we will call an “inverted” bacterial population due to the conflicting gradients (nutrients vs signal) and loss of bacteria. To be more specific, the internal space in which the bacteria move was microfabricated into two different topologies: (1) A “flat” space consisting of concentric half-circles of round posts, which biases motile bacteria neither towards nor away from the exit opening; and (2) a “curved” space where a bias like a form of gravity is induced by microfabricated concentric semicircles of triangular funnels, which channel motile (but not non-motile) bacteria to move in the direction of the narrow ends of the funnels [13]. The net effect of funnels is to make the physical forward flux of the bacteria (“forward” here means motion from the large open end of the funnels towards their narrow opening) larger than the backward flux (“backward” is simply the opposite direction of forward), thus violating time reversibility. The funnels physically bias the motion of motile bacteria so that , which creates a net bacterial flux towards the hydrodynamic entry to the flow channel. Fig. 1E and F, taken from the simulations described below, shows the inverted populations created when lack of signal molecules, due to their exiting through the hydrodynamic black holes, overwhelms nutrient chemotaxis, as described below.
In our experiments we used a modified form of the common laboratory E. coli strain W3110. We used the strain (RP437 att::gfp), which continuously expresses GFP in the cell body for accurate tracking of the bacteria under the microscope [14].
III Information Black Hole:
Streamline border, Bacterial and Signal Return Probabilities
The Reynolds number , which quantifies the ratio between inertial and viscous forces of the flow in our device, is always much less than . To see this, we assume , where is the density of water, is the fluid velocity, is a characteristic turning distance for the fluid flow and hence the size of the exit hole and is water viscosity. Using 10m and 10m/s, we get 10-1, so the flow is always laminar and not turbulent.
The Péclet number Pe of the black hole determines if re-entry of an object which crosses the streamline horizon is unlikely. If the black hole has a diameter , and the object has a diffusion coefficient , then the Peclet number is defined as the ratio of the time to diffuse the distance and the time to advect the same distance, given that the fluid has a speed [15]: where , where is the absolute temperature, is the solvent viscosity and is the characteristic size of the object. If then advection dominates and horizon passage is irreversible. For bacteria in water, 10-9 cm2/s, while a typical peptide molecule used in quorum signaling [16] has a 10-6 cm2/s. Since our black hole has a length of 102 m, and our flow velocities U are on the order of 10-2 cm/s, the bacteria have a 102, while the signaling molecules have a 10-1. We calculate that the flow has a and the bacteria have a . This means, bacteria which cross a streamline across the face of the black hole due to motility are irreversibly swept way, while signaling molecules will have a roughly 50% loss rate, and nutrient molecules can with good probability enter the enclosed volume from the flow channel.
IV Experimental Results
We did experiments both with bacteria in the presence of rich LB broth were we expect strong nutrient chemotaxis (and bacterial reproduction) to occur, and in minimal media media, which contains only glucose as a carbon source and essential salts. In the minimal media case, we would expect that nutrient chemotaxis to be minimal since of the 5 known chemoreceptors in E. coli (Tar, Tsr, Tap, Trg, Aer) only the Trg receptor would be activated [17], and the spatial population dynamics to be governed primarily by hydrodynamic pumping of motile bacteria and information-based collective response.
IV.1 No-flow: Pure Ratchet Sorting
If our bacteria move randomly, the probability to find them in a particular pixel as a function of position would be a constant when averaged over time. In the case of a concentric ring of funnels, there is a physics-based symmetry-breaking bias in overall bacterial densities towards the central exit hole when there is no net flow in the channel. In the case of funnels this creates a radially dependent bacterial density for motile bacteria, which peaks at the exit hole entrance in the absence of flow, or in the case of replacing the funnels by round posts a uniform distribution of motile bacteria within the volume before flow is applied. Fig. 1C shows the trajectories of motile bacteria for a funnel interior, while in Fig. 1D we plot trajectories of motile bacteria in an interior where there are no funnels, but cylindrical posts instead. As expected, motile bacteria are pumped by the array of funnels into the hole under no flow conditions, while for posts no such pumping for motile bacteria occurs and the bacteria are uniformly dispersed, as long as the bacterial population is not so high as to allow nutrient gradients to develop, and low enough that inter-bacterial signaling is not important.

IV.2 Development of Inverted Bacterial Populations
Once flow is turned on, the external hydrodynamic flow sweeps away bacteria which cross the stream-line, and to a lesser extent signaling molecules are also swept away. Bacteria away from the exit hole will then see a gradient in the signaling molecules develop, which points away from the black hole, even as a nutrient gradient develops towards the exit hole, while the funnel ring continues to transport motile bacteria towards the exit hole. Only motile bacteria are imaged here. Adhesion of bacteria to the silicon dioxide surface of silicon resulted in bound non-motile bacteria, their fluorescent images were subtracted from the images. Only bacteria which changed position from frame to frame are shown.
Figure 2A shows the development of an inverted population of bacteria in an inward directed funnel (“gravity”) environment in the presence of nutrient rich LB. Due to the rich media, the bacteria divide during the experiment and show rapid growth in bacterial density away from the black hole. However, in spite of the presence of un-metabolized media within the flow channel diffusing into the hemisphere, creating a strong chemotactic gradient, and the presence if funnels which drive motile bacteria towards the black hole, a very clear unoccupied region develops around the black hole, into which bacteria do not enter.
We also explored a “flat” landscape, that is, one where there are simply round posts that provide no bias in (gravity) from the black hole. Fig. 2B shows that in this case we start with a flat population and smoothly develop into an inverted population.
Finally, we probed what happens when the media is not rich, that is, only contains glucose as a sole carbon source. In that case only the Trg receptor would be activated, and we would expect that nutrient chemotaxis would be greatly inhibited. These turned out to be difficult experiments due to the very slow growth of the bacteria in minimal media and the attendant low production of gfp as a marker, making for a very dim field with low densities of bacteria. Nevertheless as we show in Fig. 2C the same phenomena of population inversion and black hole avoidance still occurred, indicating the generality of the phenomena.
V Modeling Bacterial Communication
We present two ways to view this phenomena of population inversion, both involving information transfer between bacteria. Keller and Segel [4] developed a set of partial differential equation (KSE) to describe the chemotaxis of bacteria along nutrient gradients and the growth and death of bacteria, but with no inter-bacterial information exchange, hence two fields are used: bacterial density and the nutrient density . A third field, an information field is needed to complement the KSE if bacteria signal directly to each other in the absence of metabolites. Brenner et al [18] introduced a field of signaling molecules , but did not include nutrient chemotaxis (the BKSE model) and relied on nutrients to generate a signal. In these models we do not take into account cell phenotype heterogeneity, which results in interesting selection dynamics [19, 20].

Clearly, real bacteria both sense nutrients (they must find food to survive), and they sense the presence of other bacteria and respond to their presence. We also include in our model the fact that E. coli at high densities do not produce the signaling molecule (A) [6]. Thus, we have modified the BKSE to include both nutrient and bacterial signals, and made the signal production ratio exponentially decreasing with higher bacteria concentrations:
(1) | |||||
(2) | |||||
(3) |
where , , and are the bacterial density, nutrient and signal concentrations, respectively. The functions and are the perceived strength of the nutrient and signal concentrations as felt by the bacteria [5]; for our model we use a linear relationship: and . Equations 3 we call NSE, for Nutrient+ Signal+Equations. They deserve a new name because in addition to the terms in classical KSE, including the consumption of nutrients by the bacteria (), the logistic growth of bacteria () in which represents the carrying capacity, and the diffusion of bacteria and nutrients, we mix the signaling field secreted by the bacteria with the nutrient field . Further, we assume the signaling molecules secreted per bacteria decrease at high bacteria bacterial densities (), a form of quorum sensing which prevents total spatial population collapse into a singularity [6].
The boundary at the exit hole represents an event horizon: the hydrodynamic flow is so fast that the resource is constantly replenished to a high value but entering bacteria crossing a critical streamline are flushed away. If we consider the small but finite flow of bacteria out into the fast-flowing channel, Robin (radiation) boundary conditions [21] are essential in solving the NSE equations. In Robin boundary conditions, the concentration of a substance (nutrients, signals, or bacteria) is a function of internal and external concentrations:
(4) |
where is the direction perpendicular to the spatial boundary and is the constant concentration outside. In our system, the outside concentration for bacteria and signal is . The outside concentration for nutrients is . sets the strength of the radiation of substance. See II.B of the Supplementary Material for details.
The arena diameter is 6000 microns and the opening of black hole is 200 microns. We set the effective diffusion coefficient of a motile bacterium ms. The diffusion coefficient of the signal molecules () and metabolites () was set to 800 ms [5]. The bacterial reproduction rate was set to h in rich media ( where M). The chemotaxis sensitivity for nutrients was set to be the same value used for aspartate chemotaxis, 2400 m2/M s [5], and we let the signaling sensitivity be a variable. The inverted population emerges (Fig.3) when .
Fig. 3(A) left shows that in the case with only nutrient chemotaxis (the KSE model), the chemotaxis gradient constantly points towards the black hole, leading eventually to a complete wash-out of the bacteria in search of food. However, Fig. 3(A) Right shows that when the bacteria sense an attractive signaling field produced by the bacteria itself, as occurs for example in quorum sensing, the bacteria distribution evolves into an inverted population, away from the exit hole (black hole), due to loss of signal.
Intuitively, when there are signaling molecules, as the bacteria disappear into the exit hole, the signaling molecule concentration decreases, in essence a warning for the other bacteria to stay away. The gradient from this dip around the exit hole makes the bacteria aggregate at some place away from the exit hole, which represents an existential loss of fellow bacteria.
V.1 Inverted population persists even in inward funneling
We used an an effective potential function whose spatial gradient produces the pumping action of funnels on motile bacteria. Funnel pumping action on motile bacteria violates time-reversal symmetry [9] so the local funnel field should have local non-zero curl at the funnels, but for ease of computation we have replaced the local curl derived pumping action with a smoothed global force gradient. We modify the bacterial directional response in Eq. (1), as follows:
(5) |
For simplicity, we consider a radially linear dependence for . The gradient of is set to zero at the wall boundaries (, see the appendix for details) to conserve the total mass of bacteria.
VI Entropy Production via Communication

Entropy production by motile bacteria has been studied regarding the time-irreversible bacterial flow induced from their mechanical interactions with the funnel ratchets [9]. However, time-irreversible bias in the collective migration of bacteria can also emerge due to the flow of communication information (via signaling molecules and nutrients distribution), generating another contribution to entropy production [22]. Let us call the former the mechanical contribution and the later the communication contribution. Hagen et al [11] pioneered this kind of analysis from a physical viewpoint, and we expand on this collection of works with quorum sensing.
The theoretical foundation of entropy production stems from stochastic thermodynamics, in which the derivative of the Shannon entropy (which we denote as ) gives rise to two important quantities: the entropy production rate and the entropy flow rate [23]. The non-negative entropy production rate quantifies the time-irreversibility and dissipative nature of the system, and the entropy flow rate quantifies the net flow of entropy. In combination, . Even when our system reaches a steady-state and the Shannon entropy stays constant , the entropy production rate and the entropy flow rate can still be non-zero i.e. , indicating that there are still entropy fluxes to keep the system at a configuration far away from thermal equilibrium, due to information transfer. Besides this informatic interpretation, studying the entropy production rate is also crucial, as it helps estimate the maximum locally extractable mechanical power from the system, which is an important task in bioengineering [9, 22].
Since the mechanical contribution to entropy production has been well-understood in previous work [9], here we consider the communication contribution. The entropy production rate is a quantification of the time-irreversibility of local signaling dynamics, which can be estimated by the non-negative Kullback-Leibler divergence [24] between the probability distribution of all possible local state trajectories during a time interval and that of their time-reversal realizations :
(6) |
Here, the calculation of Shannon entropy involves associating microstates with the spatial occupancy of bacteria; therefore, each trajectory represents the history of transitions between states. A derivation for the communication entropy production rate, starting from the adaptive run-and-tumble chemotatic response of E.coli cells, can be found in [22]. This estimation is based on field gradients, which directly influence the local bias of bacterial trajectories:
(7) |
where is the Boltzmann constant and m/s is the swimming speed of E.coli. Eq. 7 was used in Fig. 4 in conjunction with Eq. 3 to graphically show the spatial dependence of signaling entropy production. However, since we cannot image the actual signaling molecule fields, at present this cannot be used as a quantitive proof of the model. In any event, the gradients of chemical fields (signaling molecules and nutrients) determine the entropy production in communication, and their scaling-proportionality (to the square-power) is consistent with the measured information acquisition rate of a single bacterium during generalized chemotaxis [25].
VII Conclusions
Neither the classical nutrient-only Keller-Segel equations, nor the modified Brenner-Keller-Segel equations, which utilize nutrient derived signaling can fully capture the experimental response of bacteria to an environment where loss of signal trumps nutrient gradients. Signaling and loss of signal in a localized region of space, our exit black hole, results in the collective movement of the bacteria away from the silent region in spite of high nutrients in the black hole. The social physics of E. coli population dynamics must include both an individualist search for food and the necessity of finding other bacteria, with the surprising experimental result that increased communication within a high population density easily trumps lack of food in that region. An information theoretical analysis provides insights into the far-from equilibrium dynamics the system ehibits. Thus bacteria can collectively perform complex tasks critical for the population’s survival using information exchange, including evading existential threats such as the loss of information as observed in our experiments.
VIII Acknowledgements
This work was supported by the US National Science Foundation (PHY-1659940 and PHY-1734030).
References
- [1] E. Ben-Jacob. Social behavior of bacteria: from physics to complex organization. European Physical Journal B, 65(3):315–322, 2008.
- [2] J. A. Shapiro. The significances of bacterial colony patterns. Bioessays, 17(7):597–607, 1995.
- [3] Howard C Berg. Chemotaxis in bacteria. Annual review of biophysics and bioengineering, 4(1):119–136, 1975.
- [4] Evelyn F Keller and Lee A Segel. Model for chemotaxis. Journal of theoretical biology, 30(2):225–234, 1971.
- [5] Trung V Phan, Henry H Mattingly, Lam Vo, Jonathan S Marvin, Loren L Looger, and Thierry Emonet. Direct measurement of dynamic attractant gradients reveals breakdown of the patlak–keller–segel chemotaxis model. Proceedings of the National Academy of Sciences, 121(3):e2309251121, 2024.
- [6] M. G. Surette and B. L. Bassler. Quorum sensing in e. coli and s. typhimurium. Proceedings of the National Academy of Sciences of the United States of America, 95(12):7046–7050, 1998.
- [7] Trung V Phan, Ryan Morris, Matthew E Black, Tuan K Do, Ke-Chih Lin, Krisztina Nagy, James C Sturm, Julia Bos, and Robert H Austin. Bacterial route finding and collective escape in mazes and fractals. Physical Review X, 10(3):031017, 2020.
- [8] Ryan J Morris, Trung V Phan, Matthew Black, Ke-Chih Lin, Ioannis G Kevrekidis, Julia A Bos, and Robert H Austin. Bacterial population solitary waves can defeat rings of funnels. New Journal of Physics, 19(3):035002, 2017.
- [9] Sunghan Ro, Buming Guo, Aaron Shih, Trung V Phan, Robert H Austin, Dov Levine, Paul M Chaikin, and Stefano Martiniani. Model-free measurement of local entropy production and extractable work in active matter. Physical review letters, 129(22):220601, 2022.
- [10] Melissa B Miller and Bonnie L Bassler. Quorum sensing in bacteria. Annual Reviews in Microbiology, 55(1):165–199, 2001.
- [11] Stephen Hagen. The Physical Basis of Bacterial Quorum Communication. Springer Verlag, New York, NY 10036, USA, 2015.
- [12] T. GrandPre, K. Klymko, K. K. Mandadapu, and D. T. Limmer. Entropy production fluctuations encode collective behavior in active matter. Physical Review E, 103(1), 2021.
- [13] Peter Galajda, Juan Keymer, Paul Chaikin, and Robert Austin. A wall of funnels concentrates swimming bacteria. Journal of bacteriology, 189(23):8704–8707, 2007.
- [14] Josemaría Delgado-Martín and Leonardo Velasco. An efficient dsrna constitutive expression system in escherichia coli. Applied Microbiology and Biotechnology, 105(16-17):6381–6393, 2021.
- [15] Vogel S. Life in Moving Fluids. The Physical Biology of Flow. Princeton University Press, Princeton, NJ, 08544, USA, 1996.
- [16] F. Verbeke, S. De Craemer, N. Debunne, Y. Janssens, E. Wynendaele, C. Van de Wiele, and B. De Spiegeleer. Peptides as quorum sensing molecules: Measurement techniques and obtained levels in vitro and in vivo. Frontiers in Neuroscience, 11:1–18, 2017.
- [17] S. Weerasuriya, B. M. Schneider, and M. D. Manson. Chimeric chemoreceptors in escherichia coli: Signaling properties of tar-tap and tap-tar hybrids. Journal of Bacteriology, 180(4):914–920, 1998.
- [18] Michael P Brenner, Leonid S Levitov, and Elena O Budrene. Physical mechanisms for chemotactic pattern formation by bacteria. Biophysical journal, 74(4):1677–1693, 1998.
- [19] Xiongfei Fu, Setsu Kato, Junjiajia Long, Henry H Mattingly, Caiyun He, Dervis Can Vural, Steven W Zucker, and Thierry Emonet. Spatial self-organization resolves conflicts between individuality and collective migration. Nature communications, 9(1):2177, 2018.
- [20] Henry H Mattingly and Thierry Emonet. Collective behavior and nongenetic inheritance allow bacterial populations to adapt to changing environments. Proceedings of the National Academy of Sciences, 119(26):e2117377119, 2022.
- [21] K. Gustafson and T. Abe. The third boundary condition—was it robin’s? The Mathematical Intelligencer, 20:63–71, 1998.
- [22] Minh DN Nguyen, Phuc H Pham, Khang V Ngo, Van H Do, Shengkai Li, and Trung V Phan. Remark on the entropy production of adaptive run-and-tumble chemotaxis. Physica A: Statistical Mechanics and its Applications, page 129452, 2023.
- [23] Christian Van den Broeck and Massimiliano Esposito. Ensemble and trajectory thermodynamics: A brief introduction. Physica A: Statistical Mechanics and its Applications, 418:6–16, 2015.
- [24] Solomon Kullback and Richard A Leibler. On information and sufficiency. The annals of mathematical statistics, 22(1):79–86, 1951.
- [25] HH Mattingly, K Kamino, BB Machta, and T Emonet. Escherichia coli chemotaxis is information limited. Nature physics, 17(12):1426–1431, 2021.