This paper, originally appearing in the early 2000s, offers a fascinating bridge between the worlds of Human-Computer Interaction (HCI) and Programming Language (PL) theory. It proposes that the complex "dance" of a natural conversation can be modeled using a classic computer science technique called partial evaluation.
TL;DR
The authors demonstrate that "mixed-initiative" interaction—where both a human and a computer can steer a conversation—is functionally equivalent to "partial evaluation" in programming. By treating a dialog script as a program that gets specialized as a user provides information, developers can create flexible voice interfaces without manually coding every possible conversational path.
What Problem Does This Paper Address?
In the early days of voice-recognition systems, most interactions were "system-initiated." The computer would ask a specific question ("What size pizza?"), and the user would provide a specific answer. If the user tried to jump ahead ("I'd like a large pepperoni"), the system would often break or ignore the extra information because it wasn't "its turn" to talk about toppings.
Creating "mixed-initiative" systems—where the user can provide information out of turn or steer the flow—was historically difficult. Developers had to anticipate every possible permutation of how a user might provide data, leading to "spaghetti code" or massive state machines. This paper seeks a unified, formal programming model that makes these flexible interactions easier to build and reason about.
Methods
The authors propose a novel architectural shift: Mixed-Initiative Interaction = Mixed Computation.
- The Analogy: They treat a dialog as a task-oriented program where "slots" (like pizza size, topping, and crust) are variables passed by reference.
- Partial Evaluation: In programming, a partial evaluator takes a program and some of its inputs to produce a new, "specialized" version of that program. The authors apply this to conversation: when a user provides an unsolicited piece of info (e.g., the topping), the system "partially evaluates" the dialog script, filling that variable and generating a simplified script that skips the now-unnecessary question about toppings.
- The Architecture: They propose a dual-engine design:
- The Interpreter: Handles the standard, sequential flow of the dialog.
- The Partial Evaluator: Handles "out-of-turn" inputs, simplifying the remaining script on the fly.
- Reverse Engineering VoiceXML: The authors analyze VoiceXML (the industry standard at the time) and prove that its "Form Interpretation Algorithm" (FIA) is actually a disguised partial evaluator.
Datasets
Not discussed in the paper. This is a theoretical and architectural paper that uses illustrative examples (specifically a "Joe's Pizza" ordering system) rather than empirical datasets or user studies.
Key Insights and Ideas
- "For Free" Flexibility: By using the partial evaluation model, a developer only needs to write a simple, linear script. The system automatically handles all possible permutations of how a user might fill those slots (e.g., providing all info at once, or providing it in a different order).
- Staging as Interaction: The authors argue that "computation staging" (deciding when to run which part of a program) is exactly the same thing as "interaction staging" (deciding what to ask the user next).
- The Secret of VoiceXML: The paper reveals that VoiceXML’s power didn't just come from its tags, but from the fact that it implicitly implemented a PL theory concept. The "grammar" files in VoiceXML aren't just for recognizing words; they are instructions for how to specialize the dialog program.
- Uniform Handling: Instead of treating "responsive" inputs (answering a direct question) and "unsolicited" inputs (jumping ahead) as different code paths, this model treats them both as values for partial evaluation.
Key Results
- Complexity Reduction: The authors show that for a simple three-item pizza order, there are 13 to 24 different ways a conversation could unfold. Their model supports all of them using a single, straightforward script (Fig. 2).
- Technological Comparison: The paper provides a comparison (Table 1) of voice technologies. It shows that while "Recognizer-Only APIs" provide raw text, only architectures like VoiceXML (which use the partial evaluation logic) provide native support for "Interaction Staging."
- Theoretical Validation: They successfully mapped the "Select-Collect-Process" cycle of the VoiceXML FIA to the formal components of an interpreter and a partial evaluator.
Limitations and Future Work
- Slot-Filling Focus: The model primarily addresses "unsolicited reporting" (filling slots out of order). It does not yet handle "meta-dialogs" where a user asks a question back to the system (e.g., "What sizes do you have?") or complex negotiations.
- Side Effects and Overwrites: The paper notes that if a user changes their mind (overwriting a previously filled slot), the system needs to maintain state across multiple "evaluations," which adds complexity to the "pure" partial evaluation model.
- Future Directions: The authors suggest extending the model to include "program slicing" and more advanced reasoning to handle context-heavy conversations beyond simple forms.
Summary updated