mlsanityData to 7 Oct 2026

Sparks of cognitive flexibility: self-guided context inference for flexible stimulus-response mapping by attentional routing

arXiv 2502.15634 ↗First posted 21 Feb 2025q-bio.NC cs.LGcited by 0

Not on the map. Why?

Abstract (arXiv)

Flexible cognition demands discovering hidden rules to quickly adapt stimulus-response mappings. Standard neural networks struggle in such tasks requiring rapid, context-driven remapping. Recently, Hummos (2023) introduced a fast-and-slow learning algorithm to mitigate this shortcoming, but its scalability to complex, image-computable tasks was unclear. Here, we propose the Wisconsin Neural Network (WiNN), which extends Hummos' fast-and-slow learning to image-computable tasks demanding flexible rule-based behavior. WiNN employs a pretrained convolutional neural network for vision, coupled with an adjustable "context state" that guides attention to relevant features. If WiNN produces an incorrect response, it first iteratively updates its context state to refocus attention on task-relevant cues, then performs minimal parameter updates to attention and readout layers. This strategy preserves generalizable representations in the sensory and attention networks, reducing catastrophic forgetting. We evaluate WiNN on an image-based extension of the Wisconsin Card Sorting Task, revealing several markers of cognitive flexibility: (i) WiNN autonomously infers underlying rules, (ii) requires fewer examples to do so than control models reliant on large-scale parameter updates, (iii) can perform context-based rule inference solely via context-state adjustments-further enhanced by slow updates of attention and readout parameters, and (iv) generalizes to unseen compositional rules through context-state updates alone. By blending fast context inference with targeted attentional guidance, WiNN achieves "sparks" of flexibility. This approach offers a path toward context-sensitive models that retain knowledge while rapidly adapting to complex, rule-based tasks.

Key facts. No citing papers in the map yet (data through 7 Oct 2026). Builds on 15 of its 45 references that are in the map. First posted on arXiv 21 Feb 2025.

Builds on

15 of 45 references.

References · 15

  1. 2014Adam: A Method for Stochastic Optimizationcited by 36,960
  2. 2017Model-Agnostic Meta-Learning for Fast Adaptation of Deep Networkscited by 4,861
  3. 2016Overcoming catastrophic forgetting in neural networkscited by 4,718
  4. 2015Delving Deep into Rectifiers: Surpassing Human-Level Performance on ImageNet Classificationcited by 3,590
  5. 2017Gradient Episodic Memory for Continual Learningcited by 1,871
  6. 2018On First-Order Meta-Learning Algorithmscited by 1,003
  7. 2018Disentangling by Factorisingcited by 614
  8. 2018Task-Free Continual Learningcited by 219
  9. 2024Continual Learning and Catastrophic Forgettingcited by 73
  10. 2019Superposition of many models into onecited by 64
  11. 2022Thalamus: a brain-inspired algorithm for biologically-plausible continual learning and disentangled representationscited by 4
  12. 2021Thalamocortical contribution to solving credit assignment in neural systemscited by 2
3 more
  1. 2023Characterising representation dynamics in recurrent neural networks for object recognitioncited by 2
  2. 2024Flexible task abstractions emerge in linear networks with fast and bounded unitscited by 2
  3. 2019Modulation of early visual processing alleviates capacity limits in solving multiple taskscited by 1

Built on by

Not cited yet.