arXiv:2610.34677cs.AIOct 2026

Manuscript Offprint

arXiv:2610.34677

Curriculum-Guided Acquisition of Hierarchical Task Knowledge from LLM-Generated Experience

Yuesheng Xu, Hector Munoz-Avila

Abstract

Hierarchical task knowledge enables efficient problem solving by allowing previously acquired skills to be reused across tasks and problem instances. In this paper, we investigate curriculum-guided acquisition of hierarchical task knowledge in an HTN learning framework. We compare three approaches: online learning during problem solving, human-designed curricula, and an automated curriculum generation procedure that derives learning experiences from verified LLM-generated solution traces. The proposed procedure solves small training problems with an LLM, extracts task accomplishment information, and transforms it into ordered sequences of state-task learning problems for HTN method acquisition. We evaluate the three approaches across multiple planning domains. The results demonstrate that automatically generated curricula recover much of the benefit of expert-designed curricula while substantially reducing the token cost of online hierarchical knowledge acquisition.

1. Introduction

Hierarchical knowledge plays a central role in intelligent behavior. Complex tasks are often solved by decomposing them into simpler subtasks, allowing previously acquired skills to be reused in new situations. This idea has long been studied in cognitive architectures Laird (2019); Langley & Choi (2006), hierarchical reinforcement learning Barto & Mahadevan (2003), and Hierarchical Task Network (HTN) planning Erol et al. (1994). By organizing knowledge at multiple levels of abstraction, hierarchical representations support scalability, transfer, and the acquisition of increasingly complex skills through composition Langley et al. (2006).

The acquisition of such hierarchical structures is a longstanding problem in cognitive systems. An intelligent agent should not only solve individual problems, but also acquire reusable procedural knowledge that supports increasingly complex behavior. In this view, learning a hierarchy involves constructing higher-level skills from simpler problem-solving experiences and reusing previously acquired knowledge in new situations. Thus, hierarchical knowledge acquisition provides a mechanism for the cumulative development of increasingly sophisticated problem-solving capabilities.

An important question concerns how hierarchical knowledge should be acquired. Human learners rarely encounter experiences in arbitrary order. Instead, instruction is often organized around prerequisite skills, with simpler concepts introduced before more complex ones. This observation has motivated research on curriculum learning, which studies how the ordering of learning experi-

© 20XX Cognitive Systems Foundation. All rights reserved.

ences affects learning efficiency and performance Bengio et al. (2009). While curriculum learning has been studied extensively in machine learning, considerably less attention has been devoted to how LLM-generated experience can be organized to support the acquisition of reusable hierarchical procedural knowledge.

Recent advances in large language models (LLMs) create new opportunities for studying this question. LLMs can generate solutions to planning problems, decompose tasks into subtasks, and provide explanations of intermediate reasoning steps. These capabilities suggest that LLM-generated experience can be used to automatically construct curricula, reducing the need for manually designed instructional sequences. Because the procedure relies only on task semantics and LLM-generated solution traces, it can be applied across planning domains without manually designing domain-specific curricula.

In this paper, we propose an automated curriculum generation procedure for acquiring hierarchical task knowledge in an HTN learning framework. The procedure derives ordered learning experiences that support the incremental acquisition of reusable hierarchical task knowledge from verified LLM-generated solution traces. It does so by identifying where tasks are accomplished within successful solution traces and transforming them into ordered sequences of state-task learning problems. We compare this approach against two alternatives: online learning during problem solving and human-designed curricula that sequence learning experiences according to expert knowledge of the domain.

We evaluate these approaches across multiple planning domains using two complementary measures: the amount of hierarchical knowledge acquired, measured by the number of learned methods, and the cost of acquiring that knowledge, measured through LLM token consumption. The results show that automatically generated curricula recover much of the benefit of expert-designed curricula while substantially reducing the cost of online hierarchical knowledge acquisition.