Abstract
Robots operating in real-world human environments will likely encounter task execution failures. To address this, we would like to allow co-present humans to refine the robot's task model as errors are encountered. Existing approaches to task model modification require reasoning over the entire dataset and model, limiting the rate of corrective updates. We introduce the State-Indexed Task Updates (SITU) algorithm to efficiently incorporate corrective demonstrations into an existing task model by iteratively making local updates that only require reasoning over a small subset of the model. In future work, we will evaluate this approach with a user study.
Introduction
As robots transition from controlled industrial settings to dynamic human environments, failure is inevitable. Whether due to environmental changes or unforeseen task complexities, a robot must be able to adapt. Current Learning from Demonstration (LfD) frameworks often suffer from a significant bottleneck: scalability. Most existing methods require "offline" batch processing, where the system must re-evaluate the entire training history to incorporate a single correction. This computational lag prevents real-time, interactive learning. We propose the State-Indexed Task Updates (SITU) algorithm to enable "online" local updates, allowing humans to provide immediate corrections that the robot can integrate without global re-computation.
The SITU Algorithm
The SITU algorithm represents a robot's task as a Finite State Automaton (FSA). In this structure, nodes represent primitive skills, each defined by a motion policy (how to move) and an initiation classifier (when to start). Edges define the valid transitions between these skills.
SITU employs a three-step logic for local updates:
- State-Indexing: Upon receiving a corrective demonstration, the algorithm uses the current world state to identify the relevant subset of the task model.
- Policy Matching: The new demonstration is compared against existing skills. If a match is found, the existing skill is refined; otherwise, a new node is created.
- Local Reconnection: To maintain model efficiency and prevent "spaghetti" graphs of redundant nodes, a clustering step merges similar skills and updates local transitions without affecting the rest of the model.
The implementation utilizes Hidden Markov Models (HMMs) for motion policies and Logistic Regression for initiation classifiers. Crucially, SITU favors keyframe-based demonstrations, where humans guide the robot to specific checkpoints, reducing the noise associated with continuous trajectory recording.
Proposed Experimental Evaluation
While quantitative results are pending a full user study, the proposed evaluation focuses on two common household tasks:
- Pouring: Transferring contents from a pitcher to a bowl.
- Scooping: Moving material between bowls using a utensil.
The study will introduce corrective scenarios, such as adding a lid to a container, requiring the user to provide a "fix" to the robot's initial model. Success will be measured by the efficiency of the update (number and length of demonstrations needed) and the accuracy of the resulting model compared to one trained from scratch on a perfect dataset.
Discussion and Future Work
The SITU algorithm's primary innovation lies in its locality. By indexing updates to the current state, the robot avoids the overhead of global model revision. This approach also enables joint learning of both individual skills and high-level task sequences simultaneously.
However, several challenges remain. SITU currently depends on accurate demonstration segmentation, often requiring the human to specify reference objects to help the robot identify segment boundaries. Furthermore, while the algorithmic logic is efficient, its robustness against diverse and potentially noisy human instruction needs empirical validation. Future work will focus on conducting the proposed user study and extending the state-indexing mechanism to handle more complex, cluttered environments.
Summary updated