Towards Learning Reward Functions from User Interactions

Ziming Li, Julia Kiseleva, Maarten de Rijke, Artem Grotov · DOI

Introduction

Traditional evaluation metrics for interactive systems, such as search engines and recommenders, often rely on static, "one-size-fits-all" assumptions. For instance, a "satisfied click" is typically treated as a universal success signal regardless of the user's context. However, user intent is deeply personal; a child searching for "panda" likely seeks images or cartoons, whereas an adult might be looking for conservation data or Wikipedia articles. This paper proposes a shift toward personalization by "reverse engineering" a user’s internal reward function from their interaction logs using Inverse Reinforcement Learning (IRL). By doing so, systems can understand and adapt to the diverse preferences of different user groups.

Methodology: The User as the Agent

The authors frame user-system interaction as a Markov Decision Process (MDP). In a departure from standard reinforcement learning where the system is the agent, this model casts the user as the agent and the interactive system as the environment.

The interaction loop modeled as an MDP where the user acts as the agent.

In this framework:

  • Actions ($a_t$): The choices made by the user (e.g., clicking a link, viewing an object).
  • Situation ($s_t$): The context provided by the system.
  • Reward Function: The internal logic determining user satisfaction, modeled as a linear combination of features: $R(s) = \theta^T \cdot f(s)$.

To recover the hidden reward weights ($\theta$), the authors employ Maximum Entropy IRL (MaxEnt IRL). This technique identifies the most likely weights that explain observed sequences of user actions (interaction traces) without making over-constrained assumptions about the user's policy.

Experimental Setup

The study utilized real-world physical interaction logs from an archaeological museum. The dataset consisted of onsite logs where users interacted with Points of Interest (POIs) across eight distinct topics, such as "army," "food," and "death." After filtering for complete demographic data, the researchers analyzed 4,694 sessions. Fourteen features were used to characterize the interactions, including the topic of interest, the order of objects viewed, and the duration of the interaction.

Analysis of User Rewards

The application of IRL successfully distinguished between the underlying motivations of different user segments, specifically "Child" and "Adult" groups.

Learned reward weights for Adult and Child user groups across different topics.

Key Insights:

  • The "Curiosity" Gap: A striking finding was the difference in how age groups value sensational content. The "death" feature had a significantly higher positive weight for children (0.6479) than for adults (0.1340), suggesting that children are more driven by curiosity for such topics.
  • Negative Rewards and Frustration: For the Adult group, the "architecture" feature yielded a negative weight (-0.7106), indicating a lack of interest or potential frustration, whereas it was slightly positive for children (0.2658).
  • Interaction Patterns: Adults showed consistent weights across the order of objects viewed (object1, object2, object3), suggesting a tendency to be thorough. In contrast, children had much higher weights for the first object, indicating they are more likely to lose interest after the initial interaction.
  • Top Interests: While "food" was a strong positive reward for both groups, adults showed a higher preference for "religion" (1.0539), while children favored "entertainment" (1.2394).

Conclusion and Future Work

This research demonstrates that "reward" is not a universal constant and that IRL can effectively quantify the divergent motivations of user groups. However, several avenues for future work remain. Moving beyond the linear assumption to Deep IRL could capture more complex human behaviors, and future systems should aim to discover user segments automatically rather than relying on predefined categories. Additionally, addressing the "state space explosion" as feature sets grow will require more efficient computation or automatic feature selection. By recovering these personalized reward functions, developers can build interactive systems that are truly optimized for individual user satisfaction rather than the "average" user.

Summary updated

BibTeX
@inproceedings{li2017towards,
  author = {Ziming Li and Julia Kiseleva and Maarten de Rijke and Artem Grotov},
  title = {{Towards Learning Reward Functions from User Interactions}},
  booktitle = {ICTIR},
  year = {2017},
  doi = {10.1145/3121050.3121098},
}
Figure