SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2410.22459 · 2024

Predicting Future Actions of Reinforcement Learning Agents

arXiv · PDF · Open in the Atlas

Code that ran

We lifted 4 functions out of this paper's own repositories and ran 3 of them in a sandbox. "Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results.

RepositoryRoleRan
stephen-chung-mh/predict_action canonical 3 of 4
FunctionStatusWhere it lives
conv_greyscale Ran stephen-chung-mh/predict_action/thinker/detect/detect_gen.py
code served (permissive licence) · get_code("0ef3a5ae92f974da")
evaluate_detect Ran stephen-chung-mh/predict_action/thinker/detect/detect_train.py
code served (permissive licence) · get_code("056907c66b08dba8")
transform_data Ran stephen-chung-mh/predict_action/thinker/detect/detect_train.py
code served (permissive licence) · get_code("ef34b3bf8afad266")
train_epoch Not yet run stephen-chung-mh/predict_action/thinker/detect/detect_train.py
code served (permissive licence) · get_code("b275dd366665360d")

Repositories linked to this paper

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

Abstract

As reinforcement learning agents become increasingly deployed in real-world scenarios, predicting future agent actions and events during deployment is important for facilitating better human-agent interaction and preventing catastrophic outcomes. This paper experimentally evaluates and compares the effectiveness of future action and event prediction for three types of RL agents: explicitly planning, implicitly planning, and non-planning. We employ two approaches: the inner state approach, which involves predicting based on the inner computations of the agents (e.g., plans or neuron activations), and a simulation-based approach, which involves unrolling the agent in a learned world model. Our results show that the plans of explicitly planning agents are significantly more informative for prediction than the neuron activations of the other types. Furthermore, using internal plans proves more robust to model quality compared to simulation-based approaches when predicting actions, while the results for event prediction are more mixed. These findings highlight the benefits of leveraging inner states and simulations to predict future agent actions and events, thereby improving interaction and safety in real-world deployments.

For agents

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

get_harvested_code_for_paper("2410.22459")
get_code_for_paper("2410.22459")
have("2410.22459")

Connect an agent — have() is free.