Module 7

Symbiosis & Chemical Ecology

Fungus farming, aphid husbandry, ant-plant mutualisms, and zombie ant parasitism

Ants are the world's most prolific mutualists and farmers. Leaf-cutter ants invented agriculture approximately 60 million years ago — some 30 million years before humans. Ant-aphid farming, ant-plant defensive mutualisms, and the terrifying parasitic manipulation by Ophiocordyceps fungi all represent extremes of coevolution, driven by chemical signaling and precisely tuned cost-benefit calculations. In this module we derive the biophysics underlying these extraordinary relationships.

7.1 Fungus Farming (Leaf-Cutters)

The attine ants (tribe Attini), particularly the genera Atta and Acromyrmex, cultivate obligate fungal mutualists of the family Agaricaceae (primarily Leucoagaricus gongylophorus). This agricultural system evolved approximately 60 million years ago in South America and represents one of the most complex symbioses in nature, involving at least four organisms: the ant, the cultivated fungus, a parasitic fungus (Escovopsis), and antibiotic-producing bacteria (Pseudonocardia).

The Farming Pipeline

  1. Leaf Cutting: Large workers (majors, head width ~4 mm) cut leaf fragments using mandibles that vibrate at ~1 kHz, creating a stridulatory signal that may stiffen the leaf via acoustic effects. Cutting force: ~50 mN.
  2. Transport: Medias carry leaf fragments (often 10–50x their body mass) back to the nest along cleared trails spanning up to 250 m. Minim workers hitchhike on leaves to defend against parasitoid phorid flies.
  3. Processing: Inside the nest, smaller workers chew leaves into a moist pulp, add fecal droplets containing enzymes, and incorporate the material into the fungus garden matrix.
  4. Cultivation: The fungus grows on the leaf substrate, producing gongylidia — nutrient-rich hyphal swellings (50–100 \(\mu\)m diameter) that serve as the primary food source for the colony.
  5. Harvesting: Workers selectively harvest gongylidia and feed them to larvae and the queen. Gongylidia contain lipids (40%), carbohydrates (30%), and proteins (20%) by dry weight.

Energetic Efficiency of Fungus Farming

The energetic efficiency of the leaf-cutter farming system can be derived by tracking energy flow through the pipeline. Let \(E_{\text{leaf}}\) be the energy content of harvested leaf material:

Energy Budget

\[ E_{\text{leaf}} \approx 18 \text{ kJ/g (dry weight, typical leaf)} \]

The fungal conversion efficiency (substrate to gongylidia biomass):

\[ \eta_{\text{fungus}} = \frac{m_{\text{gongylidia}} \cdot E_{\text{gong}}}{m_{\text{substrate}} \cdot E_{\text{leaf}}} \approx 0.10{-}0.15 \]

Including metabolic costs of the ants (cutting, transport, processing):

\[ \eta_{\text{total}} = \frac{E_{\text{gongylidia harvested}}}{E_{\text{leaf}} + E_{\text{ant metabolism}}} \]

\[ E_{\text{ant metabolism}} = N_{\text{workers}} \cdot \dot{E}_{\text{worker}} \cdot T_{\text{cycle}} \]

With a worker metabolic rate of \(\dot{E}_{\text{worker}} \approx 10\) mW and a processing cycle of ~24 hours, a mature Atta colony (5 million workers, with ~20% engaged in farming) processes ~200 kg of leaf material per year with an overall efficiency of \(\eta_{\text{total}} \approx 6{-}8\%\). This is comparable to modern human agriculture (5–10% for livestock).

Antibiotic Defense System

The fungus garden is vulnerable to the specialized parasite Escovopsis, a mycoparasitic fungus that can destroy gardens within days. The ants maintain a three-layer defense:

Weeding

Workers constantly patrol the garden, detecting and removing Escovopsishyphae mechanically. Detection is chemical: Escovopsis volatiles trigger grooming behavior at concentrations as low as 1 ppb.

Metapleural Gland

The metapleural gland (unique to ants) secretes phenylacetic acid and other antimicrobial compounds. Workers spread these over the garden substrate. Production rate: ~0.1 \(\mu\)L/day per worker.

Pseudonocardia Bacteria

Actinomycete bacteria (Pseudonocardia) grow on the ant cuticle in specialized crypts. They produce dentigerumycin and other antifungals that specifically target Escovopsis while sparing the cultivar.

7.2 Aphid Farming

Many ant species maintain mutualistic relationships with phloem-feeding hemipterans, particularly aphids. The ants protect aphids from predators (ladybird beetles, lacewing larvae, parasitoid wasps) and in return harvest honeydew — a sugar-rich excretion that constitutes a major energy source for the colony. This relationship has evolved independently in dozens of ant lineages, indicating strong selective advantages on both sides.

Honeydew Composition and Energetics

Aphid honeydew contains primarily sugars (sucrose, glucose, fructose, trehalose) at concentrations of 10–50% by weight, plus amino acids and lipids in trace amounts. A single aphid produces approximately 0.5–1.0 \(\mu\)L of honeydew per hour. The energy content per droplet:

\[ E_{\text{droplet}} = V \cdot \rho \cdot c_{\text{sugar}} \cdot \epsilon_{\text{sugar}} \]

\[ \approx 0.75 \,\mu\text{L} \times 1.1 \,\text{g/mL} \times 0.30 \times 16.7 \,\text{kJ/g} \approx 4.1 \,\text{mJ/droplet} \]

Chemical Manipulation

The mutualism is not entirely benign. Several ant species chemically manipulate their aphid “livestock” through compounds in their trail pheromone:

  • Wing suppression: The ant trail pheromone (containing \(\beta\)-farnesene, which mimics the aphid alarm pheromone) suppresses wing development in aphids, keeping them sessile and accessible. Wingless aphids produce 20–30% more honeydew than winged morphs.
  • Movement restriction: Some species (Lasius niger) clip aphid wings or apply chemical “tranquilizers” from the mandibular gland that reduce aphid walking speed by up to 50%.
  • Culling: Ants selectively consume aphids that are poor honeydew producers or that carry parasitoid eggs, effectively practicing artificial selection.

Cost-Benefit from Kin Selection Perspective

From the ant colony perspective, the investment in aphid tending must satisfy a cost-benefit condition. Let \(N_t\) be the number of tending workers,\(N_a\) the number of aphids, and \(\dot{E}_h\) the honeydew energy rate per aphid:

Mutualism Fitness Condition

\[ \underbrace{N_a \cdot \dot{E}_h \cdot \eta_{\text{harvest}}}_{\text{Benefit: energy from honeydew}} > \underbrace{N_t \cdot \dot{E}_{\text{forage}}}_{\text{Opportunity cost: lost foraging}} + \underbrace{N_t \cdot \dot{E}_{\text{defense}}}_{\text{Cost: predator defense}} \]

Dividing by \(N_t\) and defining the aphid-to-tender ratio\(R = N_a / N_t\):

\[ R > \frac{\dot{E}_{\text{forage}} + \dot{E}_{\text{defense}}}{\dot{E}_h \cdot \eta_{\text{harvest}}} \]

Empirical measurements show that profitable tending requires \(R > 5{-}10\)aphids per tender ant, consistent with observed ratios of 8–15 in Lasius niger colonies (Stadler & Dixon, 2005).

7.3 Myrmecophytes (Ant-Plant Mutualism)

Myrmecophytes are plants that have evolved specialized structures to house and feed ant colonies, receiving protection from herbivores in return. The best-studied system involves Cecropia trees and Azteca ants in the Neotropics, but similar mutualisms have evolved independently in over 100 plant genera across tropical ecosystems worldwide (e.g., Acacia-Pseudomyrmex in Central America, Macaranga-Crematogaster in Southeast Asia).

Plant Investment

Structural: Domatia

Hollow stems or swollen thorns providing nesting space. Cecropia internodes are hollow with thin internal septa that ants can penetrate. Construction cost: ~5% of stem biomass invested in cavity volume rather than structural wood.

Nutritional: Food Bodies

Müllerian bodies (Cecropia): glycogen-rich trichomes produced at the petiole base. Beltian bodies (Acacia): protein and lipid-rich leaflet tips. Pearl bodies: surface exudates on various myrmecophytes. Cost: 1–3% of total photosynthate.

Game-Theoretic Analysis: Nash Equilibrium

The ant-plant mutualism can be modeled as a two-player cooperative game. Let\(x\) be the plant's investment in ant rewards (food bodies + domatia volume) and \(y\) be the ant colony's investment in plant defense (worker allocation to patrolling). The fitness functions are:

Plant Fitness

\[ W_{\text{plant}}(x, y) = G(1 - x) \cdot \left[1 - H \cdot e^{-\lambda y}\right] \]

where \(G(1-x)\) is the growth rate with fraction \((1-x)\) of photosynthate retained, \(H\) is the herbivory damage rate without protection, and \(e^{-\lambda y}\) is the protection factor (exponentially decreasing herbivory with ant patrol effort).

Ant Colony Fitness

\[ W_{\text{ant}}(x, y) = F(x) \cdot (1 - y) + D(x) \]

where \(F(x)\) is the food reward (increasing in \(x\)),\((1 - y)\) is the fraction of workers available for colony growth, and\(D(x)\) is the domatia benefit.

Nash Equilibrium

At the Nash equilibrium, neither partner benefits from unilaterally changing its investment:

\[ \frac{\partial W_{\text{plant}}}{\partial x}\bigg|_{(x^*, y^*)} = 0 \quad \text{and} \quad \frac{\partial W_{\text{ant}}}{\partial y}\bigg|_{(x^*, y^*)} = 0 \]

For the plant: the marginal cost of providing rewards must equal the marginal benefit of additional defense:

\[ G'(1 - x^*) \cdot [1 - H e^{-\lambda y^*}] = G(1 - x^*) \cdot H \lambda \frac{\partial y^*}{\partial x} \cdot e^{-\lambda y^*} \]

Empirical data from Cecropia-Azteca systems show equilibrium values of \(x^* \approx 3{-}5\%\) (plant investment) and \(y^* \approx 20{-}30\%\)(ant defense allocation), consistent with model predictions (Fonseca 1994).

7.4 Ophiocordyceps: The Zombie Ant Fungus

Ophiocordyceps unilateralis sensu lato is a parasitic fungus that manipulates the behavior of its carpenter ant host (Camponotus spp.) in one of nature's most dramatic examples of extended phenotype manipulation. The fungal infection unfolds over 2–3 weeks and culminates in a precisely orchestrated “death grip” that positions the ant for optimal spore dispersal.

Infection Timeline

  1. Day 0: Spore attachment — ascospore lands on ant cuticle, germinates, and penetrates via enzymatic degradation of chitin.
  2. Days 1–14: Internal growth — fungal cells proliferate within the hemocoel, consuming ~40% of host soft tissue while carefully avoiding the brain and muscles. The ant continues normal colony behavior.
  3. Day ~14: Behavioral manipulation — the fungus secretes compounds (including guanobutyric acid and sphingosine) that alter ant behavior. The infected ant leaves the canopy trail and descends to a specific height (25 ± 3 cm) above the forest floor — optimal for spore dispersal.
  4. Day ~15: Death grip — at solar noon, the ant bites into a leaf vein on the north side of the leaf (in the Northern Hemisphere). The mandibular muscles are infiltrated by fungal cells that cause lockjaw. The ant dies within hours.
  5. Days 15–25: Fruiting — the fungal stroma (stalk) erupts from the back of the ant's head, grows to 2–3 cm, and releases ascospores from a capsule at the tip.

Optimal Transmission Height: Spore Dispersal Physics

The fungus must position the ant at a height that maximizes spore dispersal to the forest floor where foraging ants walk. A spore released from height \(h\) with stalk length \(\ell\) experiences gravity and air drag:

Spore Trajectory

For a spherical spore of radius \(r_s \approx 5\) \(\mu\)m and density \(\rho_s \approx 1100\) kg/m\(^3\) in air, the terminal settling velocity is:

\[ v_t = \frac{2 r_s^2 (\rho_s - \rho_a) g}{9 \mu_a} \approx 3 \text{ mm/s} \]

With a horizontal wind velocity \(u(z)\) that follows a logarithmic boundary layer profile near the forest floor:

\[ u(z) = \frac{u_*}{\kappa} \ln\!\left(\frac{z}{z_0}\right) \]

where \(u_* \approx 0.05\) m/s is the friction velocity,\(\kappa = 0.41\) is the von Kármán constant, and\(z_0 \approx 0.01\) m is the roughness length. The horizontal dispersal distance for a spore released at height \(h + \ell\) is:

\[ x_{\text{disp}} = \int_0^{(h+\ell)/v_t} u(z(t))\, dt = \frac{u_*}{\kappa v_t} \int_0^{h+\ell} \ln\!\left(\frac{z}{z_0}\right) dz \]

Optimal Height for Infection

The probability of infecting an ant depends on: (1) the spore landing area\(\propto x_{\text{disp}}^2\) and (2) the spore concentration at ground level\(\propto 1/x_{\text{disp}}^2\). The infection probability per unit area is:

\[ P_{\text{inf}}(h) \propto \frac{N_{\text{spores}} \cdot A_{\text{ant}}}{\pi x_{\text{disp}}(h)^2} \cdot \rho_{\text{ant}}(0) \cdot \pi x_{\text{disp}}(h)^2 \]

This simplifies to \(P_{\text{inf}} \propto N_{\text{spores}} \cdot A_{\text{ant}} \cdot \rho_{\text{ant}}(0)\), which is independent of height! The height optimum arises from additional factors: humidity requirements (the fungus needs\(> 95\%\) RH for fruiting, which decreases with height) and temperature stability (less fluctuation near the ground). The observed 25 cm height represents the tradeoff between sufficient wind for dispersal and sufficient humidity for fruiting:

\[ h^* = \arg\max_h \left[ x_{\text{disp}}(h) \cdot P_{\text{fruit}}(h) \right] \]

\[ P_{\text{fruit}}(h) = e^{-h/h_{\text{humid}}} \quad \text{where } h_{\text{humid}} \approx 30 \text{ cm} \]

7.5 Leaf-Cutter Fungus Garden System

The diagram below illustrates the complete leaf-cutter ant farming system, from leaf cutting through fungal cultivation to waste management, including the antibiotic defense system.

Leaf-Cutter Ant Fungus Farming SystemGround levelTreeCuttingTrail (~250m)CarryingMinimNest entranceFungus GardenGongylidiaWorkerQueen ChamberQueen + broodWaste ChamberDepleted substrateAntibiotic Defense SystemPseudonocardia (on cuticle)Produces dentigerumycinEscovopsis (garden parasite)InhibitsMetapleural gland secretionsEnergy FlowLeaves: 18 kJ/gFungal conversion: 10-15%Gongylidia: ~25 kJ/gOverall efficiency: 6-8%

7.6 Simulation: Fungus Garden Productivity & Spore Dispersal

This simulation models three aspects of ant symbiosis: (1) nutrient cycling in a leaf-cutter fungus garden, (2) spore dispersal physics for Ophiocordyceps, and (3) cost-benefit analysis of aphid farming.

Fungus Garden, Spore Dispersal & Aphid Farming

Python
script.py254 lines

Click Run to execute the Python code

Code will be executed with Python 3 on the server

5. Ant Pheromones & Flowers: An Evolutionary Arms Race

The interaction between ant pheromones and flowering plants reveals one of the most subtle evolutionary conflicts in nature. While ants exploit floral nectar as a food source, they are almost universally poor pollinators — lacking the body hair that carries pollen, and secreting metapleural gland antimicrobials that can inhibit pollen viability. The result is an arms race played out in chemistry.

5.1 Deterrence of Pollinators by Ant Pheromones

When ants walk on flowers, they deposit trail pheromones (pyrazines, fatty acid derivatives) and alarm pheromones on petal surfaces. Bees and other pollinators detect these residues and actively avoid ant-contaminated flowers. This has been quantified in controlled experiments:

Pollinator avoidance model

The probability that a bee visits a flower with ant pheromone concentration \(c\) follows an inhibitory Hill function:

\[ P_{visit}(c) = P_0 \cdot \frac{K_{i}^n}{K_{i}^n + c^n} \]

where \(P_0\) = baseline visitation probability (~0.85 per foraging trip),\(K_i\) = inhibition constant (concentration at 50% deterrence),\(n\) = Hill coefficient (steepness of avoidance response, typically \(n \approx 2\text{--}3\)).

Derivation: The bee olfactory system integrates ant-pheromone receptor activation over the flower surface. Each odorant receptor binding event follows:

\[ \text{OR} + \text{L} \underset{k_{off}}{\overset{k_{on}}{\rightleftharpoons}} \text{OR·L} \quad \implies \quad \theta = \frac{[L]}{K_d + [L]} \]

For cooperative binding across \(n\) receptor subunits (or \(n\) independent detection events required for behavioural threshold), the fractional occupancy becomes\(\theta = c^n/(K_d^n + c^n)\). The avoidance probability is \(1 - \theta\)times the baseline, giving the Hill inhibition model above.

Experimental data (Willmer & Stone, 2004): flowers visited by Formica ants showed a 50–75% reduction in bee visits within 30 minutes of ant contact. The effect persisted for 2–4 hours (matching pheromone half-life). See also our Bee Olfaction module for how bees detect these chemical traces via their 170 odorant receptors.

5.2 Floral Defense: Cheater Exclusion

Some plants have co-evolved to actively repel ants from their flowers. They secrete ant-repellent compounds from petals or stems near the flower — a phenomenon called cheater exclusion, because ants steal nectar without providing pollination.

Floral Repellent Chemistry

  • Lotus corniculatus: cyanogenic glycosides on stem below flower
  • Cytisus scoparius: alkaloid-rich trichomes on calyx
  • Acacia hindsii: extra-floral nectaries lure ants AWAY from flowers
  • Many Lamiaceae: terpenoids in glandular trichomes repel crawling insects

Evolutionary Cost-Benefit

The plant faces a trade-off: repellent compounds are metabolically costly to produce, but ant exclusion preserves nectar for legitimate pollinators.

\[ W_{plant} = B_{poll} \cdot P_{bee}(c_{ant}) - C_{repellent} - L_{nectar \, theft} \]

Optimal repellent investment maximises \(W_{plant}\) where\(B_{poll}\) = pollination benefit and \(L_{theft}\) = nectar loss to ants.

5.3 Metapleural Gland Secretions & Pollen Viability

A key reason ants are poor pollinators: their metapleural gland secretes antimicrobial compounds (phenylacetic acid, myrmicacin = \(\beta\)-hydroxydecanoic acid) that inhibit fungal and bacterial growth on the cuticle. These same compounds reduce pollen germination by 40–90%.

\[ G_{pollen}(c_m) = G_0 \cdot e^{-\alpha c_m} \]

where \(G_0\) = germination rate without ant contact (~85%),\(c_m\) = concentration of metapleural secretion on pollen surface,\(\alpha\) = inhibition coefficient (\(\approx 0.15\,\mu\text{g}^{-1}\)). The mechanism: myrmicacin disrupts the pollen tube cell membrane, preventing the Ca\(^{2+}\)gradient required for tip growth.

This is fundamentally why evolution has driven most angiosperms to chemically exclude ants from flowers: even if an ant transfers pollen physically, the pollen it carries is largely non-viable. Beaman et al. (2012) showed that pollen exposed to Lasius ant cuticle for >10 minutes had germination rates below 15% (vs 80% for control).

5.4 Myrmecochory: Ant-Dispersed Seeds

Despite the flower conflict, ants play a crucial positive role in seed dispersal (myrmecochory). Over 11,000 plant species (~5% of all angiosperms) produce seeds with elaiosomes — lipid-rich appendages that mimic insect prey and attract ants. The ant carries the seed to its nest, eats the elaiosome, and discards the seed in nutrient-rich nest refuse — an ideal germination site.

Elaiosome Chemistry

Elaiosomes contain 1,2-diacylglycerols and oleic acid (\(\text{C}_{18:1}\)) — the same lipids found in insect hemolymph. This chemical mimicry triggers the ant's prey-retrieval behaviour (Hughes et al., 1994). The deception is so effective that ants preferentially collect elaiosome-bearing seeds over plain seeds by a factor of 5–10x.

5.5 When Ants Do Pollinate: Rare Mutualisms

In a minority of cases — typically arid or tropical environments where flying pollinators are scarce — ants serve as effective pollinators:

  • Polygonum cascadense: small prostrate flowers in alpine habitat; ants are the primary pollinator
  • Microtis parviflora (orchid): wingless wasps and ants pollinate ground-level flowers
  • Euphorbia cyparissias: extrafloral nectaries attract ants that incidentally transfer pollen

These ant-pollinated flowers share common adaptations: small size, ground-level position, reduced petal area, reduced or absent nectar production (using pollen as the reward), and crucially — pollen that is resistant to metapleural gland secretions. Cross-reference with our Bee Vision & Navigation module for how bees use UV nectar guides and polarization compass to find flowers that ants cannot easily access.

Ant–Flower Chemical Arms RaceNectar+ PollenFLOWERANTnectar thiefDeposits pheromonespyrazines, trail markersMetapleural secretionskill pollen (−40–90%)BEEpollinatorPollinatespollen on body hairDetects ant scentAVOIDS flower (−50–75%)Plant Counter-DefenseFloral repellents, slippery stems, EFN decoysMyrmecochory (seed dispersal)Elaiosome mimics insect preyEvolutionary tension: ants exploit nectar → plants repel ants → bees avoid ant-contaminated flowersCross-reference: Bee Olfaction (Module 4) | Bee Vision (Module 2)

Simulation: Ant–Flower–Pollinator Dynamics

Modelling pollinator deterrence by ant pheromones, pollen viability loss from metapleural secretions, plant fitness under different ant densities, and the optimal floral repellent investment.

Python
script.py147 lines

Click Run to execute the Python code

Code will be executed with Python 3 on the server

6. Ecosystem Simulation: The Ant–Bee–Flower–Tree Arms Race

The chemical arms race between ants, bees, flowers, and trees is a complex multi-species coevolutionary dynamic. Below we simulate how ant pheromone deposition, bee avoidance, plant defense investment, and tree-ant mutualism interact over ecological and evolutionary time. The model tracks population dynamics, pollination efficiency, seed production, and fitness across all four players simultaneously.

Python
script.py270 lines

Click Run to execute the Python code

Code will be executed with Python 3 on the server

References

  1. Schultz, T.R. & Brady, S.G. (2008). Major evolutionary transitions in ant agriculture. Proceedings of the National Academy of Sciences, 105(14), 5435–5440.
  2. Currie, C.R., Scott, J.A., Summerbell, R.C. & Malloch, D. (1999). Fungus-growing ants use antibiotic-producing bacteria to control garden parasites. Nature, 398(6729), 701–704.
  3. Stadler, B. & Dixon, A.F.G. (2005). Ecology and evolution of aphid-ant interactions. Annual Review of Ecology, Evolution, and Systematics, 36, 345–372.
  4. Oliver, T.H., Mashanova, A., Leather, S.R., Cook, J.M. & Jansen, V.A.A. (2007). Ant semiochemicals limit apterous aphid dispersal. Proceedings of the Royal Society B, 274(1629), 3127–3131.
  5. Fonseca, C.R. (1994). Herbivory and the long-lived leaves of an Amazonian ant-tree. Journal of Ecology, 82(4), 833–842.
  6. Heil, M. & McKey, D. (2003). Protective ant-plant interactions as model systems in ecological and evolutionary research. Annual Review of Ecology, Evolution, and Systematics, 34, 425–453.
  7. Hughes, D.P., Andersen, S.B., Hywel-Jones, N.L., Himaman, W., Billen, J. & Boomsma, J.J. (2011). Behavioral mechanisms and morphological symptoms of zombie ants dying from fungal infection. BMC Ecology, 11, 13.
  8. de Bekker, C., Ohm, R.A., Loreto, R.G., Sebastian, A., Albert, I., Merber, M., Brachmann, A., Calabrese, S. & Hughes, D.P. (2015). Gene expression during zombie ant biting behavior reflects the complexity underlying fungal parasitic behavioral manipulation. BMC Genomics, 16, 620.
  9. Weber, N.A. (1972). Gardening Ants: The Attines. American Philosophical Society.
  10. Mehdiabadi, N.J. & Schultz, T.R. (2010). Natural history and phylogeny of the fungus-farming ants (Hymenoptera: Formicidae: Myrmicinae: Attini). Myrmecological News, 13, 37–55.