Reproduce “Knowledge Vector of Logical Reasoning in Large Language Models” 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

Zixuan Wang, Yuanyuan Lei

Researchers at the University of Florida investigated the linear representability of deductive, inductive, and abductive reasoning within large language models, discovering that while initially orthogonal, these reasoning forms can be refined through a novel framework to yield performance improvements on logical reasoning tasks and exhibit cross-task generalization, with an example of a 3.11 percentage point gain on GSM8K.

Key insights

  • Distinct logical reasoning types (deductive, inductive, abductive) are linearly representable as knowledge vectors within LLMs' activation spaces, capable of enhancing reasoning performance through steering.
  • Naively extracted reasoning vectors for different logical reasoning types are largely orthogonal in LLMs, indicating distinct internal representations that differ from human cognitive models.
  • A complementary subspace-constrained refinement framework can effectively encourage interaction and knowledge sharing among different reasoning types in LLMs, aligning them more closely with human cognitive processes.

Summary by alphaXiv.

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