Beyond Attention: Toward Machines with Intrinsic Higher Mental States
Ahsan Adeel
TL;DR
The paper introduces Co^4, a cooperative, context-sensitive computation mechanism inspired by cellular neurobiology that preselects relevant information via triadic Q–K–V modulations before attention, achieving near-linear complexity in the number of input tokens. By embedding high-level perceptual processing and wakeful imagination into the representation level, Co^4 enables fast, parallel multi-perspective reasoning with substantially fewer layers and heads than standard Transformers. Across reinforcement learning, image classification, and synthetic NLP tasks, Co^4 demonstrates faster convergence and higher accuracy, while reducing gradient flow issues through an asynchronous modulation function. The findings suggest that biologically grounded, context-modulated processing can yield cognitively richer AI with improved efficiency, potentially scaling to large-scale models and informing future ethical and methodological directions.
Abstract
Attending to what is relevant is fundamental to both the mammalian brain and modern machine learning models such as Transformers. Yet, determining relevance remains a core challenge, traditionally offloaded to learning algorithms like backpropagation. Inspired by recent cellular neurobiological evidence linking neocortical pyramidal cells to distinct mental states, this work shows how models (e.g., Transformers) can emulate high-level perceptual processing and awake thought (imagination) states to pre-select relevant information before applying attention. Triadic neuronal-level modulation loops among questions ($Q$), clues (keys, $K$), and hypotheses (values, $V$) enable diverse, deep, parallel reasoning chains at the representation level and allow a rapid shift from initial biases to refined understanding. This leads to orders-of-magnitude faster learning with significantly reduced computational demand (e.g., fewer heads, layers, and tokens), at an approximate cost of $\mathcal{O}(N)$, where $N$ is the number of input tokens. Results span reinforcement learning (e.g., CarRacing in a high-dimensional visual setup), computer vision, and natural language question answering.
