A Reliability Evaluation of Hybrid Deterministic-LLM Based Approaches for Academic Course Registration PDF Information Extraction
This study demonstrates that a hybrid approach combining the Camelot PDF extraction pipeline with a Qwen 2.5:14b LLM fallback achieves superior accuracy and computational efficiency for extracting academic course registration data from PDFs on consumer-grade hardware compared to using LLMs alone.
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 a university administrator drowning in a sea of paper (or rather, PDFs). Every semester, thousands of students submit their "Study Plans" (called KRS in Indonesia), which are essentially lists of the classes they are taking and the teachers assigned to them.
The university needs to read these lists to calculate grades, track attendance, and plan budgets. But here's the problem: the university's computer system is old, the IT team is small, and they can't just ask the main database for the data because of privacy rules and red tape. They need a way to "read" these PDFs and turn them into digital data automatically.
This paper is like a recipe book for building a robot reader that can do this job on a regular, non-expensive laptop (no super-computers allowed).
Here is the breakdown of their experiment, explained with everyday analogies:
1. The Three "Readers" They Tested
The researchers tried three different ways to get the robot to read the PDFs:
The "Pure AI" Reader (LLM-Only):
- The Analogy: Imagine hiring a brilliant, super-smart intern who has read the entire internet. You hand them a messy PDF and say, "Tell me what's in here."
- The Result: The intern is very smart and understands context, but they are slow. They take about 1.5 to 2 minutes to read just one page. If you have 800 pages, you'd be waiting days. Also, sometimes the intern gets confused by weird formatting or typos.
The "Hybrid" Reader (Regex + AI):
- The Analogy: This is like hiring the smart intern again, but this time, you give them a checklist (a set of strict rules) for the easy stuff.
- How it works: A "regex" (a computer rule) acts like a scanner that instantly grabs the easy, fixed information (like the student's name or ID number) because it always appears in the same spot. The AI only has to read the messy middle part (the list of courses).
- The Result: This was faster and more reliable for the easy stuff, but the AI still took too long to read the course lists.
The "Smart Filing Cabinet" Reader (Camelot + AI Fallback):
- The Analogy: This is the winner. Imagine a specialized filing cabinet that knows exactly how to pull out tables from a document. It's like a specialized librarian who can instantly spot a grid of data and pull it out.
- The Strategy: The system tries the "Smart Librarian" (Camelot) first. If the Librarian succeeds, it's done in less than 1 second. If the Librarian gets stuck (maybe the table lines are faint), then it calls the "Smart Intern" (the AI) to help finish the job.
- The Result: This was the champion. It was incredibly fast (under 1 second per PDF) and almost perfectly accurate.
2. The Models (The "Brains")
They tested three different AI models (Gemma, Phi, and Qwen) running on a standard laptop.
- The Metaphor: Think of these as different types of students.
- Gemma: A hardworking student who needs a lot of help (rules) to get things right. Without the checklist, they fail.
- Phi: A student who is good at some things but gets confused when names are repeated or when the layout changes.
- Qwen: The star student. They were the most consistent, making the fewest mistakes across all tests, even when the PDFs were tricky.
3. The Big Challenges
The researchers faced a few specific hurdles, like trying to read a document where:
- The "Ligature" Trap: Sometimes the font makes two letters look like one (like "fi" looking like a single symbol). The robot had to learn to unscramble these.
- The "Advisor" Confusion: The PDF lists a student's advisor at the top, but the robot was told not to count them as a teacher for the courses. One AI model (Phi) kept accidentally deleting real teachers because it thought they were the advisor!
- The "Long Name" Problem: Some student names were so long they wrapped around to the next line. The AI sometimes cut the name in half.
4. The Final Verdict
The paper concludes that you shouldn't rely on just one method.
- Don't just use the AI: It's too slow for big jobs.
- Don't just use rules: They are too rigid and break when the document changes slightly.
- Do use a "Progressive Fallback" system:
- Try the fast, specialized tool (Camelot) first.
- If that fails, try the AI as a backup.
- Use strict rules for the simple stuff (names/IDs).
The Takeaway:
By combining a fast, specialized tool with a smart AI backup, the researchers built a system that can process hundreds of student documents in minutes on a regular laptop, keeping the data private and secure. It's the difference between hiring one slow genius versus hiring a team with a fast scanner and a smart assistant working together.
Drowning in papers in your field?
Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.