返回首页
Ars Technica

Are LLMs capable of non-verbal reasoning?

12 12 月, 2024 约 7 分钟

Large language models have found great success so far by using their transformer architecture to effectively predict the next words (i.e., language tokens) needed to respond to queries. When it comes to complex reasoning tasks that require abstract logic, though, some researchers have found that interpreting everything through this kind of “language space” can start to cause some problems, even for modern “reasoning” models.

Now, researchers are trying to work around these problems by crafting models that can work out potential logical solutions completely in “latent space”—the hidden computational layer just before the transformer generates language. While this approach doesn’t cause a sea change in an LLM’s reasoning capabilities, it does show distinct improvements in accuracy for certain types of logical problems and shows some interesting directions for new research.

Wait, what space?

Modern reasoning models like ChatGPT’s o1 tend to work by generating a “chain of thought.” Each step of the logical process in these models is expressed as a sequence of natural language word tokens that are fed back through the model.

In a new paper, researchers at Meta’s Fundamental AI Research team (FAIR) and UC San Diego identify this reliance on natural language and “word tokens” as a “fundamental constraint” for these reasoning models. That’s because the successful completion of reasoning tasks often requires complex planning on specific critical tokens to figure out the right logical path from a number of options.



A figure illustrating the difference between standard models going through a transformer after every step and the COCONUT model’s use of hidden, “latent” states.

Credit:
Training Large Language Models to Reason in a Continuous Latent Space

A figure illustrating the difference between standard models going through a transformer after every step and the COCONUT model’s use of hidden, “latent” states.

Credit:

Training Large Language Models to Reason in a Continuous Latent Space

In current chain-of-thought models, though, word tokens are often generated for “textual coherence” and “fluency” while “contributing little to the actual reasoning process,” the researchers write. Instead, they suggest, “it would be ideal for LLMs to have the freedom to reason without any language constraints and then translate their findings into language only when necessary.”

To achieve that “ideal,” the researchers describe a method for “Training Large Language Models to Reason in a Continuous Latent Space,” as the paper’s title puts it. That “latent space” is essentially made up of the “hidden” set of intermediate token weightings that the model contains just before the transformer generates a human-readable natural language version of that internal state.


原文:https://arstechnica.com/ai/2024/12/are-llms-capable-of-non-verbal-reasoning/
作者:Kyle Orland
来源:Ars Technica
发布时间:2024-12-12 21:55:20

本文由 Ars Technica AI 频道自动采集,版权归 Ars Technica 所有。