Diver: Large Language Model Decoding with Span-Level Mutual Information Verification
Lu, Jinliang, Wang, Chen, Zhang, Jiajun
–arXiv.org Artificial Intelligence
Large language models (LLMs) have shown impressive capabilities in adapting to various tasks when provided with task-specific instructions. However, LLMs using standard decoding strategies often struggle with deviations from the inputs. Intuitively, compliant LLM outputs should reflect the information present in the input, which can be measured by point-wise mutual information (PMI) scores. Therefore, we propose Diver, a novel approach that enhances LLM Decoding through span-level PMI verification. During inference, Diver first identifies divergence steps that may lead to multiple candidate spans. Subsequently, it calculates the PMI scores by assessing the log-likelihood gains of the input if the candidate spans are generated. Finally, the optimal span is selected based on the PMI re-ranked output distributions. We evaluate our method across various downstream tasks, and empirical results demonstrate that Diver significantly outperforms existing decoding methods in both performance and versatility.
arXiv.org Artificial Intelligence
Jun-4-2024
- Country:
- Asia
- China
- Beijing > Beijing (0.04)
- Hubei Province > Wuhan (0.04)
- Indonesia > Bali (0.04)
- Middle East > UAE
- Abu Dhabi Emirate > Abu Dhabi (0.04)
- Singapore (0.04)
- Taiwan > Taiwan Province
- Taipei (0.04)
- China
- Europe
- Germany
- Berlin (0.04)
- Saarland > Saarbrücken (0.04)
- Spain > Catalonia
- Barcelona Province > Barcelona (0.04)
- Germany
- North America
- Canada > Ontario
- Toronto (0.04)
- Dominican Republic (0.04)
- United States
- California > San Diego County
- San Diego (0.04)
- Massachusetts > Middlesex County
- Cambridge (0.04)
- Michigan (0.04)
- Pennsylvania (0.04)
- Washington > King County
- Seattle (0.04)
- California > San Diego County
- Canada > Ontario
- Asia
- Genre:
- Research Report (1.00)
- Technology: