Concepts / Actor-Critic Reinforcement Learning

Actor-Critic Reinforcement Learning

The actor-critic framework can be connected to synaptic plasticity rather than treated only as an abstract algorithm.

  • Programming

From Algorithm to Synapse

Actor-critic reinforcement learning is often introduced as an abstract system with two roles: an actor that chooses actions and a critic that evaluates learning-relevant information. A neural interpretation asks a more specific question: what changes at a synapse when these roles are implemented by biological activity? In the hypothetical implementation described here, actor and critic learning rules correspond to different forms of plasticity at corticostriatal synapses.

action choiceevaluationActorchooses actionsLearning updatechanges future learningCriticevaluates learning-relevantinformation
What does the actor choose, what does the critic evaluate, and how are their roles related?

The actor and critic are not simply two names for the same learner. The actor is associated with selecting actions. The critic is associated with evaluating information that is relevant to learning. In the neural account, the important distinction is preserved by the activity records retained by their synapses: the actor and critic use different eligibility traces.

Eligibility Before the Update

An eligibility trace is a synapse-specific record of past activity. It allows a synapse to retain information about an earlier event until a neuromodulatory signal arrives. This matters because the signal that influences learning does not necessarily arrive at the same moment as the original presynaptic and postsynaptic activity.

includesusesContingent traceinput and outputNon-contingenttracenot critic outputActoractivity recordCriticactivity record
How does the actor's activity record differ from the critic's activity record?
LearnerEligibility traceDefining activity information
ActorContingentIncludes the actor unit's input and depends on the actor unit's output
CriticNon-contingentDoes not involve the critic unit's output

Tracking a Synapse Before Dopamine Arrives

A synapse has experienced activity involving its connected neurons, but the dopamine-related signal arrives later. What must the synapse retain?

Record local activity: The synapse retains a record of past activity involving that particular synapse in an eligibility trace.

Preserve the learner-specific information: For an actor synapse, the record includes the actor unit's input and depends on its output. For a critic synapse, the trace does not involve the critic unit's output.

Wait for neuromodulation: The retained record allows a later dopamine-related signal to interact with the earlier synaptic activity.

The synapse does not need the neuromodulatory signal to arrive simultaneously with the original activity; it needs an appropriate synapse-specific eligibility record.

Timing Shapes STDP

Spike-timing-dependent plasticity, or STDP, makes synaptic change depend on the relative timing of presynaptic and postsynaptic activity. The synapse therefore responds not merely to whether activity occurred, but to the relationship between activity arriving before the synapse and activity in the receiving neuron. Both the order of the spikes and the time difference between them are part of the learning rule.

time differenceSTDP rulereversed orderSTDP rulePresynaptic spikeearlier timingSynaptic changedirection determined bytimingPostsynaptic spikeearlier timingPostsynaptic spikelater timingPresynaptic spikelater timingSynaptic changedirection determined bytiming
How does the order and time difference between presynaptic and postsynaptic spikes determine the direction of synaptic change?

What do you think happens?

Two synapses experience the same kinds of presynaptic and postsynaptic activity, but the order or time difference between those activities is different. Should STDP treat their histories as identical?

  • Yes, because activity occurred at both synapses
  • No, because the timing relationship is part of the STDP rule
Reveal answer

Answer: No, because the timing relationship is part of the STDP rule.

STDP makes the relative timing of presynaptic and postsynaptic activity determine the direction of synaptic change.

Dopamine Converts Eligibility

Reward-modulated STDP adds a neuromodulatory condition to timing-based plasticity. First, the synapse experiences the activity relationship required for STDP. A neuromodulator such as dopamine must then arrive within an appropriate time window for the reward-modulated rule to apply. The source describes this window as lasting up to 10 seconds after the conditions for STDP are met.

records activitycombines witharrives in timePre/post activitytiming relationshipEligibility tracesynapse-specific recordReward-modulated STDPlasting synaptic changeDopaminewithin time window
How does a dopamine or reward signal combine with an eligibility trace to convert a temporary synaptic state into lasting potentiation or depression?

A Delayed Dopamine Signal

A synapse meets the activity relationship required for STDP. Dopamine arrives later, but still within the source's stated time window. How should the event be understood?

Establish the timing condition: The presynaptic and postsynaptic activity have the timing relationship required for an STDP-related synaptic state.

Retain eligibility: The synapse preserves a record of the earlier activity in its eligibility trace.

Receive dopamine: Dopamine arrives within up to 10 seconds after the STDP conditions are met.

Apply the modulated rule: The eligibility trace and dopamine-related signal meet the conditions for reward-modulated STDP.

Dopamine does not have to arrive at the same moment as the original spikes; its timing relative to the retained eligibility trace is relevant.

Corticostriatal Mapping

Corticostriatal synapses convey signals from the cortex to principal neurons in dorsal and ventral subdivisions of the striatum. In the hypothetical actor-critic implementation, these synapses receive neural activity and dopamine-related neuromodulatory input. The actor-critic distinction is therefore expressed through the plasticity rule and through the kind of activity record retained by the synapse.

corticostriatal signalsupportssupportsmodulatescontingent tracenon-contingent traceCortexneural activityActoraction selectionSynaptic plasticityactor and critic rulesStriatumprincipal neuronsCriticevaluationDopamine-relatedregionsneuromodulatory input
How do signals from cortex, the striatum, and dopamine-producing regions correspond to the actor, critic, eligibility trace, and prediction error?

This mapping should be read as a conceptual correspondence, not as a claim that every brain implements exactly this architecture. Cortex-to-striatum signals provide the corticostriatal activity context. The actor and critic represent different learning roles. Dopamine-related input supplies neuromodulation. Eligibility traces preserve the relevant past activity so that the plasticity rule can connect earlier activity with later neuromodulation.

The Learning Cycle

informsleaves activity recordis evaluatedretains past activitylearning contextmodulatesState-relatedactivitycortical inputActionactor choiceEligibility tracepast synaptic activityCritic evaluationlearning-relevantinformationDopamine-relatedsignalneuromodulationSynaptic updateplasticity
What happens in sequence from state-related activity to action selection, neuromodulation, and synaptic learning?

Consider a conceptual trial in which cortical activity reaches corticostriatal synapses. The actor-associated activity contributes to choosing an action, while the critic-associated activity supports evaluation. The synapses retain their appropriate eligibility traces. If the relevant dopamine-related signal arrives within the appropriate window, the earlier activity can participate in reward-modulated plasticity. The actor and critic are thus connected to synaptic learning through different records of activity rather than through a single undifferentiated update.

MEDIUM

Explain the following event in four parts: a corticostriatal synapse experiences presynaptic and postsynaptic activity, the activity leaves an eligibility trace, dopamine arrives later within the relevant time window, and the synapse changes. Identify which part belongs to STDP, which part belongs to neuromodulation, and how the actor's trace would differ from the critic's trace.

Hints
  • STDP concerns the relative timing of presynaptic and postsynaptic activity.
  • Dopamine-related neuromodulation is an additional condition applied after the activity relationship has been established.
  • The actor's trace includes its input and depends on its output; the critic's trace does not involve the critic unit's output.

Mistakes in the Mapping

  • Treating the actor and critic as identical learners

    The source distinguishes them by their roles and by the eligibility traces they use.

    Fix: Associate the actor with action choice and a contingent trace; associate the critic with evaluation and a non-contingent trace.

  • Ignoring spike timing in STDP

    STDP makes the relative timing and time difference between the activities part of the learning rule.

    Fix: Ask about the order and temporal relationship of the presynaptic and postsynaptic activity.

  • Assuming dopamine must arrive simultaneously with the spikes

    The source describes dopamine arriving within an appropriate window, lasting up to 10 seconds after the STDP conditions are met.

    Fix: Separate the time of the original activity from the later neuromodulatory window.

  • Confusing an eligibility trace with the final synaptic update

    The trace preserves past activity so that a later neuromodulatory signal can interact with it.

    Fix: Describe the trace as retained eligibility and dopamine-related input as the later modulatory condition.

  • Presenting the neural implementation as established for every brain

    The source explicitly presents the walkthrough as a hypothetical neural implementation.

    Fix: Describe it as a conceptual mapping whose plausibility is supported by evidence for reward-modulated STDP at corticostriatal synapses.

Key Takeaways

  1. The actor is associated with choosing actions, while the critic is associated with evaluating learning-relevant information.
  2. STDP makes synaptic change depend on the order and time difference between presynaptic and postsynaptic activity.
  3. Reward-modulated STDP combines an STDP-related activity condition with dopamine arriving within an appropriate time window, described here as up to 10 seconds.
  4. Eligibility traces preserve synapse-specific records of past activity; the actor uses a contingent trace, while the critic uses a non-contingent trace.
  5. Corticostriatal plasticity provides a hypothetical neural implementation in which actor-critic learning rules correspond to synaptic change.

Key Takeaways

  • Actor-critic learning separates action selection from evaluation.
  • STDP uses presynaptic and postsynaptic timing to determine the direction of synaptic change.
  • Dopamine-related neuromodulation can act on a synapse-specific eligibility trace after the original activity.
  • The actor's contingent trace depends on actor input and output, whereas the critic's non-contingent trace does not involve critic output.
  • The corticostriatal connection is a hypothetical neural mapping supported by the relevance of reward-modulated STDP at corticostriatal synapses.