Manuscript Offprint

arXiv:2609.08019

URL Extraction from Scholarly Documents: A Cross-Format Comparative Analysis

Rochana R. Obadage, Lamia Salsabil, Sawood Alam, Bipasha Banarjee, William A. Ingram, Edward A. Fox, Jian Wu

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Rochana R. Obadage

Old Dominion University

Norfolk, VA, USA

rochana@cs.odu.edu

Lamia Salsabil

Old Dominion University

Norfolk, VA, USA

lsals002@odu.edu

Sawood Alam

Internet Archive

San Francisco, CA, USA

sawood@archive.org

Bipasha Banarjee

Virginia Tech

Blacksburg, VA, USA

bipashabanerjee@vt.edu

William A. Ingram

Virginia Tech

Blacksburg, VA, USA

waingram@vt.edu

Edward A. Fox

Virginia Tech

Blacksburg, VA, USA

fox@vt.edu

Jian Wu

Old Dominion University

Norfolk, VA, USA

j1wu@odu.edu

ABSTRACT

URLs in scholarly documents link to rich external resources such as datasets, software, publications, and websites. Extracting these URLs is crucial in the data preparation stage of many downstream tasks, such as link rot analysis, web crawling, and building knowledge graphs. However, existing studies often downplay this phase, simply extracting URLs from a single format, usually text directly converted from PDFs. We present a systematic study evaluating URL extraction across six input formats (text with annotation layer, LaTeX, HTML, XML, Markdown, and PNG converted from PDF). To support the evaluation, we compiled a benchmark dataset consisting of 2,338 manually annotated URLs from 200 arXiv papers spanning a wide range of domains over a 33-year period. In addition to evaluating individual file formats, we also compared 63 composite input-format combinations. Our extensive evaluations indicate that TEXTWAL achieves the best performance among single-format inputs, while TEXTWAL+LaTeX achieves the best overall URL extraction performance. The same trend is observed for URLs linking to open-access datasets and software. To further validate these findings, we apply our format-specific URL extraction pipelines to a longitudinal random sample of 364,744 arXiv papers spanning 33 years. We observe a sharp increase in URL density after 2015, along with remarkable differences in URL extraction across file formats over time. Overall, our study highlights the importance of selecting an appropriate format for URL extraction from scholarly documents. The dataset and code are publicly available at: https://github.com/lamps-lab/arxiv-url-bench.

Keywords URL extraction, scholarly documents, arXiv, open-access, datasets, software, OADS, PDF processing, LaTeX, VLM, LLM, digital preservation, reproducibility, URL complexity, temporal analysis

1 Introduction

Open science increasingly depends on URLs embedded in scholarly papers to direct readers to datasets, software, references, project websites, and other resources that support transparency and reproducibility 1^{1} . Beyond supporting reproducibility, these URLs provide access to a broad ecosystem of scholarly and web resources. Accurate and complete URL extraction is therefore a fundamental prerequisite for many downstream research tasks, including link rot analysis [2, 3, 4], web crawling, scholarly knowledge graph construction, resource discovery, and large-scale studies of scholarly communication. It also serves as a critical step for identifying and cataloging open-access datasets and software (OADS) referenced in the literature.

1^{1} We adopt the definition of reproducibility from [1], where a finding is deemed reproducible if consistent results are obtained using the same input data, computational steps, methods, and code, and conditions of analysis.

The need for reliable URL extraction becomes particularly important when working with large scholarly repositories such as arXiv [5, 6], S2ORC [7], and PMC [8], which collectively host tens of millions of full-text papers. At this scale, extraction errors can have substantial consequences: invalid URLs reduce precision, while missed URLs lead to incomplete analyses, resource collections, and knowledge bases. Even a small fraction of deficiencies in extraction performance can propagate to thousands or millions of missing or incorrectly identified links.

Figure

Figure 1: Different file formats for an arXiv paper and how they are obtained for our study.

URL extraction from scholarly documents is commonly performed on a single document representation, typically plain text extracted from PDFs, with little consideration of alternative formats. However, as illustrated in Figure 1, URLs can be extracted from multiple representations derived from PDFs or source files (e.g., LaTeX). Because each conversion pipeline and subsequent format-specific extraction method introduces different levels of information loss, not all URLs present in the original paper may be recovered. Before scaling URL extraction to large scholarly corpora, it is therefore essential to understand how document format affects extraction quality and coverage.

To address this, we select papers from the arXiv repository, because a large fraction of papers in its repository provides multiple representations of the same paper, including PDF, LaTeX source, and HTML formats. Recently, with the growing adoption of HTML for scholarly publishing, an increasing number of arXiv papers have become available in HTML format through LaTeX-to-HTML conversion [9].

This repository enables us to build a dataset to systematically benchmark extraction methods designed for various formats. The evaluation results will help researchers assess the potential discrepancies from the complete URL set and choose a format that balances performance and cost. This work serves as a foundational component of a broader infrastructure initiative aimed at improving the availability, discoverability, and long-term accessibility of scholarly documents.

Extracting URLs from scholarly documents presents a non-trivial technical challenge that varies substantially across document formats. The challenges arise from three aspects: document formats, extraction methods, and URL complexity. Each format introduces different complications that directly impact extraction quality. PDF text extraction suffers from systematic limitations inherent to the PDF format itself, such as line-break fragmentation introduced when text extraction tools parse multi-column layouts, which splits URLs into multiple components. These artifacts collectively degrade the performance of both text-based and image-based URL pattern matching.

LaTeX source files preserve authorial intent through explicit markup, yet extraction requires handling of macros and packages like hyperref that encode URLs through semantic commands. HTML and XML representations offer richer semantic structure but depend entirely on conversion pipelines, whose success varies with source quality and pipeline maturity. Markdown representations generated by neural converters offer an alternative that combines layout reconstruction with structured hyperlink preservation, but does not guarantee to preserve all URLs.

Extracting directly from PDFs also remains challenging. Vision-language models (VLMs) and large language models (LLMs) operate on page images or raw PDF bytestreams, providing a unified extraction approach. However, proprietary models are more expensive than open-weight alternatives, may hallucinate plausible but false URLs, and often lack reproducibility due to model version changes.

Moreover, URL complexity interacts with format-specific artifacts in ways that prior literature has not systematically characterized.

Despite growing interest in extracting resource links from scholarly documents, two key limitations remain. First, existing studies lack a large-scale, statistically robust benchmark for comparing URL extraction performance across multiple document formats. Second, there is no formal taxonomy that characterizes URL complexity in scholarly documents and supports systematic diagnosis of extraction failures.

To address these gaps, we extend our previous work [10] and conduct a multi-format benchmark study on 2,338 URLs manually extracted from 200 arXiv papers, stratified by publication year and document category. We propose a three-dimensional taxonomy of URL complexity and evaluate a diverse set of extraction methods, including traditional tools, open-weight VLMs, and proprietary LLMs. Our study further incorporates a cost-performance analysis and provides practical guidance for large-scale deployment.

Our main contributions are as follows:

C1. A benchmark corpus. We construct a benchmark dataset of 2,338 URL instances manually identified from 200 arXiv papers, including approximately 20% OADS-related links. The corpus spans publication years 1992–2024 and includes diverse document types such as single-column, double-column, ETDs, and scanned papers.

C2. A three-dimensional URL complexity taxonomy. We propose a taxonomy that characterizes URL extraction difficulty along three orthogonal dimensions: lexicographical, spatial, and representational complexity.

C3. Extensive evaluation. We evaluate six individual formats and 63 union-format combinations, together with four frontier VLM/LLM-based extraction methods (Qwen2-VL-7B, MiniCPM-o-2.6, DeepSeek-VL-7B, and Claude Haiku 4.5), applied on selected formats.

C4. A practical decision framework. We derive actionable recommendations for selecting formats and extraction methods under scalability, cost, and recall requirements.

C5. Large-scale longitudinal analysis. We apply our extraction pipeline to 467,767 arXiv papers across 33 years (1992–2024) and analyze temporal trends in URL usage. We release a dataset consisting of ~360k arXiv papers each available in all six formats, enabling reproducible, format-comparable longitudinal comparison.

References (22)

  • Reproducibility and Replicability in Science
  • Scholarly context not found: One in five articles suffers from reference rot
  • The continued problem of URL decay: an updated analysis of health care management journal citations
  • Link-rot in web-sourced multimedia datasets
  • S2ORC: The semantic scholar open research corpus
  • Toward robust url extraction for open science: A study of arxiv file formats and temporal trends, 2025
  • PDFMiner: A tool for extracting information from pdf documents
  • Context-based url classification for open access datasets and software in scholarly documents
  • It's not just github: Identifying data and software sources included in publications
  • A study on reproducibility and replicability of table structure recognition methods (opens the publisher in a new tab)
  • Short: Can citations tell us about a paper's reproducibility? a case study of machine learning papers, 2024
  • CC30k: A citation contexts dataset for reproducibility-oriented sentiment analysis
  • Qwen2-VL: Enhancing Vision-Language Model's Perception of the World at Any Resolution
  • Minicpm: Unveiling the potential of small language models with scalable training strategies, 2024
  • Deepseek-vl: Towards real-world vision-language understanding, 2024
  • Mole: Metadata extraction and validation in scientific papers using llms, 2025
  • A cross disciplinary study of link decay and the effectiveness of mitigation techniques
  • Github repository complexity leads to diminished web archive availability
  • How many bootstrap replicates are necessary? J Comput Biol, 17(3):337–354, March 2010
  • Status bench: A rigorous benchmark for evaluating object state understanding in vision-language models
  • E-books and graphics with latexml, 2014
  • Web references are not eternal: time-trend and qualitative impact of the loss of access to online resources cited in peer-reviewed medical journals