SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2101.11992 · ICLR · 2021

Acting in Delayed Environments with Non-Stationary Markov Policies

Shie Mannor, Esther Derman, Gal Dalal

arXiv · PDF · Open in the Atlas

Code that ran

We lifted 7 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
galdl/rl_delay_basic canonical 3 of 7
FunctionStatusWhere it lives
ForwardModel Ran galdl/rl_delay_basic/dqn_agents.py
code served (permissive licence) · get_code("bac53a374bb21edc")
concatenate_state_action Ran galdl/rl_delay_basic/dqn_agents.py
code served (permissive licence) · get_code("64ee35f5621332c6")
reshape_state Ran galdl/rl_delay_basic/dqn_agents.py
code served (permissive licence) · get_code("b4c93343c916d898")
DDQNAgent Not yet run galdl/rl_delay_basic/dqn_agents.py
code served (permissive licence) · get_code("5b1a8d1d169f146e")
DDQNPlanningAgent Not yet run galdl/rl_delay_basic/dqn_agents.py
code served (permissive licence) · get_code("c0594047adeb6fb6")
DQNAgent Not yet run galdl/rl_delay_basic/dqn_agents.py
code served (permissive licence) · get_code("96778dedd8f50887")
update_loss Not yet run galdl/rl_delay_basic/dqn_agents.py
code served (permissive licence) · get_code("3880ba2e2c852b2c")

Repositories linked to this paper

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

Abstract

The standard Markov Decision Process (MDP) formulation hinges on the assumption that an action is executed immediately after it was chosen. However, assuming it is often unrealistic and can lead to catastrophic failures in applications such as robotic manipulation, cloud computing, and finance. We introduce a framework for learning and planning in MDPs where the decision-maker commits actions that are executed with a delay of m steps. The brute-force state augmentation baseline where the state is concatenated to the last m committed actions suffers from an exponential complexity in m, as we show for policy iteration. We then prove that with execution delay, deterministic Markov policies in the original state-space are sufficient for attaining maximal reward, but need to be non-stationary. As for stationary Markov policies, we show they are sub-optimal in general. Consequently, we devise a non-stationary Q-learning style model-based algorithm that solves delayed execution tasks without resorting to state-augmentation. Experiments on tabular, physical, and Atari domains reveal that it converges quickly to high performance even for substantial delays, while standard approaches that either ignore the delay or rely on state-augmentation struggle or fail due to divergence. The code is available at github.com/galdl/rl_delay_basic and github.com/galdl/rl_delay_atari.

For agents

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

get_harvested_code_for_paper("2101.11992")
get_code_for_paper("2101.11992")
have("2101.11992")

Connect an agent — have() is free.