SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2406.11033 · 2024

HAIChart: Human and AI Paired Visualization System

arXiv · PDF · Open in the Atlas

Code that ran

We lifted 9 functions out of this paper's own repositories and ran 7 of them in a sandbox. "Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results.

RepositoryRoleRan
hkustdial/haichart canonical 7 of 9
FunctionStatusWhere it lives
gen_mdp Ran hkustdial/haichart/user_model/mdp.py
pointer only (licence: NONE) · get_code("9fbe668f838400e9")
generate_suggestions Ran hkustdial/haichart/haichart.py
pointer only (licence: NONE) · get_code("fa676716343cc2ec")
generate_suggestions_by_hints Ran hkustdial/haichart/haichart.py
pointer only (licence: NONE) · get_code("cb0724accddcba49")
get_prob Ran hkustdial/haichart/user_model/mdp.py
pointer only (licence: NONE) · get_code("8c958dd87b768572")
get_view_score Ran hkustdial/haichart/mcgs.py
pointer only (licence: NONE) · get_code("f1cb3493d6243d77")
load_data Ran hkustdial/haichart/user_model/utils.py
pointer only (licence: NONE) · get_code("195af2f8d001268d")
rand_pick Ran hkustdial/haichart/user_model/vega_zero_trans.py
pointer only (licence: NONE) · get_code("7b399f4df5ddd9b4")
formatting_query Not yet run hkustdial/haichart/mcgs.py
pointer only (licence: NONE) · get_code("2c4017cf54e9dec0")
matching_query Not yet run hkustdial/haichart/mcgs.py
pointer only (licence: NONE) · get_code("840492237306f1e4")

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

Abstract

The growing importance of data visualization in business intelligence and data science emphasizes the need for tools that can efficiently generate meaningful visualizations from large datasets. Existing tools fall into two main categories: human-powered tools (e.g., Tableau and PowerBI), which require intensive expert involvement, and AI-powered automated tools (e.g., Draco and Table2Charts), which often fall short of guessing specific user needs. In this paper, we aim to achieve the best of both worlds. Our key idea is to initially auto-generate a set of high-quality visualizations to minimize manual effort, then refine this process iteratively with user feedback to more closely align with their needs. To this end, we present HAIChart, a reinforcement learning-based framework designed to iteratively recommend good visualizations for a given dataset by incorporating user feedback. Specifically, we propose a Monte Carlo Graph Search-based visualization generation algorithm paired with a composite reward function to efficiently explore the visualization space and automatically generate good visualizations. We devise a visualization hints mechanism to actively incorporate user feedback, thus progressively refining the visualization generation module. We further prove that the top-k visualization hints selection problem is NP-hard and design an efficient algorithm. We conduct both quantitative evaluations and user studies, showing that HAIChart significantly outperforms state-of-the-art human-powered tools (21% better at Recall and 1.8 times faster) and AI-powered automatic tools (25.1% and 14.9% better in terms of Hit@3 and R10@30, respectively).

For agents

The same record, over MCP at https://syntology.ai/mcp:

get_harvested_code_for_paper("2406.11033")
get_code_for_paper("2406.11033")
have("2406.11033")

Connect an agent — have() is free.