Saved in:
Bibliographic Details
Main Authors: Pfau, Jacob, Merrill, William, Bowman, Samuel R.
Format: Preprint
Published: 2024
Subjects:
Online Access:https://arxiv.org/abs/2404.15758
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866911851700289536
author Pfau, Jacob
Merrill, William
Bowman, Samuel R.
author_facet Pfau, Jacob
Merrill, William
Bowman, Samuel R.
contents Chain-of-thought responses from language models improve performance across most benchmarks. However, it remains unclear to what extent these performance gains can be attributed to human-like task decomposition or simply the greater computation that additional tokens allow. We show that transformers can use meaningless filler tokens (e.g., '......') in place of a chain of thought to solve two hard algorithmic tasks they could not solve when responding without intermediate tokens. However, we find empirically that learning to use filler tokens is difficult and requires specific, dense supervision to converge. We also provide a theoretical characterization of the class of problems where filler tokens are useful in terms of the quantifier depth of a first-order formula. For problems satisfying this characterization, chain-of-thought tokens need not provide information about the intermediate computational steps involved in multi-token computations. In summary, our results show that additional tokens can provide computational benefits independent of token choice. The fact that intermediate tokens can act as filler tokens raises concerns about large language models engaging in unauditable, hidden computations that are increasingly detached from the observed chain-of-thought tokens.
format Preprint
id arxiv_https___arxiv_org_abs_2404_15758
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Let's Think Dot by Dot: Hidden Computation in Transformer Language Models
Pfau, Jacob
Merrill, William
Bowman, Samuel R.
Computation and Language
Artificial Intelligence
I.2.6
Chain-of-thought responses from language models improve performance across most benchmarks. However, it remains unclear to what extent these performance gains can be attributed to human-like task decomposition or simply the greater computation that additional tokens allow. We show that transformers can use meaningless filler tokens (e.g., '......') in place of a chain of thought to solve two hard algorithmic tasks they could not solve when responding without intermediate tokens. However, we find empirically that learning to use filler tokens is difficult and requires specific, dense supervision to converge. We also provide a theoretical characterization of the class of problems where filler tokens are useful in terms of the quantifier depth of a first-order formula. For problems satisfying this characterization, chain-of-thought tokens need not provide information about the intermediate computational steps involved in multi-token computations. In summary, our results show that additional tokens can provide computational benefits independent of token choice. The fact that intermediate tokens can act as filler tokens raises concerns about large language models engaging in unauditable, hidden computations that are increasingly detached from the observed chain-of-thought tokens.
title Let's Think Dot by Dot: Hidden Computation in Transformer Language Models
topic Computation and Language
Artificial Intelligence
I.2.6
url https://arxiv.org/abs/2404.15758