Abstract
Personalization in web design has historically relied on ad-hoc techniques and rigid, hard-coded hierarchies. This paper proposes a formal framework that treats website interactions as computer programs. By applying Partial Evaluation (PE) and Explanation-Based Generalization (EBG), we demonstrate how digital interfaces can dynamically adapt to "partial information" provided by users. This approach moves beyond static designs to create "personable" digital experiences that accommodate out-of-turn user specifications and diverse browsing preferences.
1. Introduction
In the early era of the web, personalization was often a "black box" of heuristic tricks. A core challenge in web design is the inherent subjectivity of information organization. A site structured by "Manufacturer" (e.g., Nikon, Canon) serves one user well but may be "unpersonable" for another who prefers to browse by "Camera Type" (e.g., SLR, Point-and-Shoot). This paper seeks to formalize the concept of a "personable" site and provides a methodology for reasoning about these interactions through the lens of programming language theory.
2. The Personalization Dilemma
The standard industry response to varying user needs is to provide multiple hard-coded browsing paths. However, this leads to a combinatorial explosion as the number of product attributes increases. Furthermore, static designs often fail to handle "out-of-turn" information—cases where a user wishes to specify a preference before the interface explicitly requests it.
As shown in Figure 3, choosing one hierarchy over another inherently prioritizes one user's mental model over another's. A truly personable system should be able to navigate these structures fluidly based on user input.
3. Methodology: The Website as a Program
The proposed framework bridges programming languages (PL) and AI by introducing two core techniques:
3.1 Partial Evaluation (PE)
In PL, Partial Evaluation involves specializing a program based on a subset of its inputs. Viewing a website as a "dialog script," when a user provides an out-of-turn preference (e.g., specifying "SLR" while on a manufacturer selection page), the system "partially evaluates" the script. This process prunes irrelevant branches—such as manufacturers that do not offer SLRs—and simplifies the remaining interaction.
3.2 Explanation-Based Generalization (EBG)
While PE incorporates information during an interaction, EBG leverages information known prior to it. Borrowed from AI, EBG uses a "domain theory" to explain successful interactions and create templates for future use. For instance, remembering a returning user's shipping information allows the system to skip those steps in the "program" of a checkout process.
4. Key Insights and Results
The research introduces a hierarchy of "Seven Tiers of Personable Traits," ranging from simple Remembrance (e.g., saved credentials) to Improving the Addressability of Information (allowing users to find content using their own terms).
A critical finding is the "Trap of Freezing." Attempting to solve personalization by flattening all possible interactions into a single massive menu actually results in an "unpersonable" design. It forces every interaction to be a "complete evaluation," removing the flexibility of a true dialog.
The framework was validated through implementation using XSLT for Project VoteSmart, a personalization system for US Congressional data. This proved that high-level PL concepts could be effectively applied to standard web technologies.
5. Conclusion and Future Work
This framework unifies user-driven (PE) and system-driven (EBG) personalization. However, challenges remain in scaling "domain theories"—the handcrafted maps of site layout—and handling ambiguous user input (polysemy). Future research should focus on automated software tools that allow designers to prototype personable interactions without requiring deep expertise in formal logic.
Summary updated