GPT-4 automates web archive metadata generation with 99.9% cost reduction
https://arxiv.org/abs/2411.05409
π― Original Problem:
National Library Board Singapore faced the challenge of manually cataloging over 98,000 websites. After legislative changes allowed domain-wide crawling, manual cataloging became impractical and costly.
-----
π οΈ Solution in this Paper:
β Developed a pipeline using GPT-4 to automate metadata generation for web archives
β Implemented three data reduction heuristics: About Page Priority, Shortest URL, and Shortest URL with Regex Filtering
β Used Chain of Thought prompting with two variants - basic and rule-based for different website types
β Applied BERTScore and Levenshtein Distance for automated evaluation
β Utilized human cataloger assessment through McNemar's test
-----
π Key Insights:
β LLMs should complement rather than replace human catalogers
β Content accuracy and hallucinations remain significant challenges
β Data reduction techniques can dramatically cut costs while maintaining quality
β Rule-based prompting improves metadata generation accuracy
β Privacy concerns suggest exploring smaller language models
-----
π Results:
β Achieved 99.9% reduction in metadata generation costs
β Processing time: 4 hours for 112 WARC files
β 19.6% accuracy issues in LLM-generated metadata vs 6.3% in human-curated metadata
β Statistical tests showed LLM outputs were distinguishable from human-generated metadata (p-value 0.02)










