Reproduce “Are language models aware of the road not taken? Token-level uncertainty and hidden state dynamics” on OpenResearch

Turn your favorite coding agents into research agents that review literature, develop hypotheses, and run experiments.

Universal app for Apple silicon and Intel. Requires macOS 11 or later.

About this paper

Amir Zur, Atticus Geiger, Ekdeep Singh Lubana, Eric Bigelow

Researchers explored how large language models' internal hidden states reflect their uncertainty about alternative generation paths, finding these states are predictive of future outcomes and indicate when models are most susceptible to steering. This work suggests LLMs implicitly represent potential divergences in reasoning, offering a more efficient way to estimate uncertainty and guide model behavior.

Key insights

  • LLMs implicitly represent their uncertainty about alternative reasoning paths within their hidden states, indicating an internal 'awareness' of potential future decisions.
  • The effectiveness of steering an LLM's output is directly correlated with its internal uncertainty, with interventions being most successful when the model has not yet committed to a specific reasoning path.
  • An LLM's hidden states contain model-specific information that efficiently and accurately predicts its future outcome distribution, offering a less computationally intensive proxy for uncertainty estimation.

Summary by alphaXiv.

Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.