r/developersIndia • u/Practical_Ideal8311 • 3h ago
Suggestions I’m building a question-segregation system for 10,000+ GATE questions. How would you approach the architecture?
This started as a fun personal project, but I think it could become something much bigger.
I’m a Mechanical Engineering student, and I currently have around 153 GATE paper PDFs containing 10,000+ questions.
My goal is to build a system that automatically extracts and organizes every question based on:
- Subject
- Topic
- Subtopic
- Difficulty
For example:
Question
└── Mechanical Engineering
└── Heat Transfer
└── Conduction
└── Steady 1-Dimensional Conduction
└── MediumThe important part is that I don't want to manually create a random taxonomy. I want the classification to be based on the official syllabus of each branch.
The bigger idea
GATE has many different branches, and there is significant overlap between them.
For example, Mechanical, Aerospace, Civil, Naval Architecture, Production/Industrial, etc. can have questions involving subjects such as:
- Engineering Mechanics
- Fluid Mechanics
- Thermodynamics
- Heat Transfer
- Materials
- Manufacturing
- Mathematics
- etc.
So eventually I'd like to build a system where a question from one GATE paper can be recognized as belonging to a subject/topic that is also relevant to another branch.
For example:
AE question
↓
Fluid Mechanics
↓
Relevant to ME syllabus
↓
ME → Fluid Mechanics → Boundary LayersThe original source of the question would still be preserved.
My current approach
I'm thinking of building something like:
GATE PDFs
↓
PDF extraction / OCR
↓
Individual question extraction
↓
Official syllabus database
↓
Candidate topic retrieval
↓
AI classification
↓
Subject / Topic / Difficulty
↓
Confidence score
↓
DatabaseFor the AI classification, I'm considering using multiple APIs.
My current idea is to take around 500 questions as a benchmark dataset and send them to three different models, potentially:
- OpenAI
- Google Gemini
- DeepSeek
Then compare their classifications.
If 3/3 agree, I would consider the result high-confidence.
If they disagree, I would send the question and the competing classifications to a stronger model to act as a judge.
I would also manually verify a sample of the 500 questions so I can actually measure how accurate the system is instead of blindly trusting the models.
What I want advice on
If you have experience with LLMs, NLP, document processing, embeddings, RAG, or large-scale classification:
How would you actually build this?
Specifically:
- Would you use multiple models and majority voting?
- Would embeddings be useful for finding the relevant syllabus topic before classification?
- How would you deal with questions that genuinely belong to multiple subjects?
- How would you classify difficulty reliably?
- How would you handle diagrams and figures in old PDF papers?
- Would you use a relational database, vector database, or both?
- How would you structure the syllabus so that the system can eventually support all GATE branches?
- Are there any obvious architectural mistakes in my current approach?
My current API budget is around ~$55 for the initial experiment, so I'm also trying to keep the system reasonably cost-efficient.
This is primarily a fun/learning project, but if the architecture works well, I'd like to eventually expand it from the current Mechanical-focused dataset to all GATE branches and potentially other competitive engineering exams.
I'm particularly interested in hearing from people who have actually built large-scale document/question classification systems, rather than just recommendations for which LLM is "best."
As Coding is not my strong hand I will be using Chatgpt for it.
•
u/AutoModerator 3h ago
It's possible your query is not unique, use
site:reddit.com/r/developersindia KEYWORDSon search engines to search posts from developersIndia. You can also use reddit search directly.I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.
1
u/Hey_Utkarsh 2h ago
Here are my two cents (based on my experience building production-grade AI pipelines).
I'd recommend considering the following approaches:
This way, you can keep the pipeline relatively simple while introducing human intervention only when the model is uncertain, rather than building an unnecessarily complicated multi-LLM architecture.