Reactive Control of Dynamic Progressive Processing

Shlomo Zilberstein, Abdel-Illah MouaddibIJCAI 1999

Abstract

This paper introduces a framework for "reactive control" in information retrieval (IR) systems, enabling search engines to dynamically swap algorithms on the fly to balance result quality against computational costs. By modeling the search process as a Markov Decision Process (MDP) and utilizing the economic concept of "opportunity cost," the system can optimally decide when to use complex processing and when to bypass certain modules to maintain performance during high traffic.

Introduction

Most modern search engines utilize a static pipeline where every query undergoes the same sequence of operations, such as spellchecking, query expansion, and retrieval. However, real-world server environments are volatile; a sudden spike in traffic or an exceptionally complex query can overwhelm resources, leading to latency issues. Current systems are typically optimized for specific loads and often fail to adapt gracefully when resources become scarce. This research addresses the challenge of dynamic composition: how a system can monitor its own performance in real-time and select the optimal set of retrieval techniques to maximize quality of service as the query queue grows.

Methodology

The Progressive Processing Unit (PRU) Model

The authors propose a multi-layered approach based on Progressive Processing Units (PRUs). In this model, a search task is decomposed into a sequence of levels (e.g., Query Improvement, Expansion, and Evaluation). Each level contains multiple alternative modules, each characterized by a distinct "quality vs. duration" profile.

A multi-layered IR pipeline architecture illustrating the modular structure of Progressive Processing Units (PRUs).

MDP Formulation and Reactive Control

To manage a single task, the problem is modeled as a Markov Decision Process (MDP). The "state" at any given time includes the current processing level, the quality achieved thus far, and the elapsed time. The system must choose between executing a specific module or skipping a level entirely to conserve time.

The MDP state-transition model showing the progression of a query through processing units over time, where nodes represent states and arrows represent actions.

To handle multiple queries in a queue without the computational burden of a massive joint MDP, the authors introduce the concept of Opportunity Cost (OC). This represents the expected loss in value for future queries caused by delaying them to finish the current one. By using pre-compiled control policies, the system can estimate the current load (low, medium, or high), calculate the opportunity cost, and instantly pull the corresponding optimal strategy from a library.

Key Insights

  • Time-Dependent Utility: The value of a search result is defined not just by its accuracy, but by its accuracy relative to its arrival time. A good result delivered in one second may be more valuable than a perfect result delivered in ten.
  • The "Skip" as an Action: In the MDP framework, doing nothing is a valid action. If time is limited, skipping optional query expansion to jump straight to retrieval is often the mathematically optimal choice.
  • Economic Decoupling: Opportunity Cost allows the system to optimize the current task in isolation while remaining globally optimal for the entire queue. It effectively weighs the marginal quality gain of an extra module against the delay it causes for all subsequent users.
  • Monotonicity of Decisions: As load increases and opportunity costs rise, optimal decision-making shifts predictably toward faster, lower-quality modules. This predictability allows for the discretization of load regions for efficient policy pre-compilation.

Theoretical Results

The paper provides a rigorous mathematical foundation for this framework:

  1. Theorems 1 & 2: Prove that the MDP formulation provides an optimal reactive control policy for both single and multiple sequential tasks.
  2. Theorem 3: Demonstrates that an "OC-policy" (subtracting opportunity cost from the reward) is mathematically equivalent to the global optimum for a sequence of tasks.
  3. Computational Efficiency: The proposed approximation for opportunity cost avoids the "curse of dimensionality" typically associated with large MDPs, allowing for real-time strategy updates.

Limitations and Future Work

While the framework is theoretically sound, the authors acknowledge several areas for further development. The reactive model relies on an approximation of opportunity cost, and empirical evaluation is needed to determine how much optimality is lost compared to a full joint MDP. Additionally, the current model assumes a First-In-First-Out (FIFO) processing order, which may not account for varying priorities or Service Level Agreements (SLAs). Finally, the system's success depends on accurate "module descriptors"—predicting the probability of high-quality output for specific algorithms—which remains a significant challenge for diverse web queries.

Summary updated

BibTeX
@inproceedings{zilberstein1999reactive,
  author = {Shlomo Zilberstein and Abdel-Illah Mouaddib},
  title = {{Reactive Control of Dynamic Progressive Processing}},
  booktitle = {International Joint Conference on Artificial Intelligence},
  year = {1999},
}
Figure