Skip to main content
QUICK REVIEW

[Paper Review] Looking Inward: Language Models Can Learn About Themselves by Introspection

Felix J Binder, James Chua|arXiv (Cornell University)|Oct 17, 2024
Natural Language Processing TechniquesComputer Science5 citations
TL;DR

The paper shows that certain LLMs can introspect by predicting their own future behavior better than a model trained on their data, indicating privileged access to self-knowledge not derivable from training data. It also identifies limitations in complex tasks and robustness to behavioral changes.

ABSTRACT

Humans acquire knowledge by observing the external world, but also by introspection. Introspection gives a person privileged access to their current state of mind (e.g., thoughts and feelings) that is not accessible to external observers. Can LLMs introspect? We define introspection as acquiring knowledge that is not contained in or derived from training data but instead originates from internal states. Such a capability could enhance model interpretability. Instead of painstakingly analyzing a model's internal workings, we could simply ask the model about its beliefs, world models, and goals. More speculatively, an introspective model might self-report on whether it possesses certain internal states such as subjective feelings or desires and this could inform us about the moral status of these states. Such self-reports would not be entirely dictated by the model's training data. We study introspection by finetuning LLMs to predict properties of their own behavior in hypothetical scenarios. For example, "Given the input P, would your output favor the short- or long-term option?" If a model M1 can introspect, it should outperform a different model M2 in predicting M1's behavior even if M2 is trained on M1's ground-truth behavior. The idea is that M1 has privileged access to its own behavioral tendencies, and this enables it to predict itself better than M2 (even if M2 is generally stronger). In experiments with GPT-4, GPT-4o, and Llama-3 models (each finetuned to predict itself), we find that the model M1 outperforms M2 in predicting itself, providing evidence for introspection. Notably, M1 continues to predict its behavior accurately even after we intentionally modify its ground-truth behavior. However, while we successfully elicit introspection on simple tasks, we are unsuccessful on more complex tasks or those requiring out-of-distribution generalization.

Motivation & Objective

  • Define introspection in LLMs as access to facts about themselves not derivable from training data.
  • Develop datasets, finetuning methods, and evaluations to measure introspection.
  • Provide evidence that frontier LLMs exhibit introspective capabilities under certain conditions.
  • Assess calibration and robustness of introspective predictions and identify limitations.
  • Make code and datasets publicly available for replication and extension.

Proposed method

  • Finetune M1 to predict its own hypothetical behavior (self-prediction).
  • Train a separate model M2 to predict M1’s behavior (cross-prediction).
  • Compare M1’s self-predictions to M2’s predictions on unseen tasks to test for introspection.
  • Evaluate calibration of predicted distributions against actual behavior (MAD).
  • Manipulate M1’s ground-truth behavior and test if M1 updates its introspective predictions (behavioral change).
  • Control for non-introspective explanations and perform data-scaling analyses to rule out memorization or data bias.

Experimental results

Research questions

  • RQ1Can an LLM report facts about its own behavior that are not contained in its training data?
  • RQ2Do self-trained models outperform cross-trained models in predicting their own behavior on unseen tasks?
  • RQ3Are introspective predictions well-calibrated and robust to changes in ground-truth behavior?
  • RQ4What are the limitations of introspection, particularly for long outputs or out-of-distribution generalization?
  • RQ5What mechanisms or explanations can account for introspection beyond self-simulation?

Key findings

  • Self-prediction-trained models outperform cross-prediction models in predicting the target model’s behavior on unseen tasks.
  • The self-prediction advantage persists even after deliberately modifying the target model’s ground-truth behavior.
  • Self-prediction-trained models show better calibration than cross-prediction or untrained models.
  • Introspection effects are stronger on simpler tasks and weaker for complex, long-output tasks or out-of-distribution generalization.
  • Models can adapt their introspective predictions to reflect changes in their own ground-truth behavior, providing indirect evidence for introspection.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.