LLMs Faithfully and Iteratively Compute Answers During CoT: A Systematic Analysis With Multi-step Arithmetics

Fuente: arXiv
Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: Kudo, Keito, Aoki, Yoichi, Kuribayashi, Tatsuki, Sone, Shusaku, Taniguchi, Masaya, Brassard, Ana, Sakaguchi, Keisuke, Inui, Kentaro
Format: Preprint
Veröffentlicht: 2024
Schlagworte:
Online-Zugang:
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
_version_ 1866917351981580288
author Kudo, Keito
Aoki, Yoichi
Kuribayashi, Tatsuki
Sone, Shusaku
Taniguchi, Masaya
Brassard, Ana
Sakaguchi, Keisuke
Inui, Kentaro
author_facet Kudo, Keito
Aoki, Yoichi
Kuribayashi, Tatsuki
Sone, Shusaku
Taniguchi, Masaya
Brassard, Ana
Sakaguchi, Keisuke
Inui, Kentaro
contents This study investigates the internal information flow of large language models (LLMs) while performing chain-of-thought (CoT) style reasoning. Specifically, with a particular interest in the faithfulness of the CoT explanation to LLMs' final answer, we explore (i) when the LLMs' answer is (pre)determined, especially before the CoT begins or after, and (ii) how strongly the information from CoT specifically has a causal effect on the final answer. Our experiments with controlled arithmetic tasks reveal a systematic internal reasoning mechanism of LLMs. They have not derived an answer at the moment when input was fed into the model. Instead, they compute (sub-)answers while generating the reasoning chain on the fly. Therefore, the generated reasoning chains can be regarded as faithful reflections of the model's internal computation.
format Preprint
id arxiv_https___arxiv_org_abs_2412_01113
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle LLMs Faithfully and Iteratively Compute Answers During CoT: A Systematic Analysis With Multi-step Arithmetics
Kudo, Keito
Aoki, Yoichi
Kuribayashi, Tatsuki
Sone, Shusaku
Taniguchi, Masaya
Brassard, Ana
Sakaguchi, Keisuke
Inui, Kentaro
Computation and Language
This study investigates the internal information flow of large language models (LLMs) while performing chain-of-thought (CoT) style reasoning. Specifically, with a particular interest in the faithfulness of the CoT explanation to LLMs' final answer, we explore (i) when the LLMs' answer is (pre)determined, especially before the CoT begins or after, and (ii) how strongly the information from CoT specifically has a causal effect on the final answer. Our experiments with controlled arithmetic tasks reveal a systematic internal reasoning mechanism of LLMs. They have not derived an answer at the moment when input was fed into the model. Instead, they compute (sub-)answers while generating the reasoning chain on the fly. Therefore, the generated reasoning chains can be regarded as faithful reflections of the model's internal computation.
title LLMs Faithfully and Iteratively Compute Answers During CoT: A Systematic Analysis With Multi-step Arithmetics
topic Computation and Language
url https://arxiv.org/abs/2412.01113