How2: How to learn from procedural How-to questions

Gautier Dagan, Frank Keller, Alex LascaridesarXiv 2025 · DOI

Abstract

The $How^2$ framework enables LLM-based agents to perform lifelong learning by asking procedural "how-to" questions, storing the answers in an abstracted memory, and reusing them for future tasks. This research identifies a critical trade-off: while step-by-step executable instructions are optimal for immediate success, high-level abstract guidance is far more effective for long-term knowledge reuse and generalization.

Introduction

Planning in complex, interactive environments like Minecraft remains a significant challenge for AI. Agents often identify a goal (e.g., "Craft a glass bottle") but lack the procedural knowledge required to execute it. Current AI assistants excel at resolving ambiguity through clarification but struggle to internalize procedural knowledge for future use. A primary obstacle is the "granularity gap": instructions tied to specific states (e.g., "Move item from slot I12") become obsolete when the environment changes. This paper investigates how agents can seek and store procedural knowledge to ensure utility across diverse scenarios.

Methodology

The authors propose $How^2$, a modular framework designed for autonomous learning through interaction.

The $How^2$ framework architecture illustrating the interaction between the Actor, Memory, Teacher, and Environment.

The framework consists of five key components:

  1. The Actor: An LLM-based agent that interacts with the environment via tool calls (e.g., move, smelt, read-memory).
  2. The Memory: A key-value store that caches answers provided by the teacher.
  3. The Teacher: A simulated oracle providing guidance at varying levels of abstraction, ranging from raw executable actions to high-level natural language patterns.
  4. The Parser: This component "de-conditions" teacher answers, converting state-specific instructions into general templates suitable for long-term memory storage.
  5. Relevance Check: An LLM-driven filter that evaluates whether a retrieved memory entry is applicable to the agent's current state and goal.
Comparison of instruction types: executable, subgoal-partially executable, and non-executable.

The Teacher provides answers at four levels: Executable (specific actions), Partially-executable (item-based), Subgoal-partially-executable (recipe-based), and Non-executable (abstract patterns).

Experiments and Results

The framework was evaluated in Plancraft, a Minecraft-based crafting environment, using two data splits: a Low Repetition Split (testing novel tasks) and a High Repetition Split (testing lifelong learning through recurring goals with varying starting inventories).

The Specificity Trade-off

Results indicate that the most specific instructions (executable plans) are the least reusable. In high-repetition tests, the success rate for agents using raw executable plans dropped from 58% to 32% because the instructions were too rigid for changing game states. Conversely, by storing "recipes" instead of "click-streams," agents maintained high performance across different conditions.

Efficiency and Generalization

The $How^2$ framework achieved a 53% success rate in high-repetition settings using non-executable instructions, nearly matching the performance of an "always-on" teacher while reducing the need for intervention by 42%. In the high-repetition split, the intervention rate dropped from 92% to 53% as the agent successfully learned and reused knowledge. These findings were consistent across different models, including Llama 3.3 70B and Qwen 3 32B.

Discussion and Conclusion

The $How^2$ framework demonstrates that abstraction is the key to reusability in procedural learning. By structuring instructions into sub-goals and stripping away state-specific details, agents can effectively bridge the granularity gap.

Future work will focus on expanding the framework to handle more diverse question types (e.g., "why" or "what-if"), managing noisy or incorrect teacher input, and implementing more sophisticated semantic search within the memory structure to improve retrieval in open-world environments.

Reference: Dagan, G., Keller, F., & Lascarides, A. (2025). How²: How to learn from procedural How-to questions. arXiv:2510.11144v1 [cs.AI].

Summary updated

BibTeX
@misc{dagan2025how,
  author = {Gautier Dagan and Frank Keller and Alex Lascarides},
  title = {{How2: How to learn from procedural How-to questions}},
  year = {2025},
  eprint = {2510.11144},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2510.11144},
}
Figure