Skip to main content
QUICK REVIEW

[Paper Review] Hierarchical Subtask Discovery With Non-Negative Matrix Factorization

Adam Christopher Earle, Andrew Saxe|arXiv (Cornell University)|Aug 1, 2017
Machine Learning and Data ClassificationComputer Science15 references5 citations
TL;DR

This paper proposes a non-negative matrix factorization (NMF)-based method for hierarchical subtask discovery in reinforcement learning by leveraging the multitask linearly-solvable Markov decision process (MLMDP) framework. It discovers low-rank, non-negative basis tasks that represent intuitive, distributed subgoals across state spaces, enabling flexible, multi-level hierarchical planning without requiring predefined options or single-goal subtasks. The method learns qualitatively meaningful decompositions that adapt to the task ensemble and can be iterated for deeper hierarchies.

ABSTRACT

Hierarchical reinforcement learning methods offer a powerful means of planning flexible behavior in complicated domains. However, learning an appropriate hierarchical decomposition of a domain into subtasks remains a substantial challenge. We present a novel algorithm for subtask discovery, based on the recently introduced multitask linearly-solvable Markov decision process (MLMDP) framework. The MLMDP can perform never-before-seen tasks by representing them as a linear combination of a previously learned basis set of tasks. In this setting, the subtask discovery problem can naturally be posed as finding an optimal low-rank approximation of the set of tasks the agent will face in a domain. We use non-negative matrix factorization to discover this minimal basis set of tasks, and show that the technique learns intuitive decompositions in a variety of domains. Our method has several qualitatively desirable features: it is not limited to learning subtasks with single goal states, instead learning distributed patterns of preferred states; it learns qualitatively different hierarchical decompositions in the same domain depending on the ensemble of tasks the agent will face; and it may be straightforwardly iterated to obtain deeper hierarchical decompositions.

Motivation & Objective

  • To address the challenge of automatically discovering meaningful, reusable subtasks in complex reinforcement learning domains without manual design.
  • To enable hierarchical reinforcement learning to scale by learning a minimal basis of subtasks that span a wide range of possible tasks.
  • To develop a method that learns distributed, multi-state subgoals rather than single-goal options, improving flexibility and transfer.
  • To allow iterative refinement of abstractions for deeper hierarchical structures, enabling multi-level planning.
  • To provide a formal, analytically tractable framework for comparing subtask equivalence and evaluating abstraction quality.

Proposed method

  • Formulates the subtask discovery problem as finding a low-rank approximation of the action basis in the multitask LMDP framework.
  • Applies non-negative matrix factorization (NMF) to decompose the task matrix into a non-negative basis matrix D and a coefficient matrix W, ensuring physically interpretable, additive subtask representations.
  • Uses the MLMDP framework to model tasks as linear combinations of basis tasks, enabling optimal policy composition via exponentiated cost-to-go functions.
  • Employs a normalized approximation error metric to determine the optimal decomposition rank k, identifying diminishing returns via 'elbow-joint' behavior.
  • Introduces a state representation switching measure g(s) to identify boundary states (e.g., doorways) between regions, revealing duality with traditional subtask abstractions.
  • Defines a pseudo-equivalence relation between subtasks based on matrix distance in the basis space, enabling formal comparison of different subtask sets.

Experimental results

Research questions

  • RQ1Can non-negative matrix factorization effectively discover a minimal, interpretable basis of subtasks from a set of diverse tasks in a shared environment?
  • RQ2How does the method’s subtask discovery adapt to different ensembles of tasks, and what qualitative differences emerge in the resulting abstractions?
  • RQ3Can the method be iteratively applied to generate deeper hierarchical structures, and how do higher-level subtasks differ in behavior from lower-level ones?
  • RQ4What is the optimal number of subtasks (rank k) for a given domain, and can this be determined automatically using approximation error analysis?
  • RQ5How can subtask equivalence be formally defined and measured, and what insights does this provide into the structure of learned abstractions?

Key findings

  • The method discovers intuitive, distributed subtasks that correspond to meaningful behavioral patterns, such as moving between rooms or navigating to specific locations in gridworlds.
  • In the TAXI domain, the optimal decomposition rank was found to be k=5, corresponding to the minimum number of degrees of freedom needed to represent all passenger-location configurations.
  • The normalized approximation error exhibits clear 'elbow-joint' behavior at k=5, confirming diminishing returns beyond this rank and validating the method’s automatic rank selection.
  • Subtasks learned at deeper hierarchical levels exhibit broader, more distributed state coverage, while lower levels show localized, fine-grained behavior, indicating effective hierarchical abstraction.
  • The method identifies doorways as boundary states through representation switching, revealing a natural duality with traditional subtask discovery methods that focus on such transition points.
  • The pseudo-equivalence measure enables formal comparison of subtask sets, showing that different decompositions can yield equivalent or near-equivalent behavioral abstractions.

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.