AutoChart: A Dataset for Chart-to-Text Generation Task
←
→
Page content transcription
If your browser does not render page correctly, please read the page content below
AutoChart: A Dataset for Chart-to-Text Generation Task Jiawen Zhu1 , Jinye Ran3 , Roy Ka-wei Lee1 , Kenny Choo1 , and Zhi Li2 1 Singapore University of Technology and Design 2 University of Saskatchewan 3 China Merchants Bank {jiawen_zhu,roy_lee,kenny_choo}@sutd.edu.sg z.li@usask.ca, rjy777@163.com Abstract The analytical description of charts is an ex- arXiv:2108.06897v1 [cs.CL] 16 Aug 2021 citing and important research area with many applications in academia and industry. Yet, this challenging task has received limited at- tention from the computational linguistics re- search community. This paper proposes Au- toChart, a large dataset for the analytical de- scription of charts, which aims to encourage This bar graph shows the number of visits to South more research into this important area. Specif- Korea and Singapore by overseas residents, respectively, ically, we offer a novel framework that gen- from 2014 to 2019. In 2014, there was a huge gap in erates the charts and their analytical descrip- the number of visits to these two countries. The number tion automatically. We conducted extensive of visits to South Korea is about 20 million, whereas human and machine evaluations on the gener- ated charts and descriptions and demonstrate the number of visits to Singapore is over 80 million. that the generated texts are informative, coher- There is a continuous decrease in the number of visits ent, and relevant to the corresponding charts. to Singapore, with the largest decrease in 2015 to about 60 million. In 2019, the number of visits becomes about 1 Introduction 45 million. By contrast, the number of visits to South Natural language generation (NLG) is one of the Korea has been on the rise since 2014 but seems to have core research areas in artificial intelligence (Gatt plateaued in 2017. Figure 1: Example of IELTS AWT1. and Krahmer, 2018). Recent NLG studies have explored data-to-text generation, where exciting ap- in linguistics (Molle and Prior, 2008). For example, plications such as automated news reporting (Lep- the IELTS Academic Writing Task 1 (AWT1) is pänen et al., 2017) were developed to generate text an assessment task that elicits written responses on from non-linguistic data automatically. In this pa- a visual-verbal relationship. The AWT1 requires per, we explore the chart-to-text generation prob- test takers to “describe, summarise, or explain the lem, where analytical textual descriptions are auto- information in a graph, table, chart, or diagram.” matically generated for a given graphical chart. Figure 1 shows an example of the AWT1. Chart- Chart-to-text generation has many exciting aca- to-text generation offers the potential to generate demic and commercial applications. For instance, large-scale chart analytical description learning ex- preliminary analyses can be generated on charts to amples for students attempting AWT1. aid users in authoring analytical documents. On the accessibility front, automatically generated chart Despite the many benefits and applications of analyses can also support accessibility since text chart-to-text generation, this NLG task has received descriptions can be fed into speech-to-text modules limited attention from computational linguistics and help visually impaired individuals to under- and NLG researchers. Among the key factors that stand charts. Chart-to-text generation could also be hinder the development of this research area is the applied to aid academic writing. Text descriptions lack of a large chart description dataset that may of visual elements such as diagrams, charts, and facilitate chart description studies. Intuitively, one graphs, are among the core academic assignments possible solution is to collect and manually anno-
tate a chart description. For instance, we will first from the various types of visual charts using deep need to obtain a large dataset of charts and subse- learning computer vision and object recognition quently engage human annotators to write the sum- techniques (Cliche et al., 2017; Balaji et al., 2018; mary and explanations for these charts. However, Liu et al., 2019; Ma et al., 2018; Dai et al., 2018; such a data collection process is time-consuming Battle et al., 2018; Chai et al., 2020). For instance, and expensive. Another approach is to perform Balaji et al. (2018) proposed an automated system large-scale data-crawling to retrieve charts and cor- that extracted data points from bar and pie charts responding human-written summaries from the In- to create textual descriptions. However, the gener- ternet. However, it is challenging to ensure that text ated textual descriptions listed data values extracted summaries correctly describe the chart and have from the figures in a static format without any ana- provided adequate details to aid readers in under- lytical discussion about the charts’ overall trends or standing the chart as the charts are retrieved from summary. Another line of work have also proposed multiple sources. For instance, in a recent study, table-to-text models (Iso et al., 2019; Puduppully (Obeid, 2020) had performed a large-scale data et al., 2019), which aims to generate long and good- collection of charts and corresponding text descrip- quality description from structured data formatted tions. However, the descriptions of the chart in the in a table. Nevertheless, these table-to-text models dataset contained background knowledge beyond are designed for specific domains and structured the data illustrated in the chart. data, and it is challenging to adopt these methods In this paper, we aim to address chart analysis in the chart-to-text task. data scarcity and quality problems by proposing Another related sub-domain of work is the a novel framework that generates charts and their visual-based question and answer (Q&A) task. Ka- corresponding high-quality descriptions automat- hou et al. (2017) introduced the FigureQA cor- ically. The AutoChart1 dataset generated by our pus, which consists of over one million question- proposed framework will pioneer new computa- answer pairs grounded in over 100,000 visual tional linguistic and NLG research area on chart charts. Methani et al. (2020) extended the work descriptions. For instance, the availability of a in (Kahou et al., 2017) and proposed the PlotQA large-scale chart description dataset encourages the corpus, which is a larger dataset with 28.9 million creation of supervised machine learning and NLP question-answer pairs over 224,377 charts from models to interpret the charts and generate relevant real-world sources and questions based on crowd- text descriptions automatically. sourced question templates. While large datasets We summarize our contributions as follows: have been collected for the visual-based Q&A task, these datasets are not applicable to generate ana- • We propose a novel framework to generate lytical chart descriptions as the question-answer charts and their corresponding analytical de- pairs are often short and data-specific without any scriptions automatically. in-depth analysis on the charts. • Using our novel framework, we constructed Closer to our work, Obeid and Hoque (2020) AutoChart, which is a large-scale chart de- introduced a new large-scale corpus on chart sum- scription dataset, and make this openly avail- marization and proposed a transformer-based chart- able to encourage future research. to-text model. However, the descriptions of the chart in the dataset contained background knowl- • We conducted extensive human and machine edge beyond the data illustrated in the chart. These evaluation on the generated charts and descrip- ” noises” from the beyond-chart-data information tions and demonstrate that the generated text may affect the learning of text generation models. is informative, coherent, and relevant to the Another prominent data source, Statista, has high- corresponding charts. quality charts, but corresponding summaries may 2 Related Work not be descriptive of the chart. Our study addresses the limitations of existing There are very few data-to-text works that inves- chart-to-text datasets. It extends the existing works tigate chart recognition and understanding. Many on chart recognition and data extraction by of- of these existing works focused on extracting data fering a novel framework to generate charts and 1 Code: https://gitlab.com/bottle_shop/snlg/chart/autochart their corresponding analytical descriptions auto-
Chart Generation Module Statistical data Data Points Multi-Types Chart Meta-Data from multiple Extraction & Chart Extraction sources Synthesis Generation Analytical Description Generation Module Human-written Trend templates generation Rhetorical strategy paraphrase Linguistic Moves Synthesis algorithm Rhetorical for Chart Chart-Description pairs Moves Analysis Description Paraphrase templates Figure 2: Overview of the AutoChart dataset construction process. matically. To this end, we construct and contribute gorize the rhetorical function types of sentences AutoChart, a large-scale chart analytical descrip- presented in the analytical description templates. tion dataset. Finally, the template sentences annotated with rhetorical moves are strategically sampled and 3 AutoChart Dataset Construction adapted to chart data to generate the analytical de- scription for a given chart. The goal of this study is to construct a dataset of charts with their corresponding analytical descrip- 3.1 Statistical Data Collection tions automatically. To this end, we propose a novel To generate the charts, we first collected statistical framework to construct the AutoChart dataset and data from multiple sources on the web, such as the illustrate its construction in Figure 2. We begin World Bank Open Data and Nutritional Analysis by collecting statistical data from multiple sources Data. We crawled data from these sources to extract over the web and create the trend generation strat- different variables whose relations could then be egy. The goal of the strategy is to ensure that the plotted (for example, a country’s labor force over generated charts exhibit some form of temporal time, etc.). There are a total of 346 unique indi- trends, which ultimately encourages writers to iden- cator variables (CO2 emission, GDP growth, total tify these trends analytically. The proposed frame- population, etc.) with 76 unique entities (cities, work contains two main generation modules: chart states, countries, etc.). The data ranges from 1950 generation and analytical description generation. to 2016, though not all indicator variables have data The statistical data and trend generation strategy items for all years. The data contains positive inte- guide the automatic generation of charts and their gers, floating-point values, and percentages. These meta-information in the chart generation module. values range from 0 to 3.50e+15. Specifically, we generate four types of charts: scat- ter plots, line charts, vertical and horizontal bar 3.2 Trend Generation Strategy charts. Besides plotting the actual collected statistical data, In the analytical description generation module, we also aim to generate charts with specific trends. linguistic researchers are first recruited to write the This encourages writers or machine learning al- analytical descriptions for a few charts. The human- gorithms to generate descriptions that analyze the written descriptions are used as templates for the patterns observed in the charts. To this end, we automatic generation of analytical descriptions. As formulate a trend generation strategy, where data it is labor-intensive to draft human-written descrip- perturbation is applied to generate various types of tions templates, we expand the number of tem- trends. Specifically, we applied the following data plates by leveraging open-source algorithms to perturbation: paraphrase the human-written descriptions. Subse- quently, we analyze the linguistic rhetorical moves σ2 Y = S0 e(µ− 2 )x+σW (1) of the human-written and paraphrased templates. The rhetorical move analysis enables us to cate- Here W denotes Brownian motion (Karatzas I.,
velopment of supervised modules for various sub- tasks. Specifically, the meta-information contains bounding box annotations for the legend boxes, legend names and markers, axes labels, axes ticks, data coordinates, plot title, and image index. The meta-information will be used in the analytical de- scription generation module to generate the charts’ Figure 3: Types of trends generated in AutoChart. corresponding descriptions. Furthermore, the meta- 1998) that allows some degree of randomness in data could also be used in evaluating the correct- the trend generation, S0 denotes the given initial ness of future chart understanding models. value, σ denotes the weight of Brownian motion, 2 that is, the volatility rate of the data. µ − σ2 is the 3.4 Analytical Description Generation drift factor of Brownian motion, which indicates the trend of the data. When it is a positive number, The creation of analytical descriptions for the gen- the data is on an increasing trend, and when it erated charts is a challenging task. Firstly, as we is a negative number, it is on a decreasing trend. have created a large number of charts, it is labor- However, a random fluctuation is generated when intensive and time-consuming to draft the analyti- it is 0. In total, we apply Equation 1 to generate cal descriptions for all the charts manually. There- charts with eight different types of trends. This fore, we would need an automated approach to is achieved by incorporating various parameters generate the charts’ analytical description. Sec- mentioned above and performing symmetry and ondly, the automated solution would need to gen- rotation operations on the data. Figure 3 shows an erate analytical descriptions that are informative, example of line charts generated in various trends. coherent, and relevant to chart context. We propose a template-based approach with linguistics anal- 3.3 Chart Generation ysis to guide the generation of charts’ analytical descriptions to overcome these challenges. We generate four types of charts in our AutoChart dataset: scatter plots, line chart, vertical, and hori- 3.4.1 Templates Generation zontal bar charts. These types of charts are com- monly encountered in academic journals, research We recruited three linguistics researchers to write papers, textbooks, etc. the descriptions of a small subset of the generated Python library Matplotlib (Hunter, 2007) is used charts to create the analytical description templates. to generate the charts. To encourage diversity in The subset of generated charts is evenly sampled our chart generation, we developed a script to se- from the various types of trends. The linguistics lect parameters randomly to add variation to our researchers are instructed to assume the same set- charts. Specifically, we randomly select markers ting as IELTS AWT1 when writing the analytical from 10 unique shapes for each scatter-plot. We descriptions of sampled charts. In total, the linguis- also randomly choose the color of the markers in tics researchers wrote analytical descriptions for scatter-plots, lines in line charts, and bars in bar 150 charts. charts from a set of 20 colors. The thickness of As writing the analytical descriptions templates the bars and line style of lines are also randomly is a labor-intensive and time-consuming task, we configured. Note that although we fix the size of used Quillbot2 , an online paraphrase API, to para- the entire visual canvas, the size of legends and phrase the sentences in the human-written tem- y-axis values is different for each chart, resulting plates. The paraphrase sentences significantly ex- in random image sizes. The number of discrete panded our analytical description templates. In elements of x-axis varies from 2 to 8 and the num- total, we extracted 213 human-written chart sen- ber of entries in legend box varies from 1 to 2. By tences, 661 paraphrased sentences as templates. using different combinations of indicator variables, Finally, both human-written and paraphrased sen- entities (years, countries, etc.), and parameters, we tences will be used to generate other generated created a total of 10,232 charts. charts’ analytical descriptions automatically. Our script preserves the meta-information of the 2 generated charts in JSON files to enable the de- https://quillbot.com/
3.4.2 Rhetorical Move Analysis a big increase in the consumption of pizza, A naive and straightforward way to generate the sales of fish and chips decreased.”. charts’ analytical descriptions is to randomly sam- In particular, for sentences annotated as Move 3 ple the sentences from our templates and apply or 4, we further categorize the sentences into the the charts’ meta-data to produce the relevant ana- types of charts that they are describing: lytical descriptions. However, such an approach neglects the rhetorical moves in analytical descrip- • For temporal charts where the x-axis repre- tions, which are important linguistics elements in sents time, the sentences focus on the trend of building analytical arguments (Swales, 2004). In- the data and the comparison of different time spired by the idea of moves from Swales’ frame- points. Move 3 and 4 sentences that describe work of genre analysis, we explored a rhetorical trends are grouped into the eight categories moves framework in analytical description tem- showed in Figure 3. For temporal charts with- plates. Specifically, we manually annotate each out apparent trends, the sentences will mainly sentence in the template and group them in one of focus on the comparison between data and the following five rhetorical moves: some special points. (1) Move 1 [Obligatory]: Overview of the chart. • For categorical charts where the x-axis rep- This move is used to explain what the chart is resents entities, such as cities, food, etc., the about, the chart’s content, etc. For example, Move 3 and 4 sentences will only focus on “The chart shows the amount of fast-food con- comparing different categories and describing sumed in the UK between 1970 and 1990.”. some special points. (2) Move 2 [Optional]: Description of the chart 3.4.3 Rhetorical Moves Synthesis for Chart itself. This move mainly focuses on the con- Description figuration of or elements in the chart. For example, “All the sampled countries are from After analyzing and annotating the rhetorical Europe: Finland, France, Georgia, Germany, moves of sentences in the human-written and para- Greece, and Hungary.”. phrase templates, we leverage the templates’ sen- tences and utilize charts’ meta-information to gen- (3) Move 3 [Obligatory]: Interpretation of the erate the charts’ analytical descriptions. To this chart information. This part mainly explains end, we designed a script that takes in a generated the changing trend and simple observation of chart as input and performs the following steps: chart information, etc. For example, “The amount of fish and chips eaten declined 1. We first extract the generated chart’s data val- slightly”. Nevertheless, it is inadequate to ues and meta-information from its correspond- simply describe the trends. Thus, we will ing JSON file. Specifically, we extract the title, add a supplementary Move 3.1 to report the x-axis, and y-axis labels, numeric information, numeric information from the chart. For ex- the data trend, etc. ample, “In 1970, the consumption was about 2. Depending on the type of charts (i.e., temporal 300g per week. This fell to 220g per week or categorical), and the trend(s) in the chart, in 1990.”. We noted that Move 3.1 could be we sample the sentences from the templates further divided into descriptions of individual such that the sentences of various rhetorical data points and comparisons for trends. moves are selected to build a coherent analyt- (4) Move 4 [Optional]: Evaluative comments on ical description. Furthermore, to encourage specific value(s) or comparisons. For example, diversity in the generated analytical descrip- “The retired and unemployed people enjoyed tion, we randomly set the number of rhetorical about 78 to 82 hours per week which is longer move sentences to generate. The conditional than people from other employment statuses.”. sampling of template sentences by rhetorical moves ensures that the generated analytical (5) Move 5 [Obligatory]: Conclusions, sum- descriptions are structured to be a coherent an- maries or implications based on the chart. For alytical argument, and the sampling strategy example, “In conclusion, although there was encourages diversity in sentence structures.
Line Bar Scatter #Description Horizontal Vertical Temporal Trend 880 480 880 880 6,805 Random 1,049 676 1,049 1,049 9,174 Categorical 951 436 951 951 7,564 Total 2,880 1,592 2,880 2,880 23,543 Table 1: Summary Statistics of AutoChart Dataset. 3. Once the template sentences are selected, we 4.2 Human Evaluation replace the variables, entities, and values in To examine the quality of the generated descrip- the sentences with the given generated chart’s tions in AutoChart, we conducted three human- meta-information. For example, consider the based evaluation studies. In the first study (S1), we template sentence “The [y-axis_label] of [x- recruited 30 linguistics researchers to write descrip- axis_label] is observed to decline since [x- tions for 60 charts (20 line charts, 20 bar charts, and tick_label].”, we substitute the variables with 20 scatter plots). The written descriptions from S1 the generated chart’s meta-information and are used in automatic evaluation discussed in the generate the sentence “The number of visi- next section and also as the charts in S3. In Study 2 tors of Singapore is observed to decline since (S2) and Study 3 (S3), we examined the differences 2015.”. The script also analyzes correspond- between AutoChart generated descriptions and the ing relationships between data before perform- human-written descriptions from S1, respectively. ing the replacement if there is no related infor- They are the same otherwise in format and content. mation in meta-data (i.e. the trend, statistical We studied S2 and S3 with 600 unique participants features such as minimum and maximum x- (20 line charts, 20 bar charts 20 scatter plots, each values and y-values, etc.). Such a process evaluated five times = 300 participants × 2 studies) chooses templates randomly, and we can re- using crowdsourcing on Amazon Mechanical Turk peat the script three times to get multiple ana- (AMT). Participants were at least 21 years old and lytical chart descriptions for each chart. were self-reported to be proficient in English. To Finally, the generated analytical descriptions are reduce the potential bias in self-report, we used paired with the generated charts to form the Au- AMT’s options to select only US-based workers. toChart dataset. Informed consent was first obtained from partici- pants. They then completed a demographics survey 4 Dataset Evaluation before proceeding to the study task. Participants In order to conduct a thorough evaluation on the were presented with a chart and its accompanying generated analytical descriptions, similar to many description, and then asked to rate the description NLG tasks, we assess the generated analytical de- on three dimensions of naturalness, informative- scriptions using both human and automatic metrics ness, and quality (i.e., grammatical correctness) (Gatt and Krahmer, 2018). adapted from the study in (Novikova et al., 2018) using a 5-pt Likert scale. To ensure that participants 4.1 Dataset Overview were focused during the task, we asked them to an- Table 1 summarizes our constructed AutoChart swer a question that pertained to the chart descrip- dataset. In total, we generated 10,232 charts and tion. We additionally used a reCAPTCHA (rec) to 23,543 corresponding analytical descriptions. Note reduce the likelihood of bot responses. Five partic- that we have generated multiple analytical descrip- ipants rate each chart, and we compute the median tions for each generated chart, simulating the real- to provide majority voting in ratings. world situation where different human writers may Results. Comparing the results of S2 and S3, have different analytic descriptions of the same we did not detect significant differences between chart. The 150 analytical descriptions written by AutoChart and human-written descriptions for nat- the linguistics researchers are also included in the uralness (p = 0.056 > 0.05, 1-tail), informative- dataset. The analytical descriptions have an aver- ness (p = 0.288) or quality (p = 0.227). From Fig- age of 8 sentences and 140 words. Figure 4 shows ure 5, we observe that human descriptions are rated an example of a generated chart and analytical de- higher on dimensions of naturalness and marginally scription in the AutoChart dataset. on quality; with the generated analytical descrip-
Human: From 2013 to 2019, the line graph depicts the number of fast food (hamburger) consumption in Figure 5: AutoChart vs Human descriptions rated on Canada and the United States, respectively. In the last naturalness, informativeness, and quality seven years, both countries have seen similar increases Method BLEU ROUGE BLEURT in consumer numbers. Over the last seven years, the AutoChart United States has seen a steady increase. In 2018, there - Bar 40.21 42.99 21.42 - Line 43.93 47.32 22.58 was a significant growth in Canada. Based on historical - Scatter 39.69 48.03 17.30 trends, both countries are anticipated to expand their - Overall 41.28 46.11 20.43 fast food consumption in the coming years. Baseline - Bar 32.63 35.95 12.25 Generated: [Move 1] The line graph displays the - Line 35.48 33.20 7.55 number of consumption of fast food (hamburger) in - Scatter 32.28 32.33 9.12 Canada and the USA, respectively, from 2013 through - Overall 33.46 33.83 9.64 2019. [Move 2] In this chart, the unit of measurement Table 2: Quality Assessment Results. is Local Currency, as seen on the y-axis. [Move 3] It 4.3 Automatic Evaluation is obvious that both countries shared similar increas- ing trends in the number of consumption in the past 6 Automatic evaluation of NLG tasks is challenging years. [Move 3.1] For Canada, by 2013 the number of and an ongoing research area itself. The challenges consumption reached nearly 12, while the number con- of evaluating charts’ analytical description auto- tinued to increase until 34 in 2019. [Move 3.1] And for matically are compounded as the generated text are the USA, in 2013, the number of consumption was about significantly longer than other NLG task such as 26, after that, each year has witnessed some increase. machine translation. Nevertheless, we leverage ex- [Move 3] In the past 6 years, the USA had consistently isting automatic evaluation metrics commonly used more than Canada. [Move 5] It would be interesting to in NLG tasks to evaluate our generated text. Specif- see what would happen in the next decade in these two ically, we perform two automatic assessments on countries in terms of current situations. the AutoChart dataset: (i) Quality assessment, Figure 4: Example of a generated chart and the cor- which compares the automatic generated analyt- responding human and automatic generated analytical ical descriptions and 60 human-written references descriptions in AutoChart dataset. written by the linguistics researchers in human eval- uation study S1. (ii) Difficulty assessment, where tion in AutoChart performing marginally better on to train existing chart-to-text methods using the informativeness. No significant differences were AutoChart dataset and compare their generated also detected when the S2 and S3 were analysed descriptions against the human-written references. at the chart type level. However, AutoChart had marginally better absolute performance on all three 4.4 Quality Assessment dimensions for bar charts (respectively as (natural- ness, informativeness, quality); AutoChart: (4.5, To evaluate the quality of the analytical descriptions 4.6, 4.5) vs Human: (4.4, 4.4, 4.4)). AutoChart in AutoChart, we computed the ROUGE (Papineni also performed marginally better on absolute in- et al., 2002), BLEU (Lin, 2004) and BLEURT (Sel- formativeness for line charts (4.6 vs 4.4). The re- lam et al., 2020) scores between the human-written sults of the human-based evaluation suggest that references from earlier human-based evaluation the AutoChart’s generated analytical descriptions study S1 and the automatic generated analytical are similar to human-written descriptions in terms descriptions for the same 60 charts. We assume of informativeness, naturalness, and quality. that the human-written references are the gold stan- dard, and the generated analytical descriptions in AutoChart should be similar to the gold standard.
Method BLEU ROUGE BLEURT paragraph structure (i.e., rhetorical moves) in its Balaji et al. (2018) 20.45 22.9 13.31 generation. (Balaji et al., 2018) is designed to gen- Obeid (2020) 33.05 28.32 18.23 Liu et al. (2020) 10.68 19.74 5.49 erate simple single sentence summaries for charts. Table 3: Difficulty Assessment Results. Thus, it might not be able to generate informative and detailed analytical descriptions of the charts. As a baseline comparison, we adopt a simple The image caption method (Liu et al., 2020) per- template-based generative method that generates formed badly for the task as it is likely to generate the charts’ analytical descriptions by randomly the general captions such as “this is a line chart.”. sampling the sentences from our templates and The performance of existing baselines highlights applying the charts’ meta-data to produce the rel- the difficulty of the chart analytical description gen- evant analytical description. The main difference eration task. between the baseline and the AutoChart analytical descriptions is the baseline does not consider the 5 Discussion and Conclusion rhetorical moves in the description generation. Table 2 shows the results of quality assessment The AutoChart dataset opens up new research on the analytical descriptions in AutoChart dataset opportunities for the computer vision, computa- and baseline. We compute the average scores for tional linguistics, and natural language processing various automatic assessment metrics for the dif- research communities. Novel object recognition ferent chart types. The overall average scores are and deep text generative models can be designed also reported. We observe that the AutoChart’s an- to interpret charts and generate relevant analyti- alytical descriptions significantly outperformed the cal descriptions automatically. The automatic in- baseline generated text, suggesting that the inclu- terpretation and generation of analytical chart de- sion of rhetorical moves in analytical descriptions scriptions have many academic and industrial ap- are more aligned to the human-written references. plications. For instance, generating good-quality analytic chart descriptions can guide students to 4.5 Difficulty Assessment attempt the IELTS AWT1. The automated analy- Besides evaluating the quality of the AutoChart sis of charts is also a valuable function in existing dataset, we are also interested in investigating the assisted writing tools. The AutoChart dataset can existing chart-to-text methods’ performance in our support the development and exploration of the new dataset. The goal is to assess the difficulty supervised chart-to-text methods. of generation chart analytical descriptions using We opined that this is the start of an emerging re- the existing methods and the AutoChart dataset. search topic, and many future works could be done. Specifically, for this experiment, we first train the As an extension of this work, we aim to investigate two state-of-the-art chart-to-text baselines (Balaji and model more sophisticated linguistic techniques et al., 2018; Obeid, 2020) and an image caption- to construct better quality analytical descriptions ing method (Liu et al., 2020) using the AutoChart of charts. We will expand the dataset to include dataset. Subsequently, we apply the trained base- more types of charts, e.g., pie charts, box plots, etc. lines to generate the descriptions for the 60 charts Finally, we will also explore more automatic evalu- in human evaluation study S1. Finally, we compute ation methods to assess the quality of the generated the ROUGE, BLEU, and BLEURT scores between analytical descriptions. For example, we can ex- the human-written references and the baselines’ amine and assess the analytical descriptions’ logic, generated descriptions of the charts. reasoning, and fluency. Table 3 shows the experiment results. We ob- To conclude, we have proposed a novel frame- serve that none of the methods can perform exceed- work that automatically constructs the AutoChart ing well in generating chart descriptions that are dataset, a large chart analytical description dataset. close to human references. The best performing We conducted extensive human and machine evalu- baselines, (Obeid, 2020), was able to achieve simi- ation on the generated charts and descriptions and lar results to the simple template-based generative demonstrate that the generated text is informative, baseline used in the quality assessment experiment. coherent and relevant to the corresponding charts. Unsurprisingly, the (Obeid, 2020) is not able to We hope that the AutoChart can encourage more perform well for the chart analytical description research in the automatic generation of analytical generation task as the model did not consider the descriptions of charts.
Acknowledgement Shreve S.E. Karatzas I. 1998. Brownian motion. in: Brownian motion and stochastic calculus. Graduate This research is supported by Living Sky Technolo- Texts in Mathematics. gies Ltd, Canada under its research exploratory Leo Leppänen, Myriam Munezero, Mark Granroth- funding initiatives. Any opinions, findings and Wilding, and Hannu Toivonen. 2017. Data-driven conclusions or recommendations expressed in this news generation for automated journalism. In material are those of the author(s) and do not reflect Proceedings of the 10th International Conference on the views of Living Sky Technologies Ltd, Canada. Natural Language Generation, pages 188–197. Chin-Yew Lin. 2004. Rouge: A package for automatic evaluation of summaries. In Text summarization References branches out, pages 74–81. reCAPTCHA. https://www.google.com/ Maofu Liu, Lingjun Li, Huijun Hu, Weili Guan, and recaptcha/about. Accessed: 2020-11-21. Jing Tian. 2020. Image caption generation with dual attention mechanism. Information Processing Abhijit Balaji, Thuvaarakkesh Ramanathan, and & Management, 57(2):102178. Venkateshwarlu Sonathi. 2018. Chart-text: A fully automated chart image descriptor. arXiv preprint Xiaoyi Liu, Diego Klabjan, and Patrick NBless. 2019. arXiv:1812.10636. Data extraction from charts via single deep neural network. arXiv preprint arXiv:1906.11906. Leilani Battle, Peitong Duan, Zachery Miranda, Dana Mukusheva, Remco Chang, and Michael Stone- Yuxin Ma, Anthony KH Tung, Wei Wang, Xiang Gao, braker. 2018. Beagle: Automated extraction and Zhigeng Pan, and Wei Chen. 2018. Scatternet: A interpretation of visualizations from the web. In deep subjective similarity model for visual analysis Proceedings of the 2018 CHI Conference on Human of scatterplots. IEEE transactions on visualization Factors in Computing Systems, pages 1–8. and computer graphics. Chengliang Chai, Guoliang Li, Ju Fan, and Yuyu Luo. Nitesh Methani, Pritha Ganguly, Mitesh M Khapra, and 2020. Crowdchart: Crowdsourced data extraction Pratyush Kumar. 2020. Plotqa: Reasoning over sci- from visualization charts. IEEE Transactions on entific plots. In The IEEE Winter Conference on Knowledge and Data Engineering. Applications of Computer Vision, pages 1527–1536. Mathieu Cliche, David Rosenberg, Dhruv Madeka, and Daniella Molle and Paul Prior. 2008. Multimodal genre Connie Yee. 2017. Scatteract: Automated extrac- systems in eap writing pedagogy: Reflecting on a tion of data from scatter plots. In Joint European needs analysis. Tesol Quarterly, 42(4):541–566. Conference on Machine Learning and Knowledge Discovery in Databases, pages 135–150. Springer. Jekaterina Novikova, Ondřej Dušek, and Verena Rieser. 2018. Rankme: Reliable human ratings Wenjing Dai, Meng Wang, Zhibin Niu, and Jiawan for natural language generation. arXiv preprint Zhang. 2018. Chart decoder: Generating textual arXiv:1803.05928. and numeric information from chart images automat- ically. Journal of Visual Languages & Computing, Jason Obeid. 2020. Chart-to-text: Generating nat- 48:101–109. ural language descriptions for charts by adapting the transformer model. In Proceedings of the Albert Gatt and Emiel Krahmer. 2018. Survey of 13th International Conference on Natural Language the state of the art in natural language generation: Generation, pages 138–147. Core tasks, applications and evaluation. Journal of Artificial Intelligence Research, 61:65–170. Kishore Papineni, Salim Roukos, Todd Ward, and Wei- Jing Zhu. 2002. Bleu: a method for automatic J.D. Hunter. 2007. Matplotlib: A 2d graphics environ- evaluation of machine translation. In Proceedings ment. of the 40th annual meeting of the Association for Computational Linguistics, pages 311–318. Hayate Iso, Yui Uehara, Tatsuya Ishigaki, Hiroshi Noji, Eiji Aramaki, Ichiro Kobayashi, Yusuke Miyao, Ratish Puduppully, Li Dong, and Mirella Lapata. Naoaki Okazaki, and Hiroya Takamura. 2019. 2019. Data-to-text generation with content selec- Learning to select, track, and generate for data-to- tion and planning. In Proceedings of the 33rd text. In Proceedings of the 57th Annual Meeting AAAI Conference on Artificial Intelligence, Hon- of the Association for Computational Linguistics olulu, Hawaii. (ACL). Thibault Sellam, Dipanjan Das, and Ankur P Parikh. Samira Ebrahimi Kahou, Vincent Michalski, Adam 2020. Bleurt: Learning robust metrics for text gen- Atkinson, Ákos Kádár, Adam Trischler, and Yoshua eration. arXiv preprint arXiv:2004.04696. Bengio. 2017. Figureqa: An annotated fig- John M Swales. 2004. Research genres: Explorations ure dataset for visual reasoning. arXiv preprint and applications. Cambridge University Press. arXiv:1710.07300.
You can also read