Abstract
Service robots for personal use in the home and the workplace require end-user development solutions for swiftly scripting robot tasks as the need arises. Many existing solutions preserve ease, efficiency, and convenience through simple programming interfaces or by restricting task complexity. Others facilitate meticulous task design but often do so at the expense of simplicity and efficiency. There is a need for robot programming solutions that reconcile the complexity of robotics with the on-the-fly goals of end-user development. In response to this need, we present a novel, multimodal, and on-the-fly development system, Tabula. Inspired by a formative design study with a prototype, Tabula leverages a combination of spoken language for specifying the core of a robot task and sketching for contextualizing the core. The result is that developers can script partial, sloppy versions of robot programs to be completed and refined by a program synthesizer. Lastly, we demonstrate our anticipated use cases of Tabula via a set of application scenarios.
Introduction
As service robots become more prevalent in domestic and professional settings, the ability for non-expert users to program them for immediate, context-specific tasks is becoming a critical requirement. However, current End-User Development (EUD) solutions often fall into two extremes. Simple interfaces, such as trigger-action programming, are easy to learn but lack the expressiveness required for complex navigation or conditional logic. Conversely, more powerful block-based or desktop interfaces provide high detail but are too cumbersome for "on-the-fly" needs—such as a grocery store manager needing to quickly direct a robot to guard a fresh spill.
To bridge this gap, we introduce Tabula, a multimodal system that allows users to script robot tasks using a combination of spoken language and sketching on a tablet. By embracing a "sloppy programming" paradigm, Tabula allows users to provide incomplete, high-level intent, which the system then synthesizes into fully executable robot programs.
The Tabula System: Record-and-Synthesize
Tabula operates on a "record-and-synthesize" workflow designed to minimize the cognitive load on the user while maximizing the robot's utility. The system processes two primary streams of input:
1. Multimodal Input
- Spoken Language: Users provide the "core" of the task through one or two spoken statements. Tabula uses keyword matching and VerbNet to map spoken verbs (e.g., "grab," "move") to specific robot actions and nouns to parameters.
- Sketching: Users provide "context" by drawing over a 2D map of the environment on a tablet. This spatial modality grounds the speech; for example, saying "over there" is disambiguated by a sketch of a specific region.
2. Sketch Parsing and Control Flow
One of the system's most innovative features is using sketches to define program structure. The system interprets finger or stylus movements as a sequence of regions. If a user sketches a path that visits a region multiple times or returns to a starting point, Tabula automatically detects a loop. This allows users to define complex while or for loops visually, without ever writing code.
3. Program Synthesis
The "brain" of Tabula is an AI-powered synthesizer that uses A* search and planning techniques to bridge the gap between sloppy input and valid execution. The synthesizer automatically resolves unfilled arguments and inserts missing prerequisite steps. For instance, if a user commands the robot to "put the groceries away," the synthesizer recognizes that the robot must first "grab" the items before it can move them to the destination.
Evaluation and Results
While the paper does not rely on traditional large-scale datasets, the researchers evaluated Tabula through a formative user study and a rigorous synthesizer test suite consisting of 33 distinct scenarios (T1-33) across hospital, home, and retail environments.
Key Performance Metrics
- Efficiency: The synthesizer is remarkably fast, generating complete, executable programs in an average of 3.04 seconds.
- Usability: A formative study of the initial prototype yielded a System Usability Scale (SUS) score of 77, indicating high potential for user adoption even before the full integration of sketching features.
Application Scenarios
The system successfully demonstrated its versatility through three complex real-world use cases:
- Grocery Spill: The robot navigates around an obstacle while setting a trigger-action alert to warn customers.
- Hospital Guiding: The robot executes branching logic, asking a visitor if they need an escort and reacting based on the response.
- Tidying Up: The robot performs a looping task, picking up toys from various rooms and returning them to a central chest until the area is clear.
Discussion and Future Work
Tabula demonstrates that "sloppy" input, when paired with a robust synthesizer and multimodal grounding, can effectively reconcile the complexity of robotics with the speed of real-world needs. However, several areas for improvement remain. Currently, the system requires a pre-mapped environment and lacks a feedback mechanism to clarify ambiguities with the user. Furthermore, the synthesizer relies on a fixed domain of known objects. Future iterations could explore allowing users to sketch into unmapped areas to facilitate exploration or implementing a dialogue system for better error resolution.
By moving away from the requirement for perfect, meticulous code, Tabula provides a blueprint for the next generation of intuitive, on-the-fly robot programming tools.
Summary updated