SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2307.02689 · ACL · 2023

Learning Symbolic Rules over Abstract Meaning Representations for Textual Reinforcement Learning

Alexander Gray, Keerthiram Murugesan, Subhajit Chaudhury, Sarathkrishna Swaminathan, Daiki Kimura, Michiaki Tatsubori, Asim Munawar, Pavan Kapanipathi, Achille Fokoue, Rosario Uceda-Sosa, Prithviraj Sen

arXiv · PDF · Open in the Atlas

Code that ran

We lifted 6 functions out of this paper's own repositories and ran 5 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
ibm/loa canonical 5 of 6
FunctionStatusWhere it lives
get_formatted_obs_text Ran ibm/loa/amr_parser.py
code served (permissive licence) · get_code("4476d005e0c176f7")
get_node_id Ran ibm/loa/amr_parser.py
code served (permissive licence) · get_code("a413540a6f34c792")
ground_predicate Ran ibm/loa/utils.py
code served (permissive licence) · get_code("7be31b4c520794b8")
instantiate Ran ibm/loa/utils.py
code served (permissive licence) · get_code("50c0baee9140f776")
is_whitespace Ran ibm/loa/utils.py
code served (permissive licence) · get_code("d043534ad59e6029")
get_all_admissible_verbs Not yet run ibm/loa/logical_twc.py
code served (permissive licence) · get_code("5e66694e0bb9b326")

Repositories linked to this paper

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

Abstract

Text-based reinforcement learning agents have predominantly been neural network-based models with embeddings-based representation, learning uninterpretable policies that often do not generalize well to unseen games. On the other hand, neuro-symbolic methods, specifically those that leverage an intermediate formal representation, are gaining significant attention in language understanding tasks. This is because of their advantages ranging from inherent interpretability, the lesser requirement of training data, and being generalizable in scenarios with unseen data. Therefore, in this paper, we propose a modular, NEuro-Symbolic Textual Agent (NESTA) that combines a generic semantic parser with a rule induction system to learn abstract interpretable rules as policies. Our experiments on established textbased game benchmarks show that the proposed NESTA method outperforms deep reinforcement learning-based techniques by achieving better generalization to unseen test games and learning from fewer training interactions.

For agents

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

get_harvested_code_for_paper("2307.02689")
get_code_for_paper("2307.02689")
have("2307.02689")

Connect an agent — have() is free.