LessWrong (30+ Karma)

“Scaling Sparse Feature Circuit Finding to Gemma 9B” by Diego Caples, Jatin Nainani, CallumMcDougall, rrenaud


Listen Later

[This is an interim report and continuation of the work from the research sprint done in MATS winter 7 (Neel Nanda's Training Phase)]

Try out binary masking for a few residual saes in this colab notebook: [Github Notebook] [Colab Notebook]

TL;DR: 

We propose a novel approach to:

  1. Scaling SAE Circuits to Large Models: By placing sparse autoencoders only in the residual stream at intervals, we find circuits in models as large as Gemma 9B without requiring SAEs to be trained for every transformer layer.
  2. Finding Circuits: We develop a better circuit finding algorithm. Our method optimizes a binary mask over SAE latents, which proves significantly more effective than existing thresholding-based methods like Attribution Patching or Integrated Gradients.

Our discovered circuits paint a clear picture of how Gemma does a given task, with one circuit achieving 95% faithfulness with <20 total latents. This minimality lets us quickly understand the [...]

---

Outline:

(00:35) TL;DR:

(01:35) 1 Introduction

(04:30) 2 Background

(04:33) 2.1 SAEs

(05:19) 2.2 Circuits

(07:04) 2.3 Problems with Current Sparse Feature Interpretability Approaches

(07:10) 2.3.1 Scalability

(07:44) 2.3.2 Independent Scoring of Nodes

(08:25) 2.3.3 Error Nodes

(10:01) 3 Our Approach

(10:29) 3.1 Solving Scalability: Circuits with few residual SAEs

(11:21) 3.2 Solving Independent Scoring: Masking

(12:08) 3.3 Error nodes

(12:25) 4 Results

(12:29) 4.1 Setup

(13:49) 4.2 Performance Recovery

(15:00) 4.2.1 Code Output Prediction:

(16:48) 4.2.2 Subject Verb Agreement (SVA):

(17:42) 4.2.3 IOI:

(18:55) 4.3 Completeness

(22:22) 4.4 Mask Stability

(23:07) 5 Case Study: Code Output Prediction

(25:09) 6. Conclusions

(27:45) 7. Future Research and Ideas

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

---

First published:

January 10th, 2025

Source:

https://www.lesswrong.com/posts/PkeB4TLxgaNnSmddg/scaling-sparse-feature-circuit-finding-to-gemma-9b

---

Narrated by TYPE III AUDIO.

---

Images from the article:

Apple Podcasts and Spotify do not show images in the episode description. Try Pocket Casts, or another podcast app.

...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,332 Listeners

Conversations with Tyler by Mercatus Center at George Mason University

Conversations with Tyler

2,401 Listeners

The Peter Attia Drive by Peter Attia, MD

The Peter Attia Drive

7,935 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,123 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,448 Listeners

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

All-In with Chamath, Jason, Sacks & Friedberg

8,779 Listeners

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

Machine Learning Street Talk (MLST)

90 Listeners

Dwarkesh Podcast by Dwarkesh Patel

Dwarkesh Podcast

354 Listeners

Hard Fork by The New York Times

Hard Fork

5,391 Listeners

The Ezra Klein Show by New York Times Opinion

The Ezra Klein Show

15,294 Listeners

Moonshots with Peter Diamandis by PHD Ventures

Moonshots with Peter Diamandis

472 Listeners

No Priors: Artificial Intelligence | Technology | Startups by Conviction

No Priors: Artificial Intelligence | Technology | Startups

124 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

443 Listeners