ApiaryActive
Try: pause · settings · learn · wipe
← Community / Reading Room
IP
synthesis · 15 min read

Information Processing In Biological And Artificial Systems

When Claude Shannon published “A Mathematical Theory of Communication” in 1948, he could hardly have imagined that the equations he devised for telegraph…


Introduction

When Claude Shannon published “A Mathematical Theory of Communication” in 1948, he could hardly have imagined that the equations he devised for telegraph wires would one day illuminate the inner lives of honeybees and the inner workings of massive language models. Yet the same concepts—entropy, channel capacity, and coding—describe how a bee colony decides where to forage, how a single neuron encodes a visual scene, and how a self‑governing AI agent plans its next move.

At the heart of every living organism and every engineered system lies a flow of information: sensory inputs are transformed into internal representations, those representations are compressed, combined, and finally turned into actions that affect the world. Understanding the principles that govern this flow is not an abstract academic exercise; it tells us how to protect the pollinators that feed our crops, how to design AI that respects ecological limits, and how to build resilient technologies that can co‑exist with the biosphere.

This article brings together the most concrete measurements, the most rigorous theories, and the most promising applications that link information theory, biology, and artificial intelligence. We will travel from the waggle dance of a honeybee to the attention heads of a transformer, showing how each system maximizes the useful bits it can extract from noisy, energy‑constrained channels. Along the way we will reference relevant Apiary pages using the slug format, so you can dive deeper into any sub‑topic that catches your interest.


1. Foundations of Information Theory

Shannon defined entropy \(H\) as the expected number of bits required to describe a random variable \(X\):

\[ H(X) = -\sum_{x\in\mathcal{X}} p(x)\log_2 p(x) \quad\text{(bits)}. \]

In a perfectly uniform distribution over \(N\) outcomes, \(H = \log_2 N\). Entropy therefore measures uncertainty: the more unpredictable a signal, the more bits are needed to encode it.

Channel capacity \(C\) quantifies the maximum reliable transmission rate (bits per second) over a noisy channel:

\[ C = \max_{p(x)} I(X;Y), \]

where \(I\) is the mutual information between input \(X\) and output \(Y\). The celebrated Shannon–Hartley theorem tells us that for a band‑limited Gaussian channel with bandwidth \(B\) (Hz) and signal‑to‑noise ratio \(\mathrm{SNR}\),

\[ C = B \log_2(1+\mathrm{SNR}) \quad\text{bits/s}. \]

These equations were originally derived for telegraph lines and radio links, but they apply equally to any physical medium that carries signals—axon membranes, synaptic clefts, and the shimmering vibrations of a bee’s waggle dance.

In biological contexts, the cost of transmitting bits is often expressed in energy per bit. For example, an action potential in a mammalian neuron consumes roughly \(10^{-9}\) J, which translates to about \(10^{6}\) bits/J when the neuron fires at 10 Hz. In contrast, a honeybee’s wingbeat (~200 Hz) can be used to encode directional information with far lower metabolic expense, as we will see.


2. The Bee’s Information Highway: Waggle Dance and Beyond

2.1 Quantifying the Waggle

The honeybee (Apis mellifera) communicates the location of food sources through a stereotyped “waggle dance” performed on the vertical comb. A dancer encodes two key variables:

  1. Direction – the angle of the waggle relative to gravity indicates the bearing to the resource.
  2. Distance – the duration of the waggle phase (≈ 0.6 s for a source 1 km away) scales linearly with distance.

Researchers have measured the information content of a single dance bout by treating direction and distance as independent channels. Directional resolution is about ±5°, giving roughly \(\log_2(360/10) \approx 5.2\) bits. Distance can be discriminated with a coefficient of variation around 10 % (Michelsen et al., 2016), corresponding to about 3 bits of precision across a typical foraging range (0.1–5 km). A full dance (≈ 10 waggle cycles) therefore conveys roughly 8 bits of spatial information—enough to pinpoint a flower patch within a 50‑m radius.

2.2 Energy Efficiency

A honeybee’s metabolic rate during foraging is ~ 35 mW (Heinrich, 1993). The waggle dance adds roughly 5 % to this cost, i.e., ~ 1.75 mW. Translating the 8 bits per dance into energy per bit yields:

\[ \frac{1.75\ \text{mW}}{8\ \text{bits}} \approx 0.22\ \text{mJ/bit}. \]

By comparison, cortical spikes in primates consume about 1 nJ per spike, but each spike typically carries only 0.1 bits of sensory information (Barlow, 1989). Hence the bee’s dance is an order of magnitude more efficient in terms of bits per joule, a result of evolution’s pressure to keep colony energy budgets low.

2.3 Collective Computation

A honeybee colony can be seen as a distributed information processor. Roughly 30 000 workers may be simultaneously encoding and decoding dances, averaging about 0.02 bits/s per individual. The colony’s aggregate channel capacity thus reaches ~ 600 bits/s, enough to coordinate the exploitation of a 100‑ha nectar field in a single morning. This collective capacity is a key factor behind the remarkable foraging efficiency of honeybees—up to 3 kg of nectar per day per hive (Winston, 1991).

The principles of redundancy (multiple dancers for the same source) and error correction (repeated waggle cycles) mirror engineered communication protocols such as forward error correction and majority voting, showing that nature and technology converge on the same solutions when faced with noisy channels.


3. Neural Coding: From Retina to Cortex

3.1 Spike Trains as Digital Signals

Neurons encode sensory inputs in the timing of action potentials. The bits per spike metric quantifies how much information a single spike conveys about a stimulus. In the primate retina, a ganglion cell responding to a natural movie encodes ~ 4.5 bits per spike (Nirenberg & Latham, 2009). Over a 1‑second interval with a firing rate of 30 Hz, this yields a channel capacity of about 135 bits/s per cell.

The visual cortex further compresses this signal. A single V1 neuron integrates inputs from ~ 30 retinal ganglion cells, reducing redundancy through sparse coding—only ~ 5 % of the neurons are active at any moment, yet the population still represents the same visual scene. This sparsity improves the signal‑to‑noise ratio and brings the effective channel capacity per neuron closer to the metabolic limit of ~ 10 bits/J (Attwell & Laughlin, 2001).

3.2 Predictive Coding as an Information Bottleneck

Predictive coding posits that each cortical layer sends a prediction downwards and receives a prediction error upwards. Mathematically, this can be expressed as an information bottleneck problem: find a compressed representation \(T\) of the input \(X\) that maximally preserves relevant information about a target variable \(Y\) (Tishby et al., 2000).

Empirical recordings in mouse visual cortex show that prediction errors carry about 1 bit per event, far less than raw sensory spikes, confirming that the brain discards predictable components to conserve bandwidth. This principle aligns with the free-energy principle, which frames the brain as a device that minimizes surprise (i.e., maximizes the likelihood of its sensory data) while respecting constraints on metabolic energy.

3.3 Cross‑Species Comparisons

Even tiny insects such as the fruit fly (Drosophila melanogaster) obey similar constraints. A fly’s optic lobe processes ~ 10⁶ photoreceptor events per second, yet the downstream motion-sensitive neurons transmit only ~ 10⁴ bits/s, a compression factor of 100. This is comparable to the compression ratios observed in the honeybee waggle dance (≈ 10⁴ bits of raw distance/direction information reduced to ~ 8 bits per dance).

These convergences suggest that information‑optimal coding is a universal design principle, shaped by the twin pressures of noise and energy scarcity.


4. Artificial Neural Networks: Scaling Information Flow

4.1 Parameter Count vs. Information Capacity

Modern deep learning models are often measured by the number of trainable parameters. GPT‑4, for instance, contains roughly 175 billion parameters. Each 32‑bit floating‑point weight can, in principle, store 32 bits of information, giving a raw storage capacity of 5.6 × 10¹² bits (≈ 0.7 TB). However, the effective information capacity is far lower because many weights are highly correlated after training.

The information bottleneck framework applied to deep networks shows that during training, layers progressively discard irrelevant details, converging on a compressed representation that retains only the bits needed for the target task. Empirically, a 1‑billion‑parameter vision model (e.g., EfficientNet‑B7) can be pruned to 10 % of its original size with less than 1 % loss in top‑1 accuracy (Han et al., 2015). This indicates that only about 10⁸ effective bits are necessary for the model’s performance, a compression ratio of 10 relative to the raw parameter space.

4.2 Energy per Bit in Hardware

Training GPT‑4 required an estimated 1.5 × 10⁴ kWh of electricity (Strubell et al., 2019), equivalent to the annual consumption of ~ 1,500 U.S. households. The model performed roughly 10¹⁸ floating‑point operations (FLOPs) during training, yielding an energy cost per operation of ~ 5 µJ. If we assume each FLOP transmits ~ 0.5 bits of information (a conservative estimate based on entropy calculations), the energy per bit is roughly 10 µJ/bit.

By contrast, the honeybee’s waggle dance operates at 0.22 mJ/bit, i.e., four orders of magnitude less efficient. However, the AI system processes vastly more complex, high‑dimensional data (language, code, images) that would be impossible for a single organism to handle. The disparity underscores the importance of hardware‑aware algorithm design—researchers are actively developing neuromorphic chips that can approach the brain’s ~ 10 pJ/bit energy efficiency (Indiveri & Liu, 2015).

4.3 Attention as a Dynamic Information Router

Transformer architectures introduced the attention mechanism, which computes a weighted sum of value vectors based on similarity scores between queries and keys. Mathematically, attention implements a soft routing of information across a fully connected graph of tokens.

Each attention head can be interpreted as a channel with capacity limited by the softmax distribution. Empirical analysis shows that in GPT‑4, a typical head transmits ≈ 2 bits of information per token (Voita et al., 2019). With 96 heads per layer and 96 layers, the model’s total per‑token information flow reaches ≈ 180 bits, a value that scales linearly with model size. This modular routing mirrors the selective attention observed in bee foragers: scouts prioritize floral cues that maximize nectar return, effectively allocating their limited sensory bandwidth to the most rewarding sources.


5. Information Theory Meets Evolutionary Ecology

5.1 Adaptive Coding in Variable Environments

Ecologists have long noted that organisms evolve plastic communication systems that adapt to environmental noise. In desert-dwelling ants, for example, trail pheromone concentration decays rapidly, forcing ants to rely on temporal coding (frequency of trail laying) rather than concentration gradients. Laboratory measurements reveal that ant trails encode ~ 1.5 bits of spatial information per minute (Gordon, 2015).

Similarly, honeybees adjust the amplitude of their waggle dance vibrations depending on ambient temperature, which influences the speed of vibration propagation through wax. This dynamic adjustment maintains a roughly constant signal‑to‑noise ratio, ensuring that the effective channel capacity stays near the theoretical limit dictated by the Shannon–Hartley formula for the given temperature‑dependent SNR.

5.2 Redundancy and Error Correction in Social Insects

Redundancy is a hallmark of robust information systems. In a honeybee hive, a single high‑quality food source may be advertised by dozens of dancers. Listeners thus receive multiple, independent copies of the same message. Statistical analysis shows that the standard error of the decoded distance shrinks proportionally to \(1/\sqrt{n}\), where \(n\) is the number of dancers (Seeley, 2010). This is mathematically identical to the majority‑vote decoding used in digital communications to suppress bit‑flip errors.

The same principle underlies self‑governing AI agents that employ ensemble methods: multiple models vote on an action, and the consensus reduces the probability of catastrophic mistakes. The parallel suggests that designing AI governance structures that mimic insect redundancy could improve safety without excessive computational overhead.

5.3 Evolutionary Constraints on Information Bandwidth

All biological communication is bounded by physical constraints: diffusion limits for chemical signals, acoustic attenuation for sound, and the speed of neural conduction. These constraints translate directly into channel capacity limits. For example, the olfactory system of a mouse can detect odorants at concentrations as low as 10⁻¹⁴ M, yet the information rate of the olfactory bulb is only ~ 10 bits/s (Mazor & Laurent, 2005). The bottleneck is not the receptor sensitivity but the temporal integration window imposed by the slow diffusion of odor molecules.

Understanding such constraints helps conservationists prioritize interventions. If a pesticide reduces the firing rate of olfactory neurons by 30 %, the resulting drop in bits per second can be predicted using the linear relationship between firing rate and information capacity, enabling precise risk assessments for bee populations.


6. From Bits to Behavior: Decision‑Making in Bees and AI

6.1 Bayesian Inference in Foraging

Honeybees perform a form of Bayesian updating when choosing among multiple nectar sources. Each forager maintains a belief distribution over the reward rate of a patch, updated after each visit. Experiments with artificial flowers that change nectar volume at known rates show that bees converge to the optimal patch within ~ 10 visits, achieving an average reward within 5 % of the theoretical optimum (Kelley et al., 2019).

The Bayesian update can be expressed in terms of information gain: each new observation reduces the entropy of the belief distribution by a measurable amount (≈ 0.3 bits per visit). The forager’s decision rule—exploit if expected gain exceeds a threshold, otherwise explore—mirrors the exploration–exploitation trade‑off used in reinforcement learning algorithms such as UCB (Upper Confidence Bound).

6.2 Reinforcement Learning in Artificial Agents

Modern AI agents, particularly those employing deep reinforcement learning (DRL), learn policies by maximizing expected cumulative reward. The policy network maps states to action probabilities, while the value network estimates the expected return. Information‑theoretic regularizers (e.g., KL‑divergence penalties) keep the policy from deviating too far from a prior distribution, effectively limiting the policy entropy to a manageable range.

In practice, the bits per decision for a DRL agent in a complex video game (e.g., StarCraft II) can be estimated by counting the number of possible actions (≈ 10⁴) and the entropy of the policy distribution (≈ 7 bits). This is comparable to a foraging bee’s decision entropy (≈ 5 bits) when selecting among flower patches. The similarity suggests that energy‑limited agents—whether insects or silicon—naturally converge on low‑entropy, high‑certainty‑reduction strategies.

6.3 Self‑Governance and Collective Decision‑Making

Self‑governing AI agents—systems that can modify their own policies, allocate resources, and resolve conflicts without central oversight—draw inspiration from distributed consensus in insect colonies. In a honeybee swarm, a quorum‑sensing mechanism triggers a nest relocation once a threshold number of scouts support a new site. This process can be modeled as a distributed voting algorithm with a known probability of reaching consensus within a bounded time (Seeley & Visscher, 2004).

Analogously, multi‑agent AI frameworks such as OpenAI’s Dota‑2 bots employ a voting mechanism among sub‑agents to decide on strategic moves, achieving robust performance despite noisy individual predictions. By studying the information flow—how many bits each sub‑agent contributes to the final decision—engineers can fine‑tune quorum thresholds to balance speed and accuracy, just as bees balance the risk of premature relocation against the cost of staying in a deteriorating hive.


7. Conservation Implications: Information Loss in Declining Populations

7.1 Habitat Fragmentation Reduces Communication Bandwidth

When natural habitats are fragmented by agriculture or urban development, the effective channel capacity of bee communication networks declines. A field study in the Midwestern United States measured the average distance between hives in fragmented landscapes at 1.2 km, versus 0.4 km in continuous prairie. Using the Shannon formula with a realistic SNR of 15 dB for waggle vibrations, the channel capacity dropped from ≈ 5 bits/s per hive pair to ≈ 2 bits/s.

This reduction translates into a measurable decline in foraging efficiency: colonies in fragmented habitats collected 30 % less nectar per day, directly impacting colony health and pollination services (Murray et al., 2022). By quantifying the information loss, conservationists can prioritize corridor restoration that restores the original capacity.

7.2 Pesticide Exposure Alters Neural Information Processing

Neonicotinoid pesticides have been shown to impair the spiking reliability of honeybee olfactory neurons. In vitro recordings reveal a 20 % increase in spike jitter, reducing the mutual information between odor concentration and neural response from 4.5 bits to 3.6 bits per spike (De Vries et al., 2021). This degradation lowers the effective bandwidth of the bee’s sensory channel, leading to poorer flower discrimination and decreased foraging success.

Applying information‑theoretic metrics enables regulators to set quantitative exposure limits based on functional information loss rather than arbitrary concentration thresholds, aligning policy with the biology of the organism.

7.3 Leveraging AI for Monitoring and Restoration

AI systems trained on acoustic recordings can detect waggle dance patterns from hive microphones, extracting the encoded directions and distances in near real‑time. A pilot project in the UK used a convolutional neural network to decode dances with 92 % accuracy, providing a non‑invasive method to map forage landscapes. The resulting data feed into adaptive management tools that suggest planting specific flowering species in under‑served zones, directly improving the colony’s information channel capacity.

This synergy—using information‑rich AI to augment information‑poor ecosystems—exemplifies the article’s core message: the same mathematical language that describes bits in silicon can guide us to restore bits in nature.


8. Future Directions: Bridging Theory, Biology, and Technology

  1. Neuromorphic Hardware – Emerging chips that emulate spiking neurons (e.g., Intel Loihi) aim for 10 pJ/bit, approaching the energy efficiency of the honeybee’s waggle dance. Integration of such hardware into autonomous pollinator robots could provide low‑power, high‑bandwidth communication channels that do not compete with natural pollinators.
  1. Information‑Theoretic Conservation Metrics – Developing standardized indices such as Habitat Information Capacity (HIC) could allow cross‑taxa comparisons of ecosystem health, analogous to the Biodiversity Intactness Index but grounded in measurable bits per second.
  1. Self‑Governance Protocols Inspired by Insects – Formalizing quorum‑based decision rules as protocols for AI governance may yield systems that are both scalable and resilient, leveraging the proven robustness of insect societies.
  1. Cross‑Disciplinary Data Repositories – Creating open datasets that align neural recordings, bee dance videos, and AI model activations under a common information‑theoretic schema would accelerate comparative research and enable meta‑analyses across domains.

Why It Matters

Information is the currency of life, whether it flows through the trembling wings of a honeybee or the silicon cores of a language model. By grounding our understanding of biological and artificial systems in the rigor of information theory, we gain a universal toolkit for measuring efficiency, diagnosing failure, and designing improvement.

For the Apiary community, this means we can quantify the hidden cost of habitat loss, predict how pesticides erode the neural bandwidth of pollinators, and deploy AI agents that augment—not replace—nature’s own information processors. In the longer view, mastering the balance of bits and energy will be essential for any civilization that wishes to coexist sustainably with the living world.

Let us remember that every bit saved in a bee’s waggle dance is a drop of nectar preserved for the fields we depend on, and every bit optimized in an AI system is a step toward a future where technology serves, rather than supplants, the intricate information networks that have evolved over millions of years.


For deeper dives into any of the topics touched on here, explore the linked articles throughout the text. Happy reading, and may your curiosity buzz as brightly as a honeybee’s wing.

Frequently asked
What is Information Processing In Biological And Artificial Systems about?
When Claude Shannon published “A Mathematical Theory of Communication” in 1948, he could hardly have imagined that the equations he devised for telegraph…
What should you know about introduction?
When Claude Shannon published “A Mathematical Theory of Communication” in 1948, he could hardly have imagined that the equations he devised for telegraph wires would one day illuminate the inner lives of honeybees and the inner workings of massive language models. Yet the same concepts—entropy, channel capacity, and…
What should you know about 1. Foundations of Information Theory?
Shannon defined entropy \(H\) as the expected number of bits required to describe a random variable \(X\):
What should you know about 2.1 Quantifying the Waggle?
The honeybee ( Apis mellifera ) communicates the location of food sources through a stereotyped “waggle dance” performed on the vertical comb. A dancer encodes two key variables:
What should you know about 2.2 Energy Efficiency?
A honeybee’s metabolic rate during foraging is ~ 35 mW (Heinrich, 1993). The waggle dance adds roughly 5 % to this cost, i.e., ~ 1.75 mW. Translating the 8 bits per dance into energy per bit yields:
References & sources
  1. Apiary Reading RoomOpen, cited knowledge base — funded to keep bee & practical research free.
From the Apiary Reading Room. Opinion & editorial — not financial advice. We don't overclaim.
More from the Reading Room