Unraveling the cognitive patterns of Large Language Models through module communities
Organizations: Department of Computer Science Rensselaer Polytechnic Institute Troy, NY, USA · IBM Research Yorktown Heights, NY, USA
Abstract
Large Language Models (LLMs) have reshaped our world with significant advancements in science, engineering, and society through applications ranging from scientific discoveries and medical diagnostics to Chatbots. Despite their ubiquity and utility, the underlying mechanisms of LLM remain concealed within billions of parameters and complex structures, making their inner architecture and cognitive processes challenging to comprehend. We address this gap by adopting approaches to understanding emerging cognition in biology and developing a network-based framework that links cognitive skills, LLM architectures, and datasets, ushering in a paradigm shift in foundation model analysis. The skill distribution in the module communities demonstrates that while LLMs do not strictly parallel the focalized specialization observed in specific biological systems, they exhibit unique communities of modules whose emergent skill patterns partially mirror the distributed yet interconnected cognitive organization seen in avian and small mammalian brains. Our numerical results highlight a key divergence from biological systems to LLMs, where skill acquisition benefits substantially from dynamic, cross-regional interactions and neural plasticity. By integrating cognitive science principles with machine learning, our framework provides new insights into LLM interpretability and suggests that effective fine-tuning strategies should leverage distributed learning dynamics rather than rigid modular interventions.
Figures & tables
Appendix figures & tables20 assets
Supplementary material from the paper’s appendix.
Appendix
| Category | Cognitive Skills ( ) | Citation |
|---|---|---|
| Cognitive Process (Memory) | sustained attention, selective attention, divided attention, vigilance attention, attention shifting, processing speed, visual processing speed, auditory processing speed, prospective memory, working memory, episodic memory, semantic memory, procedural memory, iconic memory, echoic memory, spatial memory | [ 27 , 28 , 29 , 30 , 31 , 32 , 33 , 34 , 35 , 36 , 37 , 38 , 39 , 40 ] |
| Executive Function | planning, organization, goal setting, time management, problem-solving, mental flexibility, strategic thinking, adaptability, impulse control, decision making, emotional regulation, risk assessment, abstract thinking, reasoning, concept formation, cognitive flexibility, creativity | [ 41 , 42 , 43 , 44 , 45 , 46 , 47 , 48 ] |
| Language Communication | expressive language, receptive language, naming, fluency, comprehension, repetition, reading, writing, pragmatics, discourse ability, expressive language, receptive language, linguistic analysis, narrative skills | [ 49 , 50 , 51 , 52 , 53 , 54 , 55 ] |
| Social Cognition | recognition of social cues, theory of mind, empathy, social judgment, intercultural competence, conflict resolution, self-awareness, relationship management | [ 56 , 57 , 58 , 59 , 60 , 61 , 62 , 63 ] |