Attention weights + dependency parsing = Better AI content attribution
Making LLMs show their work: A new way to trace AI's thought process to source documents
This paper introduces a method to precisely trace generated content back to source documents by using attention weights and dependency parsing, making attribution more accurate and efficient.
https://arxiv.org/abs/2412.11404
Original Problem π:
β Current LLMs struggle with accurately attributing generated content to source documents, often providing coarse-grained or computationally expensive solutions
β Existing methods can't effectively incorporate contextual information after the target span, limiting their understanding of complete semantic relationships
Solution in this Paper π οΈ:
β The method aggregates evidence through set union operations instead of averaging hidden states, preserving detailed token-level information
β It enhances attribution by integrating dependency parsing to capture complete semantic relationships between tokens
β The system uses attention weights as similarity metrics between response and source document tokens
β For practical implementation, it includes optimizations for GPU memory usage and handles inaccessible attention weights through approximation
Key Insights π‘:
β Token-wise evidence aggregation preserves granular representation details better than averaging
β Dependency parsing significantly improves attribution accuracy by capturing semantic completeness
β Attention weights provide faster computation compared to gradient-based approaches
Results π:
β Outperforms all baseline approaches in fine-grained attribution tasks
β Achieves 93.3% accuracy on QuoteSum dataset
β Shows 84.6% accuracy on VERI-GRAN dataset
β Demonstrates significantly faster computation times compared to previous methods










