Natural Language to Visualization by Neural Machine Translation

被引:37
|
作者
Luo, Yuyu [1 ]
Tang, Nan [2 ]
Li, Guoliang [1 ]
Tang, Jiawei [3 ]
Chai, Chengliang [1 ]
Qin, Xuedi [1 ]
机构
[1] Tsinghua Univ, Dept Comp Sci, Beijing, Peoples R China
[2] Hamad Bin Khalifa Univ, QCRI, Ar Rayyan, Qatar
[3] Amer Sch Doha, Doha, Qatar
基金
中国博士后科学基金;
关键词
Data visualization; Natural languages; Bars; Deep learning; Machine translation; Visualization; Transformers; Natural language interface; data visualization; neural machine translation; chart template;
D O I
10.1109/TVCG.2021.3114848
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Supporting the translation from natural language (NL) query to visualization (NL2VIS) can simplify the creation of data visualizations because if successful, anyone can generate visualizations by their natural language from the tabular data. The state-of-the-art NL2VIS approaches (e.g., NL4DV and FlowSense) are based on semantic parsers and heuristic algorithms, which are not end-to-end and are not designed for supporting (possibly) complex data transformations. Deep neural network powered neural machine translation models have made great strides in many machine translation tasks, which suggests that they might be viable for NL2VIS as well. In this paper, we present ncNet, a Transformer-based sequence-to-sequence model for supporting NL2VIS, with several novel visualization-aware optimizations, including using attention-forcing to optimize the learning process, and visualization-aware rendering to produce better visualization results. To enhance the capability of machine to comprehend natural language queries, ncNet is also designed to take an optional chart template (e.g., a pie chart or a scatter plot) as an additional input, where the chart template will be served as a constraint to limit what could be visualized. We conducted both quantitative evaluation and user study, showing that ncNet achieves good accuracy in the nvBench benchmark and is easy-to-use.
引用
收藏
页码:217 / 226
页数:10
相关论文
共 50 条
  • [1] The Paradox of the Compositionality of Natural Language: A Neural Machine Translation Case Study
    Dankers, Verna
    Bruni, Elia
    Hupkes, Dieuwke
    [J]. PROCEEDINGS OF THE 60TH ANNUAL MEETING OF THE ASSOCIATION FOR COMPUTATIONAL LINGUISTICS (ACL 2022), VOL 1: (LONG PAPERS), 2022, : 4154 - 4175
  • [2] Improved neural machine translation using Natural Language Processing (NLP)
    Ahammad, Sk Hasane
    Kalangi, Ruth Ramya
    Nagendram, S.
    Inthiyaz, Syed
    Priya, P. Poorna
    Faragallah, Osama S.
    Mohammad, Alsharef
    Eid, Mahmoud M. A.
    Rashed, Ahmed Nabih Zaki
    [J]. MULTIMEDIA TOOLS AND APPLICATIONS, 2023, 83 (13) : 39335 - 39348
  • [3] Rationalization: A Neural Machine Translation Approach to Generating Natural Language Explanations
    Ehsan, Upol
    Harrison, Brent
    Chan, Larry
    Riedl, Mark O.
    [J]. PROCEEDINGS OF THE 2018 AAAI/ACM CONFERENCE ON AI, ETHICS, AND SOCIETY (AIES'18), 2018, : 81 - 87
  • [4] Improved neural machine translation using Natural Language Processing (NLP)
    Sk Hasane Ahammad
    Ruth Ramya Kalangi
    S. Nagendram
    Syed Inthiyaz
    P. Poorna Priya
    Osama S. Faragallah
    Alsharef Mohammad
    Mahmoud M. A. Eid
    Ahmed Nabih Zaki Rashed
    [J]. Multimedia Tools and Applications, 2024, 83 : 39335 - 39348
  • [5] Formalization of Natural Language into PPTL Specification via Neural Machine Translation
    Li, Chunyi
    Chang, Jiajun
    Wang, Xiaobing
    Zhao, Liang
    Mao, Wenjie
    [J]. STRUCTURED OBJECT-ORIENTED FORMAL LANGUAGE AND METHOD, SOFL+MSVL 2022, 2023, 13854 : 79 - 92
  • [6] Visualization-based improvement of neural machine translation
    Munz, Tanja
    Vaeth, Dirk
    Kuznecov, Paul
    Ngoc Thang Vu
    Weiskopf, Daniel
    [J]. COMPUTERS & GRAPHICS-UK, 2022, 103 : 45 - 60
  • [7] Using Neural Machine Translation Methods for Sign Language Translation
    Angelova, Galina
    Avramidis, Eleftherios
    Moeller, Sebastian
    [J]. PROCEEDINGS OF THE 60TH ANNUAL MEETING OF THE ASSOCIATION FOR COMPUTATIONAL LINGUISTICS (ACL 2022): STUDENT RESEARCH WORKSHOP, 2022, : 273 - 284
  • [8] On the Language Coverage Bias for Neural Machine Translation
    Wang, Shuo
    Tu, Zhaopeng
    Tan, Zhixing
    Shi, Shuming
    Sun, Maosong
    Liu, Yang
    [J]. FINDINGS OF THE ASSOCIATION FOR COMPUTATIONAL LINGUISTICS, ACL-IJCNLP 2021, 2021, : 4778 - 4790
  • [9] On integrating a language model into neural machine translation
    Gulcehre, Caglar
    Firat, Orhan
    Xu, Kelvin
    Cho, Kyunghyun
    Bengio, Yoshua
    [J]. COMPUTER SPEECH AND LANGUAGE, 2017, 45 : 137 - 148
  • [10] Multilingual Neural Machine Translation with Language Clustering
    Tan, Xu
    Chen, Jiale
    He, Di
    Xia, Yingce
    Qin, Tao
    Liu, Tie-Yan
    [J]. 2019 CONFERENCE ON EMPIRICAL METHODS IN NATURAL LANGUAGE PROCESSING AND THE 9TH INTERNATIONAL JOINT CONFERENCE ON NATURAL LANGUAGE PROCESSING (EMNLP-IJCNLP 2019): PROCEEDINGS OF THE CONFERENCE, 2019, : 963 - 973