# How well does your research adress the theory-practice gap?

(5-6 min read time without exercise instructions)

***Motivation for post**: Finding a way to map mathematics & areas of academic research to the alignment problem seems to be a core part of theoretical alignment and agent foundations work. Knowing how to frame different toolkits, for example, linear algebra and active inference, into the desiderata needed for solving alignment will likely speed up the research process and clarity of thought of most researchers. This post outlines one frame one can take when building up a map of tools to use when trying to solve the alignment problem. First, the intuition of why will be shown, and then a step-by-step guide to go through the exercise is shared. *

Outtake from a very normal alignment conversation:
==================================================

When laying the puzzle of alignment (where all pieces are rectangles for some reason), Alice said to Bob, “Man, I wish there was some nice way to understand how the frame of vector spaces should fit into this puzzle.” 

![](https://lh7-us.googleusercontent.com/i8e4AimNluEVjt9GiVRZdahCUfk0G1gOeyJpqdGOdOdl-INX9ZEOna0UTlYoD6fPUMceyiFkRwKQ-KJ9gtMgs43DJdJ0mrJAOaECg2rXm_uSmX_KceYm6tqN6_cK0MntOJY8n5-c7TzQOqy94QVA2Ak)

![](https://lh7-us.googleusercontent.com/ZZfea0Ifs6SoM-uexeP98y3x3RqUhIO50vey2OAhi3o3FD9NzVo5J1edS_SEvDcrcarXHxcl1S_r3peBm3RXBEZCmzh51bEVuNFw7ifSZnWp-0XO_49opBwPIhqu_GhQcHinJIDGCFqImUdzmIlFRvQ)

To which Bob answered:  
  
**Bob:** “Well… Certain techniques can help you”’

**Alice**: “How so?”

**Bob**: “A technique is to look at the edges of the frame of the vector space to see how it fits together with other pieces; for example, the \[?\] shape between Infrabayesianism and feature representations of model internals fits very well with defining a metric space and, therefore, those two pieces are easy to fit together.”

![](https://lh7-us.googleusercontent.com/QeMcvJtwPIGFdN6y_QYIGHtTmc3CsJJSYDtYfnIeCZJpP1iPgFJ87X7oxgIkuTj_iiUcU8TxX1AG43YMKpeADKOZZcljEopFh-eTAHZXvP30JlQtJ6glLyFA8y8Fh73UpT-B3FhrjuCyCiR4WANz2h4)

**Alice**: “Just because we have pieces that fit together doesn’t mean that the picture it paints is useful”

**Bob**: “That is why we also have to compare and contrast it with the page that we want in order to make it useful. You have to figure out your desiderata as well as how you see it being implemented in practice to see the [theory-practice gap](https://www.lesswrong.com/posts/xRyLxfytmLFZ6qz5s/the-theory-practice-gap).”   
(See [The Plan - 2022 Update](https://www.lesswrong.com/posts/BzYmJYECAc3xyCTt6/the-plan-2022-update) for more elaboration on the theory-practice gap) 

**Alice**: “I’m not sure I fully understand what “useful” means; as an example if I wanted to understand the mathematical framing of a puzzle piece that is metric spaces, how would that look?” 

**Bob**: “Well, Alice, let me tell you…”

*To be continued below*

Purpose of post
===============

This post is part of an effort to find useful frameworks for understanding theoretical alignment research and agent foundations. Similar to the exercises of [the maze perspective](https://www.lesswrong.com/posts/CPBmbgYZpsGqkiz2R/problem-solving-with-mazes-and-crayon) or [the game tree of alignment](https://www.lesswrong.com/posts/nvP28s5oydv8RjF9E/mats-models#Game_Tree_of_Alignment) as John Wentworth previously came up with. The hope is that the framing of a puzzle will bring the compositionality and cross-piece usefulness of a piece of the alignment puzzle out. This is useful as different theories don’t obviously compose, as John mentions in [some post I can’t remember](https://www.alignmentforum.org/posts/qXtbBAxmFkAQLQEJE/interpretability-tool-ness-alignment-corrigibility-are-not).  Laying the entire puzzle should, in theory, give you an understanding of how the math that we need for alignment can fit together. 

A good way to look at it is through the framing of [the plan](https://www.lesswrong.com/posts/BzYmJYECAc3xyCTt6/the-plan-2022-update). There, John talks about the theory and the theory-practice gap. The use of the puzzle framing is that you get to think about the theory-practice gap based on the theoretical desiderata that you come up with. Whilst it will not tell you about what theoretical desiderata we want, it will tell you about what pieces of mathematics are generally useful for the different pathways that you can imagine. 

This, in turn, means that you have a better grasp on what will be generally useful no matter what the shift in theoretical desiderata might be. An example of how John used this is that he saw that abstractions and ontology verification seemed to be part of a lot of potential puzzle pieces downstream of desiderata and that they were, therefore, useful.

Finishing the very normal alignment conversation
================================================

*To be continued is continued...*

Analysis: Metric spaces in alignment
------------------------------------

**Bob**: “The usefulness of a piece will be determined by how well it fits into the puzzle, which we can define by what it achieves.”

**Alice**: “Okay, so what do you mean by what it achieves?”

**Bob**: “We can take the problem of ontology verification, or how the hell is the agent thinking about the world?”

![](https://lh7-us.googleusercontent.com/dNINUTE5suSIZQbmSRm11y_UZUI3ABUmYeZ74z_Ij3eyD1lUYNrSd5cxwPndy-qXLjrLuTBllNQ-JcrszhiCU5XeXsAmH0CDXt8_UhvsjJGZeM5sxmCtvLm7t3eCY8vDb_ihnuVkCo1zB0mLUsMFKmQ)

”This can be divided into different subparts such as interpreting the real world models into a mathematical framework, describing what we want in a useful mathematical way, and translating between the two.”

![](https://lh7-us.googleusercontent.com/oLZlzOcSejQK5zE4MTEpTLSzDy2jv3dXsdqgTv7wEHtE9YTy_uwti6I2ed74aNnZ0LmbupzdV1MQIIxc0E_6neDdi08HbGVUmvfyvG3JiezEus9WFEOFp6lz6mTFJwwsbP85y-VU5eEYzA0CbsM8HmA)

  
 

“We have these huge matrices in our LLMs that we have to describe somehow. In other domains, we describe these things through vector spaces, and so it seems very reasonable that it would be a great way to understand transformers, too.”

“There are at least two reasons for this: transformers describe things through linear algebra, which can easily be thought of as a vector space, and secondly, there is a lot of pre-existent mathematics on vector spaces, meaning that you can probably go to math exchange and get more answers than you can on functional decision theory. There is even proof that any function can be represented as a vector space, although I can’t remember where I know this from.”

“This means that metric spaces are most likely useful when it comes to describing LLMs as they can elucidate the knowledge we get.”

**Alice: \*in a snarky voice\***“Yes, metric spaces can be useful when describing a lot of things; it seems like you’re almost making a tautological statement with this.”

**Bob:** “Hold on there, Miss Critique, we aren’t at the juicy bits yet. You see, we have defined that the edge between ML models and the puzzle piece of metric spaces is pretty smooth, but that doesn’t mean that it is easy to translate vector spaces into the pieces of mathematics that we have to develop for our desiderata.*”*

“We need to know how jagged the piece’s other edges are or how useful it is regarding other pieces.”

“Let’s assume that the puzzle piece of infrabayesianism is needed to solve alignment or at least the subcomponent of infrabayesian physicalism with their likelihood world modelling that tells you what world you’re in. I quite honestly have a lot less well-defined priors on what the jaggedness of the edge looks like here. Yet I know that we can define probability distributions as n-dimensional probability spheres, so it might not be that difficult?”

**External commentator: **“Very salient thought there, Bob, not vague at all, thank you.”

**Bob**: “**Listen up,** the point of this isn’t that you’re supposed to know what you’re talking about; what you want to do is to **elucidate your intuitions to see what your current models tell you about the path forward.*****” ***[*(Einstein’s arrogance echoes in the distance)*](https://www.lesswrong.com/posts/MwQRucYo6BZZwjKE7/einstein-s-arrogance)

“Now, imagine that you do this method for different potential edges and desiderata.”

“Let’s analyse the puzzle piece of understanding metric spaces in agent foundations with regard to the other edges. If we, for example, care about ontology verification, the piece of metric spaces might give this picture”:

![](https://lh7-us.googleusercontent.com/4EHcpMVIW4ZCD4qyQo-ywC-GZRzDAT-2i-wLBQa-fMZL3LjIcNfzyp2CI2ebMVeBYKo1RdQ2oDdc4zG1iXj0BSdhAqdyceuX8xnsziqfZ5RUV7lfy0515naQgxQg5w_E7XKxGGsP3-Tm-8WiJZbCm5o)

*% Speed up source:* [*The Lion, The Witch and The Wardrobe*](https://en.wikipedia.org/wiki/The_Lion,_the_Witch_and_the_Wardrobe)

  
**Bob:** “One can then do this for all of the theory-practice gaps that we have in our puzzle”:

![](https://lh7-us.googleusercontent.com/-om-DWWTS7j5VR6H1AT0n1XnFnfgFkMDQefUx5vL200L2Y1-XH7d4lzDqjdjGWViEDIoCr3EYyIsrKDmraoTekGks7N0E5G4IScQZK99IA3QVME1Ru-2AhyYb0jT2WWkS9PYu6tD1WhVhyMpKDCNyQI)

*Source:* [*Prince Caspian*](https://en.wikipedia.org/wiki/Prince_Caspian)

**Bob**: “As you can see, we can add arbitrary theory-gap completion times. The important thing isn’t to get the numbers right but you get an idea of the **relative** numbers, which is why I can pull these numbers from Narnia. Mess around with the graph a bit; certain intuitions might only come out with the right perspective, and it’s up to you to find them.”

**Alice: **“That kind of actually makes sense?”

**Bob: **“Yup, and the nice thing is that I can iterate this methodology multiple times, and in the end, doing this will probably give me a much clearer view of how I might bridge the theory-practice gap than I had before.”

“To get an even better model, I could dig into the different assumptions I made between the translations. I could, as an example, examine how difficult it actually would be to translate IB to vector spaces by translating the IB math into vector models and get a lot better view of it.”

**Alice \*still snarky\***: “Hang on there, mister, let me be snarky again. This seems like something where you can artificially increase your confidence more than it should be. Just pulling those numbers from Narnia might just mess with your models. As the wise ones say, **don’t give numbers to something that is imprecise**.”

**Bob**: “First and foremost, Narnia is a very trustworthy source, and Aslan is pretty damn cool.   
Secondly, I’m, of course, assuming that any reasonable alignment researcher has read the sequences (if you haven’t, go read the highlights at least) and that you’re part of the Bayesian conspiracy. **It is not a hammer but a 6-sided star screw kit** that should be used to figure out useful frameworks… **or something.**”

**Commentator: **“And with that bombshell, that’s it for us! Thank you, and good night!”

Exercise: Building your puzzle
==============================

In the walkthrough, I will apply the puzzle frame to my work to see where I need to head next. 

Part 1: Laying the Cornerstones
-------------------------------

Essentially, the most important part of this exercise is figuring out how to cross the theory-practice gap. We, therefore, want to have problems/desiderata that we believe are sufficient to solve alignment. Then we also want the technologies that are sufficient to solve these desiderata in themselves. 

A simple way of finding these puzzle pieces is to try to find these two parts by building up an [alignment game tree](https://www.lesswrong.com/posts/nvP28s5oydv8RjF9E/mats-models#Game_Tree_of_Alignment) or similar. 

  
![](https://lh7-us.googleusercontent.com/Nszu4Tu0yskauhwiDLZD2OjNULzC4yGi74R4-RX1QuV3PrlMgURcXJ3r7hKFGabk-_PYEGd2m8NwiuQla04XDXSsVnwfMJIEduolrN0Rmh3gI63p19DFDD8kmZTNvEvypmfGTQe3ifJ7JdmKhShVJvY)  
 

Above is the decomposition of the alignment problem that I thought of. In the context of my own research, the thing that I currently care the most about is solving inner alignment failures. Therefore, a potential continuation of this tree might look something like this for me:   
 

![](https://lh7-us.googleusercontent.com/ig9B0M2H1Zt5ce6alAPrYjSBmVVZKy-9IWwIJDeMj3XaVII2Ec2SM5SlX0RpiAmVhO3YV2uKWIoGzD-cxAO7HlPb8yKDcQcgjkgwxibc0n85G8afYCe8ZIjLFHscZb59bv1ZsKmcb7uogiyv0VVNiPQ)

*I'm not focused on outer alignment nor AI governance in this post and therefore the solutions there aren't serious*

Now as part of building an alignment tree, you, of course, have friends to ask feedback from. 

As I ask my friend Charlie (my third personality) what he thinks of my tree so far, he tells me:   
**Charlie: **“Uhh, your solution space is quite specific.”  
**Charlie: **“Also, why do you have to implement your personal values into the AI there? That doesn’t seem that reasonable?”

Charlie makes some great points here; my solution space might be a bit too specific. I might want to create something like the following instead: 

![](https://lh7-us.googleusercontent.com/JLDKKpZoE-Xa7FUiNZKZEwavbxlejkb3lunjunkQ5R0lz7OOr8Z7eHhxpcKwXUOGmBlRdsR6eNNSCf0TuHHkYa3tTCkoqDkurQ7GUXjxH9OQwui7lsAm4q4YfdJ_shY2OasTEwfAfaClrZsiCH2_TZ8)

These would then be the desiderata and the solutions that we would want.

The game tree of alignment exercise works by iterating steps of critiquing solutions to the specific game tree that you have. This means that Charlie might say something along the lines of:

**Charlie: **“Wait, how can you be sure we will solve inner alignment if we solve those 3 problems? The nature of a maximiser is written into the laws of our universe due to the VNM-axioms. Also like IRL doesn’t work well due to this, why would these things you outline help?”

First and foremost, it is very okay to say ??? to an argument like this if you don’t understand it. 

Secondly, I would just say that my intuition tells me that there is a flaw in that reasoning due to observations from current-day neural networks and that shard theory is more likely to be true. ([AXRP Episode with Quentin Pope](https://open.spotify.com/episode/1kblrJlzEnstZr9iCO8hhh?si=d5be2cd0bf404a1c))  
So, I won’t update my tree as a consequence, but there may be things that people can say to change the tree over time. 

I can now create the first parts of my puzzle: 

![](https://lh7-us.googleusercontent.com/JM0FY36ZzTfiiyDb8Sx1I3eNYeXKv5pMMjzN1sGKBNATRyoKxleYbDnrFrPDVzO64fouWOVIn2DfvQMZnMwvx0t-NgS8J5A9X529I8bvjNcvW5NKfxaeYgTm8TtjXxorZxIKmPODg_DwHidIKugL2v4)

Part 2: Framing the theory-practice gap
---------------------------------------

Now, the thing that I personally care about is solving inner alignment when it comes to the current framing, which means I might make the puzzle look something like the following:

![](https://lh7-us.googleusercontent.com/ZoFe4oUIvbt2mBdeBZb3YOv9By-_1rwu5JIqARgnZIiwqMgv2ckiXMRt3q9HQTut-UcYfi65BT4xI4wGvl7aIFH8HBRkyOhW9f78EpFHE7Te4WgtHC4IlhXCncK-YcuRtJJ-oITXOmRrVwbD9eGQhHk)

For the theory-practice gap, I will now put the pieces that I previously had put as sub-solutions to the solutions that I had from before:

![](https://lh7-us.googleusercontent.com/05tIVoBrNITnItPyLj-9PPX4aTgqjunkbFmVO0InbjXdNX9SvNvxnH-TExq3a60YDvEQIyJ7SVS6SpOJVkwaVFZhwfURCIWZiPq8HC3YtCc5ATt59JnoTFaNxPcCPTLTeAaQ6YonL937ath0LVHKHaE)

New puzzle:

![](https://lh7-us.googleusercontent.com/VGWNir3dBylyDOVWRgomCXWGqq5hRM993u5vDxRGv9W6mdVafZx_Ll3Nb_qpP_k0mTDMholdG9ZURJUlqY85B8T2LQTLMCbsLDgOq2rm6CcpeGiSqcP5uFdj-akkxMyYxontTdTodWAVikJENWLJNfw)

Part 3: Practice
----------------

I will now take the bottom-up approach and think about how solving inner alignment might look like in practice: 

Some things I personally thought of was:

1.  Validating the sub-agent lens by running experiments to see if the theory matches reality
2.  Creating an accurate benchmark for power-seeking in sub-agents
3.  Algorithmically simulate cultural evolution and validate by checking if the real world holds up
    1.  Use this in order to find equivalences in AI development so that we can predict heightened probably of sharp left turns. 

New puzzle: 

![](https://lh7-us.googleusercontent.com/CMzBVk9xv03T_IYmyKPs3tMdJvVNzwc0Gj0JS9jPznxAh68xFtRuTh_td7wsCDVeYy8mDfpOEzR1bnwgB7wre-rCgHqPsCvGZekeqLV_CXQnO4qhKwUdbJto1whVTSYT4UCJJySKnD14oEnescKqa7U)

Now, from above, I also noticed that I need to do experiment number one before I do experiment two. 

Part 4: Figuring out the theory-practice gap
--------------------------------------------

Alright, so how do I go from theory to practice, then? 

  
In my case, there are certain things that I need to figure out. I need to understand the foundations of boundary-forming processes within sub-agents. I also need to figure out more about collective intelligence and collective decision-making. 

More importantly, it is imperative that I know how to translate this into LLM experiments. My current hypothesis is that this is doable through a free energy and active inference lens, which is something I’m then investigating. 

Following are some of the ways that I might go from theory to practice here: 

### Foundational Processes in Sub-agents:

*   Boundary Formation:
    *   Investigate the convergence of Andrew Critch’s and Scott Garrabrant’s research with artificial life studies on agency.
    *   Engage with PIBBS scholars for insights into agency descriptions relating to self-definition.

### Understanding Collective Intelligence:

*   Knowledge Acquisition:
    *   Address the uncertainty I have in how collective intelligence works by reaching out to experts.
    *   Employ a targeted communication strategy:
        *   Connect with early-career professionals for cutting-edge ideas.
        *   Consult with seasoned experts to gain historical and practical perspectives.
            *   (Since early and late career academics are more like to respond)

### LLM Experiments:

*   Integrating Theory with Practical LLMs:
    *   Talk with some of my contacts that are into interpretability to refine experimental approaches.
    *   Develop frameworks for translating theoretical concepts into LLM experimentation.

### Cultural Evolution in AI:

*   Practical Exploration:
    *   Deepen understanding through hands-on simulations, for example this [R-based model simulation I found](https://bookdown.org/amesoudi/ABMtutorial_bookdown/)
    *   Contact researchers within cultural evolution for empirical insights and validation of models.

I hadn't thought about a lot of these things beforehand which is quite nice as it elucidated the next steps that I need to take. 

Part 5: Prioritising interventions
----------------------------------

In the dialogue, we saw some arrows that pointed towards specific gaps being sped up by some central frameworks that can affect the entirety of the theory-practice gap. I will now do the same with the theory practice interventions that I found through doing the above exercise.

### PIBBS & Artificial Life discussions

![](https://lh7-us.googleusercontent.com/C2gMm_lmIBefEdcHjpx92hE8m7x-XpSSwZeCeOqfoTm9Fv0iW8ulI_z3uGtoHiMBQxjB_ZZFYNXciHCFt9W8fJYzaBqlR_Or2dwFSK4jOZLIv0rHkqlcF4XbY95qTlZOTTdl8UTqRRqTFCwErqYGeCg)

In the process of developing this picture, I pulled a lot of numbers out of nowhere. When it comes to the % per hour metric, I incorporated the intuitive feeling from lowering uncertainty into the mix as well. Something else I noticed is also that talking about it most likely has diminishing returns.   
  
There is a lot that this model misses, but I did realise that for the first tech tree, I first have to get a nice definition of power-seeking in terms of free energy. This is something that talking with PIBBS and Artificial Life people could get me.

### Understanding collective intelligence

![](https://lh7-us.googleusercontent.com/QgvqSO4mGcdtPHyF8Bdea5grFOYQ7V0m5FUqwpDg6KH7K-lJyJiul2Lsq_FcJq60tAOaDVaCEERVZodcgd3P7rijGbbca5kgMtGm9bF0ZYU-nohCNcyD1ikmqge5EEh0u7usoIrco9P_4WVWf0V7PbA)

According to my models, understanding collective intelligence didn’t seem as important to do as having artificial life discussions, as it doesn’t give as much input on how to translate this into LLM-based research. 

### LLM Experiments

![](https://lh7-us.googleusercontent.com/yO3Tesgws-sa1UXJyforAGwMJ6cbNZ0L98BGIXHT9MIHOD3nJ81ERhrbcrD6bMsCOTkDlwfNgm30ki6IptAt9SSRF-SvtWir2aqY3wTvPvgdC5H8fvH28zQI4VTQ78mzslIhEBilrLlp8hROtkfYYrA)

Doing this made me realise that I’m a bit of a dumbass for not contacting people in the interpretability side of things about the feasibility of running experiments here. My intuition for not doing it before was that no one would know how to do it, which I thought was reasonable. I realise now that even though no one knows how to do it, I still might get useful feedback from talking through it with them.

### Cultural Evolution in AI

![](https://lh7-us.googleusercontent.com/RQ4GCjxC1luJeiykossiGptDbaHjg-R5GLog3MT7orStih6QynYObrOnr_MjwQzJuBnQ4cxTtMU8d4aZE9MxEdakvBxvZpIXa1L0o6GIEPmA7KTQ2FVxBgihGOtJoaNir_ve3J97By9iKGXxj3Ff0CA)

I realised that the main reason that I would do this if I perceive algorithmically describing cultural evolution to be a more useful thing to do than the rest of the game tree. I do very much like [Kaj Sotala’s post](https://www.lesswrong.com/posts/BtffzD5yNB4CzSTJe/genetic-fitness-is-a-measure-of-selection-strength-not-the#comments) and [Leogao’s comment](https://www.lesswrong.com/posts/BtffzD5yNB4CzSTJe/genetic-fitness-is-a-measure-of-selection-strength-not-the?commentId=Wo2vroA6BwowzqoTh) on the post to explain it as part of the ongoing conversation about it, so I’m uncertain how neglected this is. 

Part 6: Next steps
------------------

Following is my list of actions to take as a consequence of this exercise:

1.  Contact PIBBS scholars and Artificial Life researchers to ask about a hypothesis class and see what they think about it.
2.  Talk with my mech-interp contacts about the feasibility and potential experimental designs for confirming collective intelligence theories.
3.  Contact collective intelligence experts on the feasibility of describing a singular agent process as a type of many-agent process with specific decision rules.
4.  Contact experts in cultural evolution about algorithmic modelling. 

I will also be turning these into [SMART](https://en.wikipedia.org/wiki/SMART_criteria) goals, yet that process can be found [online](https://www.ucop.edu/local-human-resources/_files/performance-appraisal/How%20to%20write%20SMART%20Goals%20v2.pdf) so I won't share the specifics here.

Conclusion
----------

The puzzle framework offers a lens to scrutinise the landscape of AI alignment. By focusing on the pieces between our desiderata and real-world experiments—for example, metric spaces and collective intelligence—**we can gauge how well they fit into the grand puzzle and address the theory-practice gap. **

Going top-down from desiderata into more specific solutions narrows the theory-practice gap from the top. We also narrow the theory-practice gap by going bottom-up and writing how we want to verify our theories. This gives a more accurate model of how to traverse the theory-practice gap.

Notably, the framework is meant to be iterative, allowing for continuous updating over time and a continuously better view of the theory-practice gap.  

Yet, do not bet your life on it. While the framework helps organise thought, it also carries risks of overconfidence and imprecise reasoning. I recommend that you look at it as one tool among many in the AI alignment toolkit. **You do not want to narrow your view to a false problem space.**

I hope you enjoyed this post, and do let me know if you did the exercise yourself and how it went for you!

*This post was mostly developed during John Wentworth’s SERI MATS online training program in the autumn of 2022. I want to thank Justis from the LW feedback team and Arun Jose for some great feedback. *