- Rating
- 5
- Clarity
- 3
- Confidence
- 4
- Originality
- 3
- Quality
- 3
- Significance
- 3
Read review
Summary
This paper takes on a well-known scaling bottleneck in reward machine (RM)-based reinforcement learning: when subtasks can be completed in any order, classical Boolean RMs generate a state space that explodes exponentially with the number of subtasks. The authors respond with a hierarchy of three new RM variants, culminating in coupled RMs, and an accompanying algorithm, QCoRM, that exploits the coupled structure to learn low-level subtask policies in parallel while coordinating them through a bandit-style high-level policy. The key insight is that symmetric RM states, once identified and merged via an agenda labelling scheme, can be further split by individual subtasks, letting the agent learn one policy per subtask rather than one per exponentially many state combinations. A reward-shaping result (Theorem 3) is offered to show that this decomposition can be done without sacrificing global optimality. Experiments across four domains, ranging from tabular grid worlds to continuous MuJoCo locomotion, show meaningful scalability advantages over standard RM baselines and DiRL.
Strengths and weaknesses
Strengths
- The formalism is carefully layered. Numeric RMs address compact specification; agenda RMs address state symmetry and enable better counterfactual reasoning; coupled RMs unlock parallel low-level learning. Each step is motivated by a concrete limitation of the previous one, which makes Section 3 unusually readable for a theory-heavy paper. Figure 1 does real work here, and the side-by-side comparison of the four RM representations for the same two-box delivery task is one of the clearest exposition choices I have seen in a paper of this type.
- Theorem 3 and its proof in Appendix C address what I consider the hardest technical question in this kind of decomposition: whether reward shaping at the subtask level can inadvertently steer the agent toward a locally fast but globally suboptimal completion order. The proof is not trivial, and the authors handle the non-stationary reward case with some care. The QCoRM-0 ablation in Figures 2i and 2j confirms that without Equation 5, the agent does converge to suboptimal policies, which gives the theorem empirical teeth.
- The runtime scaling plots (Figures 2c, 2g, 2k, 2o) are genuinely informative. Showing linear versus exponential growth in wall-clock time as a function of the number of unordered subtasks is more compelling than asymptotic arguments alone, and the fact that Boolean CRM and HRM hit memory and time limits at larger task sizes makes the comparison concrete.
Weaknesses
- My main concern involves the assumptions underlying the theoretical guarantees. Assumptions 1 through 5 are spread across Section 3 and collectively restrict the setting considerably: numeric variables must be discrete and finite, tasks must be completable in any order, only one subtask per step can be completed, and so on. These are workable assumptions for the paper's domains, but the interaction between them and the optimality guarantees in Theorem 3 is not fully unpacked. Specifically, Theorem 3 relies on the agent knowing K_bar_op, the expected duration of the globally optimal policy, as part of computing the shaped reward in Equation 5. It is not clear to me how this quantity is estimated in practice during training, when by definition the agent has not yet converged. Appendix C defines it formally but the algorithm description in Section 4 uses η(u) as a proxy, and the relationship between that online estimate and the quantity appearing in the theorem deserves a more explicit treatment.
- The HalfCheetah experiments are the most interesting to me, but they also expose a limitation that the paper partially acknowledges and then moves past too quickly. QCoRM converges more slowly than CRM-based methods on the three-position task (Figure 2m), attributed to the dedicated replay buffer delaying learning from valuable transitions. This is a real cost, not just a footnote, and in settings where the number of unordered subtasks is small (say, two or three), QCoRM's advantages may not offset this overhead. Some analysis of when the crossover point occurs would help readers calibrate when to actually deploy QCoRM.
- The initial position being fixed throughout experiments (Section 5) is a significant simplification that is mentioned but not justified. For the Delivery and Office domains, this means the agent never needs to generalize over starting conditions, which removes one of the harder aspects of long-horizon task learning. I am not claiming the results are invalid, but the practical relevance is reduced, particularly for any application where initial state distribution matters.
- The comparison to DiRL is presented unevenly. Because DiRL does not support a fixed step budget, its results appear only as single points in the figures rather than learning curves. The authors explain this, but it means DiRL is not really on the same evaluation footing as the other baselines, and conclusions about DiRL's convergence behavior should be stated more carefully.
Questions
- Regarding Theorem 3 and its practical use in QCoRM: the proof defines K_bar_op as the expected duration of the globally optimal policy, but this is an unknown during training. In the algorithm, η(u) is updated incrementally and serves as a proxy. Can you show, even informally, that the shaped reward in Equation 5 continues to preserve optimality when K_bar_op is replaced by a running estimate that may be far from its true value early in training? The ablation is suggestive but does not directly address this.
- Assumption 4 restricts the framework to fully unordered subtask sets. Realistically, many long-horizon tasks have partial ordering constraints, where some subtasks must precede others but within each group the order is free. Is there a natural extension of the agenda labelling scheme to partially ordered task sets, and if so, what would break in the current QCoRM update rules?
- I am curious about the behavior of the high-level bandit policy during the exploration phase. When ξ is high early in training, the agent explores RM transitions with a bias toward unused ones. But η(u) estimates are also being updated during these exploratory episodes. Does the algorithm use η estimates from exploratory episodes, or only from exploitation episodes? The text in Section 4 suggests only exploitation episodes contribute to low-level learning, but the η update rule does not seem to make this distinction explicitly.
- The runtime plots show linear scaling for QCoRM, which is a strong result. However, the replay buffer scales by |U'| for QCoRM versus |U| for HRM and CRM (Appendix D). In domains where |U'| approaches |U|, does this memory scaling still yield practical advantages, or does it become a bottleneck?
Limitations
The authors mention two limitations: slower initial convergence in dense-reward settings and the restriction to Q-learning-based methods. Both are real but understated. More significant gaps include the fixed initial position assumption across all experiments, the absence of stochastic environments (all tested domains appear to be deterministic), and the lack of any analysis covering what happens when Assumptions 1 through 5 are violated, even partially. For instance, what is the degradation in solution quality if a numeric variable is approximately but not exactly decreasing monotonically? The paper would benefit from a dedicated limitations section rather than scattering acknowledgments throughout.
Paper formatting concerns
A few things I noticed while reading:
Notation density in Section 4. The reward expression in Equation 5 introduces several interacting quantities (delta_K_tau, K_bar_tau_op, K_bar_op, K, rmin) in rapid succession without a worked numerical example to anchor them. This is a presentation issue as much as a formatting one. A small table or inline example analogous to the delivery running example used throughout Section 3 would significantly help readers parse the equation.
Assumptions scattered across Section 3. Assumptions 1 through 5 appear at various points rather than being consolidated. For a paper where the theoretical guarantees depend heavily on all five holding simultaneously, having them dispersed makes it harder to audit whether a given application actually satisfies the full set.
No dedicated Limitations section. The NeurIPS checklist actually flags this, with the guidelines explicitly encouraging a separate limitations section. The authors acknowledged limitations in scattered locations (the experiments section, the conclusion), but the checklist answer of "Yes" to the limitations question is a bit optimistic given how thin those acknowledgments are.
Beyond those points, the figures are well-constructed, the appendices are properly cross-referenced, and the paper meets standard formatting requirements. Nothing rises to the level of a formatting rejection concern.
Final justification
The authors addressed the majority of my initial concerns during the rebuttal period, leading me to raise my score.
Thank you for the detailed reading and thoughtful questions.
Q1: Theorem 3 when K̄ₒₚ is replaced by a running estimate (AC Q3)
We agree that Th. 3 relies on stationary K̄ₒₚ (globally optimal episode length) and K̄^τₒₚ (subtask durations aligned with K̄ₒₚ). However, both are estimated online during high-level exploitation: K̄ₒₚ ← K at rate α if K < K̄ₒₚ and K̄^τₒₚ ← K^τ at rate α, where K and K^τ are the observed episode length and local subtask duration after episode completion, respectively. We should have clarified the use of running K̄ₒₚ and K̄^τₒₚ estimates in three steps. i) The sequence of online estimates {K̄ₒₚ,ᵢ} is non-increasing and bounded below by the true K̄ₒₚ. When K̄ₒₚ,ᵢ and K̄^τₒₚ,ᵢ are fixed between updates, the reward is stationary, and Q-learning contracts to the currently optimal Q-values for each low-level policy for these specific K̄ₒₚ,ᵢ and K̄^τₒₚ,ᵢ. Each converged low-level policy receives the constant reward Ř (Th. 3). ii) Then, the Bellman contraction attempts to minimise each subtask duration, but a shorter local duration is rewarded (via reshaping with the updated K̄ₒₚ,ᵢ₊₁) at the end of the episode only when it yields a shorter global episode; otherwise, it is penalised. iii) The reduction of K̄ₒₚ,ᵢ₊₁ again triggers relearning of low-level policies to align with the new global episode length, until stabilising at the true K̄ₒₚ under sufficient exploration, thus yielding asymptotic optimality. This resembles policy iteration in MDPs, where values are found under a policy, and the policy is then updated to align with the new values, iterating until the optimal policy and values are found. We will add this argument to Appendix C.
Bad running estimates in the early training phase have no lasting effect. Since both K̄ₒₚ,ᵢ and K̄^τₒₚ,ᵢ are initially estimated based on the observed K and K^τ, both terms K̄^τₒₚ,ᵢ − K^τ and K − K̄ₒₚ,ᵢ in δK^τ do not result in large penalties. Both running estimates drop at rate α once the episode lengths K and local durations K^τ decrease as the training progresses from the early phase towards later stages. The δK^τ effect thus becomes meaningful once the estimates stabilise.
Importantly, both K̄ₒₚ and K̄^τₒₚ are estimated independently of η(u), which is the steps-to-go estimate for selecting the next subtask and is always updated during both exploration and exploitation.
Q2: extending the agenda labelling to partially ordered subtasks
Partially ordered subtasks are already supported in QCoRM. For mixed ordered/unordered cases, in an RM label ⟨d, T, x⟩, ordered objectives are assigned Boolean features and appear as x, while T holds unordered subtasks. For example, this is the case for the Delivery domain, where station s must be visited after collecting a box (order = station after box). For this ordered objective to get to station s, x is Boolean feature s (ordered), and T holds currently uncollected boxes (unordered subtasks). The algorithm thus handles mixed ordered/unordered cases without breaking. Assumption 4 restricts what may be encapsulated in a numeric variable, not the tasks QCoRM can express; ordered parts of the task stay outside the numeric variable. The case with different unordered subtask sets T₁, T₂, ... completed one after another in one task is also allowed in QCoRM. For this, distinct numeric variables w₁, w₂, ... and mapped numeric features p_w₁, p_w₂, ... correspond to T₁, T₂, ..., and RMs are unfolded accordingly without changing the formalism.
Q3: are η estimates used from exploratory episodes?
Low-level policies are reshaped only in exploitation; that is, the buffered experiences that reshape the low-level policies are replayed only on exploitation episodes. Meanwhile, the high-level η(u) updates occur every episode, both during exploitation and exploration. If η(u) values were learnt only during exploitation, the high-level policy could commit to a sub-optimal order discovered early. Exploration updates of η(u) allow the agent to discover better completion orders until the best are found.
Q4: replay-buffer scaling when |U'| approaches |U|
The two factors are asymptotically far apart: |U'| = N+1 is linear, whereas |U| is Θ(2^N) for agenda RMs and Θ(N!) for Boolean RMs. At 8 boxes, |U'| = 9 against |U| = 511 (agenda) or 219201 (Boolean). So, |U'| approaches |U| only when there is almost nothing to order. Then, the |U'| factor could become a bottleneck but could also be dropped because the replay buffer scaling is introduced in QCoRM in the first place to allow the addition of multiple coupled experiences at once. If only one experience is added per step, there is no need to scale the replay buffer. For unordered subtasks, |U'| << |U|, so the buffer stays small.
Also, since the agent completes subtasks on the way, even for completely unordered subtasks, the memory buffer scaling could be reduced to (1 + |U'|)/2 to account for the average number of experiences added to the replay buffer per step.
Note 1: a dedicated Limitations section
We will add a standalone Limitations section that consolidates the limitations spread across the paper.
Note 2: stochastic environments (AC Q6c)
In theory, QCoRM can be used in stochastic environments in the same way as in deterministic ones: the high-level policy learns expected steps-to-go and the low-level policies align with it, and Th. 3 is stated in terms of expected durations. Our choice of domains followed the RM literature we build on: Icarte et al. (JAIR 2022) use Office, Water, and HalfCheetah.
Note 3: varying initial states (AC Q6d)
We agree that fixing the initial position of the agent is a limitation of the current QCoRM. QCoRM could be extended to random initial positions in future work. The main difficulty would be to account for different optimal orderings depending on the initial state because the duration estimates would be initial-state-dependent. Conditioning on the initial state distribution requires further theoretical analysis of how η, K̄ₒₚ, and K̄^τₒₚ would change.
Note 4: a numeric example for Eq. 5
We can add this 2-ball Water example for Eq. 5 to the paper if the reviewers allow. The following example makes the δK^τ term concrete in Eq. 5 through a decelerate-locally-to-win-globally trade-off.
Water is sparse (minimum immediate reward rₘᵢₙ = 0, Ř = 1); we use γ = 0.9. The shortest episode corresponds to touching ball 2 first with K̄ₒₚ = 5. Under the optimal global policy to touch ball 2 first, the globally optimal local durations are K̄^b2ₒₚ = 4 and K̄^b1ₒₚ = 1. The greedy (locally fastest) policy to touch ball 2 leads, however, to K^b2 = 3 and K^b1 = 3, resulting in K = 6 because it is useful for the agent to slow down a little bit before touching ball 2 to be optimally positioned to go for ball 1. In general, decelerating before ball 2 costs one step there and saves two afterwards. Recall δK^τ = max{K̄^τₒₚ - K^τ, K - K̄ₒₚ}. For rₘᵢₙ = 0, R = Ř if δK^τ = 0, else R = γ^(δK^τ+1)·Ř.
Without shaping, the greedy policy would score γ² (0.81) > γ³ (0.729) and be preferred. The shaped reward therefore penalises the greedy policy, and the agent keeps the globally optimal one that decelerates before ball 2.
Note 5: where the crossover lies (AC Q6e)
QCoRM defers learning from valuable experiences by an amount set by the exploration schedule, whereas CRM and HRM pay Θ(|U|) simulated experiences per step, so the crossover is governed by |U| growth and appears early. Our results bracket it between three and four unordered subtasks for HalfCheetah, for example: three HalfCheetah positions favour CRM initially (Fig. 2m), and four are solved only by QCoRM (Fig. 2n). The crossover is, in general, domain-dependent and is later under dense rewards, which is why the slow start appears in HalfCheetah but not the sparse domains.
Note 6: the DiRL comparison
Agreed. The comparison itself is fair because we count all DiRL environment interactions, both low-level training and high-level graph construction, so its marker is placed comparably on the interaction axis. However, DiRL reports nothing until training completes, so it yields a single final point rather than a learning curve. We will present its markers as final performance at the number of interactions it consumes and avoid convergence claims.
Note 7: scattered assumptions
We will consolidate Assumptions 1–5 in Section 3, each with the result it supports and the consequence of violating it.