Neocortex learning framework via error-driven predictive learning with temporal derivatives, corticothalamic circuits, and competitive kinase synaptic plasticity. Three-criteria account of neocortex learning: computational, algorithmic, and implementational. Activation: neocortex learning, predictive coding, error-driven learning, corticothalamic circuits, synaptic plasticity, temporal derivatives.
Scanned 9/11/2026
Install to Claude Code
npx -y skills add hiyenwong/ai_collection --skill neocortex-error-driven-predictive-learning --agent claude-codeInstalls into .claude/skills of the current project.
Are you the author of Neocortex Error Driven Predictive Learning?
Add the live security badge to your README — it updates automatically with every re-scan.
[](https://www.skillsdirectory.com/skills/hiyenwong-neocortex-error-driven-predictive-learning-ai-collection)More formats (shields.io, HTML) on the badges page.
---
name: neocortex-error-driven-predictive-learning
description: Neocortex learning framework via error-driven predictive learning with temporal derivatives, corticothalamic circuits, and competitive kinase synaptic plasticity. Three-criteria account of neocortex learning: computational, algorithmic, and implementational. Activation: neocortex learning, predictive coding, error-driven learning, corticothalamic circuits, synaptic plasticity, temporal derivatives.
---
## Context
Paper: arXiv:2606.08720 - "This is how the Neocortex Learns"
Authors: Randall C. O'Reilly
Submitted: 7 Jun 2026
Category: Neurons and Cognition (q-bio.NC)
## Problem
A sufficient account of neocortex learning must meet **three criteria**:
1. **Computationally**: Must approximate a powerful, general-purpose learning algorithm that scales to human-level intelligence
2. **Algorithmically**: Must be implementable using known, well-established neural circuits within neocortex
3. **Implementationally**: Must have detailed neurochemical mechanisms at molecular level
## Core Methodology
**Error-driven predictive learning via temporal derivatives** meets all three criteria:
### 1. Computational Level
**Temporal difference learning** approximates backpropagation:
- Error signal = derivative of activation over time: $\delta = \frac{dA}{dt}$
- Prediction = current activation $A(t)$
- Target = future activation $A(t+\Delta t)$
- Error = $A(t+\Delta t) - A(t)$ (temporal derivative approximation)
This implements a form of **predictive coding** where:
- Cortex generates predictions about future inputs
- Errors drive learning when predictions fail
- Temporal derivatives provide error signals without explicit backpropagation
### 2. Algorithmic Level
**Corticothalamic circuits** implement the algorithm:
```
Thalamus (prediction generator)
↓ sends predictions
Cortex (error detector)
↓ computes temporal derivative
↓ sends error signals
Thalamus (error integrator)
↓ updates predictions
↓ drives synaptic plasticity
```
Key circuit mechanisms:
- **Layer 6 corticothalamic projections**: Generate predictions
- **Layer 4 thalamocortical inputs**: Provide actual inputs
- **Temporal comparison**: Layer 4 computes prediction error
- **Feedback pathway**: Error signals propagate back through Layer 5/6
### 3. Implementational Level
**Competitive kinase synaptic plasticity** mechanisms:
1. **CaMKII vs PKC competition**:
- CaMKII activated by NMDA receptor calcium influx (LTP pathway)
- PKC activated by error signals ( LTD pathway)
- Competition determines synaptic weight change direction
2. **Temporal derivative encoding**:
- Early calcium influx (prediction phase) → CaMKII dominance → LTP
- Late calcium influx (error phase) → PKC dominance → LTD
- Net weight change = LTP - LTD (temporal derivative)
3. **Neurochemical cascade**:
```
Prediction phase: NMDA → Ca²⁺ → CaMKII → GluR1 phosphorylation → AMPA insertion (LTP)
Error phase: Error signal → PKC → GluR2 phosphorylation → AMPA removal (LTD)
Net: Weight change = Δ(AMPA insertion) - Δ(AMPA removal)
```
## Implementation in Axon Framework
**Spiking neural network simulation** demonstrates learning:
```python
# Axon framework implementation (pseudo-code)
class NeocortexLayer:
def __init__(self):
self.prediction_neurons = Layer6Neurons()
self.error_neurons = Layer4Neurons()
self.thalamic_input = ThalamicProjection()
def learn(self, input_spike_train, target_spike_train):
# Generate prediction
prediction = self.prediction_neurons.predict(input_spike_train)
# Compute temporal derivative (error)
actual = self.thalamic_input.receive(target_spike_train)
error = temporal_derivative(actual, prediction)
# Drive synaptic plasticity
for synapse in self.synapses:
if error > threshold:
synapse.ltd(pkc_activation) # Error-driven LTD
else:
synapse.ltp(camkii_activation) # Prediction-driven LTP
```
## Key Results
- Demonstrated learning on **challenging cognitively motivated tasks**
- Three-criteria framework satisfies computational, algorithmic, and implementational levels
- **Error-driven predictive learning** = backpropagation approximation via temporal derivatives
- **Corticothalamic circuits** provide anatomical substrate
- **Competitive kinase plasticity** provides molecular mechanism
## Implementation Steps
1. **Initialize Axon spiking network** (Layer 4, 5, 6 + thalamic projections)
2. **Define prediction pathway**: Layer 6 → thalamus → Layer 4
3. **Define error computation**: Temporal derivative in Layer 4
4. **Configure synaptic plasticity**: CaMKII vs PKC competition
5. **Train on task**: Input → prediction → error → weight update
6. **Verify learning**: Compare to backpropagation performance
## Pitfalls
- **No thalamic circuit**: Cannot compute temporal derivatives without thalamus
- **Wrong temporal window**: Derivative requires precise timing (prediction vs error phase)
- **Missing kinase competition**: Only LTP or only LTD fails → need both
- **Non-spiking implementation**: Continuous activation loses temporal structure
- **No predictive coding framework**: Error-driven learning requires prediction generation
## Verification
```python
# Verify error-driven learning
prediction = layer6.generate_prediction(input)
actual = thalamus.receive(input)
error = actual - prediction # temporal derivative
# Check synaptic weight changes
for synapse in error_neurons.synapses:
weight_change = synapse.weight - initial_weight
# Verify LTP/LTD competition
if error > 0: # prediction error
assert weight_change < 0 # LTD should occur
else: # prediction success
assert weight_change > 0 # LTP should occur
# Compare to backpropagation
bp_error = backpropagate(target, output)
td_error = temporal_derivative(output, prediction)
assert correlation(bp_error, td_error) > 0.8 # should approximate BP
```
## Applications
- Brain-inspired AI (error-driven learning without backpropagation)
- Neural circuit modeling (corticothalamic loops)
- Synaptic plasticity simulation (kinase competition)
- Cognitive task learning (predictive coding framework)
## References
- Paper: https://arxiv.org/abs/2606.08720
- Axon framework: O'Reilly et al. spiking neural simulation
- Related: Predictive coding, Temporal difference learning, CaMKII/PKC plasticity
## Activation Keywords
neocortex learning, predictive coding, error-driven learning, corticothalamic circuits, synaptic plasticity, temporal derivatives, competitive kinase, CaMKII PKC, backpropagation approximation, Axon frameworkIs this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.
No comments yet. Be the first to comment!