Lune

OOPSLA2025Top-tier venue

A Domain-Specific Probabilistic Programming Language for Reasoning about Reasoning (Or: A Memo on memo)

Kartik Chandra, Tony Chen, Joshua B. Tenenbaum, Jonathan Ragan-Kelley

2025Year
2Citations

Abstract

The human ability to think about thinking ("theory of mind") is a fundamental object of study in many disciplines. In recent decades, researchers across these disciplines have converged on a rich computational paradigm for modeling theory of mind, grounded in recursive probabilistic reasoning. However, practitioners often !nd programming in this paradigm challenging: !rst, because thinking-about-thinking is confusing for programmers, and second, because models are slow to run. This paper presents memo, a new domain-speci!c probabilistic programming language that overcomes these challenges: !rst, by providing specialized syntax and semantics for theory of mind, and second, by taking a unique approach to inference that scales well on modern hardware via array programming. memo enables practitioners to write dramatically faster models with much less code, and has already been adopted by several research groups. CCS Concepts: • Computing methodologies → Theory of mind; • Software and its engineering → Domain speci!c languages.

Ask about this paper

Your agent reads all of it.

Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.

Questions to start from

Your agent calls

Luneget_paper_fulltext

Ask in Lune

Free to start. No credit card required.

lune papers fulltext a2cbe19a-531b-4b47-8c76-0120eb7a710e

Builds on9

Related papers

Dusk over the sea between two cliffs drawn in fine vertical lines