CLAIApr 24, 2024

Let's Think Dot by Dot: Hidden Computation in Transformer Language Models

arXiv:2404.15758v1194 citationsh-index: 5
Originality Highly original
AI Analysis

This reveals a potential issue for AI interpretability, as it shows transformers can perform hidden, unauditable computations using filler tokens, which is incremental but raises concerns about model transparency.

The paper tackled the problem of whether chain-of-thought performance gains in transformers are due to human-like reasoning or simply extra computation, showing that meaningless filler tokens (e.g., '......') can solve hard algorithmic tasks where no intermediate tokens fail, with specific dense supervision required for learning. It provided a theoretical characterization of such problems in terms of quantifier depth, indicating computational benefits independent of token content.

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.

Code Implementations2 repos
Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes