Lune

ICLR2024顶会

Chain of Thought Empowers Transformers to Solve Inherently Serial Problems

Zhiyuan Liu, Hong Liu, Denny Zhou, Tengyu Ma

2024年份
259被引次数
109顶会引用

摘要

Instructing the model to generate a sequence of intermediate steps, a.k.a., a chain of thought (CoT), is a highly effective method to improve the accuracy of large language models (LLMs) on arithmetics and symbolic reasoning tasks. However, the mechanism behind CoT remains unclear. This work provides a theoretical understanding of the power of CoT for decoder-only transformers through the lens of expressiveness. Conceptually, CoT empowers the model with the ability to perform inherently serial computation, which is otherwise lacking in transformers, especially when depth is low. Given input length nn, previous works have shown that constant-depth transformers with finite precision poly(n)\mathsf{poly}(n) embedding size can only solve problems in TC0\mathsf{TC}^0 without CoT. We first show an even tighter expressiveness upper bound for constant-depth transformers with constant-bit precision, which can only solve problems in AC0\mathsf{AC}^0, a proper subset of TC0 \mathsf{TC}^0. However, with TT steps of CoT, constant-depth transformers using constant-bit precision and O(log⁡n)O(\log n) embedding size can solve any problem solvable by boolean circuits of size TT. Empirically, enabling CoT dramatically improves the accuracy for tasks that are hard for parallel computation, including the composition of permutation groups, iterated squaring, and circuit value problems, especially for low-depth transformers.

问问这篇 Paper

智能体会读完全文。

Lune 把这篇 Paper 索引到了最后一个公式,引用它的顶会 Paper 也一样。你提问,回答直接引用原文。

可以从这些问题问起

智能体调用

Luneget_paper_fulltext

在 Lune 里问

免费开始,无需绑卡

lune papers fulltext 608a1071-ceab-400f-8195-374b42cd3ad6

引用它的顶会 Paper109

问问它们各自怎么用它

它引用的顶会 Paper15

相关 Paper

黄昏的海面,两侧是细线勾勒的悬崖