Loading video...

Video Failed to Load

Go Home

Have you debugged your training data? You might not like what you find. Introducing predictive data debugging: reveal and shape what your model will learn before training. In DPO datasets, we found broken guardrails, hallucinations, and fish fart fan fiction (seriously). (1/9)

186,107 views • 3 months ago •via X (Twitter)

37 Comments

Goodfire's profile picture
Goodfire3 months ago

Predictive data debugging reveals which behaviors DPO will amplify or suppress before you train (R² = 0.9 vs what the model actually learns). It then traces behaviors to responsible data, and modulates learning to prevent undesired effects. (2/9)

Goodfire's profile picture
Goodfire3 months ago

The key idea: interpreting a model also lets us interpret a dataset. Passing data through an interpreted model reveals what the model computes when processing each example. Those concepts predict what the model will move toward, or away from, if you train on that data. (3/9)

Goodfire's profile picture
Goodfire3 months ago

Example #1: breaking safety guardrails You might expect your "alignment" data to strengthen guardrails. If you use Dolci or Tulu, you’d be disappointed. DPO on these data made models more susceptible to jailbreaks. But knowing what specific data caused it, we can fix it! (4/9)

Goodfire's profile picture
Goodfire3 months ago

#2: hallucinated links After DPO, the model produced links far more often when responding to prompts asking for resources on sensitive topics. But the URLs were almost always hallucinated. The model had only learned to *look* helpful. (5/9)

Goodfire's profile picture
Goodfire3 months ago

#3: sycophancy, but just for physics This data makes models sycophantic, but only for pseudo-profound physics questions like "if the universe is governed by laws, where are they located?" Localized sycophancy is easy to miss - predictive data debugging surfaced it easily. (6/9)

Goodfire's profile picture
Goodfire3 months ago

#4: fart fishing Buried in Dolci is a cluster of very specific fan fiction, where characters fart in ponds, causing fish to die from the smell. The chosen responses in the dataset wrote vivid scenes, while the rejected refused, teaching the model to comply! (7/9)

Goodfire's profile picture
Goodfire3 months ago

Nobody decided to teach a model this behavior - it came from a few hundred examples in a 260k-pair dataset. You can't write an eval for a behavior you don't know exists! Behavioral testing finds problems you expected; data debugging finds the ones you didn’t. (8/9)

Goodfire's profile picture
Goodfire3 months ago

If you train models on preference data, you have a curriculum you've never read. Predictive data debugging lets you read it, understand it, and rewrite it. We've built it into Silico, our platform for model design. Request access to Silico here: (9/9)

Goodfire's profile picture
Goodfire3 months ago

Read the full blog post on predictive data debugging:

Heisenberg's profile picture
Heisenberg3 months ago

"they are trying to get rid of us"

Goodfire's profile picture
Goodfire3 months ago

well yes just a little bit

Cas (Stephen Casper)'s profile picture
Cas (Stephen Casper)3 months ago

Goodfire appears to have reinvented predictive dataset coding. But instead of looking at the data and arbitrary embeddings, you look at *SAE* embeddings. I think there’s a pretty decent history of prior papers and similar or simpler methods for doing the same kind of work with datasets. For example, you can check out our work and related works section from this 2023 paper: I’m left kind of disappointed by GF not pitting their method fairly against regular, unsexy dataset coding work that doesn’t involve SAEs. No doubt that would have been able to uncover dirty laundry in these preference datasets too, maybe with less effort. I think this is once again an example of GF interp research that does something simple in a complex way, without what I would see as a fair baseline that commensurate effort has been put into. It then lays on cherry-picked illustrative examples enough to get clicks and convince laypeople and VCs that progress is being made.

GOBLIN's profile picture
GOBLIN3 months ago

goblin spotted👀

GTO's profile picture
GTO3 months ago

i see goblins!

Goodfire's profile picture
Goodfire3 months ago

🧌

Jiaxin Wen's profile picture
Jiaxin Wen3 months ago

will you release a tech report?

Goodfire's profile picture
Goodfire3 months ago

the full (73-page) paper is on arXiv!

Saurabh Shah's profile picture
Saurabh Shah3 months ago

This is awesome work!! It’s good to be reminded of the types of awesome research fully open pipelines enable :)

Goodfire's profile picture
Goodfire3 months ago

Thanks for helping to enable it!

Mehar Bhatia's profile picture
Mehar Bhatia3 months ago

We had similar findings in our paper, Value Drifts. We observed that a model does not learn new values during PO training since preference pairs in common datasets are often too similar in terms of values (nearly identical value distributions).

Matthew's profile picture
Matthew3 months ago

This is why I hand-curate all my training data.

Goodfire's profile picture
Goodfire3 months ago

manually inspecting trillions of tokens is a hard job, hats off to you

Matthew's profile picture
Matthew3 months ago

Fair. It is easier for fine-tuning data. Definitely not trillions of tokens. And your point is well taken for full training datasets. More care could be taken, especially now that it is apparent that the resulting model is a geometric shape. Every token counts...some more than others...

Mage of Aquarius's profile picture
Mage of Aquarius3 months ago

removing fanfiction from the training data is fascism btw

Tim Kostolansky's profile picture
Tim Kostolansky3 months ago

the fishy fanfiction highlight in this seems huge by count and/or coverage — what is going on? what dataset is this?

Ward Plunet's profile picture
Ward Plunet3 months ago

@threadreaderapp please #unroll

Alexandra's profile picture
Alexandra3 months ago

Fish fart fan fiction. 😅

Shuying Luo's profile picture
Shuying Luo3 months ago

This is very insightful work! This matches my experience training spreadsheet agents. One time I came across tasks that look super sophisticated, then I realized it had zero interaction with the sheet engine and was trying to write fiction.😂

Adel Bucetta's profile picture
Adel Bucetta3 months ago

broken guardrails are a symptom, not the cause. dig deeper into data creation pipelines.

Gerard Sans | Axiom 🇬🇧's profile picture
Gerard Sans | Axiom 🇬🇧3 months ago

@CSProfKGD

FineSet's profile picture
FineSet3 months ago

Most teams treat data quality as a vibe check before training. Finding this stuff after the model is deployed is a much worse time.

EB1A Experts's profile picture
EB1A Experts3 months ago

Very interesting direction for interpretability and alignment, impressive work!

Tin (Kevin) Nguyen's profile picture
Tin (Kevin) Nguyen3 months ago

Hi i wonder if this can answer where does the bias come from

Pablo Pablo's profile picture
Pablo Pablo3 months ago

Fish fart fan fiction in DPO data. How does predictive debugging differ from running a proxy model first?

YAROBONZ's profile picture
YAROBONZ3 months ago

Not my fishy fanfiction!

AdityMehra's profile picture
AdityMehra3 months ago

@dhruvil9ala 🙌🏻🙌🏻

aryan prakhar's profile picture
aryan prakhar3 months ago

Cool!

Related Videos