Learning Multi-Timescale Abstractions for Hierarchical Combinatorial Planning

Vivienne Huiling Wang1Tinghuai Wang2Joni Pajarinen1
1Aalto University, Finland    2Qutwo, Finland
ICML 2026
Overview

Sequential stochastic combinatorial optimization asks an agent to make a sequence of combinatorial decisions under uncertainty and a limited budget. LMTA lets the high level choose a subgoal and a budget, and plans over subgoals with a learned world model whose latent geometry reflects how long each subgoal runs.

1Goal-conditioned planning in an SMDP

The high level of SSCO is a semi-Markov decision process: each decision selects a learned subgoal together with a budget. A latent-space tree search plans over the subgoals.

2Multi-timescale world model

One latent space holds micro (primitive-step) and macro (subgoal-level) dynamics. The size of a macro transition reflects the duration of its subgoal.

3Subgoal-conditioned budgets

A budget head decides how much to spend on the chosen subgoal. With the world model, LMTA outperforms strong baselines on large-scale AIM, SOP and Power-2500.

Architecture of LMTA
Architecture of LMTA. At each high-level (HL) step, the planner encodes the state as hk and runs latent-space tree search over subgoals to produce a search policy πk(·). A subgoal zk is selected, after which the budget head samples bk, yielding the HL action (zk, bk). The low-level (LL) policy πL executes primitive actions for τk steps to pursue zk, where τk ≤ bk.

Abstract

The combination of exponentially large action spaces, stochastic dynamics, and long-horizon decision-making under limited resources makes Sequential Stochastic Combinatorial Optimization (SSCO) particularly challenging for reinforcement learning. Hierarchical Reinforcement Learning (HRL) offers a natural decomposition, but it places the high-level policy in a Semi-Markov Decision Process (SMDP) where actions have variable durations, making it difficult to learn a world model that is suitable for planning. We introduce a model-based hierarchical framework for sequential stochastic combinatorial decision-making that directly addresses this issue. Our method combines a latent-space tree-search planner with an SMDP-aware world model for variable-duration decisions. A multi-timescale objective structures the latent dynamics so that transition magnitudes reflect the effective temporal scales of abstract actions, enabling efficient lookahead under adaptive temporal abstraction. We further learn a subgoal-conditioned budget policy jointly with the world model to support context-aware resource allocation. Across challenging SSCO benchmarks, our method outperforms strong baselines.

Problem

Decisions of different lengths

SSCO problems arise in dynamic vehicle routing and in adaptive influence maximization on social networks. The action space is combinatorial, the dynamics are stochastic and path-dependent, and early decisions can have long-lasting consequences. Two benchmarks illustrate the setting.

Adaptive influence maximization (AIM). On a directed graph, the agent picks seed nodes before each of T days, within a total seed budget K. Each active node tries to activate its inactive neighbors on the next day under the independent cascade model. The objective is the number of influenced nodes.

Stochastic orienteering (SOP). The agent plans routes over several days among cities with time-varying profits, under a daily travel limit, to maximize the collected profit.

In both, a high-level decision states what to pursue (a subgoal) and how much resource to spend (a budget). The low level then acts for up to that many primitive steps, so the number of steps between two high-level decisions changes from decision to decision. The high level is therefore an SMDP rather than an MDP with fixed-duration macro steps.

One recorded AIM episode of the trained agent on a 500-node graph (K = 70, T = 10). Each block is one high-level decision, as long as the number of seeds it spends; the number inside is the subgoal.
Method

Planning over subgoals in a multi-timescale latent space

High-level planning with model-based search

At high-level step k the agent observes sk, selects a subgoal zk and a budget bk ≤ Bk, where Bk is the remaining resource. The low level executes τk ≤ bk primitive steps and the high level receives the cumulative discounted reward Rk. LMTA follows the latent-space tree search of MuZero with three learned functions:

representationhθ : S → H    a graph network that encodes the state on the unit sphere
dynamicsgθ : H × Z → H × ℝ    the latent after a whole subgoal, and its cumulative reward
predictionfθ : H → Δ(Z) × ℝ    a policy prior over subgoals and a value

The subgoals are a finite dictionary of learned embeddings, Z = {z1, …, zM}. The planner branches only over subgoals, and one evaluation of gθ predicts the post-subgoal latent in a single step, so the low-level policy is not rolled out inside the search. The search policy comes from visit counts, a subgoal is sampled from it, and the budget is drawn from a policy conditioned on the latent state and the subgoal.

A multi-timescale SMDP world model

Predicting the duration of a subgoal explicitly is brittle. LMTA instead shapes one latent space so that the size of a macro transition reflects how long its subgoal runs. With dθ(s, z) = ‖hθ(s) − gθh(hθ(s), z)‖ the latent displacement of subgoal z, and a learned margin mφ(z), the score of a subgoal is

scoreσθ,φ(s, z) = dθ(s, z) + mφ(z)

Three forces, inspired by attractive and repulsive terms in contrastive learning, shape the geometry:

micro-scale pullLcap = 𝔼 [ ( d(hθ(s′t), hθ(s′t+1)) − κ )+2 ]
macro-scale pushLpush = 𝔼 [ ( mφ(z) − dθ(s, z) )+ ]
temporal orderLorder = 𝔼 [ ( 1 − Y Δσ )+ ]

Y = sign(τi − τj) compares the realized durations of two executed high-level transitions, and Δσ = σ(si, zi) − σ(sj, zj).

cap κ h pullprimitive steps staywithin the cap margin m(z) pushat least the margin m(z) shorter subgoallonger subgoal order: longer subgoals score higher
Schematic of the three forces. The Playground below shows them on the trained agent.

Together the terms give a geometry in which micro dynamics are locally smooth and macro transitions reflect variable, agent-chosen temporal scopes. Under mild assumptions the paper derives a duration lower bound from the learned margin, an order-consistent scorer, and a regret bound for planning over macro-actions (Appendix A).

Subgoal-conditioned budget allocation

The budget head bψ(· | hk, zk) is a distribution over {0, …, Bk} conditioned on the latent state and the selected subgoal, so the agent first commits to what to do and then decides how much to spend on it. It is trained with an actor–critic objective whose target is a search-backed return: the macro reward plus the discounted root value of the tree search at the next state.

Low-level policy and training

The low-level policy is a subgoal-conditioned graph network that outputs Q-values for primitive actions such as node selection, trained with a DQN objective on a low-level replay buffer, with illegal-action masking. The high-level networks are trained from self-play with search-backed policy, value and reward losses, the three geometric terms and the budget actor–critic objective, while the low level trains in parallel on primitive transitions.

Playground

Run the trained agent

This page runs the exported networks of a trained AIM agent (500 nodes, 10 days, 70 seeds). Recorded runs replay the output of the released code. Live runs compute everything in your browser, on a held-out graph or on a new random one. Each day has two steps: the agent plans (tree search, subgoal, budget), then spends its seeds and the cascade spreads. You can change the subgoal or the budget before spending; a recorded run then continues live.

Recorded run
not reachedreached, spreads next dayreached, has spreadseed of the day
day-
reached0 / 500
reward0
seeds left70
Loading the trained model…

Latent geometry of the world model

Radius is the distance from the current latent state. Gold dots are the latent after each seed of the day; the dashed circle is the cap κ of the pull term. Violet points are the states predicted after a whole subgoal; darker means more expected seeds. Ticks mark each subgoal’s learned margin.

Latent jump and change in value

One dot per subgoal of the current state: how far the model predicts the latent state to jump, and how much the value changes. Click a dot to choose that subgoal.

Budget head, one row per subgoal

Each row is the distribution over how many seeds to spend, from the same state, for one subgoal. Click a row to pick a subgoal.

Video

Explainer video

The scenes show outputs of the trained model on the recorded episode above: the search tree, the latent distances, the value changes and the budget distributions.

Results

Outperforming strong baselines

We evaluate on AIM and SOP with N = 500 nodes in four settings of horizon T and budget K, with 10 seeds per configuration (mean ± s.e.m.). LMTA has the highest mean reward in all eight settings, and improves over WS-option with p ≤ 0.05.

Ablation

Starting from an option-based baseline (A), each step adds one component: subgoal-conditioned low level (B), subgoal-conditioned budget (C), the multi-timescale objective with a fixed margin (D), and the learned margin (E, full LMTA). Variant F keeps the hierarchy but replaces the planner with a model-free policy.

Citation

BibTeX

@inproceedings{vhwang2026lmta,
  title={Learning Multi-Timescale Abstractions for Hierarchical Combinatorial Planning},
  author={Vivienne Huiling Wang and
          Tinghuai Wang and
          Joni Pajarinen},
  booktitle={International Conference on Machine Learning (ICML)},
  year={2026}
}

We acknowledge CSC – IT Center for Science, Finland, for awarding this project access to the LUMI supercomputer, owned by the EuroHPC Joint Undertaking, hosted by CSC (Finland) and the LUMI consortium through CSC. We acknowledge the computational resources provided by the Aalto Science-IT project, and funding from the Research Council of Finland (353198, 357301).