Papers › AutoToM: Automated Bayesian Inverse Planning and Model Discovery for Open-ended Theory of Mind

AutoToM: Automated Bayesian Inverse Planning and Model Discovery for Open-ended Theory of Mind

21 Feb 2025arXiv:2502.15676archive 2025-07-28

Zhining Zhang, Chuanyang Jin, Mung Yao Jia, Tianmin Shu

Theory of Mind (ToM), the ability to understand people's mental variables based on their behavior, is key to developing socially intelligent agents. Current approaches to Theory of Mind reasoning either rely on prompting Large Language Models (LLMs), which are prone to systematic errors, or use rigid, handcrafted Bayesian Theory of Mind (BToM) models, which are more robust but cannot generalize across different domains. In this work, we introduce AutoToM, an automated Bayesian Theory of Mind method for achieving open-ended machine Theory of Mind. AutoToM can operate in any domain, infer any mental variable, and conduct robust Theory of Mind reasoning of any order. Given a Theory of Mind inference problem, AutoToM first proposes an initial BToM model. It then conducts automated Bayesian inverse planning based on the proposed model, leveraging an LLM as the backend. Based on the uncertainty of the inference, it iteratively refines the model, by introducing additional mental variables and/or incorporating more timesteps in the context. Empirical evaluations across multiple Theory of Mind benchmarks demonstrate that AutoToM consistently achieves state-of-the-art performance, offering a scalable, robust, and interpretable approach to machine Theory of Mind.

PaperPDFCodeCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2502.15676")

Code

Syntology Ran 3 of 20 code samples harvested from 2 repositories linked to this paper; 17 have no recorded run. Of those that ran: 1 ran · honoured contract; 2 ran · our draft was wrong.

By repository: official repository: 7 samples from 1 repository, 3 ran; community (archive-listed): 13 samples from 1 repository, 0 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

SCAI-JHU/AutoToM officialmentioned on GitHub report
chuanyangjin/MMToM-QA mentioned on GitHubpytorchApache-2.0 report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

20 samples harvested; 3 ran; 1 honoured the contract we drafted; 17 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

1ran · honoured contract
2ran · our draft was wrong
17unverified

Licence: 0 of the 20 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from 2 repositories linked to this paper, official or community; each sample names its own and says which. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

capping_value SCAI-JHU/AutoToM/model/BayesianInference.py official repository ran · honoured contract fingerprinted Apache-2.0 (permissive) · c281d90797146140 · report
get_full_name SCAI-JHU/AutoToM/experiment_2/food_truck_scenarios/eval_AutoToM.py official repository ran · our draft was wrong fingerprinted Apache-2.0 (permissive) · e6a4ae1c85273c05 · report
translate_truck SCAI-JHU/AutoToM/experiment_2/food_truck_scenarios/eval_AutoToM.py official repository ran · our draft was wrong fingerprinted Apache-2.0 (permissive) · b59f27e924706f70 · report
BayesianInferenceModel SCAI-JHU/AutoToM/model/BayesianInference.py official repository unverified Apache-2.0 (permissive) · 4fae6c3fd70afc8a · report
get_likelihood SCAI-JHU/AutoToM/model/BayesianInference.py official repository unverified Apache-2.0 (permissive) · 193733e23f574eec · report
get_likelihood_general SCAI-JHU/AutoToM/model/BayesianInference.py official repository unverified Apache-2.0 (permissive) · fe1125ca1e0d2aff · report
see_truck SCAI-JHU/AutoToM/experiment_2/food_truck_scenarios/eval_AutoToM.py official repository unverified Apache-2.0 (permissive) · 472ae09c86ea5f9a · report
filter_graph chuanyangjin/MMToM-QA/BIP-ALM/graph_utils.py community (archive-listed) unverified Apache-2.0 (permissive) · 9d6967fc6d6fb660 · report
generate_chat_response chuanyangjin/MMToM-QA/BIP-ALM/testing_gpt.py community (archive-listed) unverified Apache-2.0 (permissive) · 9e0462c3e4339871 · report
generate_response chuanyangjin/MMToM-QA/BIP-ALM/testing_gpt.py community (archive-listed) unverified Apache-2.0 (permissive) · 2f2910e1108a303e · report
generate_response_gpt4v chuanyangjin/MMToM-QA/BIP-ALM/testing_gpt.py community (archive-listed) unverified Apache-2.0 (permissive) · 7a2201f8d94f0683 · report
get_id2node chuanyangjin/MMToM-QA/BIP-ALM/graph_utils.py community (archive-listed) unverified Apache-2.0 (permissive) · 9c51b4f6a608944e · report
load_pickles chuanyangjin/MMToM-QA/BIP-ALM/generate_finetuning_dataset.py community (archive-listed) unverified Apache-2.0 (permissive) · 91dd2e4b634cc8a5 · report
load_pickles chuanyangjin/MMToM-QA/BIP-ALM/visual_perception.py community (archive-listed) unverified Apache-2.0 (permissive) · 9fc6add2665e10d7 · report
main chuanyangjin/MMToM-QA/BIP-ALM/inverse_symbolic_planner.py community (archive-listed) unverified Apache-2.0 (permissive) · 15217c48be12b1ec · report
read_frame_intervals chuanyangjin/MMToM-QA/BIP-ALM/visual_perception.py community (archive-listed) unverified Apache-2.0 (permissive) · 8e2c4cea7bf40527 · report
remove_item chuanyangjin/MMToM-QA/BIP-ALM/inverse_symbolic_planner.py community (archive-listed) unverified Apache-2.0 (permissive) · 2d68812439daf499 · report
split_actions chuanyangjin/MMToM-QA/BIP-ALM/generate_finetuning_dataset.py community (archive-listed) unverified Apache-2.0 (permissive) · 145dfd845cadb346 · report
transform_actions chuanyangjin/MMToM-QA/BIP-ALM/generate_finetuning_dataset.py community (archive-listed) unverified Apache-2.0 (permissive) · e284acf374ca4072 · report
transform_graph chuanyangjin/MMToM-QA/BIP-ALM/graph_utils.py community (archive-listed) unverified Apache-2.0 (permissive) · 305fbcb2b3de72c1 · report

Tasks

Model Discovery

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections