Reproduce “Deep Hidden Cognition Facilitates Reliable Chain-of-Thought Reasoning” on OpenResearch

Run Claude Code, Codex or any coding agent as a research agent: literature, hypotheses and experiments on your laptop, cluster or cloud GPUs.

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

About this paper

Zijun Chen, Wenbo Hu, Richang Hong

Researchers at Hefei University of Technology introduced a "Deep Hidden Cognition" method to enhance Chain-of-Thought (CoT) reasoning in large language models by extracting and leveraging internal veracity signals from attention head activations. This approach, which guides CoT generation through a confidence-guided beam search, consistently improves reasoning accuracy across various unimodal and multimodal tasks.

Key insights

  • Large language models possess an internal 'cognition' of truthfulness, encoding verifiable authenticity signals within specific attention head activations that can predict the veracity of individual reasoning steps.
  • Leveraging these deep hidden cognitive signals provides a more reliable and calibrated measure of step-by-step veracity than surface-level generation probabilities, effectively addressing LLMs' inherent overconfidence.
  • Dynamically guiding the Chain-of-Thought beam search with a confidence predictor derived from internal model states is an effective strategy to mitigate error accumulation and significantly enhance reasoning accuracy.

Summary by alphaXiv.

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