Dynamic retrieval, guided by uncertainty, improves efficiency in retrieval-augmented generation.
This paper enhances Retrieval Augmented Generation (RAG) efficiency by dynamically invoking retrieval only when the LLM is uncertain. This reduces unnecessary retrievals, especially in multi-hop question answering, where multiple retrievals are often needed.
-----
https://arxiv.org/abs/2501.09292
Original Problem π€:
β Existing RAG systems mostly retrieve deterministically, leading to inefficiency.
-----
Solution in this Paper π‘:
β This paper explores uncertainty detection methods to trigger retrieval dynamically.
β It evaluates various uncertainty metrics to decide "to retrieve or not to retrieve".
β The system generates a temporary sentence and assesses its uncertainty.
β If uncertainty exceeds a threshold, a subquery is generated for retrieval.
β Retrieved information is then added to the LLM context for improved generation.
-----
Key Insights from this Paper π:
β Uncertainty detection can effectively reduce retrieval calls without significantly sacrificing accuracy.
β Eccentricity metric balances retrieval efficiency and task performance well.
β Simpler methods like Degree Matrix (Jaccard) minimize retrievals while maintaining reasonable performance.
-----
Results π:
β Eccentricity achieves the highest F1 score (0.605) with fewer retrievals.
β Degree Matrix (Jaccard) achieves an F1 score of 0.524 with the least retrievals.
β Always Retrieve baseline achieves 0.552 F1 with significantly more retrievals.










