A Corpus of Images and Text in Online News

Laura Hollink, Adriatik Bedjeti, Martin van Harmelen, Desmond ElliottLREC 2016

Abstract

In recent years, several datasets have been released that include images and text, giving impulse to new methods that combine natural language processing and computer vision. However, there is a need for datasets of images in their natural textual context. The ION corpus contains 300K news articles published between August 2014 - 2015 in five online newspapers from two countries. The 1-year coverage over multiple publishers ensures a broad scope in terms of topics, image quality and editorial viewpoints. The corpus consists of JSON-LD files with the following data about each article: the original URL of the article on the news publisher’s website, the date of publication, the headline of the article, the URL of the image displayed with the article (if any), and the caption of that image. Neither the article text nor the images themselves are included in the corpus. Instead, the images are distributed as high-dimensional feature vectors extracted from a Convolutional Neural Network, anticipating their use in computer vision tasks. The article text is represented as a list of automatically generated entity and topic annotations in the form of Wikipedia/DBpedia pages. This facilitates the selection of subsets of the corpus for separate analysis or evaluation.

Introduction: Bridging the Gap Between Pixels and Press

Most computer vision datasets, like MS COCO or Flickr30K, rely on "literal" captions—descriptions created by crowd workers or users specifically to describe what is in the frame (e.g., "a dog catching a frisbee"). However, in the real world, images rarely exist in a vacuum. In journalism, an image of a politician might be captioned with a quote or a summary of a policy shift rather than a description of their suit.

There is a significant gap in datasets that capture this "natural textual context." Previous attempts to curate news-based datasets were either small (a few thousand articles) or limited to a single publisher. The ION (Images in Online News) corpus addresses this by creating a multi-publisher, multi-national resource that is large enough to train modern machine learning models while respecting the strict copyright constraints of the news industry.

Methodology

The construction of the ION corpus involved a robust multi-stage pipeline designed to extract and process data without violating copyright restrictions.

The ION corpus construction pipeline, from URL retrieval to feature extraction.
  1. Retrieval: The team targeted five major newspapers (The New York Times, The Washington Post, The Huffington Post, The Daily Mail, and The Independent) and scraped articles published between August 2014 and August 2015.
  2. Extraction: Using tailor-made XPath queries, they extracted headlines, publication dates, image URLs, and captions.
  3. Visual Processing: Since raw images could not be redistributed, they were processed locally using the VGG-19 Convolutional Neural Network. The team extracted 4096-dimensional feature vectors from the 'relu7' layer, providing the "essence" of the image for computer vision tasks.
  4. Textual Processing: Similarly, instead of providing full article text, the TextRazor API was used to perform entity linking. This converted the text into a list of Wikipedia/DBpedia URIs, categorizing articles into "Coarse Topics" and specific entities.
  5. Data Modeling: The final dataset is distributed as JSON-LD, utilizing the Schema.org vocabulary to ensure the data is "Linked Data" ready and interoperable with other web resources.

The ION Corpus

The primary contribution is the scale and diversity of the ION Corpus itself. Comprising 323,707 articles from three US-based and two UK-based online newspapers, it is significantly larger than previous benchmarks like the BBC News dataset (3,361 articles) or the French newspaper collection (27,000 articles).

By providing CNN vectors and DBpedia links, the authors created a dataset that is arguably more useful for immediate machine learning applications than a pile of raw HTML and JPEGs. This "feature-based" distribution model allows researchers to focus on modeling rather than data cleaning and legal compliance.

Key Results and Semantic Diversity

The dataset provides a dense semantic map of the news cycle over a full year, averaging 5 high-level categories and 25 specific entities/topics per article. This richness allows for complex queries; for example, a researcher could filter the dataset for "articles about female political leaders" by leveraging the structured knowledge in the Linked Open Data cloud.

Distribution of article categories across the five news publishers in the ION corpus.

As shown in the distribution analysis, the corpus covers a wide array of topics—from "Politics" and "Social Issues" to "Technology" and "Arts"—ensuring the dataset isn't biased toward a single niche. Beyond the data, the authors released the source code for their extraction and processing pipeline on GitHub, allowing others to extend the corpus or replicate the methodology for different time periods or languages.

Limitations and Future Directions

While the ION corpus is a significant step forward, the authors acknowledge several constraints. Currently, the corpus only includes data for the first image appearing in an article, and the quality of the dataset is dependent on the accuracy of the VGG-19 model and the TextRazor API. Furthermore, the current version is limited to English-language publishers.

Future work will focus on evaluating the accuracy of the automatic annotations against human-coded samples and exploring "News Image Captioning"—the task of generating contextually relevant captions that go beyond literal descriptions. The corpus also holds potential for large-scale media studies, such as analyzing visual framing and gender bias in the press.

Summary updated

BibTeX
@inproceedings{hollink2016corpus,
  author = {Laura Hollink and Adriatik Bedjeti and Martin van Harmelen and Desmond Elliott},
  title = {{A Corpus of Images and Text in Online News}},
  booktitle = {LREC},
  year = {2016},
  url = {https://openreview.net/forum?id=2nbABaQ1qKn},
}
Figure