The Partial Evaluation Approach to Information Personalization

Naren Ramakrishnan, Saverio PeruginiarXiv 2001

Introduction

Personalization has become a cornerstone of modern web experiences, from tailored news feeds to product recommendations. However, most personalized systems are built using "hardwired" logic that anticipates only a few specific interaction scenarios. This paper introduces PIPE (Personalization is Partial Evaluation), a systematic framework that treats information personalization as a program specialization problem. By modeling an information space as a program and using partial evaluation to "pre-compute" sections based on user input, the authors demonstrate how to create highly flexible, mixed-initiative interfaces that adapt their structure—not just their content—to individual users.

The Problem of Representational Mismatch

The core challenge in personalization is the "representational mismatch" between a user's intent and a system's fixed hierarchy. If a user wishes to provide information "out of turn"—for instance, specifying a car's year before its manufacturer in a rigid search hierarchy—the system often stalls or forces the user through redundant steps. Most existing systems lack a rigorous methodology to support "mixed-initiative" interactions, where both the system and the user can drive the navigation path.

Figure 1: Comparison of different 'hardwired' car search interfaces (Autolocate, Autobytel, Yahoo! Autos, and allcars) demonstrating varied structural hierarchies.

As shown in Figure 1, different websites often impose different, fixed navigational structures for the same domain. A user's specific needs might not align with any of these pre-defined paths, leading to a suboptimal user experience. The PIPE methodology aims to solve this by allowing the interface to be dynamically specialized based on user input.

The PIPE Methodology

The PIPE approach equates personalization to the computer science technique of partial evaluation. The methodology follows a four-step process:

  1. Programmatic Representation: The information space, such as a website hierarchy, is modeled as a computer program (typically in C or LISP). Hyperlinks and categories are represented as conditional statements (if-else, switch), and information-seeking activities are modeled as the program's control flow.
  2. Partial Evaluation: When a user provides a preference (e.g., "I only want cars from 2001"), this is treated as a "static input" to the program. A partial evaluator (such as C-Mix) runs on the program, removing all code paths that do not match the input and simplifying the logic.
  3. Dynamic Specialization: The output is a new, specialized program. This program generates a personalized interface where irrelevant levels of a hierarchy are "collapsed," bringing the user's target information closer to the surface.
  4. Program Compaction: To maintain scalability, graph-based algorithms identify and factor out commonalities in the site structure, ensuring the programmatic model remains efficient.

Case Studies and Evaluation

The authors evaluated the PIPE methodology using two primary application case studies and a benchmark model:

  • Project Vote Smart: A website for US congressional data. The authors modeled the site's three-level hierarchy (State $\rightarrow$ Branch/Party $\rightarrow$ Politician) into a five-level programmatic model to allow for more granular personalization. The PIPE model successfully realized 25 out of 32 (78%) user-defined personalization scenarios.
  • GAMS (Guide to Available Mathematical Software): This study integrated three distinct resources: a taxonomy of 10,000 algorithms, the PYTHIA recommender system, and the Netlib software repository. By using program compaction, the authors reduced the site schema to 60% of its original size, proving the efficiency of programmatic models.
  • The Examiner Model: A benchmark set of 35 mathematical problem scenarios was used to test the limits of the approach. All 35 scenarios were successfully modeled and realized.

Theoretical Insights

The PIPE framework offers several key insights into the nature of personalization:

  • Structural Transformation: PIPE goes beyond content filtering; it transforms the structure of the interaction by physically removing "dead-ends" and unnecessary navigational steps.
  • The Closure Property: Because the partial evaluation of a program results in another program, personalization is "closed." This allows for iterative specialization as the user provides more information.
  • First-Class Structure: The interaction backbone (categories and links) is treated as first-class data, allowing the system to optimize the interaction itself as a resource.
  • The "Factoring" Trade-off: The paper introduces the concept of "personability." A site can be under-factored (too rigid) or over-factored (too abstract). The ideal state is a well-factored representation where user inputs map directly to program variables.

Limitations and Future Directions

While promising, the PIPE approach has limitations. It works best for "bounded" activities with clear terminal states (like finding a specific car or politician) and struggles with "unbounded" activities like social network browsing. Additionally, the initial programmatic modeling currently requires significant manual effort.

Future work includes exploring more advanced program transformation techniques, such as program slicing, to handle terminal information more effectively. The authors also suggest integrating "context-awareness" (e.g., user location or device type) as partial information to further specialize the user experience.

Summary updated

BibTeX
@misc{ramakrishnan2001partial,
  author = {Naren Ramakrishnan and Saverio Perugini},
  title = {{The Partial Evaluation Approach to Information Personalization}},
  year = {2001},
  eprint = {cs/0108003},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/cs/0108003},
}
Figure