← Latest papers
💻 computer science

Automating Categorization of Scientific Texts with In-Context Learning and Prompt-Chaining in Large Language Models

This study evaluates the effectiveness of off-the-shelf Large Language Models in classifying scientific texts using the hierarchical ORKG taxonomy, finding that prompt chaining outperforms in-context learning and state-of-the-art models for top-level categories but still struggles with deep, third-level topic classification.

Original authors: Gautam Kishore Shahi, Oliver Hummel

Published 2026-04-28
📖 3 min read☕ Coffee break read

Original authors: Gautam Kishore Shahi, Oliver Hummel

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 you are walking into the world’s largest library—one so massive that new books are being added every single second. It’s so big that even the smartest librarians are overwhelmed. They can’t possibly read every new book to decide which shelf it belongs on. If they don't, the library becomes a giant, messy pile of paper where finding anything is impossible.

This paper explores how we can use "Digital Librarians" (called Large Language Models, or LLMs, like the tech behind ChatGPT) to automatically read scientific papers and put them in the right place.

The Problem: The "Infinite Bookshelf"

Scientists are publishing millions of papers a year. These papers aren't just "science"; they are deeply specific. One paper might be about Biology, but more specifically, it’s about Medicine, and even more specifically, it’s about Virology.

The researchers wanted to see if AI could handle this "nested" hierarchy—moving from the big, broad categories down to the tiny, specific details—without getting confused.

The Strategy: Two Ways to Teach the AI

The researchers tested two main ways of giving instructions to these Digital Librarians:

  1. The "One-Shot" Method (In-Context Learning): This is like handing a librarian a single book and saying, "See this? This is a Biology book. Now, go find where these other 1,000 books go." You give them a little bit of context and hope they "get it."
  2. The "Step-by-Step" Method (Prompt Chaining): This is much smarter. Instead of asking the AI to guess the exact tiny category immediately, you break it into a game of "20 Questions."
    • Step 1: "Is this paper about Life Sciences or Physical Sciences?"
    • Step 2: (Once it answers Life Sciences) "Okay, within Life Sciences, is it Biology or Medicine?"
    • Step 3: (Once it answers Medicine) "Finally, is it Virology or Cardiology?"

The Results: The "Smart but Not Quite Perfect" Assistant

Here is what they found:

  • The Step-by-Step method wins: The "Prompt Chaining" (the 20 Questions approach) worked much better than just giving the AI a list and asking it to pick. It helped the AI stay focused.
  • The AI is great at the "Big Picture": The AI was incredibly good at identifying the broad domains (like "Engineering" or "Life Sciences"). It was like a librarian who can easily tell a cookbook from a physics textbook.
  • The AI struggles with the "Fine Print": When it came to the most specific, tiny topics (the 3rd level), the AI's accuracy dropped to about 50%. It’s like a librarian who knows you're in the "Cooking" section, but can't quite tell if the recipe is for a soufflé or a sourdough bread.
  • The "Creativity" Factor: They found that if the AI was too "stiff" (low temperature), it was boring; if it was too "wild" (high temperature), it started making things up. There was a "Goldilocks zone" (a temperature of 0.8) where it performed best.

The Bottom Line

We have built digital assistants that are excellent at organizing the "neighborhoods" of science, but they still need a human expert to help them sort the specific "houses" on the street. As these AI models get smarter, they will eventually become the ultimate tools to help us navigate the mountain of human knowledge.

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 →