Web Archives Metadata Generation with GPT-4o: Challenges and Insights

Ashwin Nair, Zhen Rong Goh, Tianrui Liu, Abigail Yongping Huang
11/8/2024
cs.DLcs.AI

Official code: masamune-prog/warc2summary (4 stars, MIT, last commit 2024-07-29).

Abstract

Current metadata creation for web archives is time consuming and costly due to reliance on human effort. This paper explores the use of gpt-4o for metadata generation within the Web Archive Singapore, focusing on scalability, efficiency, and cost effectiveness. We processed 112 Web ARChive (WARC) files using data reduction techniques, achieving a notable 99.9% reduction in metadata generation costs. By prompt engineering, we generated titles and abstracts, which were evaluated both intrinsically using Levenshtein Distance and BERTScore, and extrinsically with human cataloguers using McNemar's test. Results indicate that while our method offers significant cost savings and efficiency gains, human curated metadata maintains an edge in quality. The study identifies key challenges including content inaccuracies, hallucinations, and translation issues, suggesting that Large Language Models (LLMs) should serve as complements rather than replacements for human cataloguers. Future work will focus on refining prompts, improving content filtering, and addressing privacy concerns through experimentation with smaller models. This research advances the integration of LLMs in web archiving, offering valuable insights into their current capabilities and outlining directions for future enhancements. The code is available at https://github.com/masamune-prog/warc2summary for further development and use by institutions facing similar challenges.

View on arXivView PDF

Code Implementations(1)

MIT
40Roff, PythonJul 11, 20242 years agoMIT

Cite this paper

@article{nair2024archives,
  title  = {Web Archives Metadata Generation with GPT-4o: Challenges and Insights},
  author = {Ashwin Nair and Zhen Rong Goh and Tianrui Liu and Abigail Yongping Huang},
  year   = {2024},
  eprint = {2411.05409},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2411.05409v3}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2411.05409.svg)](https://codeofpaper.com/paper/2411.05409)

Discussion