Conniving With Continuations: Representing Goals in a Domain‐Specific Language of Thought

Wanting composes flexibly with knowing: we can want to know, want to know what someone wants, and so on. In this paper, we develop a goal representation that allows for this type of rich integration between goals and other theory-of-mind concepts. We extend the memo programming language, which is specialized for theory-of-mind reasoning, with a new syntactic construct called "wants" that represents goals. To implement "wants," we borrow an idea from programming language theory: the notion of a "continuation," which allows reasoning about possible future states of a program. We show that the new "wants" construct can be composed with other memo primitives to represent a wide variety of interesting goals, and we discuss what the design of this construct can teach us about the concept of desire more broadly.

Authors

Institutions

Publication Details

Journal
Topics in Cognitive Science
Published
2026-05-21
DOI
https://doi.org/10.1111/tops.70054
Primary Topic
Advanced Software Engineering Methodologies
Type
article
Field-Weighted Citation Impact
0.00

Funders

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Conniving With Continuations: Representing Goals in a Domain‐Specific Language of Thought

Kartik Chandra, Jonathan Ragan‐Kelley, Rebecca Saxe, Joshua B. Tenenbaum
Topics in Cognitive Science
Advanced Software Engineering Methodologies
article

Conniving With Continuations: Representing Goals in a Domain‐Specific Language of Thought

Kartik Chandra, Jonathan Ragan‐Kelley, Rebecca Saxe, Joshua B. Tenenbaum
article en

Abstract

Wanting composes flexibly with knowing: we can want to know, want to know what someone wants, and so on. In this paper, we develop a goal representation that allows for this type of rich integration between goals and other theory-of-mind concepts. We extend the memo programming language, which is specialized for theory-of-mind reasoning, with a new syntactic construct called "wants" that represents goals. To implement "wants," we borrow an idea from programming language theory: the notion of a "continuation," which allows reasoning about possible future states of a program. We show that the new "wants" construct can be composed with other memo primitives to represent a wide variety of interesting goals, and we discuss what the design of this construct can teach us about the concept of desire more broadly.

Topics in Cognitive Science
Institute of Cognitive and Brain Sciences (US), Artificial Intelligence in Medicine (Canada) (CA), Massachusetts Institute of Technology (US)
Simons Foundation, Hertz Foundation
Reduced inequalities
Openalex Percentile: Top 4%
Advanced Software Engineering Methodologies
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.