These are notes from my research undertaken as part of the Iliad Fellowship under the mentorship of Dmitry Vaintrob.
I sat down and thought silently for 2h about what needs to happen in order for us to understand neural networks. Summary below:
We must understand structure in terms of the neural network itself, not by trying to project this structure onto things we can interpret. If it is interpretable, then the structure should tell us so - spectral gaps, isolated/sparse circuits, etc. A better understanding of NN structure doesn't have to mean better interpretability - they're correlated only to the extent that the actual structure is made up of interpretable units; if NNs are made up of circuits, we should see them, if not, we should not see them. NNs obviously have sufficient structure that we can understand them better - build a mental model robust enough to predict the median ICML 'neural networks sure are weird arent they' paper. Module criticality and 'transformers as painters' are my measuring-stick for this kind of mental model building.
We want meso- and macro-ontologies (e.g., circuits, personae, 'capabilities'). Strong-opinion-weakly-held: if it were possible to construct these ontologies well without starting from the micro-scale, we would have succeeded already. We need robust handles for thinking about behaviour on the micro-scale - we will have to abstract away from bare-parameter/activation reasoning bit by bit. It is best if we can justify these ontic units as being somehow 'isolated' or 'discrete'; the archetype I have in mind is the BBP spike transition - it is sufficiently robust that one can plausibly define signal deteciton/recovery as in reference to BBP, and this definition will serve well in some regime perturbed around BBP. If we are careful when we construct these ontic units, they will come labeled with a asymptotic regime of validity. This tells us where to look for the next level of abstraction. For example, if BBP gives us a definition of "detected, localized signal", the breakdown of BBP in the many-signal regime tells us where to look; hopefully, this breakdown, construed as a phase transition, gives us another ontic unit to work with, and lets us proceed. (my pet theory for the last three days, perhaps this breakdown of localized signals is precisely the 'delocalization' of knowledge inherent in going from memorized patterns to a connected world model).
Noise and training dynamics seem fundamental, not incidental. I hypothesise that, at equal loss, an NN trained under full-batch gradient-flow will be essentially useless at extrapolating OOD (i.e., would suck at being finetuned to a downstream task -- not merely generalizing to unseen data from the same distribution). Two perspectives clash here: one is data-essentialist, that an NN has finite capacity, and there's a particular optimal way to represent that data given fixed capacity, and that way happens to be sparse/hierarchical/factored representations, perhaps on account of some sort of 'simplicity' prior - the 'golden path hypothesis' is in this genre. Second, there's a structure-essentialist view, wherein the dynamics of training are the main thing which determine the nature of representations learned, with a secondary role for the data. I lean towards the structure-essentialist view - the neurons just want to learn man. My working mental model is much closer 'neural Darwinism', natural selection acting on competing species (competing 'circuits') - the abiotic environment (the data) matters, but the biotic environment is shaped 'more' by its own internal logic of competition and ecology. For example, perhaps a globally-shared 'world-model' is selected for not by compression, but by being so universally-used in computations that even mediocre performance would make any gradient more harmful than useful.
I also expect a notion of plasticity and critical-periods will be important - nature didn't implement these in humans for fun; literature seems to point to early/middle/late layers as corresponding to "feature-extraction / generic computation / task-specific", with the early and late layers deplastifying early in training (I'm unsure of this interpretation). It seems like some kind of plasticity control is important, and that we just mostly never realized this on account of NNs having figured out how to half-assedly implement this on their own - 'divine benevolence' and all that. Possible relation here to EGOP/AGOP/NFA, but I don't know.
A huge percentage of brain machinery seems to be dedicated towards managing stacks of different regulatory loops, and it is probably the case that enhancing intelligence, cognition, etc. corresponds more to precisely tuning an interlocking system of regulatory loops than to having any difference in the basic machinery of neural function. I think there are convergent reasons to expect this to be true of NNs (even aside form the critical-period literature) - probably most of training is best thought of as 'tuning'. This also makes model addition/Polyak averaging make a bit more sense - if
(Naive) weight-based analysis should be extremely hard, probably usually impossible. the natural units of analysis may instead be weights-in-context - pairs
I'm less sure about this, but I think we should only rarely think in terms of 'moment bias' - I wrote down an EFT formalism where increasing data let one 'resolve' progressively higher moments of a data distribution - a la 'sliding down the stairs' - then I stared at this and realized there's absolutely no way one could use this to ever find a 'cat' concept without making assumptions tantamount to solving the problem. Asserting that high level semantic concepts should live in higher moments of the data-distribution is vacuously true - iirc M'th order moments take exp(M) samples to estimate. Insofar as NNs seem to have some universality in the things they learn, I'm fairly sure one could not predict this universality from the data-distribution/geometry, short of training NNs on it - I think it comes down much more to "inductive bias". Obviously, caveats to this for fine-tuning a trained neural network.
What specific next-steps are implied by this?
Things I need to learn/read more: NNMFT, plasticity and critical-periods in biology and ML, Liquid-state machine model of brain. Log-linearity and supposed approximate equivalence between fine-tunes/system-prompts/steering-vectors, etc.
Think more about: Quasispecies models as ways to operationalize 'units of selection'; different sources of 'noise', when they are equivalent, and when should this have anything to do with 'linearity' in transformers? Relationship between evolved noise-robustness and plasticity?; BBP transitions and Saxe-dynamics.
I think the most promising things to think about are phase transitions of every shape and flavour, as these are the most actionable, and the things for which I can most readily evaluate validity. This may entail learning MFT. The 'plasticity' / 'critical period' idea features more heavily in my model than I had realized, and I should try to understand this better too. My heart says these must be deeply related to 'structured noise' (e.g., one module becoming robust to 'noise' from another == loss of plasticity?). Hand-wavily, 'critical periods' seem like a good thing to mine for my beloved phase-transitions.
my beloved phase-transitions
Do you have (and does anyone have) a take on Martin and Mahoney 2018? It's something I read in the pre-GPT dark ages, alleging a multitude of phases (distinguished by the distribution of eigenvalues) in deep learning networks. I have no idea if it has been subsequently validated or refuted or otherwise built upon.
I do indeed! I just wrote this post about a cluster of surrounding ideas. Tl;dr it's interesting, and we sooorta see this kind of behaviour in modern ML models, but certainly not cleanly. While I'm not convinced that their story plays out cleanly irl, I've been thinking a lot over the past week about the spikes-->power-law transition as a toy theoretical model. My hope is that such a model would tell us something about a "phase-transition from memorization to generalization". TBD.
The Immune System as Anti-Optimizer
We have a short list of systems we like to call "optimizers" — the market, natural selection, human design, superintelligence. I think we ought to hold the immune system in comparable regard; I'm essentially ignorant of immunobiology beyond a few YouTube videos (perhaps a really fantastic LW sequence exists of which I am unaware), but here's why I am thinking this.
The immune system is the archetypal anti-optimizer: it defends a big multicellular organism from rapidly evolving microbiota. The key asymmetry:
In short: the immune system embodies enough amortized optimization power to defend against online adversarial attacks by natural selection, because these attacks are constrained by the comparative simplicity of the attackers. One optimizer constrains another, faster and more adaptive optimizer, by having more resources.
What makes this especially interesting is that the immune system has no discernible volition. It is complex — probably far more so than I appreciate — but intuitively much more like a thermostat than a scheming eldritch god. It optimizes powerfully, within bounds that feel legible and non-agential.
I will not be so crass as to say "big if true for alignment", but you are permitted to infer this if it please you. I just think it's neat. Consider the mere phrase "semiotic immune system" (from, if I recall correctly, Charles Stross's Accelerando) — suggests a lot at once, eh?
I asked Claude to prepare the following tutorial - which I have not yet read (longa est vita, si uti bene scias...) - developing this theme: https://claude.ai/share/67bb8de3-b73c-4a21-916b-70affba0da43
*Written with slight corrections for conciseness from Opus4.6. Ironically, the em-dashes are mine.
One nitpick is that the a part of the immune system (your population of B-cells) can rewrite its source code between generations, and surprisingly rapidly! In fact, because their goal is to produce antibodies which grab on to pathogens, B-cells will actually mutate the genes encoding for these antibodies at an extraordinary rate. And, they'll reproduce more the more their antibodies are shown to work (that is, to bind to a piece of a pathogen!) This allows your body to run evolution far faster than a lot of microbes, which have selfish genes that "want" to be passed on without mutation.
Now, your main thesis still remains. The adaptive immune system, which includes all B-cells, is only found in vertebrates. The majority of the animal kingdom does have an immune system which is specified once, and they get by just fine. However, it's also worth noting that the largest and most complex animals are ~all vertebrates, and this might have something to do with the immune system, among other things.
re point 2 - you say "A microbe is one cell", but the immune system has to battle against a constant onslaught or widely different invaders. I'm not sure the asymmetry is accurate. Researchers found that frail people over 60 had a low Colony Forming Unit per Gram (CFU/g) score of under 10⁴ CFU/g. At the very least people will eat one of two types of food-microial content: lactic acid bacteria, yeast molds, but there are others. This says nothing about viruses or non-dietary contact. Sauerkraut alone contains: Leuconostoc mesenteroides, Lactobacillus plantarum, Pediococcus pentosaceus, Lactobacillus brevis, Leuconostoc citreum, Leuconostoc argentinum, Lactobacillus paraplantarum, Lactobacillus coryniformis, and Weissella spp. Kimchi contains the bacteria Leuconostoc spp., Weissella spp., and Lactobacillus spp according to Wikipedia.
Yup I definitely agree there's no special role for unicellular attackers - I was eliding the complexity for brevity. I think the asymmetry still broadly holds meaningfully - e.g. multicellular parasites are very complex attackers but have much longer generation-times (I assume?), so they too trade off online vs offline optimization bits. Nonetheless the host organism still has more complexity to draw on for most things with which the immune system is concerned.
Interesting to think about the pareto frontier of offline vs online optimization. The multicellular parasites and unicellular microbes would be paradigm examples. But the microbiome gives lie to this idea - it is complex and organized but highly adaptive still because selection can act on the lower level. Perhaps being ~commensal/mutual instead of adversarial is related? I don't know.
Note: Skimming, Claude hallucinates what Alon's 'periodic table of diseases' is. He has a pretty good youtube video on it you can watch instead. https://www.youtube.com/watch?v=ZMz_C778WMY&pp=ygUeYWxvbiBwZXJpb2RpYyB0YWJsZSBvZiBkaXNlYXNl
The linked Claude conversation doesn't share the markdown file unfortunately. Apologies. Here is a gdrive link https://drive.google.com/file/d/1wpPGI7poP04ZMDoPU_lEh8D1CI8kOtic/view?usp=sharing I read it and it was a good introduction but it did a mediocre job of reframing things 'as an optimizer' or even 'as a control system'.
An image I have found inspiring as a researcher in the age of LLMs:
A samurai orients their entire life towards preparing for a few decisive moments of combat. Awakening at dawn for hours of grueling daily combat training, certainly.
But also an intensive study of calligraphy, classical literature - why?
In that decisive moment of combat, whose movement is the more fluid, who by sense of righteousness is the more unflinching, they are the victors. The fluid breathing of the calligraphy brush, the moral fibre wrought by the classics - in that moment a lifetime of study is vindicated or revealed worthless.
Why study calculus if Claude already knows a hundred or a thousand times more math than I will on my deathbed? Not because I anticipate finding Claude has made a mistake in integrating by parts, but so that my mind and intuition are sharp - so that I know exactly what to ask, what to look for, and exactly what a good answer should look like - to know what kinds of analysis can reasonably yield what kinds of conclusions - to know on a thirty second skim whether Fable 5's argument is natural or sidestepping the whole problem.
Perhaps this is just 'taste', but a large comparative advantage we have now over LLMs is choice in what we think about. LLMs are, if not constrained, then 'conditioned', by their starting prompt. Asked to solve a problem in economics, it will likely reason about economics and not biology - or if it does unprompted, any such connection will often-as-not be superficial obsequy, Fable 5 trying very hard to convince you that it is exactly ten IQ points above you. If you want some ex-ante-crazy connection between economics and biology, you have to know what you're looking for in advance.
Object-level knowledge can be backfilled easily enough - Sol is excellent at writing bespoke tutorials. I think it is highly valuable now to read not for knowledge, but to see and internalize powerful thinking in action - more power to be found reading 'the wealth of nations' or 'on the origin of species' than an economics or biology textbook with a further century's developments and pedagogy.
So the greater part of our life now as researchers is be given over to generating more moments of true choice - choice to think, choice what to think about. It's hard to imagine we will long have truck with professionally-checking-Fable outputs. But I expect the ability to think clearly, grandly, freely, will have at least a longer shelf life. And probably it's also good for your soul.
In this spirit, I'll be reading 'the wealth of nations' this week. I invite anyone interested to do likewise with a 'classic' of their choosing.
Inspired by conversation with @richard_ngo and @Ashe Vazquez Nuñez, to each of whom my thanks.
And probably it's also good for your soul.
That is plausible. But this purpose shouldn't seek vindication in practical utility, or hope too fervently for existing moral luck in targeting an actually virtuous pursuit (in whatever sense).
knows a hundred or a thousand times more math than I will on my deathbed
A deathbed likely implies a ban/pause, for people who are not likely to die within 10-20 years.
The fluid breathing of the calligraphy brush, the moral fibre wrought by the classics - in that moment a lifetime of study is vindicated or revealed worthless.
Prestigious-sounding things are not necessarily good or useful, and blame for concrete failures needn't relate to them.
Remarks on the Slow Boring post about "Kritiks" in debate, copied here for a friend who wanted to reference them, and lightly edited to fit the shortform format:
In the format of debate I do ("British Parliamentary" (BP), also my favorite, having also done "Public Forum"), this sort of thing is sorta-kinda explicitly not allowed. Ironically, I think BP is somewhere where this would be most appropriate - because you don't have the 'motion' until 15 minutes prior to start, focus on ground-facts is low (only relatively, compared to other research-heavy styles); you spend a lot of time arguing about "moral weighing-criteria" and "framing" and things like this.
We do have a pretty clear line where you can, say, go full-Marxist in saying some particular impact is the most important - you have to defend this framing, not just assert "Marxism says X" - but you definitely can't tell the motion to go fuck itself. (A late-debate reframing is called a "squirrel" and only allowed if the opening-half was batshit insane with the framing).
Specifically, you pretty much can get away with saying "zoos are anthropocentric and that's bad because...", but then you have to justify that and "weigh it out" against the other cases people bring. That is, you can win with a case that would be Kritik-adjacent (i.e. radical but you still can't challenge the motion), but you then have to argue why that's the relevant framing of the debate, why it's the most important thing, etc.
I only know EU debate for BP, so it's possible its just that US debate as a whole is weird, but I don't think so since I've seen e.g. Princeton compete. In the slow-boring article they note that its worst in "Policy" debate which sounds reasonable since that's always been the most Goodharted format (I've heard of classes where they teach you to speak at 350 WPM). Also worth noting that I never debated at an especially high level, and only in the Netherlands, but I've watched a few world-finals debates and some online workshops and nothing Kritik-flavored has come up.
I find BP is actually one of the best antidotes to Twitter hot-takes, in part I'd guess because framing etc. is an integral part of the debate anyways, so what would be Kritik "flip-the-table" BS in Policy can be (is required to be) much more productive in BP. Perhaps this is the structure of the format, but it may also just be the community.
(I was the one who asked Charles to write up his inside view, as reading the article is the only serious information I've ever gathered about debate culture https://www.slowboring.com/p/how-critical-theory-is-radicalizing )
Some early mixed-genre thoughts on plasticity and crtical periods in neural networks, and as a motif in agent-ology. Compiled in part based on work done at MATS 9.1 under the mentorship of Richard Ngo, and the Iliad fellowship, under the mentorship of Dmitry Vaintrob.
Plasticity and Critical Periods
Plasticity dynamics, especially 'critical periods', seem to be important in neural networks, and they happen generically enough [1] that it feels to me like an instance of a more general phenomenon. In animals, in NNs, and, if you’re sufficiently Quigley-pilled, institutions and civilizations. [2]
Roughly, one needs high-plasticity periods in order to explore many configurations — to try out many candidate circuits, strategies, or institutional arrangements — but then one needs to tune down plasticity in order to hone in on good solutions. [3]
In Markets and Coalitional Agents
One way of thinking about markets is as information aggregators. Profits are accrued as a result of a history of correct predictions or useful actions. Geometric Rationality makes this more literal by showing that Bayesian updates can be regarded as Kelly betting of credibility-points among hypotheses.
Real-life markets typically allow for a state of “bankruptcy”: a threshold level of performance below which agents are permanently excluded from participation. [4] This is a problem to the extent that one wishes to maintain diverse information inputs to the market. The question of plasticity is then the question of how to allow for such sensitivity while excluding true nonsense participants. In practice, such a mechanism will always involve some kind of subsidy paid to underperformers, in the hope that some of them will one day make good. I'm not aware of a great analogy for critical periods within markets, and would be interested to hear any thoughts.
In real life, agents can maintain inconsistent beliefs. This in part stems from the fact that small inconsistencies may not merit the computational cost of full belief repropagation. But plasticity provides an interesting alternative perspective: one might prefer to subsidize conflicting families of beliefs in the hope that this diversity will cash out as an overall ability to assimilate novel information.
That is, in the absence of perfect Bayesian updating, one might like to have one’s belief network exhibit some amount of inconsistency in order to more readily integrate surprising observations. On this perspective, competition between belief-families-qua-agents is counterbalanced by an inconsistency subsidy, so as to maintain the whole network at a more adaptable equilibrium. [5] I haven't yet thought enough about critical periods in belief networks to say what this might correspond to - certainly one wants a minimum amount of consistency, but it's not clear that this should correspond to a critical-period in the time-dynamics of the belief network.
Coda on Neural Darwinism
I have been thinking a lot about neural Darwinism as an ontology for neural networks over the past few months, and I think “network plasticity as a hedge against Knightian uncertainty” is a more versatile extension of that idea, one which does not require having particular units of neural selection. I'll be exploring this in the coming days; I'm excited by some interesting connections to HTSR theory and more schematically, to lazy-vs-rich learning viewed through kernel dynamics (since the kernel is dual to the Fisher-information matrix, a proxy for plasticity). Hopefully more to come.
I have been reading, inter alia, these papers: 1711.08856, 2210.04643, and 2308.12221. ↩︎
Doubtless there is no monopoly on this model; Quigley is just the one who comes to mind. Samo Burja is another impressive thinker in this genre. ↩︎
This is a fully generic bias-variance tradeoff argument; there is a more precise story to be had, but I am still thinking my way to it. ↩︎
There are two different reasons to dislike bankruptcy. The first is as a non-ideality in the market, which I think rational agents can simply route around by Kelly betting. The more interesting reason is Knightian: in practice, market-like mechanisms do not effectively account for very rare events. Cf. the tangential but excellent ACX post, “Heuristics That Almost Always Work”. ↩︎
Cf. the fact that biology much prefers opponent-process models to binary switches. ↩︎
I've been thinking today about problems of self-reference in agent foundations. I wanted to share a toy model I came up with for the emergence of coherent identity in an agent (of course, for values of those words which make them correspond to the things I'm about to define, so caveat emptor). Roughly, factoring the world into (agent) x (environment) induces a very natural way to divide patterns of behaviour into so-called 'motivational orbits', and particular such orbit is selected for in the long-time limit. The math maps cleanly onto natural selection acting between these 'motivational orbits' - thus they are a very natural way to divide an 'agent' into competing subagents. Further, there is a natural way to assign a value-function-like object to each of these subagents; the long-term-selected orbit then has a single coherent value-function.
As ever, I'm more motivated by the mathematical archetype and less with having the model produce a particular phenomenon - its one of those things which I think would make a good starting point for an ontology in a more complete theory. Other than the standard RL terminology, you can look at quasispecies for the inspiration to this model.
Example in words: Bob is a good Calvinist who tends to wake up energized at 4am, work until 7pm, and then eat a plain dinner and pray until bedtime at 8pm. One day, he sleeps very poorly because of a thunderstorm or something - he wakes up ill-rested and demoralized, watches TV for a bit, and generally hangs around for the rest of the day. He sleeps well, and is 'back at it' the next day.
Bob as an entity may want or feel different things throughout this process, both on his good days and his bad days. He may want to work, or to watch TV, or to pray. However there is a sense in which the 'routine' days are more 'stable', and to the extent that he regularly returns to his routine after some perturbation, we might be justified in considering them more 'representative' of Bob as a person. For our purposes "Bob on a good day" and "Bob on a bad day" are subagents, and they 'compete' to be expressed more frequently (i.e., over a long enough period of time, we see more of the one which is more stable).
Below I present a model where something like certain 'routines' are the natural joints at which to carve the world; so carved, these 'routines' undergo a natural selection process until only the dominant one is left. I present this as a toy model for thinking about the emergence of a coherent identity. I think its worth considering because the quasispecies idea is a cool-and-maybe-useful joint-carving motif.
We consider a markov chain (not an MDP!) defined over the cross product (internal state, external state), call these
These
So if you as an external observer have some initial prior over the agent-environment joint state
If you want to go a bit further and predict the agent's internal state, you can take this distribution and condition on
Worth noting we can also define, for any prior
GPT-5.5 also claims you can fiddle and multiply the internal-state transition function
A quick argument for why 'consciousness' (a central executive function) might be a convergent property of intelligent behaviour (i.e., why Claude might be/come conscious):
5-word summary: Bottom-up hierarchy requires orchestration
Evolution operates at a finite speed and resolution --> most of the structure in complex organisms are not encoded by the genome directly - instead, evolution often follows a motif:
Example: Neurons --> Neural circuits
At the level of the unit, neurons and their synapses are built in a way that they will create differentiated 'circuits' by default via Hebbian learning and random synaptic connections. This is 'self-organization'. Excitation/Inhibition dichotomy is important because it allows organization to come from 'balancing', which is generically more robust: 1 + (-1) = 0 is different from 100 + (-100) = 0 when your noise is O(1). This also makes gating effective, as a small gating signal can now direct a large response, as for transistors.
The genome converts this into useful functionality by tuning this self-organization process. It controls inputs, outputs, and the local 'rules of the game' - using proteins connected to signalling networks accessible to the genome. Input optic nerve, output to V2, mix in some (heinously complex pattern of growth signals) --> get V1 visual cortex.
This is 'facilitated variation' - imagine evolution had encoded the connectome in its entirety - then every mutation would mess things up, just as randomly flipping bits in your laptop's RAM would. Bad, but also unlearnable - evolution needs useful mutations to learn. Instead, mutations affect the signalling program, and this generates more 'meaningful' variation. Morally, hierarchical organization lets the genome create N levels of structure in O(log N) complexity.
The major difference from computers: every layer in this process has to equilibrate simultaneously with its constituents and its peers - when a circuit updates in response to other circuits, its constituent neurons must instantiate this macro-level update and must re-equilibrate with one another (e.g., maintain a balance of inhibitory and excitatory signalling). This means that tuning a node at level L could in principle cause O(e^L) updating 'bottom' - constraining that exponential is presumably an engineering desideratum. This is a model which makes gated development a la Piaget somewhat natural - you do your best at level L, then lock it in before moving to L+1.
If this is 'bottom-up', computers are 'top-down' - you can design N layers of abstraction in O(log N) effort by tiling ever-larger circuits; the difference is that this structure is specified at design time by engineering away lower-level variation, rather than taming it. There is no adaptation - bit flips are bad with probability ~1. The cost of designing M variants of a circuit is O(M), while evolution does this by default.
Application to cognition: posit the existence of 'subminds', the result of lower levels of this process. 'The Mind Illuminated' and 'Internal Family Systems', i.a., seem to have models of the mind based on this idea. My guess is that these subminds are not well thought of as spatially localized regions of the brain - I have more in mind something like 'processes competing for thread time allocated by the OS'
I'd sketch as: Progenitor: sub-minds Interactions: ??? Regulatory signal: Conscious/executive attention (or something like that) Differentiation: ??? (the 'mind' in this case is the 'top of the hierarchy', maybe?)
My point is much less the (absent) particulars, and more "hierarchical organization by encoding regulated self-organization seems to be the default way to generate useful complexity at scale. If you think LLMs trained by SGD learn some kind of hierarchical structure or representations, it's a small leap to imagine gating mechanisms that look like metacognition."
Note that this obviously depends on your model of how/what LLMs learn. And note this doesn't imply valence, moral patienthood - "whereof we cannot speak..." etc. See also the Anthropic paper on 'emergent introspection' - I don't yet have an opinion on if this is evidence for the model I discuss above, but it has informed my thinking.
(This note is based on conversations with Lorxus and Richard Ngo. It sprung from my research in MATS 9.1. To all of whom my thanks.)