IntroLM: Introspective Language Models via Prefilling-Time Self-Evaluation
Hossein Hosseini Kasnavieh, Gholamreza Haffari, Chris Leckie, Adel N. Toosi
TL;DR
IntroLM enables causal language models to predict their own output quality during the prefilling phase by appending special [CPX] introspection tokens and training with token-conditional LoRA, avoiding any change to the generation process. It achieves strong complexity-prediction performance on long-context question answering and enables more cost-efficient multi-model routing by reducing unnecessary large-model calls and latency at matched reliability. The method preserves backbone behavior, reuses prefilling representations, and requires only lightweight adapters, facilitating practical deployment in retrieval-augmented and multi-model systems. Overall, IntroLM demonstrates how prefilling-time introspection can improve both the accuracy and efficiency of large-scale language-model pipelines.
Abstract
A major challenge for the operation of large language models (LLMs) is how to predict whether a specific LLM will produce sufficiently high-quality output for a given query. Existing approaches rely on external classifiers, most commonly BERT based models, which suffer from limited context windows, constrained representational capacity, and additional computational overhead. We propose IntroLM, a method that enables causal language models to predict their own output quality during the prefilling phase without affecting generation using introspective tokens. By introducing token conditional LoRA that activates only for the introspective token, the model learns to predict the output quality for a given query while preserving the original backbone behavior and avoiding external evaluators. On question answering benchmarks, IntroLM applied to Qwen3 8B achieves a ROC AUC of 90 precent for success prediction, outperforming a DeBERTa classifier by 14 precent. When integrated into multi model routing systems, IntroLM achieves superior cost performance tradeoffs, reducing latency by up to 33 precent and large model usage by up to 50 precent at matched reliability.
