Interactive Visualization Recommendation with Hier-SUCB

Songwen Hu, Ryan A. Rossi, Tong Yu, Junda Wu, Handong Zhao, Sungchul Kim, Shuai Li

Introduction

Selecting the most effective visualization for a large dataset is a highly subjective process. While a software engineer might require a time-series line chart to monitor CPU usage, a manager might prefer a high-level summary table. Traditional Personalized Visualization Recommendation (PVisRec) systems struggle with two primary challenges: the cold-start problem and static interaction.

Most current models are "offline," relying on extensive historical data. When a new user arrives without a profile, these systems default to generic preferences that rarely meet specific needs. Furthermore, these models lack a feedback loop; they provide a list of charts but cannot adapt in real-time if a user finds the suggestions irrelevant. To address these issues, this research introduces Hier-SUCB, an interactive recommendation system that treats visualization selection as a real-time learning problem.

The Hier-SUCB Framework

Hier-SUCB (Hierarchical Semi-Upper Confidence Bound) is a contextual combinatorial semi-bandit algorithm designed to learn user preferences through active interaction. The core innovation lies in how the system decomposes and explores the visualization space.

1. Structural Decomposition

Instead of treating every possible visualization as a monolithic item, Hier-SUCB breaks a chart down into two components:

  • Configuration: The visual encoding type (e.g., Bar Chart, Scatter Plot, Line Chart).
  • Attributes: The specific data dimensions or columns assigned to the chart's axes.

2. Hierarchical Learning

To manage the vast search space of possible combinations, the agent employs a "divide and conquer" strategy. It first selects a chart configuration and then identifies the optimal attributes for that specific configuration. This hierarchical approach significantly reduces mathematical complexity, moving the action space from $O(nm^2)$ to $O(m^2)$, where $n$ represents configurations and $m$ represents attributes. This reduction allows the agent to converge on user preferences much faster than flat models.

3. The Learnable Bias Term

A critical finding in this research is the "combination gap." Analysis of real-world data shows that even if a user likes a specific chart type and a specific set of data columns independently, they only approve of the resulting combination approximately 22% of the time. To account for this, Hier-SUCB includes a learnable bias term that models the unique interaction effect between configurations and attributes, allowing the system to correct its predictions when a specific pairing fails to meet user expectations.

Experimental Methodology

The researchers evaluated Hier-SUCB using a multi-pronged approach:

  • Plot.ly Datasets: The team utilized a real-world corpus of over 94,000 datasets from 17,000 users, focusing on a subset (Plot.ly-1k) and the full dataset (Plot.ly-full).
  • User Simulation: To facilitate thousands of iterations, a simulator was built based on authentic Plot.ly user behavior to provide Bernoulli feedback (like/dislike).
  • Human Validation: A study involving 51 participants was conducted to ensure the simulator’s feedback accurately mirrored real human preferences.

Key Results and Insights

The evaluation demonstrated that Hier-SUCB significantly outperforms existing benchmarks in both speed and accuracy:

  • Outperforming Offline SOTA: Hier-SUCB surpassed Neuro-PVR (the state-of-the-art offline neural network model) in "Hit Rate @ 1" within just 80 rounds of interaction on the Plot.ly-1k dataset. This highlights the system's ability to overcome the cold-start problem through rapid adaptation.
  • Superiority over Standard Bandits: The model consistently achieved higher average rewards and lower cumulative regret compared to standard bandit algorithms like LinUCB and C2UCB, proving the value of the hierarchical structure.
  • Ablation Studies: Removing either the hierarchical structure or the learnable bias term resulted in a significant performance drop, confirming that both components are essential for capturing the nuances of user preference.

Limitations and Future Directions

While Hier-SUCB represents a major step forward for interactive PVisRec, several challenges remain. While the system handles up to 100 attributes effectively, extremely high-dimensional datasets may still impact real-time performance. Additionally, the current model relies on explicit granular feedback (e.g., "I liked the columns but not the chart type"), which could lead to user fatigue. Future research may focus on inferring these preferences implicitly from user behavior. Finally, extending this framework from individual charts to complex, multi-view dashboards remains an open area for exploration.

Summary updated

BibTeX
@inproceedings{hu2025interactive,
  author = {Songwen Hu and Ryan A. Rossi and Tong Yu and Junda Wu and Handong Zhao and Sungchul Kim and Shuai Li},
  title = {{Interactive Visualization Recommendation with Hier-SUCB}},
  booktitle = {The Web Conference},
  year = {2025},
}
Figure