Share your thoughts, 1 month free Claude Pro on usSee more
WorkDL logo mark

Implicit Chain of Thought Reasoning via Knowledge Distillation

About

To augment language models with the ability to reason, researchers usually prompt or finetune them to produce chain of thought reasoning steps before producing the final answer. However, although people use natural language to reason effectively, it may be that LMs could reason more effectively with some intermediate computation that is not in natural language. In this work, we explore an alternative reasoning approach: instead of explicitly producing the chain of thought reasoning steps, we use the language model's internal hidden states to perform implicit reasoning. The implicit reasoning steps are distilled from a teacher model trained on explicit chain-of-thought reasoning, and instead of doing reasoning "horizontally" by producing intermediate words one-by-one, we distill it such that the reasoning happens "vertically" among the hidden states in different layers. We conduct experiments on a multi-digit multiplication task and a grade school math problem dataset and find that this approach enables solving tasks previously not solvable without explicit chain-of-thought, at a speed comparable to no chain-of-thought.

Yuntian Deng, Kiran Prasad, Roland Fernandez, Paul Smolensky, Vishrav Chaudhary, Stuart Shieber• 2023

Related benchmarks

TaskDatasetResultRank
Multimodal UnderstandingMMStar--
511
Diagram Question AnsweringAI2D
AI2D Accuracy77.8
509
Mathematical ReasoningGSM8K
Accuracy30.1
499
Mathematical ReasoningSVAMP
Accuracy29.4
403
Science Question AnsweringScienceQA (SQA)
Accuracy87.6
338
Mathematical ReasoningGSM8K
Speed Up (x)5.71
246
Chart Question AnsweringChartQA
Accuracy62.1
165
Mathematical ReasoningMultiArith
Accuracy55.5
143
Multimodal UnderstandingMMBench
Accuracy79.1
137
Commonsense ReasoningStrategyQA (test)
Accuracy62.88
119
Showing 10 of 30 rows

Other info

Follow for update