Reproduce “CASSANDRA: Programmatic and Probabilistic Learning and Inference for Stochastic World Modeling” on OpenResearch
Turn your favorite coding agents into research agents that review literature, develop hypotheses, and run experiments.
Universal app for Apple silicon and Intel. Requires macOS 11 or later.
About this paper
Panagiotis Lymperopoulos, Abhiramon Rajasekharan, Ian Berlot-Attwell, Stéphane Aroca-Ouellette, Kaheer Suleman
CASSANDRA, a neurosymbolic framework, models stochastic environments by combining LLM-generated Python code for deterministic dynamics with LLM-guided Bayesian Networks for stochastic variables. This approach significantly enhances planning performance, achieving a 95% survival rate in a complex theme park simulator compared to an 8% survival rate for a baseline LLM-based model.
Key insights
- Explicitly decoupling deterministic and stochastic components enables a more principled and accurate approach to modeling complex, mixed-dynamic environments.
- Leveraging LLMs as knowledge priors to guide the generation and learning of explicit, interpretable models (programmatic code and Bayesian Networks) is more effective than using LLMs as direct world models, avoiding their computational and reliability limitations.
- Targeted refinement mechanisms, such as an evolutionary algorithm for code and simulated annealing with LLM-based priors for causal graph structures, are crucial for robust model learning from limited data.
Summary by alphaXiv.
Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.