Traps of Formalization in Deconfusion
post by adamShimi · 2021-08-05T22:40:50.267Z · LW · GW · 7 commentsContents
Introduction The Depression of Deconfusion It’s a Trap! Two Traps of Formalization Obsessive Formalization Inadapted Standards Complexity Elegance Generalization Equal And Opposite Advice Conclusion None 7 comments
Introduction
The Depression of Deconfusion
It had made perfect sense to you. It just clicked, and clarified so much. But now you’re doubting again. Suddenly, your argument doesn’t feel so tight. Or maybe you described it to some colleague, who pointed out a weak joint. Or the meaning of your terms is disagreed upon, and so your point is either trivially wrong or trivially right.
Now you don’t have anything.
In truth, something probably came out of it all. You know that this line of reasoning fails, for one. Not that it’s of use to anyone except you, as you can’t even extract a crystallized reason for the failure. Maybe it salvageable, although you don’t see how. Maybe there’s no way to show what you endeavored to show, for the decidedly pedestrian reason that it’s false. But once again, how are you supposed to argue for that? Even the influence of this failure on what the terms should mean is unclear.
Melancholic, you think back to your PhD in Theoretical Computer Science, where problems abided by the laws of Mathematics. It didn’t made them easier to solve, for sure, but it offered more systematic way to check solutions; better guarantees of correctness; and the near certainty that no one could take it away from you.
Maybe that’s were you went wrong: you didn’t make things formal from the start. No wonder you got nowhere.
So you go back to your notebook, but this time equations, formulas and graphs take most of the space.
It’s a Trap!
As a deconfusion researcher [AF · GW], and as part of a notoriously un-paradigmatic field lacking a clear formalization, I feel like that regularly. From where I come from, math just looks more like research and actually doing work, instead of simply talking about stuff. And there is definitely a lot of value in formalization and its use to unveil confusing parts of what we’re investigating.
What I object against is the (often unconscious) belief that only the formalization matters, and that we should go as fast as possible from the pre-formal state into real math. Thinking that way (as I’m wont to do) leads to problems described in this post: favoring an inaccurate formalization over the informal real deal (and forgetting the later), as well as misapplying standards from Mathematics to deconfusion.
This is probably not an issue for everyone (as I discuss in the last section on equal and opposite advice), but I believe it can serve to anyone who like me comes from a Math/Theoretical Computer Science background, or ends up believing they need to master heaps of math to contribute in any regard to Alignment.
Thanks to John S. Wentworth and Scott Garrabrant for discussions that helped me realize many of these points and articulate them.
Two Traps of Formalization
Obsessive Formalization
What I call obsessive formalization is this almost pathological need to clarify the muddy discussions we have into mathematical statements. In reasonable doses this impulse underlies the entire drive for deconfusion; yet it can easily go to far.
What this looks like is rushing to produce a very ad-hoc mathematical definition/formula, and then make it the object of study. Once this is done, we’re back in the more trustworthy realm of formal science, and we can explore at will the properties of this definition, as well as what it entails.
The only issue is that we care about the idea to deconfuse, not the formalization! In the relief to be formal once again, it’s so easy to not check thoroughly whether the proposed definition indeed fits the concept it aimed to capture.
I’ve been guilty of this in my Behavorial Sufficient Statistics for Goal-Directedness post [AF · GW], as pointed out [AF(p) · GW(p)] by John (our subsequent discussion pushed him to write a great post [LW · GW] on the dangers of ad-hoc mathematical definitions – at least something useful came out of my mistake).
Another trouble with this approach: in the rush to formalize, we might forbid to tease constraints and insights from the applications (which, remember [AF · GW], drive deconfusion). Here to I have to atone for my sins, as I basically wrote an entire post [AF · GW] to argue that I didn’t really need to look at applications for goal-directedness to deconfuse it (turn out I was wrong! -- new post incoming about this)
What it all boils down to is to not fall in love with any formalization (kill your darlings, as Stephen King said). By itself, this is enough to remove most of the problems I mentioned: without this bias, we actually search for falsifications, and go back again and again to the intuitions and applications motivating the deconfusion.
Unfortunately, it’s also really hard. For a certain group of people (me included), we get attached to any cool formalization we build. So I don’t have a panacea to offer you. Instead, the best I can give is a bunch of heuristics I got from great deconfusion researchers, and some I use myself:
- Check whether you have an internal feeling of certainty about your formalization, and be extremely suspicious of it. Not that any formalization that isn’t completely argued for should be dismissed immediately. The point here is instead to compensate the overconfidence that a clean formalization gives you.
- Make a pre-mortem. Imagine that your formalization is wrong, and look for where it fails. This works better if you manage to roleplay actually believing that it doesn’t work.
- For example I recently looked for cases where my current formalization of goal-directedness gives a very close call between a goal and its opposite.
- Refuse to go formal for some time. I got this heuristic from Scott Garrabrant, who explained to me how what he was doing involved the kind of abstraction and generalization common in category theory, with the difference that they do everything formally where he keep the ideas and problems vague and underdefined until everything kind of crystallize in its final formal shape.
- Extensive definitions (lists of positive and negative examples) work nicely as intuitions pumps in a pre-formal setting. Trying to explain the concept to deconfuse without resorting to any math can also be enlightening.
- Be application-specific. Instead of capturing the intuitions present in our confused understanding, John proposes to start with one of the applications and only focus on formalizing the concept for this specific purpose. Among other things, this means reverse-engineering what is needed for the application, the hard parts, and the constraints it entail. A later step is to attempt unification of the different formalization for the many applications.
- Create many different toy model, if possible contradictory As an extension of the previous point, if you manage to create variously interesting and contradictory formalization, it becomes obvious that you can’t just choose one without further investigation and thinking. That’s also a great way to find where two intuitions disagree.
Inadapted Standards
Let’s say that you don’t fall head over heels for your definition, and keep your head cool. There is still a trap waiting for you: applying mathematical standards to the formalization, instead of deconfusion ones.
Complexity
The most obvious discrepancy is complexity: in my experience, most deconfusion only require basic mathematical objects. Concepts like graphs, probability distributions, a handful of geometry and analysis. None of this sounds exciting for someone aware of the fascinating world of modern mathematics: no complex and fascinating objects like simplicial complexes or sheaves.
See some of the most interesting recent formal deconfusions in AI Alignment:
- Alex Turner’s deconfusion of power-seeking [? · GW] through simple symmetry and permutations arguments
- John S. Wentworth’s deconfusion of abstraction [? · GW] through causal diagrams and basic probability theory
- Scott Garrabrant’s deconfusion of time and causality [? · GW] through set theory and basic probability theory
(Potential counterexample: Infrabayesianism [? · GW] was formalized with measure theory and functional analysis, hardly basic math. I think this has to do with the mathematical complexity of the applications: Vanessa’s research is particularly formal, and so its requirement deconfusion might require more powerful structure. That being said, it’s still possible that Infrabayesianism could have been formalized through more basic means – I’m not a master enough of it to have an informed opinion).
A subtlety is that while complex mathematical objects rarely seem valuable in the formalization step, they can prove crucial in studying the result of this formalization. An analogy in mathematics is with the relatively simple and obvious statements of number theory which are studied through the subtleties of complex analysis.
Elegance
Next discrepancy: elegance. Anyone who practiced math or related disciplines has heard this word, usually in opposition with ad-hoc or messy. Elegance in the mathematical sense points at minimalism, doing much with a little, a general lack of clutter and details.
By all mean, if your formalization for deconfusion is of magnificent elegance, that’s great! What I object to is the requirement of elegance. Between elegance and accuracy, the deconfusion researcher, just like the scientist shall prefer the latter.
If an elegant model loses some crucial detail about the concept, it is a point against it being a complete formalization. Maybe this model can serve as a simplified version, but this discrepancy should always be kept in mind.
Generalization
Lastly, we have generalization. I’m using the word in a very intuitive sense: generalization as applying to more contexts and requiring less conditions. Interestingly, even in math I feel that overgeneralization tend to be often considered, if not a sin, at least a distraction.
In the same way, while we want a certain level of generalization in deconfusion, we rarely aim for literally the most general statement. If one has a formalization in terms of Euclidean spaces, in a setting where that’s the only kind of spaces that will appear, moving to topological spaces and looking for the exact axioms required goes a bit overboard.
I honestly don’t feel like generalization is too often an issue in published deconfusion. But this standard has a perverse effect on researchers and newcomers interested in the field: they end up believing they need the means to tackle the most general questions, where, as I argued above, the only requirement are quite simple undergraduate mathematics.
Equal And Opposite Advice
It’s customary around here to mention the Law of Equal and Opposite Advice in every post like this. I actually think I can do better, by explicitly calling out the group of people for which I believe my advice to be most detrimental: researchers with background in philosophy and social science (not economy).
Why? Because this post explores the trappings of wanting to formalize too much – of the mathematical pull on deconfusion. If you come from a field where formalization is rare or frowned upon, I instead encourage you to try to make more mathematical models. Your suspicion for formalization already saves you from some of my caveats; and I hope my discussion of complexity and generalization will encourage you to try to play with simple models.
Conclusion
Formalization provides an invaluable tool for deconfusion: making intuitions and ideas so concrete and precise than they can be judged and investigated without constantly changing faces. But formalization is only a tool, not the most important piece of the puzzle. In almost every case where formalization is prioritized, problems arise: we fall in love with our ad-hoc mathematical definitions; we forget to falsify our models; we apply standards of complexity, elegance and generalization from Mathematics instead of the ones for deconfusion.
7 comments
Comments sorted by top scores.
comment by johnswentworth · 2021-08-06T16:42:43.604Z · LW(p) · GW(p)
Instead of capturing the intuitions present in our confused understanding, John proposes to start with one of the applications and only focus on formalizing the concept for this specific purpose. [...] A later step is to attempt unification of the different formalization for the many applications.
Important clarification here: in order for this to work well, it is necessary to try multiple different use-cases and then unify. This is not a "start with one and then maybe get around to others in the indefinite future" sort of thing. I generally do not expect to end up with a good deconfusion of a concept using less than 3 use-cases; think of it like attempting to triangulate a point on a map.
The point of looking at use-cases one-at-a-time to start is that certain useful frames or considerations will stand out in the context of a particular use-case; it's easier to recognize key constraints in context. Then, you want to try to carry over that frame or consideration or constraint to the other use-cases and see what it looks like in those contexts.
Replies from: jmh↑ comment by jmh · 2021-08-06T19:35:36.473Z · LW(p) · GW(p)
The use of triangulation as an analogy here seems to suggest the choice of use-cases is critical to minimizing the number needed. In some cases I would think that selection might be rather obvious but not sure that would be generally true.
The obvious (I would think) goal then would be to seek use-cases that exhibit a high degree of "independence" from one another (much like a regression test should use) rather than "highly correlated" use-cases. But use-cases are not simple variables so may be difficult to assess from that perspective.
Do you have some thoughts on that selection process
Replies from: johnswentworth↑ comment by johnswentworth · 2021-08-06T19:46:59.400Z · LW(p) · GW(p)
That's exactly right. I usually look for examples/use-cases which feel as qualitatively different from each other as possible, while still all feeling like they involve the same phenomenon we're trying to deconfuse.
comment by Chris_Leong · 2022-12-15T05:04:42.921Z · LW(p) · GW(p)
Strongly agreed. I do worry that most people on LW have a bias towards formalisation even when it doesn't add very much.
comment by CraigMichael · 2021-08-06T00:57:43.903Z · LW(p) · GW(p)
Would you make a distinction between “visual” formalization (drawing pictures) and “symbolic” formalization (writing equations or symbolic logic etc).
I only mention because I’m guilty of wanting to keep too much on my head, and a chart, graph, diagram, etc always helps in those situations… Thinking about it now, I should almost always just start with that… but then thinking about this post, maybe not? :)
Replies from: Daniel V, adamShimi↑ comment by Daniel V · 2021-08-06T02:36:58.680Z · LW(p) · GW(p)
Andrew Gelman distinguishes these. He believes in symbolic formalization but doesn't get Judea Pearl's DAGs. I personally find visualization to be very useful, not always in DAGs, sometimes simply in expected patterns. I also have found equational models to be useful on different occasions. Other times I find analytical models extremely difficult to follow because the explication is too dense. They are certainly distinct types of formalization, but none is free of the potential risks of non-deconfusing that adamShimi lays out.
↑ comment by adamShimi · 2021-08-06T06:46:36.890Z · LW(p) · GW(p)
I honestly didn't thought about drawings at all, because I never heard anyone call a drawing (that was not literally a graph or a category diagram) a formalization.
Looking quickly, I feel my advice doesn't apply to drawings because I don't expect them to have the same pull that formalizations can have, and drawings definitely don't abide by mathematical standards.