Implementation of a Metacognition Framework for Self-Awareness and Self-Regulation in Ensembles of LLMs
Organizations: Fitchburg State University, Worcester Polytechnic Institute Fitchburg, MA, USA · Fitchburg State University Fitchburg, MA, USA
Abstract
Large Language Models (LLMs) are notorious for struggling with assessing their own uncertainty, detecting knowledge conflicts, or recognizing when problems exceed their expertise; such limitations inevitably undermine reliability and trust in LLMs. In this paper, we present the first implementation of a metacognitive framework for ensembles of LLMs that addresses these challenges through explicit monitoring and control mechanisms. Our system computes a Metacognitive State Vector (MSV) quantifying self-awareness for monitoring across five dimensions derived from cognitive psychology: Emotional Response, Correctness Evaluation, Experiential Match, Conflicting Information, and Problem Importance. MSV values also provide self-regulation for control, automatically switching between System 1 (fast, single- or multi-node) and System 2 (deliberative, multi-node) processing based on query complexity. For System 2 execution, graph-theoretic algorithms control the assignment of specialized roles (Domain Expert, Critic, Evaluator, Synthesizer, and Generalist) to ensemble nodes according to their MSV-quantified metacognitive states. Our implementation allows users to explore how different query types trigger distinct processing modes. The Proof-of-Concept (PoC) demo showcases the framework with illustrative examples showing appropriate System 1/System 2 routing and helps visualize the metacognitive process via real-time radar charts and decision indicators. This PoC implementation demonstrates the feasibility of creating a framework for metacognitive self-awareness and self-regulation in LLM systems.
Figures & tables
| Dimension | Formula | Meaning |
|---|---|---|
| Emotional Response | , with , with , | Valence, affect, & stability |
| Correctness Evaluation | Logical, factual validity | |
| Experiential Matching | Familiarity with past cases | |
| Conflicting Information | Contradiction detection | |
| Problem Importance | Task priority & scope |
Metacognition in Language Models
Metacognition in language models studies how models assess their knowledge and reasoning, express uncertainty, and regulate their own actions.
See all 128 papers