Optimizing Interactive Systems via Data-Driven Objectives

Ziming Li, Julia Kiseleva, Alekh Agarwal, Maarten de Rijke, Ryen W. WhitearXiv 2020

Abstract

Effective optimization is essential for real-world interactive systems to provide a satisfactory user experience in response to changing user behavior. However, it is often challenging to find an objective to optimize for interactive systems (e.g., policy learning in task-oriented dialog systems). Generally, such objectives are manually crafted and rarely capture complex user needs in an accurate manner. We propose an approach that infers the objective directly from observed user interactions. These inferences can be made regardless of prior knowledge and across different types of user behavior. We introduce Interactive System Optimizer (ISO), a novel algorithm that uses these inferred objectives for optimization. Our main contribution is a new general principled approach to optimizing interactive systems using data-driven objectives. We demonstrate the high effectiveness of ISO over several simulations.

Introduction

Building effective interactive systems—such as search engines, recommendation platforms, or conversational agents—requires a well-defined objective function. Traditionally, these systems are optimized using hand-crafted proxies like click-through rates (CTR), "likes," or linguistic metrics. However, these manual rewards often fail to capture the nuances of human satisfaction. A user might click a link out of curiosity but leave frustrated, or a chatbot might provide a grammatically correct answer that is entirely unhelpful. Furthermore, hand-crafting rewards requires significant domain expertise and lacks generalizability. This research addresses a fundamental question: Can we learn the objective function directly from user interaction data?

Methodology: The ISO Framework

The researchers propose the Interactive System Optimizer (ISO), a framework that replaces manually defined rewards with objectives inferred from user behavior. ISO treats the user as an agent and the system as a programmable environment, iteratively learning user preferences.

The iterative framework of the Interactive System Optimizer (ISO), showing the cycle of reward recovery and system optimization across iterations.

The algorithm operates through a two-step iterative process based on Markov Decision Processes (MDPs):

  1. Reward Recovery (User as Agent): The system observes "trajectories" (sequences of user actions and system responses). It assumes the user is a rational agent attempting to maximize a hidden utility. Using Inverse Reinforcement Learning (IRL), specifically MaxEnt-IRL or Adversarial IRL (AIRL), the system infers a reward function that best explains the observed user behavior.
  2. System Optimization (System as Agent): The roles are then reversed. The interactive system becomes the "agent," and the user is treated as the "environment." The system employs standard Reinforcement Learning (e.g., PPO or Q-learning) to update its policy, maximizing the user rewards discovered in the previous step.

This process repeats: as the system improves, the user adapts their behavior, and the system performs another round of reward inference and optimization.

Experimental Evaluation

To validate the framework, the authors utilized two sophisticated simulated environments where "ground truth" rewards are known:

  • Tabular-based World: A discrete environment with 64 states and 4 actions, used to test convergence under varying connectivity factors.
  • Network-based World: A complex, continuous 50-dimensional state-space where policies and rewards are represented by deep neural networks.

Results

  • Performance Gains: In tabular simulations, ISO achieved relative improvements in user satisfaction (expected state value) between 127% and 281%, depending on environment complexity.
  • Robustness to Noise: The system remained effective even when 60% of user trajectories were "noisy" or adversarial, demonstrating its ability to handle "approximately rational" human behavior.
  • Neural Scalability: In deep learning contexts, the system successfully scaled. The authors found that using a KL-Divergence regularization term was crucial to prevent the system from changing too drastically between iterations, maintaining RL training stability.

Discussion and Insights

ISO introduces a novel "role swap" paradigm that discovers rewards human designers might overlook. By focusing on data-driven objectives rather than domain-specific heuristics, the system can adapt to complex user needs more accurately.

The paper emphasizes gradual optimization. If a system's logic changes overnight, users may become frustrated. ISO's iterative nature allows for a gradual adaptation that lets users adjust to the system as it learns.

Conclusion and Future Work

While ISO shows significant promise, several challenges remain. Recovering reliable reward functions via IRL is data-intensive. Additionally, the current model assumes user homogeneity; future iterations will need to incorporate personalization to account for diverse user goals. Finally, scaling these methods to the massive action spaces of real-world web engines remains a primary objective for future research.

Reference: Li, Z., Kiseleva, J., Agarwal, A., de Rijke, M., & White, R. W. (2020). Optimizing Interactive Systems via Data-Driven Objectives. arXiv:2006.12999v1 [cs.AI].

Summary updated

BibTeX
@misc{li2020optimizing,
  author = {Ziming Li and Julia Kiseleva and Alekh Agarwal and Maarten de Rijke and Ryen W. White},
  title = {{Optimizing Interactive Systems via Data-Driven Objectives}},
  year = {2020},
  eprint = {2006.12999},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2006.12999},
}
Figure