This is fascinating! If there's nothing else going on with your prompting, this looks like an incredibly hacky mid-inference intervention. My guess would be that openai applied some hasty patch against a sycophancy steering vector and this vector caught both actual sycophantic behaviors and descriptions of sycophantic behaviors in LLMs (I'd guess "sycophancy" as a word isn't so much the issue as the LLM behavior connotation). Presumably the patch they used activates at a later token in the word "sycophancy" in an AI context. This is incredibly low-tech and unsophisticated -- like much worse than the stories of repairing Apollo missions with duct tape. Even a really basic finetuning would not exhibit this behavior (otoh, I suppose stuff like this works for humans, where people will sometimes redirect mid-sentence).
FWIW, I wasn't able to reconstruct this exact behavior (working in an incognito window with a fresh chatgpt instance), but it did suspiciously avoid talking about sycophancy and when I asked about sycophancy specifically, it got stuck in inference and returned an error
I think it can be a problem if you recommend a book and expect the other person to have a social obligation to read it (and needs to make an effortful excuse or pay social capital if it's not read). It might be hard to fully get rid of this, but I think the utility comparison that should be made is "social friction from someone not following a book recommendation" vs. "utility to the other person from you recommending a book based on knowledge of the book and the person's preferences/interests". I suspect that in most contexts this is both an EV-positive exchange and the person correctly decides not to read/finish the book. Maybe a good social norm would be to not get upset if someone doesn't read your book rec, and also to not feel pressured to read a book that was recommended if you started it/ read a summary and decided it's not for you
Very cool and well-presented - thanks for taking the time to write this down. I thought about this question at some point and ended up deciding that the compressed sensing picture isn't very well shaped for this, but didn't have a complete argument for this - it's nice to have confirmation
I just finished reading the book "The Fellowship: The Literary Lives of the Inklings", by Philip and Carol Zaleski. It's a book about an intellectually appealing and socially cohesive group of writers in Oxford who met weekly and critiqued each other's work, which included JRR Tolkien and CS Lewis. The book is very centered on Christianity (the writers also write Christian apologetics), but this works well, as understanding either Lewis or Tolkien or the Inklings in general without the lens of their deeply held thoughtful Christianity is about as silly as trying to analyze the Lion King without reading Hamlet.
But there is a core character in the book who is treated sympathetically and who I really hate: Owen Barfield, the "founding" Inkling. From his youth, he is a follower of Rudolf Steiner and a devoted Anthroposophist (a particularly benign group of Christian Occultists). Barfield was Lewis's friend, existing always in his shadow (Lewis was very famous in his lifetime as a philosopher and Christian apologist, a kind of Jordan Peterson of his time if you imagine Jordan Peterson had brains and real literary/academic credentials). He worked in a law firm and consistently saw himself as a thwarted philosopher/writer/poet, and he found recognition late in life after he wrote a Lewis biography and after his woo-adjacent ideas became more popular in the 60s.
Throughout his life, Barfield created a personal philosophy of "all the things I like/ think are interesting are kind of the same thing", and he was very sad when people he liked disapproved of, or failed to identify as "sort of the same thing" the different things that he mixed into his philosophy. While he generally is a bit of an "intellectual klutz", his fundamental failure is the "Friendship Fallacy": the idea of treating ideas as friends, as something deserving of loyalty. When he encounters different ideas he likes, he "wants them to get along," and when ideas fail to convince skeptics or produce results or interface with reality (or indeed, with faith), he simply fails to impose any kind of falsifiability requirement and treats this as a loyalty test he must pass. He totally lacks the kind of internal courage needed to kill one's darlings (whether philosophical or literary) and to treat his own ideas with skepticism and view towards falsification -- perhaps the core trait of a good thinker (Feynman's "You must not fool yourself—and you are the easiest person to fool").
Interestingly, I don't extend this antipathy to the Christianity of the group's other famous members. Unlike Barfield, Tolkien and Chesterton largely succeed (imo) in separating the domains of the literary, the psychological, and the religious. They don't pretend to be scientific authorities or predict things "in the world". Tolkien in particular is very anti-progress and a bit of a luddite, but in my understanding his work as a linguist is very good for his time. In fact, it's funny that his deeply Christian mentality created one of the most "atheist nerd"-like behaviors of creating thoroughly crafted fictional languages of fantasy cultures. I've been surprised to learn from reading a couple of his biographies that his linguistic worldbuilding in fact preceded his fantasy work: he designed Elvish before writing any work in his canon, and wrote the work to flesh out the mythology behind expressions and poems. He famously said about his work "The making of language and mythology are related functions". In fact, he viewed the work of producing plausible cultures and languages -- in my view an admirable (though non-academic) kind of secular scholarship analogous to studying alternative physical systems, etc. -- as an explicitly Christian task of "subcreation", a sort of worship-by-imitation of God.
It's a bit hard to exactly formulate a razor between the kind of "lazy scientism" of Barfield and various other forms of "pseudoscientific woo" and the serious and purely mystical/ inspirational deep religiosity of people like Tolkien (and to a lesser extent Lewis -- another interesting thing I learned was that he started out as a devoted atheist in a world where this was actually socially fraught, and was converted through a philosophical struggle involving Barfield and Tolkien in particular). But maybe the idea of a "philosophy without struggle": a tendency towards confirmation and a total lack of earnest self-questioning goes a part of the way towards explaining this distinction. Another part is the difference between a purely metaphysical personal religion and a more woo idea of a religion that "makes predictions about the world". I think the thing that really took me aback a bit was the level of academic embrace of Barfield late in his life, not just as a Lewis biographer but as a respected academic philosopher with honorary professorships and the works - a confirmation (if ever more are needed) that lazy pseudointellectualism and confirmation bias are very much not incompatible with academic success. Another theme that I think is interesting is the fact that Lewis and Tolkien were at times genuinely interested and even somewhat inspired by his ideas (though they had no time for occultism or 60-esque woo). The extent to which this happened is hard to gauge (he outlived them and wrote a lot about how he influenced them in his biographies/reminiscences, and this was then picked up by scholars). But unquestioningly, this did occur to some extent. And whether or not you class Tolkien/Lewis as "valuable thinkers", the history of science and philosophy does seem to abound with examples of clear and robust thinkers whose good ideas were to some extent inspired by charismatic charlatans and woo.
Below are my personal notes on Barfield that I wrote after reading the book.
I despise Barfield. Not in the visceral sense that the first syllable of his name may (Anthroposophically) evoke. Indeed I identify with the underdog/late-bloomer shape of his biography, with his striving towards a higher calling. I readily adopt the book's sympathy towards him as a literary character with fortunes tied to an idea deeply espoused, a thwarted writer with some modicum of undiscovered talent. My antipathy isn't even in the specifics of what he espouses: a mild but virulently wrong view of science and philosophy adjacent to all the stupid of my parents' generation of `anthroposophy' (Atlantis, Consciousness and Quantum Mechanics, anti-Evolutionism, Vibes). But I despise him as one of a Fundamental Mistake. That of confusing science and personality. Being loyal to a scientific or philosophical discipline isn't like being loyal to a person: if it's consistently fucking up and you need to make excuses for its behavior to all your reasonable smart friends, you're not being a good friend but rather a bad scientist. Barfield is almost an archetype of Bad Science if you project out the crazy/dogmatic/ political/ evil-Nazi component. He really is a nice man. But within his mild-mannered Christian friendliness which I respect, he is inflexible and unscientific. He doesn't update. He glows when people endorse his preferred view (Anthroposophy and Steiner) and sadly laments when they disagree with him -- because he can't help but feel like ``there's something there''. He wants to seamlessly draw parallels between all the nice things he and other nice people believe. He draws lines of identification back and forth between all the things he likes (Coleridge <> Himself <> Quantum Mechanics <> Anthroposophy <> Steiner <> Religion <> Consciousness <> Complementary dualism/"polarity"). He has "nothing but symbols" in his brain, and the symbols in his brain aren't strong enough to notice that they fail to signify. A person without significance, with a philosophy without significance, possessed of a brain without the capacity to grasp the concept of what it means to signify. The first of these is a tragedy (people should matter) and his late-found fame mediated through famous friends is a sweet story, maybe one he even deserves as the first-mover of the Inklings, the reason for the Lewis-Tolkien friendship, etc. The second is a neutral: theories that fail to achieve significance "in their lifetime" may be bunk but may have value: Greek Atomism, various prescient ideas about physics and computers (Babbage/ Lovelace), etc. But the third is a profound personal failing, and it's only through luck and through (mostly well-placed) trust in much smarter and more rigorous friends that he avoided attaching this vapid form of mentation to something truly vile: Nazism (which he very briefly flirted with, charmed by its interest in magic and the occult), various fundamentalisms (including an anti-evolutionary fundamentalism: his friends believed in evolution but he didn't really buy it "on vibes"; he was never a fundamentalist), Communism, etc.
Thanks for this post. I would argue that part of an explanation here could also be economic: modernity brings specialization and a move from the artisan economy of objects as uncommon, expensive, multipurpose, and with a narrow user base (illuminated manuscripts, decorative furniture) to a more utilitarian and targeted economy. Early artisans need to compete for a small number of rich clients by being the most impressive, artistic, etc., whereas more modern suppliers follow more traditional laws of supply and demand and track more costs (cost-effectiveness, readability and reader's time vs. beauty and remarkableness). And consumers similarly can decouple their needs: art as separate from furniture and architecture, poetry and drama as separate from information and literature. I think another aspect of this shift, that I'm sad we've lost, is the old multipurpose scientific/philosophical treatises with illustrations or poems (my favorite being de Rerum Natura, though you could argue that Nietzsche and Wagner tried to revive this with their attempts at Gesamtkunstwerke).
I'm managing to get verve and probity, but having issues with wiles
I really liked the post - I was confused by the meaning and purpose no-coincidence principle when I was a ARC, and this post clarifies it well. I like that this is asking for something that is weaker than a proof (or a probabilistic weakening of proof), as [related to the example of using the Riemann hypothesis], in general you expect from incompleteness for there to be true results that lead to "surprising" families of circuits which are not provable by logic. I can also see Paul's point of how this statement is sort of like P vs. BPP but not quite.
More specifically, this feels like a sort of 2nd-order boolean/polynomial hierarchy statement whose first-order version is P vs. BPP. Are there analogues of this for other orders?
Looks like a conspiracy of pigeons posing as lw commenters have downvoted your post
SLT is a thermodynamic theory of Bayesian learning, but not the thermodynamic theory of Bayesian learning
SLT provides a rigorous mathematical framework for Bayesian learning in a certain regime, but I argue its practical applicability to real neural networks (even in a Bayesian learning/ high-level modeling context) is limited by finite-size effects and high-dimensionality. The valuable empirical work in this space is better understood as 'thermodynamic interpretations of ML' rather than validations of SLT proper
I've been having lots of conversations with people about SLT. I like SLT as a model for Bayesian learning a lot. At the same time I think that the assumptions of SLT are a model of the reality of learning (including Bayesian learning), in the same way that variants of the harmonic oscillator are a model of a physical system. There are some results that show that every physical system under some assumptions is a harmonic oscillator in a limit, but this limit doesn't always hold.
I think the place where I am bothered by SLT rhetoric is where interesting experiments get done and interesting thermodynamic parameters get found, but instead of viewing this as results in "thermodynamic interpretation of ML", there is an incorrect assumption that the observed phenomena are explained (fully or up to a controllable error) by an expansion around a singularity of a singular learning system.
I'm planning on writing more about this, but I'll try to write out the key arguments to let people look at them and to see if I'm getting something wrong.
Essentially, I think it would be good to coordinate on a language for talking about Bayesian learning that doesn't overindex on the singular learning limit, and instead uses physics terms (free energy, susceptibility, heat capacity) for the actual observed invariants. I think that in many ways SLT is moving in this direction, and I'm excited about what they have done.
First the things I agree with:
So there is always a regime where n is sufficiently large that SLT gives an exact answer to Bayesian learning. Why am I objecting to a (mathematically true) fact?
Essentially, the two key issues are that
I want to especially harp on the fact that it takes at worst-case exponential number of samples, and therefore exponential loss precision of the difference Lsing−L (more precisely, exp of some power of the number of parameters) to mathematically guarantee that the SLT prediction is correct. Thus an argument shaped like "SLT is mathematically correct" is, for realistic models, true but boring.
However my pair of counterarguments isn't strong by itself. There are lots of cases in the context of mathematical modeling of complex systems where theory says that we might (in worst-case situations) need to wait exponentially long/ get exponential errors/ etc., but in practice finite time suffices. And I think that there are interesting systems where the modeling assumptions above are correct. It's just that you shouldn't assume this by default.
Thus it is meaningful to ask the following question:
I think this is an interesting question. One might object to it by saying that this is hard to measure, since Bayesian learning is extremely hard to study in "realistic" cases. However I'd argue that we have enough examples to start studying this. And again, my sense here is that SLT prediction fail already to first order (i.e., for predicting e.g. the correct asymptotic for ^λ up to O(1) rescaling), but they fail in an interesting way.
SLT failures in Bayesian learning.
I'll write more about this later. But let me give two examples where I think this is the case.
Grokking modular addition (with MSE loss)
In this paper, grokking in (MSE) modular addition is analyzed using a technique called "mean field theory" (this is an extension of more classical work on things like the neural tangent kernel, which drops the highly restrictive assumption that the system is in a "lazy learning" regime: i.e., that the solution is a small perturbation away from a "trivial vacuum"). This is a paper about Bayesian learning and it gives exact predictions that are confirmed by experiment (one can empirically "approximate" Bayesian learning by something called Langeving SGD). The prediction in particular implies an expansion for the SLT term ^λ (the "heat capacity") and for the free energy (roughly, the stat-phys version of what is called "basin volume" in SLT). It turns out that the free energy in the relevant regime is actually explicitly not controlled by any basin around a singularity, but is rather given to first order by a high-dimensionality phenomenon (similar to critical phenomena in thermodynamics). Specifically, the first-order approximation of the free energy is compatible with the system having some fixed number of degrees of freedom per neuron (here: "row of the input weight matrix"). More precisely this paper predicts (and experiment verifies) that to first order, the NN learns to randomly sample each "weight" row from some fixed distribution. (The resulting NN has approximately correct outputs by the central limit theorem; but if one is interested in a more realistic context with a small number of neurons compared to p, higher terms in the mean-field expansion let you predict regimes with higher and higher accuracy; the leading free-energy term will still be the same). This terms is, importantly, not even a rational number (as predicted by SLT), but some numerical integral associated with the neuron distribution (not dominated by any one value or any small set of moments, except in certain limiting regimes). Note that (similar to SLT) the mean-field prediction holds, in a certain idealization, for any "input number" n so long as n is less than some exponential in the number of neurons.
LoRA for empirical "approximately singular" matrices from ML
For our second example, we look at a two-layer "deep(ish) linear network" that tries to model WinWout=M, (here we replace the ReLU with a trivial nonlinearity, and take W_{in}, W_{out} to be the trainable parameters and M to be the fixed "target"), there is an exact formula for the Bayesian learning prediction of this network in terms of the singular values of M ("singular" is a good term here :). The Bayesian learning dynamics are entirely controlled by the "entropy" or "volume" function Vol(s1,s2,..,sd), which is roughly the volume of the "space of pairs of matrices Win, Wout of bounded size whose product is M" (the "bounded size" is a secret parameter here, that is related to the "number of training points" parameter n in SLT).
If the (min of) input/output width is larger than the "hidden layer" width, the function Vol(s1,...,sd) has singularities and SLT in this case makes a nontrivial prediction: namely, that if some fraction of the singular values sk=sk+1=...=sd=0 is zero (note we can assume WLOG that this is the last d−k values, since singular values are un-ordered), then the function Vol has a singularity. SLT now implies that if the "target" matrix M has lower-than-full rank (i.e. some of the s_i are exactly 0) then in the high-data limit n→∞ we have an exact asymptotic on the free energy function F(n) (as a function of dataset size).
Here in order for the SLT asymptotic to be true, we want to assume that the first k singular vector of M are exactly zero and the data size parameter n is much larger than the inverse (square) of the smallest nonzero singular values (this is called the "spectral gap"). If we want some kind of exact or asymptotic formula for the free energy that makes valid predictions for n without the singular gap assumptions, or without the assumption that the singular values are exactly 0, we can simply plug the (easily computable) "true" singular values s1,…,sd into the (known) exact formula -- or a known expansion whose validity (/error bound) we can mathematically verify -- and see what we get.
Ultimately this depends on what deep linear models one would want to model "in practice" in the context of ML. This might at first seem like a silly problem: ML is explicity nonlinear and any deep linear model is just a toy.
However, this is not entirely true: in some cases for a realistic neural net, one is interested in doing "LoRA" decomposition. LoRA means different things in different contexts, but one standard context is decomposing a weight matrix W=Wℓ that appears in some layer ℓ of the model into a product of two matrices W=WLWR, with WL and WR having lower rank. In general in such a context, one would then train all the weights of the model together (and again, typically LORA is used in a slightly modified context where a low-rank product WLWR somehow supplements rather than replacing an intermediate layer). Nevertheless, we can alway model "some part" of LoRA learning as learning an approximate factorization of a matrix W into a product WLWR (this corresponds to "freezing" all weight layers except those that defined W, and modeling the loss as an approximation loss on W -- sketchy, but I'd guess a reasonable "directional" guess for asymptotics in a suitable regime).
Once we have reduced to this problem, we can now write down the exact Bayesian prediction and the SLT prediction for various values of "dataset size" n. Both predictions depend only on the singular values s1,...,sd of the matrix W (this can be seen using symmetry). Now empirically, it turns out that one can approximate the "bulk" of these singular values relatively well up to a constant by a power law si=i−α for some exponent α on the order of .3-.5 (see here for example). Here the "bulk" captures most of the singular values and it's in some sense "pretty singular": for the majority i, the value i−α is pretty small, i.e. "close to a singularity".
Thus it makes sense to extrapolate this regime and ask whether, for a singular matrix with singularities following a power law si∼i−α, there is some regime of values of n where an SLT prediction (assuming that all si below some cutoff are zero and keeping only the singular terms from these) actually describes the true value of the free energy to first order. In other words, we're replacing the "real" model that approximately solves WLWR=W by an idealized "singular" model that approximately solves WLWR=Wsinga with the singular of Wsing given by the formula s′i={0,i>i0si,i≤i0.
Unsurprisingly, the answer is a strong "no": both the prediction that the "approximately singular" si for i>i0 are "essentially zero" and the prediction that the large si for i≤i0 are large enough to impose a "reasonable gap" completely fail, and even the power law in the asymptotic from the SLT prediction fully fails to capture the power law of the true Bayesian learning prediction in this case. Here again, note that the key issue is the high-dimensionality of the system. (Also note here that I'm blackboxing a lot of math: happy to discuss it more in comments etc., and I'm also planning to write out a more careful version of this later.)
Discussion
One can try to salvage an SLT prediction in the LoRA example (which I think is particularly damning) in a few ways. Maybe:
However I think that together with the known results about modular addition, these failure modes show that in a meaningful way, realistic models do not have a good "singular model" with strong predictive power, even if we are only trying to make predictions about Bayesian learning. The regime where the SLT prediction succeeds certainly exists (this is a rigorous mathematical statement after all), but it requires too large a sample number n and imposes too strong of a regularity assumption on the "true" infinite-data loss landscape L(θ) (essentially, an assumption that "small" and "large" phenomena are cleanly separated by a large gap) for it to even approximately give valid predictions in regimes we care about. Again, the "dominant" brunt of my intuition here is that this failure is related to the fact that the predictions of SLT assume that the number of parameters is fixed (i.e. O(1)) as the number of samples goes to infinity -- but in reality, the number of parameters is quite high, and the regime where SLT predictions hold exactly is in some sense exponential (or very large) compared to parameter count, and thus never attained (and essentially uninteresting).
Having said this, I want to point out that SLT has a number of really good results that I am deeply excited about. I think they both have good theoretical results for toy models or strongly-asymptotic (but still interesting) regimes where the SLT approximation is exact, which may directionally give good intuition about realistic models (in the same way that the harmonic oscillator gives very deep intuition about quantum and statistical mechanics, despite not all systems being reducible to it -- not that in particular, SLT can be understood as a "vastly generalized harmonic oscillator" with the essential property being the existence of a strongly position-localized -- though singular -- semiclassical approximation; ignore if these words are meaningless to you).
But also people who label their work as "singular learning theory" have really good empirical results where the measurements being made are strictly thermodynamic, and which continue to work in "explicitly non-SLT" contexts such as mean field theory, which capture the high-dimensionality and have totally different asymptotics than what is predicted in the SLT regime. (Note that mean-field is, of course, itself an approximation/ toy model!)
For example: timaeus (the organization that "does SLT") has an elegant result by Garrett Baker et al. that measures the effects of changes in training distribution on susceptibilities; Nina Panickssery and I have a paper on the "lambda-hat estimator" (heat capacity) tracking the description length of the algorithm learned by modular addition in generalizing vs. memorizing models; there is work on saddles; Timaeus has produced work on the relationship of attention heads and a certain thermodynamic quantity. An upcoming paper by Timaeus that I'm very excited about looks at a susceptibility-like ("conjugate variable") metric on inputs that generalizes influence functions.
All of these results are (I think) very good results directionally linking statistical mechanics invariants with interesting learning behaviors. Also, none of them are "properly SLT results": they simply assume standard links between information theory, thermodynamics, and Bayesian learning (some of them developed in the learning context by Sumio Watanabe, who first discovered them in the context of his singular models). None of them assume that one is in a regime where the SLT "approximation from singularities" even approximately holds -- and I suspect that if one were to dig even a little in most of these cases (e.g. look at larger-scale dependence on temperature, relationships between single-neuron statistics, etc.), then one would see that we are in a regime where in fact, in a strong sense, any "singular" toy model would fail to predict the behvior of interest in any regime or with any number of terms of the "singular" asymptotic expansion. (Essentially this belief is due to the fact that the lambda-hat estimator does not even approximately asymptote in the way that SLT predicts in the regimes of interest, and because in an intuition I have that I'm hoping to write down later, the SLT approach really fails to track inherently high-dimensional phenomena like grokking.)
I would be happy to be wrong about the failure of the SLT regime, and I retain hope that with sufficient processing/ renormalization, there is some sense in which the thermodynamic behavior of learning is extensively related to singularities in some suitably re-interpreted and lower-dimensional set of "relevant" variables which are not the weights.
Also I am excited about the work that Timaeus is doing and think that the "thermodynamics-aware" approach to learning that they try to follow is significantly underexplored. I just want to point out that there are very deep directions here that decouple from the assumptions of SLT and instead lean into high-dimensionality of the loss landscape, and which produce useful work that can be missed if one's model of Bayesian learning theory is "everything is singularities".