Using first token confidence turns RAG into a more reliable question answerer.
A novel first token probability guided RAG framework that optimizes hyperparameters using confidence scores to improve telecom MCQA tasks by reducing hallucinations and enhancing retrieval quality.
https://arxiv.org/abs/2501.06468
Original Problem π€:
β Traditional RAG systems struggle with MCQA tasks due to poor retrieval quality and hallucinations.
β Existing methods fail to effectively match correct options when using smaller models.
β Current approaches lack clear confidence metrics in their decision-making process.
Solution in this Paper π‘:
β The framework starts by retrieving relevant chunks from telecom documents.
β It generates a single token as potential answer instead of full text responses.
β The probabilities of all options are normalized to create confidence scores.
β These scores guide dynamic context adjustments and hyperparameter optimization.
β The system iteratively optimizes chunk numbers and window sizes based on confidence levels.
Key Insights π:
β First token probabilities strongly correlate with prediction accuracy
β Higher confidence scores indicate better answer reliability
β Combining multiple embedding models improves overall performance
β Dynamic context adjustment reduces hallucination risks
Results π:
β Achieved 78.4% accuracy on telecom MCQA tasks
β 26.8% improvement over baseline without RAG
β Successfully answered 250+ questions with 80%+ accuracy
β Combined embedding models showed significant performance boost










