LessWrong (30+ Karma)

“OthelloGPT learned a bag of heuristics” by jylin04, JackS, karvonenadam, Can


Listen Later

Crossposted from the AI Alignment Forum. May contain more technical jargon than usual.

Work performed as a part of Neel Nanda's MATS 6.0 (Summer 2024) training program.

TLDR

This is an interim report on reverse-engineering Othello-GPT, an 8-layer transformer trained to take sequences of Othello moves and predict legal moves. We find evidence that Othello-GPT learns to compute the board state using many independent decision rules that are localized to small parts of the board. Though we cannot rule out that it also learns a single succinct algorithm in addition to these rules, our best guess is that Othello-GPT's learned algorithm is just a bag of independent heuristics.

Board state reconstruction

  1. Direct attribution to linear probes indicate that the internal board representation is frequently up- and down-weighted during a forward pass.
  2. Case study of a decision rule:
    1. MLP Neuron L1N421 represents the decision rule: If the move A4 was [...]

---

Outline:

(00:19) TLDR

(02:18) Review of Othello-GPT

(04:02) Project goal

(04:33) Results on box #1: Board reconstruction

(04:39) A circuit for how the model computes if a cell is blank or not blank

(05:59) An example of a logical rule for how the model computes if a cell is “mine” or “yours”

(07:32) Intra-layer phenomenology

(08:49) Results on box #2: Valid move prediction

(08:55) Direct logit attribution (Logit Lens)

(10:28) Board Pattern Neurons

(13:57) Clock Neurons

(15:14) Suppression behavior

(16:22) Future Work

(18:11) Acknowledgements

The original text contained 10 footnotes which were omitted from this narration.

The original text contained 2 images which were described by AI.

---

First published:

July 2nd, 2024

Source:

https://www.lesswrong.com/posts/gcpNuEZnxAPayaKBY/othellogpt-learned-a-bag-of-heuristics-1

---

Narrated by TYPE III AUDIO.

...more
View all episodesView all episodes
Download on the App Store

LessWrong (30+ Karma)By LessWrong


More shows like LessWrong (30+ Karma)

View all
Making Sense with Sam Harris by Sam Harris

Making Sense with Sam Harris

26,434 Listeners

Conversations with Tyler by Mercatus Center at George Mason University

Conversations with Tyler

2,388 Listeners

The Peter Attia Drive by Peter Attia, MD

The Peter Attia Drive

7,906 Listeners

Sean Carroll's Mindscape: Science, Society, Philosophy, Culture, Arts, and Ideas by Sean Carroll | Wondery

Sean Carroll's Mindscape: Science, Society, Philosophy, Culture, Arts, and Ideas

4,133 Listeners

ManifoldOne by Steve Hsu

ManifoldOne

87 Listeners

Your Undivided Attention by Tristan Harris and Aza Raskin, The Center for Humane Technology

Your Undivided Attention

1,462 Listeners

All-In with Chamath, Jason, Sacks & Friedberg by All-In Podcast, LLC

All-In with Chamath, Jason, Sacks & Friedberg

9,095 Listeners

Machine Learning Street Talk (MLST) by Machine Learning Street Talk (MLST)

Machine Learning Street Talk (MLST)

87 Listeners

Dwarkesh Podcast by Dwarkesh Patel

Dwarkesh Podcast

389 Listeners

Hard Fork by The New York Times

Hard Fork

5,429 Listeners

The Ezra Klein Show by New York Times Opinion

The Ezra Klein Show

15,174 Listeners

Moonshots with Peter Diamandis by PHD Ventures

Moonshots with Peter Diamandis

474 Listeners

No Priors: Artificial Intelligence | Technology | Startups by Conviction

No Priors: Artificial Intelligence | Technology | Startups

121 Listeners

Latent Space: The AI Engineer Podcast by swyx + Alessio

Latent Space: The AI Engineer Podcast

75 Listeners

BG2Pod with Brad Gerstner and Bill Gurley by BG2Pod

BG2Pod with Brad Gerstner and Bill Gurley

459 Listeners