Results & Data Analysis

Simulated data reproducing the paper's main findings with interactive visualizations

About the Simulated Data

These visualizations use computationally generated data that reproduce the qualitative patterns reported in the paper. The original experimental data (neural recordings from 1,081 neurons across 5 brain regions) is available at FigShare and analysis code at Zenodo.

Behavioural Performance (Fig. 1e,f)

Both monkeys performed all three tasks well. Performance improved over the first ~75 trials of S1 and C1 blocks as monkeys discovered which task was in effect. C2 performance was high immediately after switch.

Psychometric Curves (Simulated)
S1 (Shape)
C1 (Colour)
C2 (Colour)
Performance After Block Switch
S1
C1
C2

Key Behavioural Findings

TaskMonkey SiMonkey ChCombinedSignificance
S181%77%79%P < 0.001
C183%78%80.5%P < 0.001
C292%92%92%P < 0.001

Cross-Task Classifier Generalization (Fig. 2)

Classifiers trained on one task can decode the same variable in another task, demonstrating shared representational subspaces.

Colour Decoding: Within-Task vs Cross-Task
C1 (within)
C2 (within)
C2→C1 (cross)
C1→C2 (cross)
Response Decoding: Within-Task vs Cross-Task
S1 (within)
C1 (within)
S1→C1 (cross)
C1→S1 (cross)
Key Finding

Cross-task decoding accuracy was significantly above chance for both colour (between C1 and C2) and motor response (between S1 and C1), confirming shared representational subspaces in LPFC. Motor responses generalized across all regions, while colour generalization was strongest in LPFC.

Sensory-Motor Transformation (Fig. 3)

Information flows sequentially from shared sensory subspaces to shared motor subspaces. Colour encoding precedes motor response encoding by ~63ms. Trial-by-trial correlation confirms the transformation.

Sequential Processing: Colour → Motor
Shared Colour (C2→C1)
Shared Motor (S1→C1)
Cross-Temporal Correlation Heatmap
TDR Projection: Neural Trajectory During C1 and C2 Tasks
Red stimulus (C1)
Green stimulus (C1)
Red stimulus (C2)
Green stimulus (C2)

Task Discovery Dynamics (Fig. 4)

Monkeys discover which task is in effect through feedback. Task belief, colour subspace engagement, and shape subspace engagement all evolve systematically during the block.

Task Belief Encoding Over Trials
S1→C2→C1
C1→C2→C1
Colour Category Decoding Over Trials
S1→C2→C1
C1→C2→C1
Shape Category Decoding Over Trials
Response Direction Decoding (Stable)
Key Finding

Task belief increases as monkeys discover the C1 task. This belief predicts the engagement of shared colour subspaces (positive correlation) and inversely predicts shape subspace engagement (negative correlation). Motor response decoding remains stable throughout, consistent with both S1 and C1 using axis 1.

Compression & Gain Modulation (Fig. 5)

Task-relevant dimensions are amplified while irrelevant dimensions are compressed. The Compression Index (CPI) tracks the relative strength of colour vs. shape representations.

CPI by Task Over Time
S1 (shape relevant)
C1 (colour relevant)
C2 (colour relevant)
CPI vs Task Belief Correlation
Axis-Selective Neuron Suppression (Simulated)
Response on Axis 1 (correct)
Response on Axis 2 (incorrect)

Regional Differences

Neural recordings from five brain regions revealed different patterns of shared vs. task-specific representations.

Cross-Task Colour Generalization by Region
Cross-Task Motor Response Generalization by Region

Recording Summary

RegionNeuronsColour Shared?Motor Shared?Key Role
LPFC480StrongStrongTask control, shared subspaces
FEF149Weak/DelayedStrongMotor preparation
PAR64Weak/DelayedStrongSpatial attention
aIT239Weak/DelayedStrongVeridical stimulus
STR149Not significantStrongReward/learning