DecisionSystems.jl: Closing the Loop Between Physics and Decisions
Engineers validate physical models of the machines they build, but the planners and filters that operate those machines usually run on a second, hand-written model, and the two can drift apart. DecisionSystems.jl removes the second model. A decision system is an ODE model together with a declaration of what a decision maker sets, what it does not know and what it senses, such that every transition is one isolated run of the ODE solver from any state the caller passes. DecisionSystems.jl, a Julia package, builds one from a SciML ODEProblem or a ModelingToolkit System in one constructor call and returns a POMDPs.jl problem, so stock online planners and particle filters run on the model itself, with adaptive steps and events inside every decision interval. The price is a frozen parameter object. Anything that must differ between hypotheses travels in the state, and one keyword, hidden, declares it. Seven guarantees, among them that two branches of a tree search never see each other's actions, guard against failures that produce plausible numbers, and all but one of those failures are pinned by tests. On an 8-state compiled warehouse robot, stock POMCPOW and a stock particle filter, given a 40-line filter postprocess, run the decision system for 200 paired episodes with every physics call going through the package. The package compiles each model's solver fully specialized, which on the warehouse cuts the mean time per decision from 0.24 to 0.09 s; reusing integrators brings it to 0.06 s. Neither changes a single action in 200 episodes. Six stock POMDPs.jl components run the same model without code changes.
Authors
- Venkateshprasad Bhat
Publication Details
- Journal
- Zenodo (CERN European Organization for Nuclear Research)
- Published
- 2026-11-30
- DOI
- https://doi.org/10.5281/zenodo.24698325
- Primary Topic
- Reinforcement Learning in Robotics
- Type
- preprint