Attention with Dependency Parsing Augmentation for Fine-Grained Attribution

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Ding, Qiang, Luo, Lvzhou, Cao, Yixuan, Luo, Ping
Format: Preprint
Published: 2024
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866912158518870016
author Ding, Qiang
Luo, Lvzhou
Cao, Yixuan
Luo, Ping
author_facet Ding, Qiang
Luo, Lvzhou
Cao, Yixuan
Luo, Ping
contents To assist humans in efficiently validating RAG-generated content, developing a fine-grained attribution mechanism that provides supporting evidence from retrieved documents for every answer span is essential. Existing fine-grained attribution methods rely on model-internal similarity metrics between responses and documents, such as saliency scores and hidden state similarity. However, these approaches suffer from either high computational complexity or coarse-grained representations. Additionally, a common problem shared by the previous works is their reliance on decoder-only Transformers, limiting their ability to incorporate contextual information after the target span. To address the above problems, we propose two techniques applicable to all model-internals-based methods. First, we aggregate token-wise evidence through set union operations, preserving the granularity of representations. Second, we enhance the attributor by integrating dependency parsing to enrich the semantic completeness of target spans. For practical implementation, our approach employs attention weights as the similarity metric. Experimental results demonstrate that the proposed method consistently outperforms all prior works.
format Preprint
id arxiv_https___arxiv_org_abs_2412_11404
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Attention with Dependency Parsing Augmentation for Fine-Grained Attribution
Ding, Qiang
Luo, Lvzhou
Cao, Yixuan
Luo, Ping
Computation and Language
Artificial Intelligence
To assist humans in efficiently validating RAG-generated content, developing a fine-grained attribution mechanism that provides supporting evidence from retrieved documents for every answer span is essential. Existing fine-grained attribution methods rely on model-internal similarity metrics between responses and documents, such as saliency scores and hidden state similarity. However, these approaches suffer from either high computational complexity or coarse-grained representations. Additionally, a common problem shared by the previous works is their reliance on decoder-only Transformers, limiting their ability to incorporate contextual information after the target span. To address the above problems, we propose two techniques applicable to all model-internals-based methods. First, we aggregate token-wise evidence through set union operations, preserving the granularity of representations. Second, we enhance the attributor by integrating dependency parsing to enrich the semantic completeness of target spans. For practical implementation, our approach employs attention weights as the similarity metric. Experimental results demonstrate that the proposed method consistently outperforms all prior works.
title Attention with Dependency Parsing Augmentation for Fine-Grained Attribution
topic Computation and Language
Artificial Intelligence
url https://arxiv.org/abs/2412.11404