An Agentic Framework Using Rules and LLMs for Embedding and Annotating Descriptive Document Layouts: A Plant Science Use Case
Nicolas Turenne, Youcef Sklab, Eric Chenin, Jean-Daniel Zucker
Abstract
Background: Recent advances in information retrieval (IR) leverage both dense and sparse representations, large language models (LLMs), and specialized retrieval models to improve ranking accuracy, relevance, and cross-lingual performance. Complementary techniques such as passage indexing, document layout analysis, and semantic knowledge representation further enhance retrieval effectiveness by capturing fine-grained contextual and structural information. Emerging agentic LLM frameworks extend these capabilities by enabling planning, iterative reasoning, tool use, and multi-agent collaboration, thereby broadening applications across diverse domains. These frameworks also emphasize rigorous evaluation, ethical considerations, and trustworthiness, ensuring responsible deployment in real-world settings. We propose a modular, agent-based pipeline for botanical trait extraction. Optical character recognition (OCR) converts PDFs into machine-readable text, while segmentation and indexing organize content by genus and species. Rule-based parsers extract structured botanical traits, and ensembles of large language models (LLMs) expand trait vocabularies and resolve ambiguities. This approach ensures accurate species recognition, scalable annotation, and explainable integration of textual botanical descriptions, enabling robust and interpretable data extraction across large botanical corpora. Results: Using three regional botanical datasets, our system extracted 55,737 trait annotations across 4,961 species, averaging 9.1 traits per species. Integration of LLM-based enrichment improved coverage for 75% of traits, increasing total annotations by 59%. While the choice of OCR engine had a minor effect on species recognition, overall annotation counts remained stable, demonstrating the robustness, scalability, and reliability of the pipeline for large-scale botanical trait extraction.
Create a lesson
Related papers
Evaluating Frontier-Model Agent Skills with Open-Weight Models in a Science Gateway
Shared title terminologycs.AIKomal Thareja, Mats Rynge, Anirban Mandal et al.
Habitats: A Framework for Open-Ended Evolution of Agent Objectives
Shared title terminologycs.AINicolas Bolouri, Gaya Mehenni, Daniel Toyama
AeroJEPA: A Two-Stage Framework for Aerosol Forecasting with Joint-Embedding Predictive Learning
Shared title terminologycs.AIZitong Shuai, Zengliang Zang, Chunlei Shi et al.
Adopting AI Technologies without Traps: A Multi-Agent Reinforcement Learning Framework
Shared title terminologycs.AIJitong Yang, Avinash Reddy Mudireddy, Ziqing Lu et al.
Same Executions, Different Gaps: Judgment Rules in Web-Agent Evaluation
Shared title terminologycs.AIZelong Wang, Weiyue Li, Fei Xue et al.
Post-Training Agents for Long-Document Reasoning
Shared title terminologycs.AISushant Mehta, Logan Ritchie, Edwin Chen