Skip to main content
QUICK REVIEW

[Paper Review] Programmable Agents

Misha Denil, Sergio Gómez Colmenarejo|arXiv (Cornell University)|Jun 20, 2017
Topic ModelingComputer Science23 references4 citations
TL;DR

This paper introduces Programmable Agents—deep reinforcement learning agents that execute declarative programs in a formal language by grounding symbols to environmental properties through end-to-end training. The agents achieve near-perfect zero-shot generalization to novel combinations of known and unknown object properties, outperforming standard architectures on tasks involving unseen shapes, colors, and distractors.

ABSTRACT

We build deep RL agents that execute declarative programs expressed in formal language. The agents learn to ground the terms in this language in their environment, and can generalize their behavior at test time to execute new programs that refer to objects that were not referenced during training. The agents develop disentangled interpretable representations that allow them to generalize to a wide variety of zero-shot semantic tasks.

Motivation & Objective

  • To develop agents capable of executing declarative programs expressed in a formal language grounded in environmental observations.
  • To enable zero-shot generalization to novel object properties and combinations not seen during training.
  • To ensure robustness against catastrophic forgetting when switching between task distributions.
  • To create interpretable, disentangled representations that explicitly map to program terms via activation maps.
  • To train agents end-to-end with only environment-based rewards, without auxiliary supervision or control tasks.

Proposed method

  • The agents use a novel 'Programmable Network' architecture that enforces a structured bottleneck to promote disentangled, compositional representations of object properties.
  • Each program is executed via a differentiable, program-specific architecture that maps to a fixed set of object properties (e.g., color, shape) in the environment.
  • The agent observes the environment through a CNN-based feature extractor and produces activation maps that explicitly represent the grounding of program terms to objects.
  • Reinforcement learning is applied end-to-end using a reward signal from a verifier that checks program satisfaction based on true state information.
  • The system uses a search procedure (the agent) that acts on observations to modify the environment toward satisfying the program.
  • Generalization is enabled by learning to distinguish and compose independent properties (e.g., color and shape), allowing inference via exclusion (e.g., 'not red') or novel combinations.

Experimental results

Research questions

  • RQ1Can deep RL agents learn to ground declarative program terms in visual environments without supervision on property assignment?
  • RQ2To what extent can agents generalize to zero-shot tasks involving novel combinations of known and unknown object properties?
  • RQ3Can agents maintain performance on original tasks after being fine-tuned on new, unseen tasks, avoiding catastrophic forgetting?
  • RQ4Can interpretable, disentangled representations emerge end-to-end from raw observations and program execution?
  • RQ5Does the use of a declarative programming paradigm enable stronger compositional and generalizable behavior than imperative or functional program execution in RL?

Key findings

  • The Programmable Agent achieved near-perfect zero-shot performance on all generalization conditions in the 3-D design, including tasks with novel shapes, novel colors, and novel combinations of both.
  • In contrast, standard deep RL architectures failed completely on the same 3x3 environment, performing no better than random baseline.
  • The agent generalized successfully to tasks with different numbers of blocks (up to 10) and ignored distractor blocks with novel properties.
  • The agent demonstrated robustness to catastrophic forgetting: performance on original tasks remained stable even after 2.5 million steps of fine-tuning on new tasks.
  • Visualizations of activation maps confirmed that the agent learned explicit, interpretable mappings between program terms and object properties.
  • The method enabled generalization to novel properties via exclusion (e.g., 'the object that is not red'), even when such references were never seen during training.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.