Generative AI for Research Data Processing: Lessons Learnt From Three Use Cases
Modhurita Mitra, Martine G. de Vos, Nicola Cortinovis, Dawa Ometto
TL;DR
The paper investigates when and how generative AI, exemplified by Claude 3 Opus, can support research data processing across diverse tasks (information extraction, natural language understanding, and text classification). It introduces a disciplined pipeline with token-based chunking, deterministic prompts (temperature $0$), and JSON outputs to maximize accuracy and reproducibility, and it evaluates results against ground truth where available. Across three use cases, the approach yields near-perfect results for seedlists on a small sample, mixed but useful accuracy for HTA data extraction, and interrater-comparable performance for Kickstarter NAICS coding despite inherent task ambiguity. The work offers concrete guidance on selecting appropriate tasks for generative AI, highlights the importance of prompt design and data quality, and outlines a path toward more rigorous quantitative assessment and open, reproducible studies in the future.
Abstract
There has been enormous interest in generative AI since ChatGPT was launched in 2022. However, there are concerns about the accuracy and consistency of the outputs of generative AI. We have carried out an exploratory study on the application of this new technology in research data processing. We identified tasks for which rule-based or traditional machine learning approaches were difficult to apply, and then performed these tasks using generative AI. We demonstrate the feasibility of using the generative AI model Claude 3 Opus in three research projects involving complex data processing tasks: 1) Information extraction: We extract plant species names from historical seedlists (catalogues of seeds) published by botanical gardens. 2) Natural language understanding: We extract certain data points (name of drug, name of health indication, relative effectiveness, cost-effectiveness, etc.) from documents published by Health Technology Assessment organisations in the EU. 3) Text classification: We assign industry codes to projects on the crowdfunding website Kickstarter. We share the lessons we learnt from these use cases: How to determine if generative AI is an appropriate tool for a given data processing task, and if so, how to maximise the accuracy and consistency of the results obtained.
