Series: The Learn Arc โ 50 posts teaching Active Inference through a live BEAM-native workbench. โ Part 29: Session 5.2. This is Part 30.
The session
Chapter 5, ยง3. Session title: Neuromodulation. Route: /learn/session/5/s3_neuromodulation.
Session 5.2 argued that prediction errors are weighted by precisions. Session 5.3 is the payoff: each of the four major neuromodulators in the brain is claimed to be the physical implementation of one specific precision. If the theory is right, this is the clearest mapping from a mathematical parameter to a biological substance the literature has ever produced.
The table
| Neuromodulator | Function in the brain | In the math |
|---|---|---|
| Acetylcholine (ACh) | Sensory gain, attention | Precision on the observation (likelihood) term |
| Noradrenaline (NA) | Arousal, novelty, surprise | Precision on temporal transition terms |
| Dopamine (DA) | Policy selection, salience | Precision on the policy softmax (ฮณ in Eq. 4.14) |
| Serotonin (5-HT) | Patience, long-horizon valuation | Precision on preference (C vector) |
Four substances. Four distinct roles. Every one is a specific, testable claim about what happens when you deplete or enhance that substance.
The clinical signatures
The testability is real. Each prediction the table makes maps to a known clinical syndrome:
Low ACh โ over-reliance on priors, under-weighting of sensory evidence. Seen in: Alzheimer's disease, where cholinergic loss is profound. Behavioral: hallucinations, confabulation, failure to update beliefs on new evidence.
High NA โ everything feels surprising, transition model is over-weighted. Seen in: PTSD, anxiety. Behavioral: hypervigilance, startle responses.
Low DA โ flat policy posterior, indecision. Seen in: Parkinson's. Behavioral: bradykinesia, initiation deficits.
Low 5-HT โ high policy precision on short-horizon preferences, impulsivity. Seen in: some forms of depression, OCD. Behavioral: inability to sustain long-horizon plans.
The book is careful: these are signatures, not diagnoses. The mapping isn't perfect. But every item is specific enough to wrong, empirical enough to check.
Why this matters for engineering
You don't need to be a neuroscientist to use this. The four precisions are parameters you set in any Active Inference agent.
-
observation_precisionโ ACh. Workbench: adjusts weight on the likelihood term in Eq. 4.13. -
transition_precisionโ NA. Workbench: weight on B in the forward/backward messages. -
policy_precisionโ DA, akaฮณ. Workbench:preference_strengthin the spec's Runtime block. -
preference_precisionโ 5-HT. Workbench: inverse-temperature of C.
When you tune these in the Builder or tweak preference_strength in a cookbook recipe, you're operating the same knobs the theory claims biology operates. Session 5.3 makes this explicit.
The runnable demo
/cookbook/predictive-coding-precision-gates-error is the recipe built around this session. Same agent architecture, two precision settings, two worlds. You watch:
- Low observation-precision agent โ ignores sensor, sticks to priors โ hallucinates "I know where I am" even when the world shows otherwise.
- Low policy-precision agent โ can't commit to a single plan โ hesitates, samples across multiple policies.
- Low preference-precision agent โ doesn't care enough about the goal โ wanders.
Three pathologies. Three knob settings. The Workbench can simulate the behavioral signatures Session 5.3 describes.
The concepts this session surfaces
- Precision โ inverse variance.
- Neuromodulator โ a brainstem chemical that broadcasts a precision signal.
- Signature โ behavioral pattern predicted by a specific precision setting.
- ACh/NA/DA/5-HT โ the four modulators with the clearest mappings.
The quiz
Q: An Active Inference agent behaves as if it "can't commit to a plan" โ its action posterior is diffuse even when the goal is clear. Which precision is most likely too low?
- โ Observation precision (ACh).
- โ Policy precision (DA, ฮณ in Eq. 4.14). โ
- โ Transition precision (NA).
- โ Preference precision (5-HT).
Why: The policy posterior is a softmax over
โฮณG. With low ฮณ, the softmax spreads across policies. The agent's behavioral signature โ diffuse action selection with clear goals โ matches low-DA clinical syndromes like Parkinson's. The other precisions affect different aspects of the loop (perception, dynamics, preference strength).
Run it yourself
-
/learn/session/5/s3_neuromodulationโ session page. -
/cookbook/predictive-coding-precision-gates-errorโ precision sweep. -
/cookbook/planning-softmax-temperatureโ ฮณ sweep โ DA sweep. -
/cookbook/preference-precision-vs-strengthโ 5-HT โ preference-precision sweep. -
/cookbook/perception-noisy-sensor-robustnessโ ACh โ observation-precision sweep.
The mental move
Chapter 5's boldest move is making clinical claims that depend only on the math, not on additional hand-crafted biology. If the theory is right, every computational-psychiatry finding should eventually map onto one of the four knobs above. That mapping is ongoing empirical work, not settled fact โ but the framework is falsifiable and the predictions are specific.
Next
Part 31: Session ยง5.4 โ Brain map. Chapter 5's closer. A labeled diagram of the cortex with the generative-model factors drawn onto it. What areas do what. Where the theory's cleanest predictions live.
โญ Repo: github.com/TMDLRG/TheORCHESTRATEActiveInferenceWorkbench ยท MIT license
๐ Active Inference, Parr, Pezzulo, Friston โ MIT Press 2022, CC BY-NC-ND: mitpress.mit.edu/9780262045353/active-inference
โ Part 29: Session 5.2 ยท Part 30: Session 5.3 (this post) ยท Part 31: Session 5.4 โ coming soon








