Modeling Others’ Minds as Code
Published in Under review @ ICLR 2026, Accepted paper @ NeurIPS 2025 LAW Workshop, 2026
How can AI quickly and accurately predict the behaviors of others? We show an AI which uses Large Language Models to synthesize agent behavior into Python programs, then Bayesian Inference to reason about its uncertainty, can effectively and efficiently predict human actions.