Skip to main content
QUICK REVIEW

[논문 리뷰] LIDA: A Tool for Automatic Generation of Grammar-Agnostic Visualizations and Infographics using Large Language Models

Victor Dibia|arXiv (Cornell University)|2023. 03. 06.
Topic ModelingComputer Science인용 수 8
한 줄 요약

LIDA는 자동으로 문법에 구애받지 않는 시각화와 데이터-충실한 인포그래픽을 생성하는 네 모듈의 LLM 기반 파이프라인을 제시하며, Python API와 하이브리드 NL/직접 조작 UI를 제공합니다.

ABSTRACT

Systems that support users in the automatic creation of visualizations must address several subtasks - understand the semantics of data, enumerate relevant visualization goals and generate visualization specifications. In this work, we pose visualization generation as a multi-stage generation problem and argue that well-orchestrated pipelines based on large language models (LLMs) such as ChatGPT/GPT-4 and image generation models (IGMs) are suitable to addressing these tasks. We present LIDA, a novel tool for generating grammar-agnostic visualizations and infographics. LIDA comprises of 4 modules - A SUMMARIZER that converts data into a rich but compact natural language summary, a GOAL EXPLORER that enumerates visualization goals given the data, a VISGENERATOR that generates, refines, executes and filters visualization code and an INFOGRAPHER module that yields data-faithful stylized graphics using IGMs. LIDA provides a python api, and a hybrid user interface (direct manipulation and multilingual natural language) for interactive chart, infographics and data story generation. Learn more about the project here - https://microsoft.github.io/lida/

연구 동기 및 목표

  • 데이터셋 의미를 compact natural language 요약으로 변환하여 시각화 작업의 근거를 마련한다.
  • 데이터에서 관련 시각화 목표와 가설을 나열한다.
  • 다양한 문법에 걸쳐 시각화 코드의 생성, 정제, 실행 및 필터링을 수행한다.
  • 텍스트 조건 이미지 생성 모델을 사용해 데이터-충실하고 스타일링된 인포그래픽을 생산한다.
  • 대화형 시각화와 스토리텔링을 위한 하이브리드 인터페이스(직접 조작과 다국어 자연어)를 제공한다.

제안 방법

  • 요약기는 데이터 특성을 compact NL 요약으로 변환하고, 필요한 경우 LLM으로 보강한다.
  • Goal Explorer는 요약을 사용해 시각화 질문/가설과 해당 목표를 생성한다.
  • VisGenerator는 여러 문법(Matplotlib, GGPlot, Plotly, Altair, Seaborn, Bokeh 등)을 위한 코드 골격을 생성하고, LLM이 생성한 코드로 스텁을 채우며 샌드박스 검증 및 필터링으로 실행한다.
  • Infographer는 확산 기반 이미지 생성기(텍스트 조건화)를 사용해 데이터-충실하고 스타일리시한 그래픽을 적용해 인포그래픽을 생산한다.
  • VizOps는 NL 기반의 정제, 설명, 접근성 설명, 자기 평가 및 수리, 생성된 시각화를 기반으로 한 권고를 제공한다.
  • 시스템은 Python API, 웹 API, 다국어 하이브리드 UI를 통해 인터랙티브 사용에 노출된다.
Figure 1: lida generates visualizations and infographics across 4 modules - data summarization, goal exploration, visualization generation and infographics generations. Example output from each module is shown.
Figure 1: lida generates visualizations and infographics across 4 modules - data summarization, goal exploration, visualization generation and infographics generations. Example output from each module is shown.

실험 결과

연구 질문

  • RQ1LLM을 어떻게 조정하여 데이터 요약으로부터 시각화 목표와 문법에 구애받지 않는 명세를 생성할 수 있는가
  • RQ2다단계 파이프라인이 문법에 독립적인 데이터-충실 시각화와 미학적으로 우수한 인포그래픽을 신뢰성 있게 생성할 수 있는가
  • RQ3LLM 지원 시각화 파이프라인의 신뢰성과 품질을 얼마나 잘 평가하는가를 측정하는 지표는 무엇인가
  • RQ4NL 상호작용과 이미지 생성 모델이 전통적인 시각화 도구를 보완하여 다양한 사용자를 지원할 수 있는가

주요 결과

  • 파이프라인은 낮은 시각화 오류율 3.5%를 달성한다.
  • 요약 데이터를 사용한 Compact NL 요약이 스키마만 요약보다 신뢰성을 높인다(얼리벤트 연구에서).
  • 기본 요약을 LLM으로 확장하는 것은 문법에 따라 영향이 다르며, 표현력이 높은 문법(예: Seaborn)에서 오류율이 더 낮다.
  • LLM을 통한 자기 평가 및 수리 메커니즘은 의미 품질 이슈를 식별하고 자동 수정(예: 파이 차트 대신 막대 차트 제안)을 가능하게 한다.
  • 이 프레임워크는 여러 문법을 지원하고 표준 시각화와 데이터 주도적 인포그래픽 생성을 모두 포함하는 엔드투엔드의 문법-독립적 접근을 제공한다.
Figure 2: Example data-faithful infographics and associated style prompts generated with lida .
Figure 2: Example data-faithful infographics and associated style prompts generated with lida .

이 논문 읽기

누빈트 뷰어에서 원문을 열고, 읽으면서 궁금한 곳을 바로 물어보세요.

누빈트에서 이 논문 읽기

이 리뷰는 AI가 논문 원문을 바탕으로 만들었습니다. 인용하기 전에 원문을 확인해 주세요.