Skip to main content
QUICK REVIEW

[Paper Review] A Boolean Task Algebra for Reinforcement Learning

Geraud Nangue Tasse, Steven James|arXiv (Cornell University)|Jan 6, 2020
Reinforcement Learning in RoboticsComputer Science20 references12 citations
TL;DR

This paper introduces a Boolean task algebra for reinforcement learning that enables zero-shot composition of tasks using disjunction, conjunction, and negation. By learning extended goal-oriented value functions over base tasks, agents can optimally solve any logically composed task without further training, achieving super-exponential task expansion with no additional samples.

ABSTRACT

The ability to compose learned skills to solve new tasks is an important property of lifelong-learning agents. In this work, we formalise the logical composition of tasks as a Boolean algebra. This allows us to formulate new tasks in terms of the negation, disjunction and conjunction of a set of base tasks. We then show that by learning goal-oriented value functions and restricting the transition dynamics of the tasks, an agent can solve these new tasks with no further learning. We prove that by composing these value functions in specific ways, we immediately recover the optimal policies for all tasks expressible under the Boolean algebra. We verify our approach in two domains---including a high-dimensional video game environment requiring function approximation---where an agent first learns a set of base skills, and then composes them to solve a super-exponential number of new tasks.

Motivation & Objective

  • To enable lifelong reinforcement learning agents to compose learned skills into new, complex tasks without additional training.
  • To formalize task composition using Boolean algebra, extending beyond prior work limited to union and intersection.
  • To develop a method for zero-shot composition of tasks using extended value functions that encode multiple goals.
  • To verify the approach in both low-dimensional (Four Rooms) and high-dimensional (video game) environments with function approximation.
  • To demonstrate that optimal policies for all Boolean-composed tasks can be derived directly from base value functions.

Proposed method

  • Formalize tasks as elements of a Boolean algebra, defining logical operations (OR, AND, NOT) on tasks using set-theoretic semantics.
  • Introduce extended value functions that encode optimal policies for multiple goals simultaneously, enabling logical composition.
  • Prove the existence of a homomorphism between the Boolean task algebra and the algebra of value functions, ensuring compositional correctness.
  • Restrict transition dynamics to ensure that composed value functions yield optimal policies for new tasks without further learning.
  • Use function approximation in high-dimensional environments to scale the method to real-world RL settings.
  • Verify performance via experiments in Four Rooms and a video game environment, measuring average returns across composed tasks.

Experimental results

Research questions

  • RQ1Can logical composition of tasks using Boolean operators (OR, AND, NOT) be formalized in a way that preserves optimality?
  • RQ2Can an agent solve any task expressible as a Boolean expression over base tasks without additional learning?
  • RQ3Does the use of extended value functions enable exact zero-shot composition of optimal policies?
  • RQ4How well does the method scale in high-dimensional environments requiring function approximation?
  • RQ5Can the framework be applied to complex, real-world environments with sparse rewards and complex state spaces?

Key findings

  • The proposed Boolean task algebra enables zero-shot composition of any task expressible as a Boolean expression over base tasks.
  • By composing extended value functions, the agent achieves optimal policies for all composed tasks without further training or learning.
  • In the Four Rooms environment, the agent solved all Boolean-composed tasks (including OR, AND, XOR) with optimal returns after learning only base skills.
  • In the high-dimensional video game environment, the agent composed base skills (collecting blue objects, collecting squares) to solve new tasks immediately, even with function approximation.
  • The method achieved super-exponential expansion of task capabilities—each additional base task doubles the number of possible composed tasks.
  • The framework is agnostic to the underlying value-function learning algorithm, making it compatible with modern deep RL methods.

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.