Grokked Transformers are Implicit Reasoners: A Mechanistic Journey to the Edge of Generalization episode artwork

EPISODE · Nov 11, 2024 · 12 MIN

Grokked Transformers are Implicit Reasoners: A Mechanistic Journey to the Edge of Generalization

from Artificial Discourse · host Kenpachi

This research explores whether transformers, a type of neural network architecture, can learn to reason implicitly over knowledge. The authors find that transformers can learn to reason implicitly, but only through a phenomenon called grokking, where training extends far beyond overfitting. The study investigates two reasoning types: composition and comparison. They find that while the transformers generalize well on in-distribution examples for both types, they struggle with out-of-distribution generalization for composition but succeed for comparison. Through mechanistic analysis of the model’s internals, they discover that different circuits are formed during grokking for each reasoning type, which explains the varying levels of systematicity. The authors also demonstrate the potential of parametric memory for complex reasoning tasks with large search spaces, showing that a fully grokked transformer can achieve near-perfect accuracy, while state-of-the-art LLMs with non-parametric memory fail.

Episode metadata supplied by the publisher feed · Published Nov 11, 2024

Embed this episode

NOW PLAYING

Grokked Transformers are Implicit Reasoners: A Mechanistic Journey to the Edge of Generalization

0:00 12:22

No transcript for this episode yet

We transcribe on demand. Request one and we'll notify you when it's ready — usually under 10 minutes.

No similar episodes found.

No similar podcasts found.

Frequently Asked Questions

How long is this episode of Artificial Discourse?

This episode is 12 minutes long.

When was this Artificial Discourse episode published?

This episode was published on November 11, 2024.

Can I download this Artificial Discourse episode?

Yes. Use the download control on the episode player to save the publisher-provided media file.
URL copied to clipboard!