# DashBot: Insight-Driven Dashboard Generation Based on Deep Reinforcement Learning

DashBot: 깊은 강화학습 기반 통찰 중심 대시보드 생성

Dazhen Deng, Aoyu Wu, Huamin Qu, Yingcai Wu · arXiv · 2022년 8월 2일

- **연구 문제** 분석형 대시보드는 여러 차트의 조합으로 인사이트를 전달하지만, 좋은 조합을 찾는 과정은 사전 데이터와 전문성에 의존하는 시행착오입니다.
- **연구 방법** DashBot은 대시보드 생성을 MDP로 정식화하고, A3C로 학습하는 순차 에이전트가 차트 행동과 파라미터를 예측하도록 합니다.
- **주요 결과** 절제 실험에서 DashBot은 DQN보다 안정적인 return 증가를 보였고, 사용자 비교에서는 응답의 78%가 MultiVision보다 전체 품질이 높다고 답했습니다.

## 대시보드 생성의 어려움과 연구 질문

분석형 대시보드는 여러 차트를 함께 배치해 인사이트를 찾도록 돕지만, 좋은 대시보드를 만들려면 데이터 열을 고르고 차트 조합을 바꿔 보며 전달 효과를 맞추는 시행착오가 필요합니다. 기존 딥러닝 기반 대시보드 생성 연구는 대규모 고품질 대시보드 데이터셋이 부족하다는 제약에 막혀 있습니다. 이 논문은 pre-training 데이터 없이 시각화 지식을 환경과 보상으로 바꾸어 강화학습 에이전트가 사람의 탐색 행동을 모방하도록 하는 방법을 제안합니다.

단일 차트를 추천하는 기존 방법은 여러 차트 사이의 관계를 충분히 다루지 못합니다. DashBot은 이 한계를 넘기 위해 대시보드 생성을 여러 차트를 순차적으로 추가·수정·제거하는 탐색 과정으로 정식화합니다.

## 설계 고려사항과 예비 연구

저자들은 Tableau와 Power BI 갤러리의 대시보드 40개와 50개를 분석해 다양성, 상보성, 분해, 간결성 규칙을 확인했습니다. 대부분의 대시보드는 3~6개 뷰로 구성되었고, 96.7%의 대시보드에서 모든 뷰가 한두 개의 데이터 열과 관련되어 있었습니다.

![Figure 2: Statistics in the preliminary study: distributions of dashboard component types, numbers of views in a dashboard, and numbers of different component…](https://refivu.com/papers/311fa89e-4d09-438c-b5ce-c1e0a8ebff93/figures/figure-fe055ccdba6da502617c41387bd578f7.png?thumb=512)

**Fig. 2** . Statistics in the preliminary study: distributions of dashboard component types, numbers of views in a dashboard, and numbers of different component types in a dashboard.

[원문](https://arxiv.org/abs/2208.01232v3) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Dazhen Deng, Aoyu Wu, Huamin Qu, Yingcai Wu · DashBot: Insight-Driven Dashboard Generation Based on Deep Reinforcement Learning · 원문 그림 인용 · 원본 PDF 3쪽에서 그림 영역을 추출했습니다.

이 관찰을 바탕으로 DashBot은 유효한 차트 생성, 인사이트 발견, 직접 조작, 온라인 추천이라는 네 가지 설계 고려사항을 정했습니다. 이 가운데 유효성은 제약 샘플링으로, 인사이트 발견은 인사이트 보상으로 다루어집니다.

## MDP로 정식화한 대시보드 생성

DashBot은 대시보드 생성을 마르코프 결정 과정으로 정식화합니다. 상태는 데이터셋에서 만들 수 있는 유효한 차트 조합이며, 행동은 키 열 변경(change), 차트 추가(add), 차트 제거(remove), 종료(terminate)의 네 가지입니다. 추가와 키 열 변경에는 마크 유형, 시각적 인코딩, 데이터 필드 같은 파라미터가 필요합니다.

![Figure 3: An exploration process is controlled by actions and parameters. The agent ﬁrst changes the key column at state i (A) and adds a new chart into the da…](https://refivu.com/papers/311fa89e-4d09-438c-b5ce-c1e0a8ebff93/figures/figure-c3ceb9a0e6c5cb0bbc66299db9f48b70.png?thumb=512)

**Fig. 3** . An exploration process is controlled by actions and parameters. The agent ﬁrst changes the key column at state i (A) and adds a new chart into the dashboard by conﬁguring chart parameters (B). Then the agent removes a chart (C) and terminates the whole exploration process (D).

[원문](https://arxiv.org/abs/2208.01232v3) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Dazhen Deng, Aoyu Wu, Huamin Qu, Yingcai Wu · DashBot: Insight-Driven Dashboard Generation Based on Deep Reinforcement Learning · 원문 그림 인용 · 원본 PDF 4쪽에서 그림 영역을 추출했습니다.

보상은 각 상태에서 계산된 대시보드 보상 cr\_i의 차이로 정의됩니다. 즉 즉시 보상 f(s\_i,a\_i)는 cr\_i − cr\_{i−1}이며, 이 값의 합으로 에이전트가 최대화하는 누적 보상이 정해집니다.

## 표현 보상과 인사이트 보상

표현 보상은 차트 유형의 다양성과 차트 수의 간결성을 평가합니다. 다양성 보상은 사용된 차트 유형 수 c\_used를 전체 유형 수 c\_total로 나눈 값에 지수 감소형 함수 1−exp(−α·c\_used/c\_total)를 적용하며, 여기서 α는 감소 정도를 조절하는 가중치입니다. 간결성 보상은 차트 수 n이 n\_best까지 증가했다가 n\_max를 향해 감소하는 구간별 함수입니다.

인사이트 보상은 단일 열, 이중 열, 다중 열 인사이트를 발견한 차트에 각각 1, 2, 3의 보상을 줍니다. 최종 결합 보상은 표현 보상과 인사이트 보상을 가중합으로 묶으며, 저자들은 w1과 w2를 0.33으로, w3를 0.1로 경험적으로 정했다고 보고합니다.

## A3C와 순차 에이전트 네트워크

DashBot은 A3C 프레임워크로 행동 네트워크와 가치 네트워크를 학습합니다. 가치 네트워크는 상태의 기대 수익을 평가하고, 행동 네트워크는 그 평가를 바탕으로 더 좋은 행동을 선택하도록 갱신됩니다. 손실 함수는 (R−v(s\_i))^2 항, 행동 확률의 로그에 advantage를 곱한 항, 엔트로피 항을 포함합니다.

대시보드 특징은 VizML 계열의 열 특징과 Vega-Lite 기반 차트 특징을 결합해 만들어집니다. 차트 간 관계는 Bi-LSTM이 양방향으로 요약하여 공유 임베딩을 만들고, 이후 분류 블록이 가치 추정, 행동, 파라미터 확률을 순차적으로 예측합니다. 저자들은 차트 순서가 아닌 차트 조합을 학습하기 위해 학습 중 차트 순서를 무작위로 섞습니다.

![Figure 4: Process of feature construction and structure of sequence generation network. The dashboard features (C) are constructed from column features (A) and…](https://refivu.com/papers/311fa89e-4d09-438c-b5ce-c1e0a8ebff93/figures/figure-d0a97e806fab7a3fccb01b934c292c06.png?thumb=512)

**Fig. 4** . Process of feature construction and structure of sequence generation network. The dashboard features (C) are constructed from column features (A) and chart features (B). The dashboard features (D) are fed into the sequence generation network with a Bi-LSTM layer (E) for the extraction of shared embedding (F). The shared embedding is forwarded to a fully-connected layer for value estimation (G). The shared embedding is then sequentially fed into several classiﬁcation blocks (I) and concatenated with intermediate embedding (H) for the prediction of action and parameter probabilities with constrained sampling applied (J).

[원문](https://arxiv.org/abs/2208.01232v3) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Dazhen Deng, Aoyu Wu, Huamin Qu, Yingcai Wu · DashBot: Insight-Driven Dashboard Generation Based on Deep Reinforcement Learning · 원문 그림 인용 · 원본 PDF 6쪽에서 그림 영역을 추출했습니다.

## 제약 샘플링의 작동

제약 샘플링은 네트워크가 행동과 파라미터를 순차적으로 샘플링할 때 시각화 지식을 제약으로 적용합니다. 키 열 수, 선택된 행동에 따른 분기 활성화, 이전 파라미터와 충돌하는 값의 배제라는 세 가지 이유로 제약을 사용합니다. 제약은 softmax 이전의 예측에 마스크로 적용되므로 엔트로피 계산과 역전파가 유효하게 유지됩니다.

예시에서 add 행동이 선택되면 키 열 분류 블록의 가중치는 비활성화되고, 마크 유형은 모든 선택지가 허용됩니다. 이후 키 열 horsepower는 y 필드 선택에서 제외되며, 명목형 열 origin에는 평균과 최댓값 집계가 비활성화됩니다.

![Figure 5: An example of constrained sampling for conﬁguring a new chart. Masks are applied in the classiﬁcation blocks to avoid infeasible parameter selections…](https://refivu.com/papers/311fa89e-4d09-438c-b5ce-c1e0a8ebff93/figures/figure-627a507bc01d00bd3da229ed327e6ca2.png?thumb=512)

**Fig. 5** . An example of constrained sampling for conﬁguring a new chart. Masks are applied in the classiﬁcation blocks to avoid infeasible parameter selections for key columns (A), mark types (B), y ﬁeld (C), and y aggregate (D).

[원문](https://arxiv.org/abs/2208.01232v3) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Dazhen Deng, Aoyu Wu, Huamin Qu, Yingcai Wu · DashBot: Insight-Driven Dashboard Generation Based on Deep Reinforcement Learning · 원문 그림 인용 · 원본 PDF 7쪽에서 그림 영역을 추출했습니다.

## 절제 실험: A3C, 순차 모델, 제약 샘플링

절제 실험은 500,000 스텝 동안 27개 Vega Datasets 데이터셋에서 수행되었고, 각 모델은 10회 실행한 평균 return으로 비교되었습니다. A3C와 DQN 비교에서 DashBot은 return이 안정적으로 증가했지만, multi-step DQN 기준선은 안정적인 증가를 보이지 않았습니다.

순차 모델과 독립 다중 분류를 비교한 DashBot-ind.는 return이 계속 증가했으나 DashBot보다 낮은 평균 return에 수렴했습니다. 제약 샘플링과 무효 설정 패널티를 비교한 DashBot-pen.은 처음에는 낮은 return을 보였고 학습이 진행되며 증가했으나 결국 return이 감소했습니다. 저자들은 패널티와 다른 보상 사이의 균형이 중요한 문제라고 해석합니다.

![Figure 6: Ablation study showing the mean returns of DashBot, DashBot- ind., DashBot-pen., and DQN across training steps](https://refivu.com/papers/311fa89e-4d09-438c-b5ce-c1e0a8ebff93/figures/figure-86d0a2ab691dbfa689f208ce83167305.png?thumb=512)

**Fig. 6** . Ablation study showing the mean returns of DashBot, DashBot- ind., DashBot-pen., and DQN across training steps.

[원문](https://arxiv.org/abs/2208.01232v3) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Dazhen Deng, Aoyu Wu, Huamin Qu, Yingcai Wu · DashBot: Insight-Driven Dashboard Generation Based on Deep Reinforcement Learning · 원문 그림 인용 · 원본 PDF 7쪽에서 그림 영역을 추출했습니다.

## MultiVision과의 사용자 비교

비교 실험은 10명의 데이터 작업자가 DashBot과 MultiVision이 같은 Vega Datasets에서 생성한 대시보드를 평가한 사용자 연구입니다. 두 시스템은 같은 DashBot 인터페이스로 렌더링되었고, 상호작용은 평가에서 제외되었습니다. DashBot은 데이터셋별로 생성된 여러 대시보드 중 return 값이 가장 높은 대시보드를 사용했습니다.

총 200개의 평가 중 78%가 DashBot 대시보드의 전체 품질이 더 높다고 응답했습니다. 이해도, 미적 만족, 인사이트 측면에서도 DashBot에 유리한 응답이 보고되었으나, 이 결과는 이 사용자 연구의 조건에서 얻은 관찰입니다.

![Figure 8: Ratings of DashBot compared with MultiVision from the perspec- tives of overall quality, understandability, aesthetic, and insightfulness](https://refivu.com/papers/311fa89e-4d09-438c-b5ce-c1e0a8ebff93/figures/figure-46a740443c7fda4de244d2e37d514ba8.png?thumb=512)

**Fig. 8** . Ratings of DashBot compared with MultiVision from the perspec- tives of overall quality, understandability, aesthetic, and insightfulness.

[원문](https://arxiv.org/abs/2208.01232v3) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Dazhen Deng, Aoyu Wu, Huamin Qu, Yingcai Wu · DashBot: Insight-Driven Dashboard Generation Based on Deep Reinforcement Learning · 원문 그림 인용 · 원본 PDF 9쪽에서 그림 영역을 추출했습니다.

## 한계와 적용 범위

저자들은 DashBot을 제한된 차트 유형과 레이아웃을 다루는 proof-of-concept 시스템으로 설명합니다. 실제 대시보드 도구와 직접 비교하지 않았고, 실제 사용 과제에서의 성능도 확인하지 않았습니다. 데이터셋도 Vega Datasets에 한정되어 있어 수백 또는 수천 개의 열을 가진 실제 데이터에 대한 확장성은 검증되지 않았습니다.

또한 현재 보상은 열의 의미 정보를 반영하지 않으며, 시각적 인코딩 효과와 상호작용은 후속 연구 과제로 남아 있습니다. 따라서 이 결과는 본문에 보고된 실험 조건에서 확인된 범위로 읽어야 합니다.

## 논문 정보

- **저자**: Dazhen Deng, Aoyu Wu, Huamin Qu, Yingcai Wu
- **학회·저널**: arXiv · 프리프린트
- **최초 공개일**: 2022년 8월 2일
- **등록일**: 2026년 11월 6일
- **수정일**: 2022년 9월 13일
- **버전**: v3
- **arXiv**: 2208.01232
- **분류**: cs.HC
- **원문 이용 조건**: [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/)
- **제공 범위**: 논문 정보, 해설, 허용된 원문 그림

[논문 원문 ↗](https://arxiv.org/abs/2208.01232v3) · [원문 PDF ↗](https://arxiv.org/pdf/2208.01232v3)

AI 해설은 논문 원문과 별개의 설명이며 오류가 있을 수 있습니다. 원문과 그림은 각 출처의 이용 조건과 따로 표시된 권리를 따릅니다.

## 초록

Analytical dashboards are popular in business intelligence to facilitate insight discovery with multiple charts. However, creating an effective dashboard is highly demanding, which requires users to have adequate data analysis background and be familiar with professional tools, such as Power BI. To create a dashboard, users have to configure charts by selecting data columns and exploring different chart combinations to optimize the communication of insights, which is trial-and-error. Recent research has started to use deep learning methods for dashboard generation to lower the burden of visualization creation. However, such efforts are greatly hindered by the lack of large-scale and high-quality datasets of dashboards. In this work, we propose using deep reinforcement learning to generate analytical dashboards that can use well-established visualization knowledge and the estimation capacity of reinforcement learning. Specifically, we use visualization knowledge to construct a training environment and rewards for agents to explore and imitate human exploration behavior with a well-designed agent network. The usefulness of the deep reinforcement learning model is demonstrated through ablation studies and user studies. In conclusion, our work opens up new opportunities to develop effective ML-based visualization recommenders without beforehand training datasets.

## 원문 인용

Dazhen Deng, Aoyu Wu, Huamin Qu, Yingcai Wu (2022). DashBot: Insight-Driven Dashboard Generation Based on Deep Reinforcement Learning. arXiv:2208.01232v3. https://arxiv.org/abs/2208.01232v3

**BibTeX**

```
@misc{deng2022dashbot,
  title = {{DashBot: Insight-Driven Dashboard Generation Based on Deep Reinforcement Learning}},
  author = {Dazhen Deng and Aoyu Wu and Huamin Qu and Yingcai Wu},
  year = {2022},
  eprint = {2208.01232},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2208.01232v3}
}
```

## 이 논문의 용어

- [Q-learning](https://refivu.com/terms/e20b416cb2f7-q-learning)
- [Markov Decision Process](https://refivu.com/terms/5d622f56f22a-markov-decision-process)
- [DQN](https://refivu.com/terms/6263174655b5-dqn)
- [advantage function](https://refivu.com/terms/451ef9a0779f-advantage-function)
- [critic network](https://refivu.com/terms/7825fea5a130-critic-network)
- [A3C](https://refivu.com/terms/1c4cb426dcf9-a3c)
- [Bi-LSTM](https://refivu.com/terms/9cd9340aa3c3-bi-lstm)

## 다른 논문 해설

- [Physics-informed Dyna-Style Model-Based Deep Reinforcement Learning for Dynamic Control](https://refivu.com/papers/ed839db3-e284-449a-8ce0-d136449cdf16-physics-informed-dyna-style-model-based-deep-reinforcement.md)
- [MUVINE: Multi-stage Virtual Network Embedding in Cloud Data Centers using Reinforcement Learning based Predictions](https://refivu.com/papers/a0ad3b0c-7094-4464-9f9a-987e033df535-muvine-multi-stage-virtual-network-embedding-in-cloud.md)
- [A Survey on Reinforcement Learning Methods in Character Animation](https://refivu.com/papers/166a3a34-fb30-4b70-9a51-5b1737e136a4-a-survey-on-reinforcement-learning-methods-in-character.md)
- [Safe Deployment of Offline Reinforcement Learning via Input Convex Action Correction](https://refivu.com/papers/7f898899-14eb-4d78-85aa-fbae4e19939f-safe-deployment-of-offline-reinforcement-learning-via-input.md)
- [Deep Reinforcement Learning for RIS-aided Multiuser Full-Duplex Secure Communications with Hardware Impairments](https://refivu.com/papers/a7cdf7b0-fc4c-4c25-baee-925c23d3fc3d-deep-reinforcement-learning-for-ris-aided-multiuser-full.md)
- [A Reinforcement Learning Approach to Age of Information in Multi-User Networks with HARQ](https://refivu.com/papers/e642aa3e-628e-42ec-9b79-cfc41e1e5991-a-reinforcement-learning-approach-to-age-of-information.md)
- [NL-Augmenter: A Framework for Task-Sensitive Natural Language Augmentation](https://refivu.com/papers/e0fd312c-0e7e-498c-8be2-a03af090c71e-nl-augmenter-a-framework-for-task-sensitive-natural.md)
- [Evaluating Heuristic Search Algorithms in Pathfinding: A Comprehensive Study on Performance Metrics and Domain Parameters](https://refivu.com/papers/f28b2a89-d6e4-43e6-a216-f16439b73a65-evaluating-heuristic-search-algorithms-in-pathfinding-a.md)
- [Anomaly Detection in Dynamic Graphs via Transformer](https://refivu.com/papers/753e83eb-ff24-44ce-9097-3fa4ff681eb0-anomaly-detection-in-dynamic-graphs-via-transformer.md)
- [Generative Adversarial Network based Heuristics for Sampling-based Path Planning](https://refivu.com/papers/1f09e400-12bf-4b19-b72a-3ed5fb40a707-generative-adversarial-network-based-heuristics-for-sampling.md)
- [Unlocking the Archives: Using Large Language Models to Transcribe Handwritten Historical Documents](https://refivu.com/papers/c3f9b9b5-8145-4837-9b3e-abaf5cbfb22c-unlocking-the-archives-using-large-language-models-to.md)
- [EmoBipedNav: Emotion-aware Social Navigation for Bipedal Robots with Deep Reinforcement Learning](https://refivu.com/papers/4c424d22-aaa0-4159-bc27-985211f3fce5-emobipednav-emotion-aware-social-navigation-for-bipedal.md)

---

AI 해설에는 오류가 있을 수 있습니다. [Refivu](https://refivu.com/papers/311fa89e-4d09-438c-b5ce-c1e0a8ebff93-dashbot-insight-driven-dashboard-generation-based-on-deep)
