← Latest papers
💬 NLP

HERMES: a multi-agent framework for structured knowledge extraction from ultra-long documents in geoscience

HERMES is a scalable multi-agent framework that leverages a coordinating large language model to extract structured, FAIR-oriented knowledge from ultra-long, unstructured geoscience documents, successfully transforming the 55-volume Treatise on Invertebrate Paleontology into a comprehensive database with high accuracy and sixfold efficiency gains over manual methods.

Original authors: Ziqi Song, Zongyuan Xiang, James G. Ogg, Bruce S. Lieberman, Gabi Ogg, Natalia López Carranza, Wen Du, Yufei Ye, Shuan Li, Zhong Peng, Shaoqi Yu, Juye Wei, Ying Zhou, Jieping Ye, Jiang Yang

Published 2026-08-17
📖 5 min read🧠 Deep dive

Original authors: Ziqi Song, Zongyuan Xiang, James G. Ogg, Bruce S. Lieberman, Gabi Ogg, Natalia López Carranza, Wen Du, Yufei Ye, Shuan Li, Zhong Peng, Shaoqi Yu, Juye Wei, Ying Zhou, Jieping Ye, Jiang Yang

Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer

Imagine the world of science as a massive, ancient library where the most important stories aren't stored on shiny new tablets, but in dusty, towering stacks of heavy books. These books are filled with discoveries about our planet—where fossils lived, how rocks formed, and what the Earth's magnetic field looked like millions of years ago. The problem is that these stories are written in a way that computers can't read. They are trapped in long paragraphs, messy tables, and pictures with tiny captions. It's like having a treasure map written in a secret code that only a few human experts can decipher. To solve this, scientists are building "digital librarians" powered by Artificial Intelligence. These aren't just simple search engines; they are smart systems that can read a book, understand the difference between a table and a story, and pull out specific facts to build a new, searchable database. The big question is: Can a computer be smart enough to read these massive, complicated books without getting confused, missing details, or making things up?

Enter HERMES, a new team of digital detectives designed to tackle this exact challenge. Think of HERMES not as a single robot, but as a well-organized construction crew working on a giant puzzle. Instead of one worker trying to read a 500-page book all at once, HERMES uses a "manager" AI to coordinate a team of specialists. One specialist scans the pages and turns pictures into text; another hunts for specific names like fossil species; a third checks the numbers to make sure they make sense; and a fourth acts like a detective, writing down exactly where in the book each fact was found so humans can double-check the work. This system was put to the test on the Treatise on Invertebrate Paleontology, a legendary series of 55 books containing thousands of pages about ancient sea creatures. The results were impressive: HERMES successfully pulled out 32,277 fossil names and nearly 452,000 details about them, creating a massive, organized database that was previously impossible to build by hand. The team found that this AI crew worked about six times faster than a team of humans doing the same job manually, all while keeping the accuracy high. Even better, the system didn't just work on fossils; when the researchers gave it different types of books about Earth's magnetic fields and rock chemistry, it adapted and performed well there too, suggesting this "team of agents" approach could help unlock knowledge in many different areas of science.

The paper explains that while modern AI is getting better at reading long texts, it often struggles with the "middle" of very long documents, missing important clues hidden between the start and the end. It also struggles to prove where it got its information, which is crucial for science. HERMES solves this by breaking the job down. The "Orchestrator" (the manager) reads the user's request and directs the team. The "Parser" digitizes the book, turning scans into text and figures. The "Entity Recognizer" finds the specific things we are looking for, like a dinosaur name. The "Annotator" grabs the details attached to those names, but it uses a smart trick called "retrieval-augmented generation" to only look at the specific pages relevant to that detail, preventing it from guessing or hallucinating facts. Then, a "Validator" checks the work against strict rules (like making sure a fossil name is spelled correctly), and a "Tracer" marks the exact spot in the original PDF where the fact came from.

When the researchers tested this on the 55 volumes of the Treatise, the system produced a database with 32,277 fossil entities and 451,878 attributes. The team of human experts who reviewed the work found that the AI was remarkably accurate, with an average score of about 0.90 for finding the right fossils and 0.91 for getting the details right. This is a huge leap in efficiency; while a team of four humans took 45 days to manually process just one volume, HERMES helped the team finish the entire series in a total of 53 person-days. The authors note that without this automated help, they likely would never have attempted to organize the entire series.

The paper also suggests that this method is flexible. When they tried HERMES on books about paleomagnetism (the study of Earth's magnetic history) and geochemistry (the chemistry of rocks), it didn't need to be retrained from scratch. They just changed the rules the "Validator" used to check the work, and the system handled the new data types well. However, the authors are careful to point out that the system isn't perfect. It sometimes misses details if the text is split across pages in a confusing way, or if the original book was scanned from a blurry photocopy, causing the computer to misread a letter (like turning "Beraunia" into "Bcraunia"). They also emphasize that while the AI does the heavy lifting, human experts are still needed to verify the final results, especially for the trickiest parts of the books. The paper concludes that this multi-agent approach offers a practical way to turn old, messy scientific archives into clean, usable data, but it works best when humans and machines work together, with the AI doing the bulk of the extraction and the humans doing the final quality check.

Drowning in papers in your field?

Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.

Try Digest →