Reproduce “From Emergence to Control: Probing and Modulating Self-Reflection in Language Models” 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

Xudong Zhu, Jiachen Jiang, Mohammad Mahdi Khalili, Zhihui Zhu

This research reveals that self-reflection is a latent ability within pretrained language models, amplified by fine-tuning rather than created. The authors introduce a method using a 'self-reflection vector' to bidirectionally control this behavior during inference, enabling precise modulation of the trade-off between reasoning accuracy and computational efficiency.

Key insights

  • Self-reflection is a latent capability in pretrained language models, which fine-tuning primarily amplifies rather than creates.
  • Self-reflection corresponds to distinct and separable hidden state representations within LLMs, particularly in deeper layers.
  • A "self-reflection vector" can be extracted from these hidden states, allowing for bidirectional control over the model's reflective tendency during inference.

Summary by alphaXiv.

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