Comparing Computational Architectures for Automated Journalism

Yan V. Sym, João Campos, Marcos M. José, Fábio Gagliardi Cozman2022 · DOI

TL;DR

This paper evaluates three different ways to build "robot journalists" that turn structured data into news reports in Brazilian Portuguese. The researchers found that while modern end-to-end AI models are trendy, traditional modular pipelines and template-based systems are still superior for journalism because they avoid "hallucinations" and ensure factual accuracy in sensitive environmental reporting.

What Problem Does This Paper Address?

The field of Natural Language Generation (NLG) is moving rapidly toward "end-to-end" neural models—think of these as black boxes that take raw data in and spit a story out. However, in the context of Automated Journalism, accuracy is everything. If a bot reports the wrong magnitude for an earthquake or incorrect coordinates for an oil spill, it loses all credibility.

The authors address the lack of benchmarks for Brazilian Portuguese NLG and investigate whether the "all-in-one" neural approach can actually compete with older, more structured architectures (templates and pipelines) when it comes to reporting on the "Blue Amazon"—Brazil's massive and ecologically vital maritime territory.

Methods

The researchers compared three distinct computational architectures:

  1. Template-based: The simplest approach, where data is plugged into predefined "fill-in-the-blank" sentences. It’s highly reliable but repetitive.
  2. Pipeline-based: A modular six-step process (Content Selection, Discourse Ordering, Text Structuring, Lexicalization, Referring Expression Generation, and Textual Realization). This allows for more linguistic "intelligence" and variety than a simple template.
  3. End-to-End Neural: The team fine-tuned four transformer-based models—BART, T5, Blenderbot, and GPT-2—to map structured data directly to Portuguese text.

They also developed a hybrid system called BLAB-Reporter, which uses a rule-based analyzer to decide which architecture to use: templates for critical "edge cases" (like disasters) and pipelines or neural models for routine daily updates.

Datasets

The authors introduced a new, publicly available dataset specifically for this task:

  • The Blue Amazon Dataset: A collection of 90 days of data across 50 Brazilian coastal cities. It includes structured information on weather, tide charts, earthquakes, vessel positioning (from Marine Traffic), and oil extraction.
  • The Corpus: 300 human-annotated verbalizations of this data in Brazilian Portuguese, used to train and evaluate the models.

Key Insights and Ideas

  • The Hallucination Hurdle: Neural models frequently "hallucinated" information—meaning they invented facts not present in the data or swapped values (e.g., confusing humidity with wind speed). In journalism, this is a fatal flaw.
  • The "Black Box" vs. Auditability: Modular pipelines allow developers to see exactly where a linguistic error occurred. Neural models are "black boxes," making them difficult to audit or fix for specific factual errors.
  • Variety vs. Reliability: While templates are the most "fluent" because they are written by humans, they lack lexical variety. The pipeline approach emerged as the "Goldilocks" solution: it provided the best variety (making the bot feel less like a bot) while maintaining high factual standards.
  • Small Data Struggles: Neural models (especially GPT-2) struggled significantly with the relatively small dataset, often failing to complete sentences or properly transform the input data.

Key Results

The architectures were evaluated by five domain experts using a 1-5 Likert scale:

Architecture Fluency Semantics (Accuracy) Lexical Variety
Template 4.8 4.8 3.2
Pipeline 4.5 4.6 4.4
End-to-end (BART) 3.8 3.5 3.7
End-to-end (GPT-2) 2.1 1.9 2.2
  • Templates and Pipelines dominated the human evaluation, particularly in "Semantics," proving they are much better at conveying the actual data.
  • BART was the strongest performer among the neural models, achieving a BLEU score of 47.9, but it still lagged behind the rule-based systems in human-rated reliability.
  • GPT-2 performed the worst, often repeating temperature values or using incorrect units (like °V instead of °C).

Limitations and Future Work

The primary limitation is the dataset size; 300 samples is quite small for training massive transformer models, which likely contributed to the neural models' poor performance. Additionally, the study is limited to the specific domain of maritime data and the Brazilian Portuguese language.

For future work, the authors plan to:

  • Incorporate more data sources, such as real-time reporting on illegal fishing.
  • Explore "hybrid-modular" approaches, where neural models are used for specific steps within a pipeline (like lexicalization) rather than for the whole process.
  • Experiment with text summarization to turn long reports into short, punchy tweets.

Summary updated

Abstract

The majority of NLG systems have been designed following either a template-based or a pipeline-based architecture. Recent neural models for datato-text generation have been proposed with an end-to-end deep learning flavor, which handles non-linguistic input in natural language without explicit intermediary representations. This study compares the most often employed methods for generating Brazilian Portuguese texts from structured data. Results suggest that explicit intermediate steps in the generation process produce better texts than the ones generated by neural end-to-end architectures, avoiding data hallucination while better generalizing to unseen inputs. Code and corpus are publicly available.
BibTeX
@misc{sym2022comparing,
  author = {Yan V. Sym and João Campos and Marcos M. José and Fábio Gagliardi Cozman},
  title = {{Comparing Computational Architectures for Automated Journalism}},
  year = {2022},
  doi = {10.5753/eniac.2022.227426},
}
Figure