UniCog: Uncovering Cognitive Abilities of LLMs through Latent Mind Space Analysis
Jiayu Liu, Yinhe Long, Zhenya Huang, Enhong Chen
TL;DR
UniCog presents a latent-mind framework to analyze LLM cognition by embedding diverse cognitive abilities into a sparse, disentangled latent space and modeling $X\sim p_\theta(X|Z)$ with $Z\sim p(Z)$. By using a language-space surrogate likelihood and a sparse posterior, the method reveals a Pareto structure where a shared reasoning core coexists with ability-specific signatures, and shows that erroneous reasoning amplifies latent activations. The authors demonstrate the surrogate’s fidelity, identify measurable signals of reasoning correctness, and propose a latent-informed candidate prioritization that improves reasoning accuracy by up to $7.5\%$ across multiple benchmarks and model families. This work provides a cognitively grounded perspective on LLM reasoning and offers a practical, plug-in mechanism to enhance reasoning reliability, with potential for real-time activation steering in future work.
Abstract
A growing body of research suggests that the cognitive processes of large language models (LLMs) differ fundamentally from those of humans. However, existing interpretability methods remain limited in explaining how cognitive abilities are engaged during LLM reasoning. In this paper, we propose UniCog, a unified framework that analyzes LLM cognition via a latent mind space. Formulated as a latent variable model, UniCog encodes diverse abilities from dense model activations into sparse, disentangled latent dimensions. Through extensive analysis on six advanced LLMs, including DeepSeek-V3.2 and GPT-4o, we reveal a Pareto principle of LLM cognition, where a shared reasoning core is complemented by ability-specific signatures. Furthermore, we discover that reasoning failures often manifest as anomalous intensity in latent activations. These findings opens a new paradigm in LLM analysis, providing a cognition grounded view of reasoning dynamics. Finally, leveraging these insights, we introduce a latent-informed candidate prioritization strategy, which improves reasoning performance by up to 7.5% across challenging benchmarks. Our code is available at https://github.com/milksalute/unicog.
