Chunk attribution measures whether or not each chunk retrieved in a RAG pipeline had an effect on the model’s response.
Chunk Attribution is a binary metric: each chunk is either Attributed or Not Attributed.A chunk is considered Attributed when:
The model incorporated information from the chunk into its response
The chunk influenced the model’s reasoning or conclusions
The chunk provided context that shaped the response in some way
Chunks that are retrieved but have no discernible impact on the model’s output are marked as Not Attributed.
Chunk Attribution is closely related to Chunk Utilization: Attribution measures whether or not a chunk affected the response, while Utilization measures how much of the chunk text
was involved in the effect. Only chunks that were Attributed can have Utilization scores greater than zero.
Consider this simple example that illustrates chunk attribution:
User query: “What are the health benefits of green tea?”
Chunk 1: “Green tea contains antioxidants that may reduce the risk of heart disease.”
Chunk 2: “Black tea is produced by oxidizing tea leaves after they are harvested.”
Chunk 3: “Studies suggest green tea may help with weight loss and metabolism.”
Model response: “Green tea offers several health benefits, including antioxidants that may reduce heart disease risk and potential effects on weight loss and metabolism.”
Attribution analysis: Chunks 1 and 3 would be Attributed because information from them appears in the response. Chunk 2 would be Not Attributed because it contains information about black
tea, which wasn’t included in the response.
Chunk Utilization measures the fraction of text in each retrieved chunk that had an impact on the model’s response in a RAG pipeline.
Chunk Utilization is a continuous metric ranging from 0 to 1:A chunk with low utilization contains “extraneous” text that did not affect the final response, indicating potential inefficiencies in your chunking strategy.
Chunk Utilization is closely related to Chunk Attribution: Attribution measures whether or not a chunk affected the response, while Utilization measures how much of the chunk text
was involved in the effect. Only chunks that were Attributed can have Utilization scores greater than zero.
Track the percentage of chunks that are attributed over time to identify trends and potential issues in your retrieval system.
Balance with Other Metrics
Use Chunk Attribution Utilization alongside Chunk Relevance for a complete picture of retrieval effectiveness.
Optimize Chunk Size
Experiment with different chunk sizes to find the optimal balance between attribution rates and information density.
Improve Retrieval Quality
Use attribution data to refine your retrieval algorithms and embedding models.
Monitor Across Models
Compare Chunk Utilization scores across different LLMs to identify which models most efficiently use retrieved information.
Analyze Patterns
Look for patterns in low-utilization chunks to identify specific content types or formats that your system processes inefficiently.
When optimizing for Chunk Attribution Utilization, be careful not to reduce the number of chunks too aggressively, as this may limit the model’s access to potentially useful information in edge cases.