Abstract
We present SkillBot, a system designed to empower end users to teach new skills to personal assistants (PAs) through natural demonstration on a device screen. Unlike traditional PA development, which requires specialized IDEs and coding expertise, SkillBot automates the creation of natural language understanding (NLU) engines and action execution scripts. By recording user interactions and synthetically generating training data, SkillBot enables the rapid development of custom skills. Our evaluations on benchmark and in-house datasets demonstrate competitive NLU performance and high user efficiency, with new skills being built in just a few minutes.
Introduction
Personal assistants (PAs) like Alexa, Siri, and Google Assistant have become integral to modern life, yet they face a significant "long-tail" challenge. While developers focus on high-frequency "head" skills—such as checking weather or setting alarms—they cannot anticipate the vast array of niche tasks specific to individual users, such as navigating a local grocery app or a specialized corporate tool. Currently, bridging this gap requires expertise in software development and NLU, as well as manual coding for task fulfillment.
SkillBot addresses this barrier by allowing non-technical users to "teach" their assistants through direct demonstration. By observing how a user interacts with a mobile interface, SkillBot can infer the intent and parameters of a command, automating the transition from user action to machine-executable skill.
System Architecture
SkillBot's architecture is divided into two primary pipelines: Automatic Action Fulfillment and Automatic NLU Development. This dual-track approach ensures that the system can both understand what the user wants and perform the necessary actions to achieve it.
Automatic Action Fulfillment
During the demonstration phase, SkillBot records system-level events, including UI clicks, text inputs, and view transitions. To ensure reliability, the system filters out "noise" such as transient system notifications. These events are compiled into a "bytecode" file, which serves as a script that the PA can replay to simulate the user's actions on the device's UI.
Automatic NLU Development
The core challenge in automating NLU is the lack of training data for new, user-defined skills. SkillBot overcomes this through two innovative techniques:
- Slot Identification: When a user provides input during a demonstration (e.g., typing "San Jose"), SkillBot employs a zero-shot slot tagging model. It compares the input against a library of pre-built skills to identify the most likely "slot" type, such as
@location. - Utterance Generation: To train the NLU without requiring hundreds of manual examples, SkillBot uses a "mix-and-match" strategy. It takes the structure of the user's initial command and combines it with vocabulary and segments from high-quality, pre-built skills.
This synthetic data generation allows the system to bootstrap a robust NLU model for a "tail" skill using the high-quality data from established "head" skills.
Evaluation and Results
SkillBot was evaluated using the ATIS (Airline Travel Information System) benchmark and an in-house Yelp dataset. The results highlight the system's ability to generate effective NLU models automatically.
- Intent Accuracy: On the ATIS dataset, SkillBot significantly outperformed baseline models. For instance, intent detection accuracy for "flight" queries improved from 27% to over 60%.
- Slot Filling: The system achieved high F1 scores for parameter identification, ranging between 92% and 96% on the Yelp dataset.
- User Efficiency: Qualitative testing confirmed that ordinary users could successfully build and deploy a new skill within minutes, demonstrating the system's accessibility.
Discussion and Future Work
SkillBot demonstrates that the mobile UI can serve as a semantic map, where user interactions provide the "ground truth" for command interpretation. Furthermore, the inclusion of proactive clarification—where the bot asks follow-up questions if a slot is missing—was found to be crucial in masking NLU errors and ensuring task success.
Despite its successes, SkillBot has limitations. It currently operates within a single-app context and relies on pre-segmented utterances for data generation. Future research will focus on cross-app workflows, handling dynamic UI changes, and mapping slots across diverse domains to further enhance the versatility of user-taught skills.
Summary updated