Theories of mind as domain-specific languages of thought. Chandra, K., Ragan-Kelley, J., Tenenbaum, J. B, & Saxe, R. September, 2026. abstract bibtex What kind of thing is a ``theory of mind''? We propose to formalize theories of mind as domain-specialized programming languages, which can be used to reason about the mental states of other agents. Our proposal builds on the longstanding idea that thinking is akin to programming in an internal ``language of thought.'' But rather than positing a single general-purpose language for all of thought, we posit a collection of domain-specific languages of thought, whose respective syntaxes and semantices encode the theories of various domains. We make this idea concrete in the domain of intuitive psychology using a real-world programming language called memo, which is specialized for theory-of-mind reasoning via domain-specialized syntactic constructs like ``knows,'' ``wants,'' and ``thinks.'' In our view, using one's theory-of-mind to think about a social situation is analogous to using memo to write a program that models that situation. Through a series of worked examples, we show how formally representing a theory of mind as a memo-like programming language can lend insight into a variety of theoretical issues in theory-of-mind research: (1) how a single, fixed intuitive theory can be used to reason about social situations with unbounded structural variation; (2) how a modular, domain-specialized, and informationally-encapsulated system for social cognition might interface with external world knowledge, as well as other cognitive systems like intuitive physics; and (3) how different theories of mind, such as those of children and adults, differ, what exactly is gained as theories grow over the course of development, and how that growth might occur.
@ARTICLE{Chandra2026-ts,
title = "Theories of mind as domain-specific languages of thought",
author = "Chandra, Kartik and Ragan-Kelley, Jonathan and Tenenbaum,
Joshua B and Saxe, Rebecca",
abstract = "What kind of thing is a ``theory of mind''? We propose to
formalize theories of mind as domain-specialized programming
languages, which can be used to reason about the mental
states of other agents. Our proposal builds on the
longstanding idea that thinking is akin to programming in an
internal ``language of thought.'' But rather than positing a
single general-purpose language for all of thought, we posit
a collection of domain-specific languages of thought, whose
respective syntaxes and semantices encode the theories of
various domains. We make this idea concrete in the domain of
intuitive psychology using a real-world programming language
called memo, which is specialized for theory-of-mind
reasoning via domain-specialized syntactic constructs like
``knows,'' ``wants,'' and ``thinks.'' In our view, using
one's theory-of-mind to think about a social situation is
analogous to using memo to write a program that models that
situation. Through a series of worked examples, we show how
formally representing a theory of mind as a memo-like
programming language can lend insight into a variety of
theoretical issues in theory-of-mind research: (1) how a
single, fixed intuitive theory can be used to reason about
social situations with unbounded structural variation; (2)
how a modular, domain-specialized, and
informationally-encapsulated system for social cognition
might interface with external world knowledge, as well as
other cognitive systems like intuitive physics; and (3) how
different theories of mind, such as those of children and
adults, differ, what exactly is gained as theories grow over
the course of development, and how that growth might occur.",
month = sep,
year = 2026,
copyright = "http://creativecommons.org/licenses/by/4.0/",
archivePrefix = "arXiv",
primaryClass = "cs.PL",
eprint = "2609.19598"
}
Downloads: 0
{"_id":"NkREbMWJDBwpFGPWq","bibbaseid":"chandra-ragankelley-tenenbaum-saxe-theoriesofmindasdomainspecificlanguagesofthought-2026","author_short":["Chandra, K.","Ragan-Kelley, J.","Tenenbaum, J. B","Saxe, R."],"bibdata":{"bibtype":"article","type":"article","title":"Theories of mind as domain-specific languages of thought","author":[{"propositions":[],"lastnames":["Chandra"],"firstnames":["Kartik"],"suffixes":[]},{"propositions":[],"lastnames":["Ragan-Kelley"],"firstnames":["Jonathan"],"suffixes":[]},{"propositions":[],"lastnames":["Tenenbaum"],"firstnames":["Joshua","B"],"suffixes":[]},{"propositions":[],"lastnames":["Saxe"],"firstnames":["Rebecca"],"suffixes":[]}],"abstract":"What kind of thing is a ``theory of mind''? We propose to formalize theories of mind as domain-specialized programming languages, which can be used to reason about the mental states of other agents. Our proposal builds on the longstanding idea that thinking is akin to programming in an internal ``language of thought.'' But rather than positing a single general-purpose language for all of thought, we posit a collection of domain-specific languages of thought, whose respective syntaxes and semantices encode the theories of various domains. We make this idea concrete in the domain of intuitive psychology using a real-world programming language called memo, which is specialized for theory-of-mind reasoning via domain-specialized syntactic constructs like ``knows,'' ``wants,'' and ``thinks.'' In our view, using one's theory-of-mind to think about a social situation is analogous to using memo to write a program that models that situation. Through a series of worked examples, we show how formally representing a theory of mind as a memo-like programming language can lend insight into a variety of theoretical issues in theory-of-mind research: (1) how a single, fixed intuitive theory can be used to reason about social situations with unbounded structural variation; (2) how a modular, domain-specialized, and informationally-encapsulated system for social cognition might interface with external world knowledge, as well as other cognitive systems like intuitive physics; and (3) how different theories of mind, such as those of children and adults, differ, what exactly is gained as theories grow over the course of development, and how that growth might occur.","month":"September","year":"2026","copyright":"http://creativecommons.org/licenses/by/4.0/","archiveprefix":"arXiv","primaryclass":"cs.PL","eprint":"2609.19598","bibtex":"@ARTICLE{Chandra2026-ts,\n title = \"Theories of mind as domain-specific languages of thought\",\n author = \"Chandra, Kartik and Ragan-Kelley, Jonathan and Tenenbaum,\n Joshua B and Saxe, Rebecca\",\n abstract = \"What kind of thing is a ``theory of mind''? We propose to\n formalize theories of mind as domain-specialized programming\n languages, which can be used to reason about the mental\n states of other agents. Our proposal builds on the\n longstanding idea that thinking is akin to programming in an\n internal ``language of thought.'' But rather than positing a\n single general-purpose language for all of thought, we posit\n a collection of domain-specific languages of thought, whose\n respective syntaxes and semantices encode the theories of\n various domains. We make this idea concrete in the domain of\n intuitive psychology using a real-world programming language\n called memo, which is specialized for theory-of-mind\n reasoning via domain-specialized syntactic constructs like\n ``knows,'' ``wants,'' and ``thinks.'' In our view, using\n one's theory-of-mind to think about a social situation is\n analogous to using memo to write a program that models that\n situation. Through a series of worked examples, we show how\n formally representing a theory of mind as a memo-like\n programming language can lend insight into a variety of\n theoretical issues in theory-of-mind research: (1) how a\n single, fixed intuitive theory can be used to reason about\n social situations with unbounded structural variation; (2)\n how a modular, domain-specialized, and\n informationally-encapsulated system for social cognition\n might interface with external world knowledge, as well as\n other cognitive systems like intuitive physics; and (3) how\n different theories of mind, such as those of children and\n adults, differ, what exactly is gained as theories grow over\n the course of development, and how that growth might occur.\",\n month = sep,\n year = 2026,\n copyright = \"http://creativecommons.org/licenses/by/4.0/\",\n archivePrefix = \"arXiv\",\n primaryClass = \"cs.PL\",\n eprint = \"2609.19598\"\n}\n\n","author_short":["Chandra, K.","Ragan-Kelley, J.","Tenenbaum, J. B","Saxe, R."],"key":"Chandra2026-ts","id":"Chandra2026-ts","bibbaseid":"chandra-ragankelley-tenenbaum-saxe-theoriesofmindasdomainspecificlanguagesofthought-2026","role":"author","urls":{},"metadata":{"authorlinks":{}}},"bibtype":"article","biburl":"https://bibbase.org/network/files/sRsLeoxvqHeSAvoEg","dataSources":["zXSHkDrNH3ntkMr5P","9yzL2r3QJDmvqcSEy"],"keywords":[],"search_terms":["theories","mind","domain","specific","languages","thought","chandra","ragan-kelley","tenenbaum","saxe"],"title":"Theories of mind as domain-specific languages of thought","year":2026}