Computer Science > Artificial Intelligence
[Submitted on 21 Dec 2020]
Title:Universal Policies for Software-Defined MDPs
View PDFAbstract:We introduce a new programming paradigm called oracle-guided decision programming in which a program specifies a Markov Decision Process (MDP) and the language provides a universal policy. We prototype a new programming language, Dodona, that manifests this paradigm using a primitive 'choose' representing nondeterministic choice. The Dodona interpreter returns either a value or a choicepoint that includes a lossless encoding of all information necessary in principle to make an optimal decision. Meta-interpreters query Dodona's (neural) oracle on these choicepoints to get policy and value estimates, which they can use to perform heuristic search on the underlying MDP. We demonstrate Dodona's potential for zero-shot heuristic guidance by meta-learning over hundreds of synthetic tasks that simulate basic operations over lists, trees, Church datastructures, polynomials, first-order terms and higher-order terms.
Ancillary-file links:
Ancillary files (details):
- src/bin/process_file.py
- src/bin/run_data_generators.py
- src/bin/serve.py
- src/bin/test.py
- src/bin/train.py
- src/dodona/__init__.py
- src/dodona/bridge.py
- src/dodona/graph/__init__.py
- src/dodona/graph/basic.py
- src/dodona/graph/build.py
- src/dodona/graph/compile.py
- src/dodona/graph/render.py
- src/dodona/lang/__init__.py
- src/dodona/lang/basic.py
- src/dodona/lang/env.py
- src/dodona/lang/eval.py
- src/dodona/lang/initial_env.py
- src/dodona/lang/parse.py
- src/dodona/lang/primitives.py
- src/dodona/lang/rollout.py
- src/dodona/lang/search.py
- src/dodona/lang/util.py
- src/dodona/oracle/__init__.py
- src/dodona/oracle/data.py
- src/dodona/oracle/dgt.py
- src/dodona/oracle/losses.py
- src/dodona/oracle/module.py
- src/dodona/oracle/nn_util.py
- src/dodona/oracle/trainer.py
- src/setup.py
- std/basic.dodona
- std/bool.dodona
- std/choose.dodona
- std/church.dodona
- std/fol.dodona
- std/gen-util.dodona
- std/hol.dodona
- std/list.dodona
- std/ltree.dodona
- std/nat.dodona
- std/pattern-match.dodona
- std/poly.dodona
- std/simplify.dodona
- tasks/alist.dodona
- tasks/arith.dodona
- tasks/bool.dodona
- tasks/fol.dodona
- tasks/hol-1.dodona
- tasks/hol-2.dodona
- tasks/hol-3.dodona
- tasks/hol-4.dodona
- tasks/hol.dodona
- tasks/id.dodona
- tasks/list.dodona
- tasks/ltree.dodona
- tasks/planted.dodona
- tasks/poly-1.dodona
- tasks/poly-2.dodona
- tasks/poly-3.dodona
- tasks/poly-4.dodona
- tasks/poly-5.dodona
- tasks/poly.dodona
- tasks/util.dodona
- test/__init__.py
- test/fast/__init__.py
- test/fast/test_dgt.py
- test/fast/test_embedding_nd.py
- test/fast/test_lib.py
- test/fast/test_scatter_nd.py
- test/slow/__init__.py
- test/slow/test_dgt.py
- test/slow/test_lib.py
References & Citations
DBLP - CS Bibliography
Bibliographic and Citation Tools
Bibliographic Explorer (What is the Explorer?)
Connected Papers (What is Connected Papers?)
Litmaps (What is Litmaps?)
scite Smart Citations (What are Smart Citations?)
Code, Data and Media Associated with this Article
alphaXiv (What is alphaXiv?)
CatalyzeX Code Finder for Papers (What is CatalyzeX?)
DagsHub (What is DagsHub?)
Gotit.pub (What is GotitPub?)
Hugging Face (What is Huggingface?)
Papers with Code (What is Papers with Code?)
ScienceCast (What is ScienceCast?)
Demos
Recommenders and Search Tools
Influence Flower (What are Influence Flowers?)
CORE Recommender (What is CORE?)
arXivLabs: experimental projects with community collaborators
arXivLabs is a framework that allows collaborators to develop and share new arXiv features directly on our website.
Both individuals and organizations that work with arXivLabs have embraced and accepted our values of openness, community, excellence, and user data privacy. arXiv is committed to these values and only works with partners that adhere to them.
Have an idea for a project that will add value for arXiv's community? Learn more about arXivLabs.