Skip to content
BIASED

The language model as a policy

Block 1 of 6~2 min

A prior, not randomness

Model-based RL (previous note) still started from a blank policy and improved it over huge numbers of episodes. A language model arrives with a prior: after pretraining and instruction tuning it already puts mass on plausible next moves. With a GPT-2 vocabulary, 50,2578≈4.07×103750{,}257^{8}\approx 4.07\times 10^{37} strings of length 8; a uniform policy never finds search[Dunmore]. Key idea. An LM is already a stochastic policy πθ(w∣w<j)\pi_\theta(w\mid w_{<j}). Write history into the context, parse a span of the generation as an action, and you have the agent function of What an agent is.

Answers are saved on the server and tied to this browser until you sign in.