{ "paper_id": "2020", "header": { "generated_with": "S2ORC 1.0.0", "date_generated": "2023-01-19T07:28:43.597317Z" }, "title": "DaMata: A Robot-Journalist Covering the Brazilian Amazon Deforestation", "authors": [ { "first": "Andr\u00e9", "middle": [], "last": "Luiz", "suffix": "", "affiliation": {}, "email": "" }, { "first": "Rosa", "middle": [], "last": "Teixeira", "suffix": "", "affiliation": { "laboratory": "Laboratory for Experimentation in Translation", "institution": "Federal University of Minas Gerais", "location": {} }, "email": "" }, { "first": "Jo\u00e3o", "middle": [], "last": "Gabriel", "suffix": "", "affiliation": {}, "email": "" }, { "first": "Moura", "middle": [], "last": "Campos", "suffix": "", "affiliation": { "laboratory": "", "institution": "University of S\u00e3o", "location": { "settlement": "Paulo" } }, "email": "" }, { "first": "Rossana", "middle": [], "last": "Cunha", "suffix": "", "affiliation": { "laboratory": "Laboratory for Experimentation in Translation", "institution": "Federal University of Minas Gerais", "location": {} }, "email": "rossanacunha@ufmg.br" }, { "first": "Thiago", "middle": [ "Castro" ], "last": "Ferreira", "suffix": "", "affiliation": { "laboratory": "Laboratory for Experimentation in Translation", "institution": "Federal University of Minas Gerais", "location": {} }, "email": "thiagocf05@ufmg.br" }, { "first": "Adriana", "middle": [ "Silvina" ], "last": "Pagano", "suffix": "", "affiliation": { "laboratory": "Laboratory for Experimentation in Translation", "institution": "Federal University of Minas Gerais", "location": {} }, "email": "apagano@ufmg.br" }, { "first": "Fabio", "middle": [ "Gagliardi" ], "last": "Cozman", "suffix": "", "affiliation": { "laboratory": "", "institution": "University of S\u00e3o", "location": { "settlement": "Paulo" } }, "email": "fgcozman@usp.br" } ], "year": "", "venue": null, "identifiers": {}, "abstract": "This demo paper introduces DaMata, a robotjournalist covering deforestation in the Brazilian Amazon. The robot-journalist is based on a pipeline architecture of Natural Language Generation, which yields multilingual daily and monthly reports based on the public data provided by DETER, a real-time deforestation satellite monitor developed and maintained by the Brazilian National Institute for Space Research (INPE). DaMata automatically generates reports in Brazilian Portuguese and English and publishes them on the Twitter platform. Corpus and code are publicly available. 1", "pdf_parse": { "paper_id": "2020", "_pdf_hash": "", "abstract": [ { "text": "This demo paper introduces DaMata, a robotjournalist covering deforestation in the Brazilian Amazon. The robot-journalist is based on a pipeline architecture of Natural Language Generation, which yields multilingual daily and monthly reports based on the public data provided by DETER, a real-time deforestation satellite monitor developed and maintained by the Brazilian National Institute for Space Research (INPE). DaMata automatically generates reports in Brazilian Portuguese and English and publishes them on the Twitter platform. Corpus and code are publicly available. 1", "cite_spans": [], "ref_spans": [], "eq_spans": [], "section": "Abstract", "sec_num": null } ], "body_text": [ { "text": "Robot-Journalism is one of the most promising Natural Language Generation (NLG) applications thanks to the high volume of structured datastreams available nowadays, which enables automated systems to report recurrent information with high-fidelity and low latency. Such automation can unburden journalists from tedious data reporting tasks, thus enabling human agents to devote efforts to more investigative coverage (Graefe, 2016) .", "cite_spans": [ { "start": 417, "end": 431, "text": "(Graefe, 2016)", "ref_id": null } ], "ref_spans": [], "eq_spans": [], "section": "Introduction", "sec_num": "1" }, { "text": "The health of the Amazon rainforest has drawn global news coverage attention lately, when soaring deforestation raised public awareness worldwide (Escobar, 2020) . Accurate information about deforested land in the Brazilian part of this territory is yielded by the country's National Institute for Space Research (INPE) 2 through several satellites and other monitoring systems. One of the most effective is DETER, a real-time deforestation warning surveillance system (Diniz et al., 2015) .", "cite_spans": [ { "start": 146, "end": 161, "text": "(Escobar, 2020)", "ref_id": "BIBREF1" }, { "start": 469, "end": 489, "text": "(Diniz et al., 2015)", "ref_id": "BIBREF0" } ], "ref_spans": [], "eq_spans": [], "section": "Introduction", "sec_num": "1" }, { "text": "Despite being publicly available 3 , DETER's deforestation data output is in graphical and numeri-1 https://github.com/BotsDoBem/DEMO_ INPE_COVID 2 http://www.inpe.br/ 3 http://terrabrasilis.dpi.inpe.br cal style, which renders it less accessible to general audiences and demands coverage by human journalists specialized in the domain. To address this issue, we introduce DaMata, a robot-journalist based on an NLG pipeline architecture (Reiter and Dale, 2000; Gatt and Krahmer, 2018) , which generates daily and monthly reports about deforestation in the Brazilian Amazon, both in Brazilian Portuguese 4 and English 5 , and publishes them on Twitter.", "cite_spans": [ { "start": 438, "end": 461, "text": "(Reiter and Dale, 2000;", "ref_id": "BIBREF7" }, { "start": 462, "end": 485, "text": "Gatt and Krahmer, 2018)", "ref_id": "BIBREF3" } ], "ref_spans": [], "eq_spans": [], "section": "Introduction", "sec_num": "1" }, { "text": "Unlike novel end-to-end systems, which may hallucinate content (Moryossef et al., 2019) and may be problematic for sensitive domains, DaMata follows the pipeline architecture proposed by Ferreira et al. (2019), which converts non-linguistic data into text in 6 steps: Content Selection, Discourse Ordering, Text Structuring, Lexicalization, Referring Expression Generation and Textual Realization. We have added a seventh step to DaMata -publication -responsible for sharing the generated news on Twitter. This kind of architecture, depicted in Figure 1 , allows for trustworthy output as well as easier access and maintenance of the sub-modules and easier multi-domain and multi-language applications. The grammar used by the model was built by first running the content selection step in previous data, generating 14 non-linguistic monthly reports and 25 daily ones. These non-linguistic reports were then manually verbalized and the input and output representations for each pipeline module were manually annotated. This process resulted in a list of possible discourse orders, text structures, lexicalizations, and referring expressions. When deployed, each module draws on the selected combination of templates using rule-based approaches.", "cite_spans": [ { "start": 63, "end": 87, "text": "(Moryossef et al., 2019)", "ref_id": "BIBREF6" } ], "ref_spans": [ { "start": 545, "end": 553, "text": "Figure 1", "ref_id": "FIGREF0" } ], "eq_spans": [], "section": "System Overview", "sec_num": "2" }, { "text": "The next sections describe each module. Content Selection This module is responsible for selecting relevant messages to be verbalized in the reports. Satellite data are gathered, processed, and interpreted by INPE, which provides this information through DETER API 6 . These data come in a structured format, a JSON file comprising pre-defined features, e.g., deforestation area, cause, date, city, state, etc., which are mapped to DaMata's database. The information is structured as intent-attribute-value messages:", "cite_spans": [], "ref_spans": [], "eq_spans": [], "section": "System Overview", "sec_num": "2" }, { "text": "DAILY ALERT(area=\"5.91\",city=\"None\",uc= \"CHICO MENDES EXTRACTIVIST RESERVE\",day= \"25\",month=\"3\",year=\"2019\",state=\"Acre\", location=\"amazon\",daily accumulation=\"1\")", "cite_spans": [], "ref_spans": [], "eq_spans": [], "section": "System Overview", "sec_num": "2" }, { "text": "We adopt a rule-based approach to content selection. The system checks for monthly and daily updates on deforestation. For a monthly report, DaMata always verbalizes news on the amount of total deforestation in the Brazilian Amazon and the main cause for deforestation in the corresponding time period. Next, the system verbalizes month and annual variation in case of an increase in these values compared to the previous period. Finally, it reports news on the state, city, and nature protected area with the highest deforestation rates in the respective month, if the corresponding deforested area was greater than the established threshold (e.g., the sum of mean value and standard deviation of the deforestation areas time series).", "cite_spans": [], "ref_spans": [], "eq_spans": [], "section": "System Overview", "sec_num": "2" }, { "text": "For a daily report, our robot-journalist selects data on the amount of deforested area and the main cause of deforestation in a given city or nature protected area as well as the total area hitherto deforested in the respective month for the given region. The following is an example of the content selection module output: Discourse Ordering According to Jurafsky and Martin (2019) , ordering events in discourse to construe a logical timeline enhances clarity and reader comprehension. Based on the list of possible intent orderings collected from our corpus (for instance 8 ordering templates for daily reports and 10 for monthly reports), we arrange our discourse messages by a rule-based approach. By using discourse ordering templates based on human generated texts, we ensure conveying the relative importance of each piece of information, as it is usually done in journalistic texts. For example, for the messages selected for a daily report -daily deforested area, main cause of deforestation and total deforestation in the month, a likely outcome order would be:", "cite_spans": [ { "start": 356, "end": 382, "text": "Jurafsky and Martin (2019)", "ref_id": "BIBREF5" } ], "ref_spans": [], "eq_spans": [], "section": "System Overview", "sec_num": "2" }, { "text": "DAILY ALERT \u2192 CAUSE \u2192 TOTAL DEFORESTATION", "cite_spans": [], "ref_spans": [], "eq_spans": [], "section": "System Overview", "sec_num": "2" }, { "text": "Text Structuring This step is responsible for structuring the information in sentences and paragraphs (Gatt and Krahmer, 2018; Ferreira et al., 2019) , bearing in mind the character limitation on Twitter (280 characters per tweet) and how intents should be ordered. As in the previous phase, our robot-journalist draws on the annotated corpus structures and also decides which structuring template to use by a rule-based approach. For our daily report example, this step would return:", "cite_spans": [ { "start": 102, "end": 126, "text": "(Gatt and Krahmer, 2018;", "ref_id": "BIBREF3" }, { "start": 127, "end": 149, "text": "Ferreira et al., 2019)", "ref_id": "BIBREF2" } ], "ref_spans": [], "eq_spans": [], "section": "System Overview", "sec_num": "2" }, { "text": "

DAILY ALERT CAUSE

TOTAL DEFORESTATION

.", "cite_spans": [], "ref_spans": [], "eq_spans": [], "section": "System Overview", "sec_num": "2" }, { "text": "Lexicalization Once the order and structure of the intents are set, DaMata chooses a lexicalization template for each structured sentence. These templates are chosen from 55 sentence templates for monthly reports and 46 templates for daily reports assuring that the lexicalization step has plenty of options to choose from, thus, rendering more variety in text outputs.", "cite_spans": [], "ref_spans": [], "eq_spans": [], "section": "System Overview", "sec_num": "2" }, { "text": "The templates provide for gender and number inflection. Verbs and nouns reflect entity gender and number attribute values (especially in Brazilian Portuguese), e.g., \"Altamira accumulates 1 day with alerts\" vs. \"Altamira accumulates 8 days with alerts\". A fill-template would not cater for number and gender inflection, and would also decrease variety in the final output.", "cite_spans": [], "ref_spans": [], "eq_spans": [], "section": "System Overview", "sec_num": "2" }, { "text": "To further increase variety and to ensure audience engagement, this module randomly picks one template from this pool of options. For example:", "cite_spans": [], "ref_spans": [], "eq_spans": [], "section": "System Overview", "sec_num": "2" }, { "text": "DAILY ALERT \u21d2 According to INSTITUTE, AREA sq km VP[...] deforest in UC in STATE, on MONTH DAY, YEAR.", "cite_spans": [], "ref_spans": [], "eq_spans": [], "section": "System Overview", "sec_num": "2" }, { "text": "Referring Expression Generation At this step in the pipeline, the system tracks entity tags in the lexicalized template and maps the appropriate referring expressions, replacing entities in context accordingly. In this module, DaMata uses a list of possible expressions for each entity, obeying some choice constraints. For a first reference to an entity in the text, a full description is used (e.g., INSTITUTE \u21d2 the National Institute for Space Research (INPE)), whereas for subsequent references a random referring expression to the entity is chosen (e.g., INSTITUTE \u21d2 the National Institute for Space Research (INPE); the Institute; INPE; it; etc.).", "cite_spans": [], "ref_spans": [], "eq_spans": [], "section": "System Overview", "sec_num": "2" }, { "text": "Textual Realization The final step in our pipeline sequence performs the remaining adjustments to transform the abstract machine intermediate representations into human-readable text. Nominal and verbal inflections, contractions and detokenization are performed according to each grammar. The following is an example of the intermediate representation and the output for a verbal inflection output during this process: VP [aspect=simple, tense=past, voice= passive, person=3rd, number=plural] deforest \u2192 were deforested", "cite_spans": [ { "start": 419, "end": 437, "text": "VP [aspect=simple,", "ref_id": null }, { "start": 438, "end": 449, "text": "tense=past,", "ref_id": null }, { "start": 450, "end": 465, "text": "voice= passive,", "ref_id": null }, { "start": 466, "end": 477, "text": "person=3rd,", "ref_id": null }, { "start": 478, "end": 492, "text": "number=plural]", "ref_id": null } ], "ref_spans": [], "eq_spans": [], "section": "System Overview", "sec_num": "2" }, { "text": "The final product is shown in the robot dialog box in Figure 1 .", "cite_spans": [], "ref_spans": [ { "start": 54, "end": 62, "text": "Figure 1", "ref_id": "FIGREF0" } ], "eq_spans": [], "section": "System Overview", "sec_num": "2" }, { "text": "This study introduces DaMata, a robot-journalist based on a pipeline architecture of NLG, which generates and publishes multilingual daily and monthly news reports about deforestation in Brazilian Amazon on Twitter. By leveraging structured datastreams available for the domain, DaMata can provide low latency human-readable information to wider audiences. Moreover, due to its rule-base nature, the pipeline framework ensures high-fidelity data publishing and the random choice at template level enhances lexical variety and audience engagement.", "cite_spans": [], "ref_spans": [], "eq_spans": [], "section": "Conclusions", "sec_num": "3" }, { "text": "For future work, we plan to publish satellite images indicating the deforested areas alongside the generated texts. A further interesting feature to be implemented is a chat-bot to the Twitter account, as we have noticed that Twitter recipients tend to react to the posts and seek to engage in conversations with the robot-journalists for further information. We also intend to add more languages for our robot to output, with a view to raising broader audience awareness about deforestation. Our robotjournalism proposal can be used to report on additional domains, particularly pertaining to sensitive issues that could benefit from ampler dissemination. For further improvement of our system's performance, we plan to add data-driven techniques to the existing pipeline modules.", "cite_spans": [], "ref_spans": [], "eq_spans": [], "section": "Conclusions", "sec_num": "3" }, { "text": "https://twitter.com/DaMataReporter 5 https://twitter.com/DaMataNews", "cite_spans": [], "ref_spans": [], "eq_spans": [], "section": "", "sec_num": null }, { "text": "http://terrabrasilis.dpi.inpe.br/ homologation/file-delivery/download/ deter-amz/daily", "cite_spans": [], "ref_spans": [], "eq_spans": [], "section": "", "sec_num": null } ], "back_matter": [ { "text": "Research funded by the Coordination for the Improvement of Higher Education Personnel (CAPES) under grants 88887.488096/2020-00, 88882.349188/2019-01 and 88887.508597/2020-00; the National Council for Scientific and Technological Development (CNPq), grant 312180/2018-7; the S\u00e3o Paulo Research Foundation (FAPESP), grant 2019/07665-4; and the State Funding Agency of Minas Gerais (FAPEMIG), grant APQ-01129-17.", "cite_spans": [], "ref_spans": [], "eq_spans": [], "section": "Acknowledgments", "sec_num": null } ], "bib_entries": { "BIBREF0": { "ref_id": "b0", "title": "Deter-b: The new amazon near real-time deforestation detection system", "authors": [ { "first": "Cesar", "middle": [], "last": "Guerreiro Diniz", "suffix": "" }, { "first": "Arleson", "middle": [], "last": "Antonio De Almeida", "suffix": "" }, { "first": "Diogo Corr\u00eaa", "middle": [], "last": "Souza", "suffix": "" }, { "first": "Mirian", "middle": [ "Correa" ], "last": "Santos", "suffix": "" }, { "first": "Nelton", "middle": [], "last": "Dias", "suffix": "" }, { "first": "Douglas", "middle": [ "Rafael" ], "last": "Cavalcante Da Luz", "suffix": "" }, { "first": "Janaina", "middle": [], "last": "Vidal De Moraes", "suffix": "" }, { "first": "Alessandra", "middle": [ "Rodrigues" ], "last": "Sant'ana Maia", "suffix": "" }, { "first": "Igor", "middle": [], "last": "Gomes", "suffix": "" }, { "first": "Silva", "middle": [], "last": "Da", "suffix": "" }, { "first": "Dalton", "middle": [ "M" ], "last": "Narvaes", "suffix": "" }, { "first": "", "middle": [], "last": "Valeriano", "suffix": "" } ], "year": 2015, "venue": "IEEE Journal of Selected Topics in Applied Earth Observations and Remote Sensing", "volume": "8", "issue": "7", "pages": "3619--3628", "other_ids": { "DOI": [ "10.1109/JSTARS.2015.2437075" ] }, "num": null, "urls": [], "raw_text": "Cesar Guerreiro Diniz, Arleson Antonio de Almeida Souza, Diogo Corr\u00eaa Santos, Mirian Correa Dias, Nelton Cavalcante da Luz, Douglas Rafael Vidal de Moraes, Janaina Sant'Ana Maia, Alessandra Rodrigues Gomes, Igor da Silva Narvaes, Dalton M Valeriano, et al. 2015. Deter-b: The new amazon near real-time deforestation detection system. IEEE Journal of Selected Topics in Applied Earth Observations and Remote Sensing, 8(7):3619-3628.", "links": null }, "BIBREF1": { "ref_id": "b1", "title": "Deforestation in the brazilian amazon is still rising sharply", "authors": [ { "first": "Herton", "middle": [], "last": "Escobar", "suffix": "" } ], "year": 2020, "venue": "Science", "volume": "369", "issue": "6504", "pages": "613--613", "other_ids": { "DOI": [ "10.1126/science.369.6504.613" ] }, "num": null, "urls": [], "raw_text": "Herton Escobar. 2020. Deforestation in the brazil- ian amazon is still rising sharply. Science, 369(6504):613-613.", "links": null }, "BIBREF2": { "ref_id": "b2", "title": "Neural datato-text generation: A comparison between pipeline and end-to-end architectures", "authors": [ { "first": "Chris", "middle": [], "last": "Thiago Castro Ferreira", "suffix": "" }, { "first": "", "middle": [], "last": "Van Der Lee", "suffix": "" }, { "first": "Emiel", "middle": [], "last": "Emiel Van Miltenburg", "suffix": "" }, { "first": "", "middle": [], "last": "Krahmer", "suffix": "" } ], "year": 2019, "venue": "EMNLP/IJCNLP", "volume": "", "issue": "", "pages": "", "other_ids": { "DOI": [ "10.18653/v1/d19-1052" ] }, "num": null, "urls": [], "raw_text": "Thiago Castro Ferreira, Chris van der Lee, Emiel van Miltenburg, and Emiel Krahmer. 2019. Neural data- to-text generation: A comparison between pipeline and end-to-end architectures. In EMNLP/IJCNLP.", "links": null }, "BIBREF3": { "ref_id": "b3", "title": "Survey of the State of the Art in Natural Language Generation: Core tasks, applications and evaluation", "authors": [ { "first": "Albert", "middle": [], "last": "Gatt", "suffix": "" }, { "first": "Emiel", "middle": [], "last": "Krahmer", "suffix": "" } ], "year": 2018, "venue": "Journal of Artificial Intelligence Research", "volume": "61", "issue": "", "pages": "65--170", "other_ids": { "DOI": [ "10.1613/jair.5477" ] }, "num": null, "urls": [], "raw_text": "Albert Gatt and Emiel Krahmer. 2018. Survey of the State of the Art in Natural Language Generation: Core tasks, applications and evaluation. Journal of Artificial Intelligence Research, 61:65-170.", "links": null }, "BIBREF5": { "ref_id": "b5", "title": "Speech and language processing: An Introduction to Natural Language Processing", "authors": [ { "first": "Dan", "middle": [], "last": "Jurafsky", "suffix": "" }, { "first": "H", "middle": [], "last": "James", "suffix": "" }, { "first": "", "middle": [], "last": "Martin", "suffix": "" } ], "year": 2019, "venue": "Computational Linguistics, and Speech Recognition", "volume": "", "issue": "", "pages": "", "other_ids": {}, "num": null, "urls": [], "raw_text": "Dan Jurafsky and James H Martin. 2019. Speech and language processing: An Introduction to Nat- ural Language Processing, Computational Linguis- tics, and Speech Recognition. 3rd edition. Pearson London.", "links": null }, "BIBREF6": { "ref_id": "b6", "title": "Step-by-step: Separating planning from realization in neural data-to-text generation", "authors": [ { "first": "Amit", "middle": [], "last": "Moryossef", "suffix": "" }, { "first": "Yoav", "middle": [], "last": "Goldberg", "suffix": "" }, { "first": "Ido", "middle": [], "last": "Dagan", "suffix": "" } ], "year": 2019, "venue": "Proceedings of NAACL", "volume": "", "issue": "", "pages": "", "other_ids": { "DOI": [ "10.18653/v1/N19-1236" ] }, "num": null, "urls": [], "raw_text": "Amit Moryossef, Yoav Goldberg, and Ido Dagan. 2019. Step-by-step: Separating planning from realization in neural data-to-text generation. In Proceedings of NAACL, Minneapolis, Minnesota.", "links": null }, "BIBREF7": { "ref_id": "b7", "title": "Building Natural Language Generation Systems", "authors": [ { "first": "Ehud", "middle": [], "last": "Reiter", "suffix": "" }, { "first": "Robert", "middle": [], "last": "Dale", "suffix": "" } ], "year": 2000, "venue": "", "volume": "", "issue": "", "pages": "", "other_ids": {}, "num": null, "urls": [], "raw_text": "Ehud Reiter and Robert Dale. 2000. Building Natu- ral Language Generation Systems. Cambridge, UK: Cambridge University Press.", "links": null } }, "ref_entries": { "FIGREF0": { "num": null, "text": "Robot-Journalist Pipeline Architecture and a human-readable output sample.", "uris": null, "type_str": "figure" }, "FIGREF1": { "num": null, "text": "area,day,month,year, daily accumulation,location,state,city); CAUSE(area,cause,location,month, year);", "uris": null, "type_str": "figure" } } } }