AutoLegend: A User Feedback-Driven Adaptive Legend Generator for Visualizations
Can Liu, Xiyao Mei, Zhibang Jiang, Shaocong Tan, Xiaoru Yuan
TL;DR
AutoLegend tackles the problem of missing or poorly designed legends in visualizations by defining a five‑dimensional design space for legends and implementing a user feedback‑driven, real‑time legend generator. The system extracts iconic symbols and mapping channels, searches a high‑dimensional legend space with a genetic algorithm, and scores candidates with a quality assessment model that adapts online via adversarial training guided by user edits. It demonstrates bidirectional legend–visualization interactions and supports both single‑ and multi‑channel legends, with a user study showing that preference‑adjusted legends outperform defaults and that the model can learn user tastes. The work advances practical legend design by enabling automatic, adaptive legend generation and human‑AI collaboration to improve readability, mapping clarity, and visualization retargeting in real time.
Abstract
We propose AutoLegend to generate interactive visualization legends using online learning with user feedback. AutoLegend accurately extracts symbols and channels from visualizations and then generates quality legends. AutoLegend enables a two-way interaction between legends and interactions, including highlighting, filtering, data retrieval, and retargeting. After analyzing visualization legends from IEEE VIS papers over the past 20 years, we summarized the design space and evaluation metrics for legend design in visualizations, particularly charts. The generation process consists of three interrelated components: a legend search agent, a feedback model, and an adversarial loss model. The search agent determines suitable legend solutions by exploring the design space and receives guidance from the feedback model through scalar scores. The feedback model is continuously updated by the adversarial loss model based on user input. The user study revealed that AutoLegend can learn users' preferences through legend editing.
