IRF: interactive recommendation through dialogue

Oznur Alkan, Massimiliano Mattetti, Elizabeth M. Daly, Adi Botea, Inge Vejsbjerg

Introduction

Traditional recommender systems typically function as "black boxes," providing users with a list of suggestions based on historical data with limited opportunity for real-time correction or explanation. This lack of transparency and user agency can lead to frustration when recommendations are based on outdated interests or misunderstandings. The Interactive Recommendation Framework (IRF) addresses these challenges by providing a generic middleware that transforms static recommenders into conversational agents.

System Architecture and Methods

IRF acts as a bridge between the user and a standard recommendation API, decoupling the interaction logic from the underlying recommendation algorithm. The framework consists of two primary modules:

  1. Dialogue Manager (DM): Utilizing Watson Assistant and AI planning, the DM parses user intents and manages conversational flow based on pre-defined dialogue plans.
  2. Middleware (MW): This component translates natural language dialogue into actionable data. Key sub-components include:
  3. Post-Processor (PP): Re-ranks recommendations in real-time based on newly expressed preferences using cosine similarity.
  4. User Profiling and Preferences Manager (UPM): Maintains both session-specific "temporary" profiles and long-term "permanent" profiles to handle immediate needs without distorting long-term history.
  5. Explanation Generation (EG): Employs TF-IDF models to justify recommendations by identifying shared features between items and the user profile.
  6. Question Generation (QG): Uses Information Gain to proactively ask the most effective questions to narrow the search space.
Example of dialogue interactions including real-time list updates, profile inspection, and recommendation explanations.

Cross-Domain Versatility

A core strength of IRF is its domain-agnostic design. The authors demonstrated this by deploying the framework on two distinct datasets: MovieLens 100k (movie recommendations) and Career Builder (job recommendations). Despite the differences in underlying algorithms—content-based filtering for movies and sequential pattern mining for jobs—the IRF required only minimal configuration changes to handle both domains effectively. This modularity allows developers to add interactivity to existing systems without rebuilding them from scratch.

Standardized Integration and Results

The research proposes a standardized REST API to facilitate the integration of any recommender system into the IRF middleware. By implementing a set of required and optional endpoints, a "black-box" system becomes interactive.

Required and optional REST API endpoints for IRF integration.

Qualitative results and functional prototypes confirm that the system successfully handles complex tasks, such as explaining recommendation logic and allowing users to "down-vote" specific features (e.g., directors or job categories) mid-conversation.

Conclusion and Future Work

IRF provides a robust blueprint for moving beyond static recommendation lists toward collaborative, transparent dialogue. While the framework demonstrates architectural success across domains, future research is needed to quantitatively evaluate user trust and satisfaction through large-scale studies. Additionally, expanding the system's capability to handle more complex, multi-turn conversational strategies remains an area for development.

Summary updated

BibTeX
@inproceedings{alkan2019irf,
  author = {Oznur Alkan and Massimiliano Mattetti and Elizabeth M. Daly and Adi Botea and Inge Vejsbjerg},
  title = {{IRF: interactive recommendation through dialogue}},
  booktitle = {RecSys},
  year = {2019},
  doi = {10.1145/3298689.3346966},
}
Figure