Published in 2003, this research presents a formal framework for managing complex, multimodal web interactions. By treating a website’s structure as a computer program, the authors utilize compiler-inspired techniques to allow users to navigate sites with unprecedented flexibility, such as using speech to "jump ahead" in a hierarchy.
The Problem: Rigid Hierarchical Navigation
Traditional web browsing is primarily "site-initiated." The website dictates a specific sequence of links, and the user must follow this rigid click-path to reach their destination. For instance, finding a specific political official often requires a strict linear progression: selecting a state, then a branch of government, and finally a political party.
This hierarchy becomes problematic when multimodal inputs, such as speech, are introduced. A user may wish to provide information "out-of-turn"—for example, saying "Democrat" while still on the initial state selection page. Manually hard-coding every possible navigation path to accommodate such flexibility leads to an exponential increase in system complexity. The authors sought an automated way to handle these flexible dialogs without re-engineering the underlying website architecture.
Methodology: Staging Transformations
The core innovation of this work is the Staging Transformation framework. The authors model a website's navigation structure as a program consisting of nested conditionals. By applying techniques from programming language theory, they can dynamically reshape the site's flow based on user input.
Partial Evaluation (PE)
Partial Evaluation is a technique where a program is specialized based on a subset of its inputs. In this framework, when a user provides an out-of-turn input (like a political party), the "program" (the website) is partially evaluated with that value. This automatically prunes the search space—removing states or branches that do not contain the specified party—and simplifies the remaining navigation for the user.
Interaction Stagers
The system defines several "stagers" to control the interaction flow:
- Interpreter (I): Enforces a strict, sequential order typical of standard browsing.
- Partial Evaluator (PE): Offers maximum flexibility, allowing any combination of inputs in any order.
- Currier (C): Allows multiple inputs simultaneously, provided they follow the established hierarchy.
- Alternator (A): Manages choices between mutually exclusive links.
To implement these, the system uses "program slicing" to identify reachable pages and retain only the paths leading to those destinations. The architecture relies on an Interaction Manager for session handling and a Transformation Engine (built using XSLT) to prune the site's XML representation.
Evaluation and Results
The framework was evaluated using real-world case studies, including Project Vote Smart (a directory of US officials) and the Open Directory Project (ODP).
Increased Flexibility
On the Project Vote Smart site, the standard browsing model allowed for 540 unique navigation sequences. Enabling the Partial Evaluator (PE) stager increased the number of valid paths to 12,960—a 2,300% increase in flexibility without adding new content. For the ODP Home subtree, the reachable sequences increased by a staggering 44,400%.
User Performance
In a study involving 25 users, 100% of participants successfully utilized the out-of-turn interfaces when presented with tasks that favored jumping ahead in the hierarchy. Despite the underlying theoretical complexity, the transformation engine was implemented efficiently in fewer than 500 lines of C code.
Conclusion and Future Work
By treating UI state management as a compiler problem, the authors demonstrated that "state" is not a separate variable to track, but rather the transformed, simplified version of the website itself. While highly effective for declarative tasks (finding items in a hierarchy), the system currently struggles with procedural tasks requiring multi-step logic. Future work aims to support "interjection-style" interactions, where the user interface updates dynamically in real-time as the user speaks.
Summary updated