Sparks of cognitive flexibility: self-guided context inference for flexible stimulus-response mapping by attentional routing
Rowan P. Sommers, Sushrut Thorat, Daniel Anthes, Tim C. Kietzmann

TL;DR
This paper introduces WiNN, a neural network model that combines fast context inference with attentional routing to enable flexible, rule-based behavior in image-based tasks, reducing catastrophic forgetting and generalizing to new rules.
Contribution
WiNN extends Hummos' fast-and-slow learning to complex image tasks by integrating a pretrained vision network with a dynamic context state for flexible rule inference.
Findings
WiNN autonomously infers underlying rules in image tasks.
Requires fewer examples than control models for rule inference.
Generalizes to unseen rules through context-state updates.
Abstract
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…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsNeural dynamics and brain function · EEG and Brain-Computer Interfaces
MethodsSoftmax · Attention Is All You Need
