LUQ: Long-text Uncertainty Quantification for LLMs
Zhang, Caiqi, Liu, Fangyu, Basaldella, Marco, Collier, Nigel
–arXiv.org Artificial Intelligence
Large Language Models (LLMs) have demonstrated remarkable capability in a variety of NLP tasks. However, LLMs are also prone to generate nonfactual content. Uncertainty Quantification (UQ) is pivotal in enhancing our understanding of a model's confidence on its generation, thereby aiding in the mitigation of nonfactual outputs. Existing research on UQ predominantly targets short text generation, typically yielding brief, word-limited responses. However, real-world applications frequently necessitate much longer responses. Our study first highlights the limitations of current UQ methods in handling long text generation. We then introduce \textsc{Luq} and its two variations, a series of novel sampling-based UQ approaches specifically designed for long text. Our findings reveal that \textsc{Luq} outperforms existing baseline methods in correlating with the model's factuality scores (negative coefficient of -0.85 observed for Gemini Pro). To further improve the factuality of LLM responses, we propose \textsc{Luq-Ensemble}, a method that ensembles responses from multiple models and selects the response with the lowest uncertainty. The ensembling method greatly improves the response factuality upon the best standalone LLM.
arXiv.org Artificial Intelligence
Jul-11-2024
- Country:
- Africa > Middle East
- Egypt (0.04)
- Asia
- India (0.04)
- Middle East > UAE
- Abu Dhabi Emirate > Abu Dhabi (0.04)
- Singapore (0.04)
- Europe
- Belgium > Brussels-Capital Region
- Brussels (0.04)
- Denmark > Capital Region
- Copenhagen (0.04)
- Italy (0.04)
- United Kingdom > England
- Cambridgeshire > Cambridge (0.04)
- Belgium > Brussels-Capital Region
- North America
- Canada > Ontario
- Toronto (0.04)
- United States > South Carolina
- Anderson County > Anderson (0.04)
- Canada > Ontario
- South America > Brazil
- Rio de Janeiro > Rio de Janeiro (0.04)
- Africa > Middle East
- Genre:
- Research Report > New Finding (1.00)
- Industry:
- Health & Medicine > Therapeutic Area
- Immunology (0.67)
- Infections and Infectious Diseases (1.00)
- Oncology (1.00)
- Leisure & Entertainment (1.00)
- Media > Film (1.00)
- Health & Medicine > Therapeutic Area
- Technology: