Back

Neural networks are clean

232 points3 hoursalready-clean.goodfire.com
sebmellen • 2 hours ago

Nick is a force of nature. Highly recommend following him on X if you don't already.

His launch post gives good context not found in the blog:

> interpretability might be the most important scientific problem in the world right now, as I don't think we can solve alignment if we don't know what we're building. I think I have good news about it. I co-authored early work in mechanistic interpretability at OpenAI and came away pessimistic, because neural networks appeared to fold into arbitrary tangled knots. years later, I started openai's first large-scale automated interpretability project, finding about 2% of neurons legible with the primitive tools we had

> with modern agentic tools and a much closer look, the picture looks totally different. the vast majority in models up to trillions of parameters are legible, and their circuits beautiful. many famous examples of tangled neurons turned out to be misunderstood. The roadblocks I expected mostly aren't there. I now think ambitious interpretability will be solved by the time we need it most, and possibly quite soon, as automated scientists keep improving. it may be a bitter lesson for interpretability: the simple thing, at absurd scale, works

https://x.com/nickcammarata/status/2110757819427574056?s=46

hughw • 1 hour ago

JShelter alerts me of active fingerprinting on the website. Why, Nick.

bluejay2387 • 25 minutes ago

The claims seem to be an overreach of what is actually proven. We've known about progressive feature complexity and the impacts of early training structures on later training for a really long time (since CNN's, The Lottery Ticket Hypothesis, etc...) and neither of those phenomenon are mutually exclusive with parameter overloading. The Multimodal Gap work (https://arxiv.org/abs/2203.02053) seems to imply networks have a tendency towards condensed representations that are clearly not semantic and a bunch of other considerations are already on the table for discussion. I don't think these have all been considered sufficiently to start claiming we are around the corner from mechanistic interpretation.

2001zhaozhao • 36 minutes ago

I only skimmed through this post. But I think this is a crux:

> The more we read [the neural network] the way its own readers do, the more interpretable I think it will look. We should be wary of reading it too much like a human, and concluding it’s messy just because it doesn’t fit our preconceived concepts.

stratos123 • 2 hours ago

I'm not sure I buy the author's arguments for mechanistic interpretability being easy, but it sure is a well-made and very interesting post. Would be better without the completely superfluous laggy 3d city model, though.

intrasight • 1 hour ago

I agree. He's not a neuroscientist, so I don't think his opinion means much.

Dylan16807 • 1 hour ago

If you actually mean neuroscientist there you need to understand that "neural" network is just a name. The resemblance is faint and the tools are wildly different.

aswegs8 • 1 hour ago

How does that have any relation to having a valuable opinion? Or was that sarcasm?

tuvix • 2 hours ago

This is the primary reason, to me, that open weights are so important. If OpenAI and Anthropic want these models to be as autonomous as possible they also need to provide the means to understand them fully.

ks2048 • 2 hours ago

To cut through some of all this text - here's a link he calls "the first non-trivial neural network I feel I mostly understand:

https://already-clean.goodfire.com/microscope/medium.html?la...

measurablefunc • 1 hour ago

Understanding algorithms beyond a certain complexity is a pipe dream & neural networks are algorithms. The theory says it is not possible & the practice is aligned with the theory. All non-trivial properties of neural networks are undecidable.

cscheid • 43 minutes ago

> All non-trivial properties of neural networks are undecidable.

hey, I don't know how to say this less directly, but: you're talking a lot about Rice's theorem in your comments, and I think you're using it way too broadly (look, I get it. It's a wild, mindblowing theorem). But it only applies when you take the claim in the piece to be much more general than it has to be, and when you take the narrow claim of the paper (current specific LLMs can be fruitfully analyzed with the tools we have), Rice's theorem just isn't at play.

The math analog is: you're right that the Halting problem says there are many unprovable things, but Lean + mathlib are still incredibly useful, and the halting theorem doesn't actually stop that.

> neural networks are algorithms

Again, that invites an interpretation that is too broad. Very concretely: any one neural network is a _single finite network that you can write as a single formula_. (Another analogy: we can't have an algorithm that solves the general quintic, but we can prove useful things about many specific quintics.)

jimbokun • 38 minutes ago

Humans are undecidable too but we keep studying them.

D-Machine • 1 hour ago

What theory says this? Surely not a proven or applicable one, as this post makes it very clear a great deal of understanding is in fact possible, even with highly complex neural networks.

bob1029 • 3 hours ago

I think certain classes of artificial neural networks are definitely more interpretable than others.

For example, a trillion-parameter transformer model built using many layers is likely significantly easier to read than one that only has a few million parameters but was constructed using neuroevolution over one gigantic layer.

The degree to which a model can be quantized without losing its performance also likely contributes to interpretability. The redundancy can help humans lock onto patterns. If there is no redundancy at all (everything is a surprise in information theoretical terms), then the stream of parameters will look indistinguishable from cosmic background radiation.

jacquesm • 2 hours ago

> a trillion-parameter transformer model built using many layers is likely significantly easier to read than one that only has a few million parameters but was constructed using neuroevolution over one gigantic layer.

Why do you believe this?

bob1029 • 1 hour ago

Neuroevolution is a discontinuous way to go about building the network. You are evolving the topology itself from zero. You don't know how many parameters you will have until the training is complete (if it ever does). With a transformer model you start with a known-good topology and can calculate how long a training run will take.

jacquesm • 54 minutes ago

Yes. In that sense it is equivalent to a compression method that uses K-means clustering to do the partitioning. But because there are many more bits of knowledge out there than there are bits in the models you end up with this amorphous smear. I'm sure some of those bits carry more information about some of the concepts but in general - and that's the way it is explained in just about all the papers I've read that I can still comprehend - every weight contributes to the output in a dense model. In an MOE things get more complicated but there within every 'MOE' column the same principle applies.

I'm fine with taking this article at the high level conceptual level, that's effectively the kind of thinking that led to MOE to begin with. But I don't see that as a pathway to being able to 'explain' a model. Because if you could actually explain a model you could engineer the weights, you wouldn't need any training because it implies that you can improve on the model by simply performing surgery on the weights to get it to do what it does but better. Now, obviously, unlike the author I'm a complete nobody but for the last two years or so I've been trying very hard to understand what is going on under the hood.

It's akin to feature engineering - or rather, the lack thereof - and to see a strong suggestion that we maybe be able to reverse that is interesting, but absent hard proof at how a particular model reached a particular conclusion it is difficult to give that a lot of weight right now. It is possible that such proof is buried somewhere in TFA and I overlooked it during reading. But I think this is speculative rather than that it proves anything and before I'm going to be convinced I would like a little more evidence.

D-Machine • 2 hours ago

The posted article argues this many times...

jacquesm • 1 hour ago

Yes, but it is the same person making the same argument many times. There have been large multitudes of articles by others who are arguing the opposite. It could well be true. But it would take a lot more than just one over-wordy, distraction imaged, clearly co-written by AI article to convince me of that.

+1
D-Machine • 58 minutes ago
kmeisthax • 1 hour ago

羊.

This is a Chinese character that can refer to goats, rams, and several other kinds of "medium-sized animal with thick wooly coats and horns". English has no direct equivalent; we have to be too specific when we talk about these animals.

A model with a small number of neurons has to compact its concepts in order to fit within the parameter count while reducing loss. OP's article shows that the compaction is usually generalization: "goat" and "ram" get compressed into "羊". The canonical example of superposition, an image model where "car" feeds into a bunch of "dog" features, was shown to be actually generalization. In a sense, the model was so small that its optimizer didn't have the parameter budget to distinguish between "car" and "dog"; it has a single set of "thing that moves fast" features.

So basically, really small models are merging features into semantic buckets that are so generalized they don't make sense to big human brains unless we really, really squint. The buckets chosen happen to be what has the lowest loss, of course.

yurimo • 2 hours ago

I have yet to fully finish going trough this but I would not rush to say that superposition is completely wrong. I understand that the message is instead of first learning a new representation (e.g. SAEs/transcoders) and then interpreting those learned features, you try to understand the neurons and circuits that already exist in the model.

This approach is part of a way some researchers in the field approach interp, (me including) because I am personally cautious of developing some new representation model that claims to be the way we should represent the network. It is another layer of abstraction that takes us away from core model components, very often this requires training a separate model that was not on its own a part of original model organism during training (SAE).

I would argue that models will likely be further increasing in complexity, not just in size, when model trains continuously and becomes adaptive yet parameter count does not change, it is not hard to imagine that neurons may reorganize themselves to pack more information.

LarsDu88 • 1 hour ago

Intuitively this makes sense. When you have small models, they need to compress more by leveraging superposition and polysemanticity.

Nick is looking at a 32B model, which certainly has to compress less... Now we have 10 trillion parameter models... do they need to compress at all? As far as I can tell, experiments show that Fable has basically memorized every lat/long position on the map of the earth can can tell you at a glance whether your standing in the ocean or not based on your coordinates

teruakohatu • 47 minutes ago

> far as I can tell, experiments show that Fable has basically memorized every lat/long position on the map of the earth … your standing in the ocean or not based on your coordinates

Memorising a small shape file of the earth’s continents can allow you to determine if a person is on land or in water.

jimbokun • 33 minutes ago

Islands?

bschne • 52 minutes ago

where's this specific example/experiment from? curious to read more, never heard of this

soulofmischief • 46 minutes ago

All functional knowledge is compression and contextual decompression. Sometimes this compression can be lossless or nearly so. Compression doesn't automatically mean loss of information.

dsign • 1 hour ago

Aye, will we stop hammering nails on God's coffin?

What's next? Maybe in a little bit we will discover that we H. Sapiens suffer from severe polysemanticity in our wetware because our individual neurons are messy and massive like an ENIAC while the corvids in the park have neat and efficient little brains that don't need unfolding ?... How's the pope (may God stop afflicting him with cancer or may Man make him live forever) going to explain that?

nahuel0x • 47 minutes ago

There is a philosophical problem hidden in the core of interpretability: Can a mind understand a mind much greater than itself?

whatever1 • 29 minutes ago

Even if it can, we can only identify a very wide set of reasons that can interpret the outputs. But what is root cause, that is a very deep rabbit hole.

Let’s say a guy got electrocuted while showering. I can say that the cause is the guy going for a shower. For others the cause is the electric wiring system failure.

jimbokun • 40 minutes ago

Seems more of an empirical problem to me.

Now or in the near future we will be studying minds much greater than our own, and we will find out how well we can understand them.

If they don't kill us all before then, of course.

aerodexis • 43 minutes ago

The differences b/w knowing, understanding and interpreting are suddenly very real and highly relevant.

Imnimo • 2 hours ago

Feels like I'm back in the distill.pub days!

jqdsouza • 58 minutes ago

hehe same!

aaroninsf • 56 minutes ago

> The bad news about modern neural networks is that they're enormous. The good news is that the enormity helps...

I always catch on misuse of enormity

It's now so widespread the misuse has gained despairing acceptance, as with "infer" for "imply"... but that doesn't make it any less wince-inducing.

semiquaver • 27 minutes ago

Can you explain for the rest of us the problem with this usage?

I think neural networks are enormous, why is that misuse?

perching_aix • 1 hour ago

Reading this made me recognize that better interpretability yields not just better aligned but more compact models too. Which makes a lot of sense in hindsight, and even has some ironic ring to it when considering the unending amount of anthropocentric takes regarding what an "understanding" means.

mpalmer • 2 hours ago

For the layperson who doesn't want to read 20,000 words, many of which are quite redundant due to the way the article was built, this is a version which adds a glossary, preserves the original language (except the added intro and conclusion which I felt was lacking) but removes all repeated material and claims, of which there was a massive amount.

https://pastebin.com/raw/p11vzFnB

zahlman • 1 hour ago

Adding a glossary doesn't really make the material approachable to laypeople. I have a university degree and I've been spending quite a bit of the last couple of years trying to understand these things by osmosis, and I'm still lost. I don't think I even have a reference point to understand the problem that the author has stopped worrying so much about.

mpalmer • 53 minutes ago

Your subtle implication that you are among the smartest of laypeople somewhats hurts your claim of fellowship with them.

zahlman • 30 minutes ago

I claim nothing of the sort, and scarcely imply that, either. Like, yes, of course I'm above average; average people wouldn't be coming here and would have no real reason to be aware of this place. My point is simply that if I don't understand these things, many other people also wouldn't. Others in this comment section appear to be discussing the article intelligently; they know far more about this stuff than I do.

aswegs8 • 1 hour ago

Actually helpful meatproxy. Thanks!

jdw64 • 2 hours ago

Wow, I thought it was a GIF, but it's actually interactive. The website is just too heavy, though.

phyzome • 3 hours ago

16,000 words into the essay: "What I mean by clean"

...and it still doesn't answer it. What is this actually about?

emtel • 2 hours ago

It means that NNs don't (as previously thought) smoosh unrelated concepts together into the same neurons, which would have made interpretability very difficult.

For instance, if you had a single neuron that fires for "puppies" and "murder", it would be much more difficult to tell if the model is thinking something nice or something not so nice.

lucrbvi • 3 hours ago

It means that modern neural networks are way more interpretable than older ones. We can understand how they work way more easily than earlier ones.

BenoitP • 3 hours ago

For context: Goodfire has expertise in interpretability through a Sparse Auto Encoder technique of their own

https://www.goodfire.com/blog/a-practical-guide-to-saes

jsrozner • 1 hour ago

Sparse autoencoders are not reliable. Ask your favorite AI. For example, https://proceedings.mlr.press/v267/kantamneni25a.html

A lot of the mech interp techniques are glorified notions of probing. If models were generally interpretable with respect to the things we cared about, we'd know know when they're hallucinating, for example.

Identifying that a common neuron or set of neurons fires for golden gate bridge can be done only because you already know that you're looking for golden gate bridge. If models had recovered some new truth (e.g., the silver door road), you wouldn't be able to elicit it without knowing to look for it a priori.

D-Machine • 47 minutes ago

This was one of my intuitive concerns reading this post.

I've done work with trying to train explainable models for e.g. making diagnoses based on neuroimaging, and it is not clear to me that if you applied these techniques to e.g. vision models trained exclusively on such brain images, that these visual representations or conceptual clusters and relations would really help understanding at all.

The main issue would be that you'd have no clear way to verify any generated explanation for such training data. I.e. we can "verify" some of the explainability shown in the article because clear and recognizable image clusters and/or semantic groupings pop out, because we already understand the domains. But if this were fMRI or e.g. EEG signals, we really wouldn't have that, so the explanations would themselves just be more hypotheses.

Perhaps if we can build on interpretability of vision and language models in domains we understand, we can eventually generalize this to other domains, but I don't think that clearly follows from anything I am reading here.

wmf • 3 hours ago

I think "clean" means something like each neuron encodes exactly one concept and it's possible to discover what the concept is.

jacquesm • 2 hours ago

But they don't. That's the whole reason they work in the first place.

Every neuron in the layer encodes fractionally something about the concepts embedded in the whole thing. It's more like a hologram than a series of connected facts.

ky3 • 2 hours ago

Doesn't "orthogonal" convey that meaning more crisply and precisely?

lanternfish • 2 hours ago

Orthogonal means something different in mechinterp, so it'd be an overloaded term. Usually orthogonal would imply that there are actual vectors under consideration, which isn't the underlying claim.

D-Machine • 2 hours ago

Using "orthogonal" here would have the opposite effect, as it would impart a far more specific meaning which is also incorrect in this case.

amelius • 2 hours ago

Clean means no alchemy.

invalidmonk • 21 minutes ago

[flagged]

etbebl • 2 hours ago

This website crashed my phone - let's not have auto-playing embedded 3D renders, or whatever that was?

zetanor • 2 hours ago

It pegs my i7-12700 before rendering anything if I don't block JS, so I'm quite curious to know what work of art I'm missing out on.

zahlman • 1 hour ago

This is why I use NoScript.

dmtroyer • 1 hour ago

It works on my machine. :-)

xyzsparetimexyz • 2 hours ago

Why does this post have a very laggy city gif thing at the top?

amelius • 2 hours ago

AI ...

measurablefunc • 1 hour ago

Because the author is not saying anything worthwhile and he needs to grab attention.

LarsDu88 • 1 hour ago

This is such a caveman take...

xyzsparetimexyz • 35 minutes ago

What's your take then

meowface • 1 hour ago

[flagged]

dang • 1 hour ago

Ok I've put the link in the toptext as twitter.com for you :)

(We detached this comment from https://news.ycombinator.com/item?id=50107254 though)

MisterMunchkin • 2 hours ago

[flagged]

ks2048 • 2 hours ago

It starts with "The Short Version", but even that looks like several pages of text. In the olden days, there was something called an "Abstract" that worked pretty well - the author could summarize their own work to say what the paper was about.

D-Machine • 1 hour ago

Unfortunately not all ideas can be meaningfully compressed into just a few sentences without completely destroying the important parts, and this is especially the case in higher-level math, stats, ML, and deep learning.

Also, IMO there is an effective abstract anyway under the title text:

    The cause of polysemanticity in early model organisms wasn’t superposition, but several ordinary, mostly fixable issues. We can now understand most neurons in models up to trillions of parameters, and think the outlook for mechanistic interpretability may be far better than we thought.
But you are right the article needs significant editing down.