NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Visual Data Analysis with Task-Based Recommendations

Leixian Shen, Enya Shen, Zhiwei Tai, Yihao Xu, Jiaxiang Dong, Jianmin Wang

Abstract

Traditional visualization recommendation (VisRec) systems often focus on data-driven properties, leading to a gap between the generated charts and the user's actual analytic intent. This paper introduces TaskVis, a task-oriented VisRec system that incorporates 18 specific analytic tasks into its recommendation engine. By utilizing Answer Set Programming (ASP) and novel ranking schemes, TaskVis moves beyond generic suggestions to provide visualizations that align with specific user goals, such as identifying trends, finding outliers, or comparing entities.

Introduction

Most contemporary visualization recommendation systems, such as Voyager or DeepEye, operate on a "data-first" principle. These systems analyze the statistical and structural properties of a dataset—identifying numerical or categorical columns—to suggest perceptually effective charts. However, this approach often suffers from a lack of intent awareness.

For instance, given a dataset containing "Date" and "Sales" columns, a standard system will almost invariably suggest a line chart. While valid, this suggestion fails if the user's goal is not to observe a trend but to identify a specific day with peak performance (Find Extremum) or to analyze how sales deviate from a set target (Deviation). This "intent gap" forces users into a repetitive trial-and-error process. TaskVis addresses this by allowing users to explicitly define their analytic tasks, ensuring the system recommends the "right" chart for the intent, rather than just a statistically valid one.

The TaskVis Framework

TaskVis operates through a multi-stage pipeline designed to bridge the gap between data properties and user intent.

Task Base and Rule-Based Generation

The researchers synthesized a library of 18 classical analytic tasks, including Change Over Time, Cluster, Find Anomalies, and Part-to-Whole. These tasks were derived from a survey of academic literature and industry standards, such as the Financial Times Visual Vocabulary.

To translate these tasks into visualizations, TaskVis employs Answer Set Programming (ASP) via the Clingo solver. The system extends the "Draco" rule set with task-specific constraints. For example, if a user selects the "Change Over Time" task, the system enforces logic-based rules requiring a temporal variable on the x-axis and the use of line or area marks. This approach treats analytic tasks as hard logic constraints, significantly pruning the search space of meaningless visualizations.

Ranking Schemes

Recognizing that different tasks require different levels of visual detail, TaskVis offers four distinct ranking modes:

  • Complexity-based: Ranks charts by their "cost" (based on marks, channels, and transformations), prioritizing simpler visualizations to reduce cognitive load.
  • Reverse-complexity-based: Prioritizes more detailed charts, which is often beneficial for tasks like "Determine Range."
  • Interested-columns-based: Ensures that charts including all user-selected columns are ranked highest.
  • Tasks-coverage-based: For multi-task queries, this mode highlights visualizations that satisfy the greatest number of tasks simultaneously.

Combination Recommendation

Beyond individual chart suggestions, TaskVis introduces a novel algorithm for "Combination Recommendation." This feature selects a curated set of charts that collaboratively describe a dataset. This ensures that all user-selected columns are covered while maximizing the diversity of tasks addressed, providing a holistic overview of the data.

Evaluation and Results

The system was evaluated using several public datasets, including the Happiness Ranking, COVID-19 US, and Hollywood Stories datasets. A formal user study with 22 participants using a "Cars" dataset yielded the following results:

  • User Satisfaction: TaskVis achieved an average Likert score of 1.05 (on a scale of -2 to 2), indicating strong user agreement that the recommended charts satisfied their chosen tasks.
  • Usability: The system received a mean System Usability Scale (SUS) score of 71, categorizing its usability as between "OK" and "Good."
  • Ranking Effectiveness: The ranking schemes were particularly well-received, earning a mean score of 4.2/5. Participants noted that these schemes allowed them to explore recommendations in a logical, structured order.

Discussion and Future Work

While TaskVis successfully incorporates intent into the recommendation process, it faces certain limitations. The system currently exhibits "semantic blindness," treating numerical data like "User ID" with the same logic as "Price," which can lead to nonsensical aggregations. Furthermore, the output charts are currently static and do not allow for direct in-interface editing.

Future iterations of TaskVis aim to integrate more advanced statistical features—such as standard deviation and coefficient of variance—and potentially utilize a Knowledge Graph to better model the complex relationships between data semantics and visualization rules. By moving toward a more semantically aware model, the system can further refine its ability to provide contextually relevant visual insights.

Summary updated

BibTeX
@article{shen2022visual,
  author = {Leixian Shen and Enya Shen and Zhiwei Tai and Yihao Xu and Jiaxiang Dong and Jianmin Wang},
  title = {{Visual Data Analysis with Task-Based Recommendations}},
  journal = {Data Sci. Eng.},
  year = {2022},
  doi = {10.1007/s41019-022-00195-3},
}
Figure