Back to Academia is for Ambition — Alex Zhang, MIT, with Alex Zhang & Vibhu Sapra.
What Is a Recursive Language Model?
Alex Zhang · Shawn Wang · Vibhu Sapra
Alex Zhang says a recursive language model, an RLM, is a harness whose only tool is code. He wishes that definition had been in the original paper. The code can call the model again as a tool, and the other tools are functions in that same code. The context stays in memory inside the code environment, which can be a file system. In Prime Agent, the trajectory stays on disk even after compaction, so the model can still read the original context, and the tools run in a Python REPL or a Bash REPL. He calls that a primitive abstraction.
Most harnesses differ on that point. Context offloading is not done that way, so the working context does not stay in the code environment the way an RLM keeps it.
Academia is for Ambition — Alex Zhang, MIT ·
From the transcript
Okay. I want to go back to the blog, the compositional generalizers blog. This one. Okay. Okay. This is like the best, I wish I had this in the original paper. An RLM is basically just a harness design where the only tool in the harness is code, which is this programmatic subagent calling thing where it has the option to call itself as a tool and it has other tools.
But all of these things are functions in code. And the context that it's dealing with is always stored in some memory inside of this code environment. So this could be a file system. Like this could be like, I'll give an example, Prime Agent. The trajectory of Prime Agent, like the context, even when you compact and do all these things, is stored on disk.