SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2502.15676 · NeurIPS · 2025

AutoToM: Scaling Model-based Mental Inference via Automated Agent Modeling

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

arXiv · PDF · Open in the Atlas

Code that ran

12 of 20 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (0 of them constructed an object rather than computing a result; 1 honoured the contract we drafted, 0 violated it and 9 have no contract verdict; 2 failures of our instrument; 8 no recorded run), measured 2026-11-23; repository links from the Papers with Code archive attributed under CC BY-SA, no affiliation; bodies inline only under a permissive licence as GitHub detects it. Not a reproduction of the paper's results.

"Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results. This record, dated, as JSON: /api/ran/2502.15676.json · badge: /api/ran/2502.15676.svg

Each repository's role is a label: a classifier's output recorded on the link, or, where no role is recorded, what the Papers with Code archive marked. The line under it names its basis. Neither says who wrote the code.

RepositoryRoleRan
chuanyangjin/MMToM-QA canonical (classifier label)
classifier basis not recorded on the link
9 ran · 4 no recorded run
SCAI-JHU/AutoToM canonical (classifier label)
classifier basis: classifier_2025
3 ran · 4 no recorded run
FunctionStatusWhere it lives
capping_value Ran
ran, honoured the contract we drafted
SCAI-JHU/AutoToM/model/BayesianInference.py
code served (permissive licence) · get_code("c281d90797146140")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned float, ndim 0, dtype family float, shape () as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import numpy as np

torch.manual_seed(0)

ARGS = {
    'prob_a': 0.5,
    'approximate': False
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type float, ndim 0, dtype family float, shape () — shape () as a later run recorded it
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
filter_graph Ran
ran on a synthesized input
chuanyangjin/MMToM-QA/BIP-ALM/graph_utils.py
code served (permissive licence) · get_code("9d6967fc6d6fb660")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned dict. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import numpy as np

ROOM_LIST = ['bathroom', 'bedroom', 'kitchen', 'livingroom']

SURFACE_LIST = ['coffeetable', 'desk', 'kitchentable', 'sofa']

CONTAINER_LIST = ['kitchencabinet', 'cabinet', 'bathroomcabinet', 'dishwasher', 'fridge', 'microwave', 'stove']

OBJECT_LIST = ['apple', 'book', 'chips', 'condimentbottle', 'cupcake', 'dishbowl', 'plate', 'remotecontrol', 'salmon', 'waterglass', 'wine', 'wineglass']

CHARACTER_LIST = ['character']

ALL_LIST = ROOM_LIST + SURFACE_LIST + CONTAINER_LIST + OBJECT_LIST + CHARACTER_LIST

# Construct a minimal valid graph structure
graph = {
    'nodes': [
        {'id': 0, 'class_name': 'bathroom'},
        {'id': 1, 'class_name': 'sofa'},
        {'id': 2, 'class_name': 'apple'},
        {'id': 3, 'class_name': 'kitchen'},
        {'id': 4, 'class_name': 'unknown_class'},
    ],
    'edges': [
        {'from_id': 0, 'to_id': 1},
        {'from_id': 1, 'to_id': 2},
        {'from_id': 2, 'to_id': 3},
        {'from_id': 3, 'to_id': 4},
    ]
}

ARGS = {
    'graph': graph,
    'ROOM_LIST': ROOM_LIST,
    'OBJ_CLASSES': ALL_LIST
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type dict — a dict output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a dict output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
get_full_name Ran
ran; our contract draft was wrong, not the code
SCAI-JHU/AutoToM/experiment_2/food_truck_scenarios/eval_AutoToM.py
code served (permissive licence) · get_code("e6a4ae1c85273c05")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1) and returned str. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import torch.nn as nn

def get_full_name(d):
    if d == 'K':
        return 'Korean'
    if d == 'L':
        return 'Lebanese'
    if d == 'M':
        return 'Mexican'

# The function takes a single parameter 'd' which is a string
# It checks if d equals 'K', 'L', or 'M' and returns the corresponding full name
# We need to provide a valid string argument

ARGS = {
    'd': 'K'
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type str — a str output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a str output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
get_id2node Ran
ran on a synthesized input
chuanyangjin/MMToM-QA/BIP-ALM/graph_utils.py
code served (permissive licence) · get_code("9c51b4f6a608944e")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned dict. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch

torch.manual_seed(0)

# Construct a graph dict with nodes that have 'id' keys
graph = {
    'nodes': [
        {'id': 0, 'label': 'node_0', 'value': 1},
        {'id': 1, 'label': 'node_1', 'value': 2},
        {'id': 2, 'label': 'node_2', 'value': 3},
    ]
}

ARGS = {
    'graph': graph
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type dict — a dict output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a dict output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
load_pickles Ran
ran on a synthesized input
chuanyangjin/MMToM-QA/BIP-ALM/generate_finetuning_dataset.py
code served (permissive licence) · get_code("91dd2e4b634cc8a5")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned dict. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import os
import pickle
import tempfile
import shutil

# Create a temporary directory with pickle files
temp_dir = tempfile.mkdtemp()

# Create some sample pickle files
sample_data_1 = {"key1": "value1", "key2": [1, 2, 3]}
sample_data_2 = {"nested": {"data": "example"}}

pickle_file_1 = os.path.join(temp_dir, "data1.pik")
pickle_file_2 = os.path.join(temp_dir, "data2.pik")

with open(pickle_file_1, 'wb') as f:
    pickle.dump(sample_data_1, f)

with open(pickle_file_2, 'wb') as f:
    pickle.dump(sample_data_2, f)

# Also create a standalone pickle file for single file mode
standalone_pickle_path = os.path.join(temp_dir, "standalone.pik")
standalone_data = {"standalone": "data"}
with open(standalone_pickle_path, 'wb') as f:
    pickle.dump(standalone_data, f)

# Define ARGS for folder mode (default)
ARGS = {
    "path": temp_dir,
    "folder": True
}

# Note: To test single file mode, you could also use:
# ARGS = {
#     "path": standalone_pickle_path,
#     "folder": False
# }
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
none outside the standard library — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type dict — a dict output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a dict output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
load_pickles Ran
ran on a synthesized input
chuanyangjin/MMToM-QA/BIP-ALM/visual_perception.py
code served (permissive licence) · get_code("9fc6add2665e10d7")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned dict. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import pickle
import tempfile
import os

# Create a temporary directory with pickle files
temp_dir = tempfile.mkdtemp()

# Create some sample pickle files
sample_data_1 = {"key1": "value1", "key2": [1, 2, 3]}
sample_data_2 = {"key3": "value3", "nested": {"inner": "data"}}

pickle_file_1 = os.path.join(temp_dir, "data1.pik")
pickle_file_2 = os.path.join(temp_dir, "data2.pik")

with open(pickle_file_1, 'wb') as f:
    pickle.dump(sample_data_1, f)

with open(pickle_file_2, 'wb') as f:
    pickle.dump(sample_data_2, f)

# Also create a single pickle file for the non-folder case
single_pickle_file = os.path.join(temp_dir, "single.pik")
single_data = {"single": "data", "value": 42}
with open(single_pickle_file, 'wb') as f:
    pickle.dump(single_data, f)

ARGS = {
    "path": temp_dir,
    "folder": True
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
none outside the standard library — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type dict — a dict output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a dict output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
read_frame_intervals Ran
ran on a synthesized input
chuanyangjin/MMToM-QA/BIP-ALM/visual_perception.py
code served (permissive licence) · get_code("8e2c4cea7bf40527")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned dict. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import pickle
import tempfile
import os

# Create a temporary directory for the test
temp_dir = tempfile.mkdtemp()

# Create a valid pickle file with frame intervals data
intervals_data = {
    'frame_1': (0, 10),
    'frame_2': (10, 20),
    'frame_3': (20, 30)
}

pickle_path = os.path.join(temp_dir, 'frame_intervals.pik')
with open(pickle_path, 'wb') as f:
    pickle.dump(intervals_data, f)

# Set up the parent_path to point to the temp directory with trailing separator
parent_path = temp_dir + os.sep

ARGS = {
    'parent_path': parent_path
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
none outside the standard library — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type dict — a dict output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a dict output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
remove_item Ran
ran on a synthesized input
chuanyangjin/MMToM-QA/BIP-ALM/inverse_symbolic_planner.py
code served (permissive licence) · get_code("2d68812439daf499")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned str. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch

ARGS = {
    "s": "apple, banana, cherry, date",
    "item_to_remove": "banana"
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type str — a str output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a str output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
split_actions Ran
ran on a synthesized input
chuanyangjin/MMToM-QA/BIP-ALM/generate_finetuning_dataset.py
code served (permissive licence) · get_code("145dfd845cadb346")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned tuple, ndim 2, dtype family float; no output shape is stated. The image it ran in was not recorded. If your copy returns the same type and ndim on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch

# Examine the function: it expects 'actions' to be an iterable of strings
# Each string is formatted as: 'verb noun noun_id' where each component is wrapped in brackets
# The function splits each action string and extracts the three components

# Create valid action strings matching the expected format
actions = [
    "[run] [jump] [5]",
    "[walk] [sit] [3]"
]

ARGS = {
    "actions": actions
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type tuple, ndim 2, dtype family float — a tuple output has no array shape of its own; none is stated
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
transform_actions Ran
ran on a synthesized input
chuanyangjin/MMToM-QA/BIP-ALM/generate_finetuning_dataset.py
code served (permissive licence) · get_code("e284acf374ca4072")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned list, ndim 1, dtype family float; no output shape is stated. The image it ran in was not recorded. If your copy returns the same type and ndim on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch

def transform_actions(actions):
    transformed_actions = []
    for action in actions:
        transformed_actions.append(action.split(' ')[0][1:-1] + ' ' + action.split(' ')[1][1:-1])
    return transformed_actions

# The function takes a list of strings where each string has the format:
# "[word1] [word2]" and extracts word1 and word2 (removing brackets)
actions = [
    "[hello] [world]",
    "[foo] [bar]",
]

ARGS = {
    "actions": actions
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type list, ndim 1, dtype family float — a list output has no array shape of its own; none is stated
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
transform_graph Ran
ran on a synthesized input
chuanyangjin/MMToM-QA/BIP-ALM/graph_utils.py
code served (permissive licence) · get_code("305fbcb2b3de72c1")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned str. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

# Analyzing the function transform_graph to understand what it needs:
# - graph: a dict with 'nodes' and 'edges' keys
# - new_names: a dict mapping node IDs to new names

# Build a minimal valid graph structure
graph = {
    'nodes': [
        {'id': 0, 'class_name': 'kitchen'},
        {'id': 1, 'class_name': 'kitchencabinet'},
        {'id': 2, 'class_name': 'apple'},
        {'id': 3, 'class_name': 'plate'},
        {'id': 4, 'class_name': 'bedroom'},
        {'id': 5, 'class_name': 'sofa'},
        {'id': 6, 'class_name': 'book'},
    ],
    'edges': [
        {'from_id': 1, 'to_id': 0},  # kitchencabinet -> kitchen
        {'from_id': 2, 'to_id': 1},  # apple -> kitchencabinet
        {'from_id': 3, 'to_id': 1},  # plate -> kitchencabinet
        {'from_id': 5, 'to_id': 4},  # sofa -> bedroom
        {'from_id': 6, 'to_id': 5},  # book -> sofa
    ]
}

new_names = {
    1: '1st kitchencabinet from left to right',
    5: 'sofa'
}

ARGS = {
    'graph': graph,
    'new_names': new_names
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
none outside the standard library — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type str — a str output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a str output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
translate_truck Ran
ran; our contract draft was wrong, not the code
SCAI-JHU/AutoToM/experiment_2/food_truck_scenarios/eval_AutoToM.py
code served (permissive licence) · get_code("b59f27e924706f70")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1) and returned str. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import numpy as np

torch.manual_seed(0)

# Analyze the function signature and body:
# translate_truck(d, sp)
# - d: appears to be a string where d[0] is checked against 'N', and get_full_name(d[0]) is called
#      get_full_name expects 'K', 'L', 'M', or other values
#      d[1] is accessed as a string (e.g., "with" or "without")
# - sp: used in an f-string, so it should be a value that can be converted to string

# Construct valid arguments
d = "K with"  # d[0] = 'K' (valid for get_full_name), d[1] = ' ' but we need d[1] to be meaningful
d = "Kwith"   # d[0] = 'K', d[1] = 'w' - but looking at usage, d[1] should be a string describing line of sight
d = "K clear"  # d[0] = 'K', d[1] = ' ' - still not right

# Re-reading: d[1] is used in the f-string as part of the message
# It seems d should be a string where d[0] is the truck type and d[1:] or d[1] describes line of sight
# But d[1] is accessed as a single character. Let me check the f-string again:
# f'The {get_full_name(d[0])} truck is in spot {sp}, {d[1]} line of sight'
# So d[1] should be a single character or string that makes sense

# Most likely: d is a string like "Kwith" where d[0]='K' and d[1]='w' (first char of descriptor)
# Or d could be structured differently. Let's assume d is a string:
d = "K clear"  # d[0]='K', d[1]=' ' - this would give "The Korean truck is in spot X,   line of sight"
# That doesn't look right either.

# Let me assume d[1] should be a meaningful descriptor:
d = "Kwith"  # d[0]='K', d[1]='w' -> "The Korean truck is in spot X, w line of sight"
# Or perhaps the intent is d is like "K-clear" and we access d[1] as the second character

# Simplest interpretation: d is a string, d[0] is truck type, d[1] is first char of descriptor
d = "Kclear"  # d[0]='K', d[1]='c'
sp = 5

ARGS = {
    "d": "Kclear",
    "sp": 5
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1
Imports
numpy, torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type str — a str output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a str output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
BayesianInferenceModel Not yet run
unverified (harvested, no recorded run)
SCAI-JHU/AutoToM/model/BayesianInference.py
code served (permissive licence) · get_code("4fae6c3fd70afc8a")
How it ran

no invocation recorded.

generate_chat_response Not yet run
unverified (harvested, no recorded run)
chuanyangjin/MMToM-QA/BIP-ALM/testing_gpt.py
code served (permissive licence) · get_code("9e0462c3e4339871")
How it ran

no invocation recorded.

generate_response Not yet run
unverified (harvested, no recorded run)
chuanyangjin/MMToM-QA/BIP-ALM/testing_gpt.py
code served (permissive licence) · get_code("2f2910e1108a303e")
How it ran

no invocation recorded.

generate_response_gpt4v Not yet run
unverified (harvested, no recorded run)
chuanyangjin/MMToM-QA/BIP-ALM/testing_gpt.py
code served (permissive licence) · get_code("7a2201f8d94f0683")
How it ran

no invocation recorded.

get_likelihood Not yet run
unverified (harvested, no recorded run)
SCAI-JHU/AutoToM/model/BayesianInference.py
code served (permissive licence) · get_code("193733e23f574eec")
How it ran

no invocation recorded.

get_likelihood_general Not yet run
unverified (harvested, no recorded run)
SCAI-JHU/AutoToM/model/BayesianInference.py
code served (permissive licence) · get_code("fe1125ca1e0d2aff")
How it ran

no invocation recorded.

main Not yet run
unverified (harvested, no recorded run)
chuanyangjin/MMToM-QA/BIP-ALM/inverse_symbolic_planner.py
code served (permissive licence) · get_code("15217c48be12b1ec")
How it ran

no invocation recorded.

see_truck Not yet run
unverified (harvested, no recorded run)
SCAI-JHU/AutoToM/experiment_2/food_truck_scenarios/eval_AutoToM.py
code served (permissive licence) · get_code("472ae09c86ea5f9a")
How it ran

no invocation recorded. this sample carries JSON test cases instead of a setup block; get_reference_implementation serves them with the level they back.

Also present in other papers' code

Of 20 samples lifted from this paper's linked repositories, 20 carry a function identity and 0 do not. Of the 19 distinct functions with an identity, 0 are also present in other papers whose code we hold (0 with at least one paper dated earlier, 0 the same month, 0 later) and 19 are only here among the 52,977 papers whose code Syntology holds (as of 2026-09-26).

Only here means: among the 52,977 papers whose code Syntology holds (51,887 with lifted samples, 1,090 through their assemblies only), as of 2026-09-26, no other paper's lifted samples or current assembly bricks contain an identical function body after normalisation.

Presence, not direction: an identical function body in two papers' repositories does not say who wrote it, which came from which, or that either paper's method rests on it. Matching is exact after normalisation, so a renamed or edited function is not matched. Dates are when papers appeared, not when code was written. Only .py files the harvester lifted are covered; notebooks are not read. A new-style arXiv id YYMM.NNNN dates a paper to the month 20YY-MM; otherwise Paper.year dates it to the year; otherwise it is undated. Dates are when the paper appeared, not when the code was written. Read 2026-11-23.

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

Abstract

Theory of Mind (ToM), the ability to understand people's minds based on their behavior, is key to developing socially intelligent agents. Current approaches to ToM reasoning either rely on prompting Large Language Models (LLMs), which are prone to systematic errors, or use handcrafted, rigid agent models for model-based inference, which are more robust but fail to generalize across domains. In this work, we introduce AutoToM , an automated agent modeling method for scalable, robust, and interpretable mental inference. Given a ToM problem, AutoToM first proposes an initial agent model and then performs automated Bayesian inverse planning based on this model, leveraging an LLM backend. Guided by inference uncertainty, it iteratively refines the model by introducing additional mental variables and/or incorporating more timesteps in the context. Across five diverse benchmarks, AutoToM outperforms existing ToM methods and even large reasoning models. Additionally, we show that AutoToM can produce human-like confidence estimates and enable online mental inference for embodied decision-making. * Equal contribution. ZZ and MYJ developed the Automated Bayesian Inverse Planning; CJ developed the Automated Agent Model Discovery; ZZ, MYJ and CJ conducted experiments on five ToM benchmarks; ZZ conducted experiments on two cognitive studies; SZ and CJ conducted experiments on embodied assistance; CJ drafted the paper. ZZ completed this work during an internship at JHU. † Project Lead.

For agents

The same record, over MCP at https://syntology.ai/mcp:

get_harvested_code_for_paper("2502.15676")
get_code_for_paper("2502.15676")
have("2502.15676")

The run record, dated, one paper per request, free:

curl https://syntology.ai/api/ran/2502.15676.json

A badge for a README (the split and the date, never a ratio):

[![Syntology run record](https://syntology.ai/api/ran/2502.15676.svg)](https://syntology.ai/paper/2502.15676)

Connect an agent — have() is free.