Introduction
Personalization in web environments has historically been a "solution-first" field, often relying on ad-hoc algorithms or tracking mechanisms without a clear link to user requirements. This paper presents a formal methodology to bridge the gap between human-computer interaction (HCI) design and automated software specialization. By treating an information space as a program, the authors propose that personalization can be viewed as a process of partial evaluation.
The PIPE Framework: Personalization is Partial Evaluation
The core of the proposed methodology is PIPE (Personalization is Partial Evaluation). In traditional computer science, partial evaluation specializes a general program for a specific set of inputs to improve efficiency. In the context of the web, a site is modeled as a program, and personalizing it for a specific user group (e.g., "Democrats from California") is equivalent to specializing that program with those specific variables fixed.
Methodology: From Scenarios to Code
The authors integrate three distinct concepts into a unified workflow:
- Scenario-Based Design (SBD): Designers begin by documenting qualitative narratives of user interactions to identify core requirements.
- Explanation-Based Generalization (EBG): This AI technique uses a "domain theory"—a formal map of the website's logic—to construct an explanation tree. This tree demonstrates why a specific user scenario is successful within the system's rules.
- Operationalization and the "Cutting Plane": Designers draw a "cutting plane" through the explanation tree. Logic above the plane is automated (frozen into the system), while logic below remains interactive for the user.
Implementation and Results
The operationalized tree is translated into a PIPE model, typically expressed in languages like C or LISP. This model can then be specialized on the fly to generate personalized user experiences.
The methodology was validated through a case study of the "Pigments through the Ages" website. The resulting PIPE model comprised over 2,300 lines of C code. In testing, the system successfully supported 33 out of 35 unique user-generated personalization requests. The minor failures were attributed to data ambiguities in the underlying domain theory rather than flaws in the PIPE methodology itself.
Discussion and Future Work
A key insight of this work is that personalization is essentially a search through a "space of models," moving from general to specialized versions. However, the approach faces challenges, notably the labor-intensive requirement of manually creating a robust domain theory. Future research directions include automating the placement of the "cutting plane" using utility analysis and incorporating stateful context to handle multi-step user interactions.
Summary updated