STAND: Self-Aware Precondition Induction for Interactive Task Learning

Daniel Weitekamp, Glen R Smith, Ken Koedinger, Christopher J. MacLellanICML 2026

In Interactive Task Learning (ITL), human teachers instruct AI agents "on the fly" during task execution. While teaching an agent what to do is relatively straightforward, teaching it when to do it—the preconditions—is notoriously difficult.

Enter STAND (Self-Aware Precondition Induction), a novel, data-efficient algorithm designed specifically for human-in-the-loop training. Unlike standard "black-box" models, STAND is "self-aware." It provides accurate metrics of its own learning progress, allowing human teachers to know exactly when a task is mastered and where the agent still needs help.

The Challenge of Interactive Task Learning

Current machine learning models struggle in ITL environments for three primary reasons:

  1. Small Data Requirements: Human instructors cannot provide thousands of examples; they need the AI to learn effectively from just dozens.
  2. Logical Complexity: Preconditions often rely on strict logical rules rather than the weighted averages typical of many machine learning models.
  3. User Experience and Trust: Standard models frequently suffer from "error reoccurrence"—a frustrating phenomenon where fixing a mistake in one scenario breaks a previously learned rule in another. This unpredictability quickly erodes human trust.

How STAND Works: Embracing Ambiguity

STAND tackles these challenges by combining the efficiency of decision trees with the formal rigor of "version spaces." Instead of searching for a single "best" model immediately, STAND embraces ambiguity by maintaining a space of all consistent models.

  • The Lattice Structure: Rather than picking a single best split at each node like a standard decision tree, STAND keeps a set of all "good enough" splits. By using a node-caching technique, it merges paths that lead to the same data subsets. This creates a highly compact and efficient lattice instead of an exponentially large tree, allowing STAND to fit models in sub-milliseconds.
  • General vs. Specific Sets: Borrowing from version space learning, STAND tracks a "General" set (the simplest rules fitting the data) and a "Specific" set (the most detailed rules). The gap between these sets represents the model's uncertainty.
  • Hierarchical Shrinkage: To handle the noise inherent in small datasets, STAND applies a regularization technique that "shrinks" probability estimates at deep, data-poor nodes toward the more reliable estimates of their ancestor nodes.
  • Self-Awareness Metrics: STAND calculates a Certainty Score ($Cert$), which measures how much the various valid models in its lattice agree, rather than just outputting a standard probability.

Evaluation and Key Results

Researchers evaluated STAND across diverse domains, including a complex cooperative strategy game (Dice Adventure), Intelligent Tutoring Systems (AI2T), synthetic benchmarks designed to simulate human-in-the-loop training, and standard UCI datasets.

The results demonstrated significant improvements over traditional methods:

  • Superior Accuracy: On synthetic ITL tasks, STAND achieved 92.8% accuracy, outperforming Decision Trees (88.6%) and XGBoost (84.8%). On real-world tutoring tasks, it reached nearly 100% accuracy where other models plateaued.
  • Productive Monotonicity: In ITL, it is vital that an agent's certainty increases as its performance improves. STAND reduced the rate of "false positive reoccurrence" (breaking a previously learned rule) by more than 3x compared to standard decision trees, ensuring that once an error is fixed, it stays fixed.
  • Reliable Calibration and Active Learning: When STAND reports 100% certainty, it is almost always correct (99.71% precision). This reliable calibration allows it to act as an active learner, specifically asking humans for help on the most confusing examples. It can even detect human errors by flagging accidentally mislabeled examples as highly uncertain.

Limitations and Future Directions

While STAND excels in structured, tabular, and logical domains, it is not designed to replace deep learning in massive-scale data problems. It is currently optimized for propositional logic, and extending STAND to handle more complex relational logic (like full Inductive Logic Programming) is a promising next step.

Furthermore, the authors suggest STAND’s self-aware approach could be instrumental in making Generative AI more reliable. By using STAND as a gating mechanism for Large Language Models, developers might achieve the strict reliability needed for high-stakes automation tasks where current completion rates remain unacceptably low.

Summary updated

BibTeX
@inproceedings{weitekamp2026stand,
  author = {Daniel Weitekamp and Glen R Smith and Ken Koedinger and Christopher J. MacLellan},
  title = {{STAND: Self-Aware Precondition Induction for Interactive Task Learning}},
  booktitle = {International Conference on Machine Learning},
  year = {2026},
  url = {https://openreview.net/forum?id=NJes6aeTem},
}
Figure