Saved in:
Bibliographic Details
Main Authors: Ghasemabadi, Amirhosein, Niu, Di
Format: Preprint
Published: 2025
Subjects:
Online Access:https://arxiv.org/abs/2512.20578
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866909980860350464
author Ghasemabadi, Amirhosein
Niu, Di
author_facet Ghasemabadi, Amirhosein
Niu, Di
contents Large language models (LLMs) generate fluent and complex outputs but often fail to recognize their own mistakes and hallucinations. Existing approaches typically rely on external judges, multi-sample consistency, or text-based self-critique, which incur additional compute or correlate weakly with true correctness. We ask: can LLMs predict their own failures by inspecting internal states during inference? We introduce Gnosis, a lightweight self-awareness mechanism that enables frozen LLMs to perform intrinsic self-verification by decoding signals from hidden states and attention patterns. Gnosis passively observes internal traces, compresses them into fixed-budget descriptors, and predicts correctness with negligible inference cost, adding only ~5M parameters and operating independently of sequence length. Across math reasoning, open-domain question answering, and academic knowledge benchmarks, and over frozen backbones ranging from 1.7B to 20B parameters, Gnosis consistently outperforms strong internal baselines and large external judges in both accuracy and calibration. Moreover, it generalizes zero-shot to partial generations, enabling early detection of failing trajectories and compute-aware control. These results show that reliable correctness cues are intrinsic to generation process and can be extracted efficiently without external supervision.
format Preprint
id arxiv_https___arxiv_org_abs_2512_20578
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Can LLMs Predict Their Own Failures? Self-Awareness via Internal Circuits
Ghasemabadi, Amirhosein
Niu, Di
Computation and Language
Large language models (LLMs) generate fluent and complex outputs but often fail to recognize their own mistakes and hallucinations. Existing approaches typically rely on external judges, multi-sample consistency, or text-based self-critique, which incur additional compute or correlate weakly with true correctness. We ask: can LLMs predict their own failures by inspecting internal states during inference? We introduce Gnosis, a lightweight self-awareness mechanism that enables frozen LLMs to perform intrinsic self-verification by decoding signals from hidden states and attention patterns. Gnosis passively observes internal traces, compresses them into fixed-budget descriptors, and predicts correctness with negligible inference cost, adding only ~5M parameters and operating independently of sequence length. Across math reasoning, open-domain question answering, and academic knowledge benchmarks, and over frozen backbones ranging from 1.7B to 20B parameters, Gnosis consistently outperforms strong internal baselines and large external judges in both accuracy and calibration. Moreover, it generalizes zero-shot to partial generations, enabling early detection of failing trajectories and compute-aware control. These results show that reliable correctness cues are intrinsic to generation process and can be extracted efficiently without external supervision.
title Can LLMs Predict Their Own Failures? Self-Awareness via Internal Circuits
topic Computation and Language
url https://arxiv.org/abs/2512.20578