Collage: Decomposable Rapid Prototyping for Co-Designed Information Extraction on Scientific PDFs

Sireesh Gururaja, Yueheng Zhang, Guannan Tang, Tianhao Zhang, Kevin Murphy, Yu-Tsen Yi, Junwon Seo, Anthony D. Rollett, Emma Strubell2025

TL;DR

This paper introduces Collage, a novel tool designed to bridge the gap between NLP developers and domain scientists for building information extraction systems from scientific PDFs. Collage enables rapid prototyping, visualization, and comparison of different extraction models, offering a transparent and collaborative environment for developing specialized tools.

What Problem Does This Paper Address?

The increasing availability of powerful, general-purpose NLP models and multimodal systems has made it easier to apply them to specialized domains like scientific literature. However, a significant challenge remains in comparing these general models with domain-specific ones, which often have narrower input formats and are difficult to evaluate within the original document context. Furthermore, many of these advanced systems operate as "black boxes," offering little insight into their internal processing steps, such as text conversion, which can heavily influence downstream results. This lack of transparency hinders debugging and understanding of model failures. Scientists, in particular, need tools that allow them to easily evaluate and integrate NLP models into their workflows, especially when dealing with complex document structures like tables and figures, and when working with older, potentially less well-digitized documents.

Methods

Collage is conceptualized in three parts: PDF representation, modeling, and a visualization frontend.

  • PDF Representation: It leverages the PaperMage library to parse multimodal PDF content. New components include a Grobid-based parser for semantic grouping and a SciSpaCy pipeline for improved text segmentation, making the PDF content more accessible for downstream processing. The output is a structured representation of entities like paragraphs, tables, and sentences.
  • Modeling and Software Interfaces: Collage defines common interfaces for token classification, text generation, and image/text multimodal models. These interfaces abstract away PDF preprocessing and visualization, allowing developers to easily integrate new models by implementing a few simple functions. This design promotes domain-agnosticism and extensibility.
  • Visualization Frontend: Built with Streamlit, this interactive tool allows users to upload PDFs, define processing pipelines, and inspect results at various stages. It offers three main views:
  • File Upload and Processing: For uploading PDFs and selecting custom models.
  • Summary View: Presents high-level extracted information, comparing results from different models side-by-side, including parsed tables and tagged entities.
  • Annotations View: Visualizes model results directly on the PDF, allowing users to see annotations in context and compare them across models.
  • Representation Inspection: Provides a granular view of intermediate processing states, enabling users to debug and understand how preprocessing choices affect model performance.

Datasets

Not discussed in the paper.

Key Insights and Ideas

  • Co-design is Crucial: The paper strongly advocates for a collaborative approach between NLP developers and domain scientists, recognizing that effective information extraction tools require input from both perspectives.
  • Transparency is Key: By providing decomposable views of the processing pipeline and intermediate states, Collage demystifies complex NLP models, enabling better debugging and understanding.
  • Domain Agnosticism: The design of Collage's interfaces allows it to support a wide range of models and domains, making it a versatile platform for various information extraction tasks.
  • Multimodality is Essential: The emphasis on handling not just text but also tables and images reflects the reality of scientific documents and the need for multimodal extraction.
  • Bridging the Gap: Collage aims to democratize access to advanced NLP tools for scientists, allowing them to evaluate and even contribute to the development of models relevant to their specific research needs.

Key Results

The paper demonstrates Collage's utility through a case study with a materials scientist looking to extract zeolite synthesis parameters. The system successfully allowed the scientist to:

  • Evaluate off-the-shelf models and identify their limitations.
  • Rapidly prototype and compare different LLM prompts for information extraction.
  • Visualize and compare results from multiple models side-by-side.
  • Inspect intermediate processing steps to diagnose errors, particularly with older documents where OCR quality was a concern.
  • Collaborate with an NLP developer to extend the system with new, specialized models.

Limitations and Future Work

  • LLMs for Tables: Currently, LLMs in Collage can only be applied to text, not directly to tables. The authors suggest developing LLM-based table information extraction models as a future direction.
  • Older PDFs: While Collage aids in diagnosing issues with older PDFs (e.g., OCR errors), further work could focus on improving robustness for such documents.
  • Broader Domain Application: While the case study is in materials science, the authors intend for Collage to be a platform for evaluating further modeling work across various scientific domains.
  • Automation Bias: The authors acknowledge that automation may propagate biases present in the underlying models, potentially leading to exclusion of certain research. They emphasize critical evaluation of model outputs.

Summary updated

BibTeX
@misc{gururaja2025collage,
  author = {Sireesh Gururaja and Yueheng Zhang and Guannan Tang and Tianhao Zhang and Kevin Murphy and Yu-Tsen Yi and Junwon Seo and Anthony D. Rollett and Emma Strubell},
  title = {{Collage: Decomposable Rapid Prototyping for Co-Designed Information Extraction on Scientific PDFs}},
  year = {2025},
  doi = {10.18653/v1/2025.sdp-1.7},
}
Figure