The Critical Role of Aspects in Measuring Document Similarity
Eftekhar Hossain, Tarnika Hazra, Ahatesham Bhuiyan, Santu Karmaker
TL;DR
AspectSim reframes document similarity as aspect-conditioned comparison, addressing interpretability gaps of holistic methods. It constructs a 26K-instance benchmark and demonstrates that GPT-4o prompting yields near-human agreement, approximately 0.90 correlation, while open-source LLMs require a two-stage extract-then-embed approach to reach substantial performance (approximately 0.58–0.59). The work analyzes open-model variability, baseline comparisons, and retrieval dynamics, highlighting the central role of explicit aspect conditioning and extraction quality for reliable similarity judgments. While progress with open models is promising, performance lags behind GPT-4o, motivating future work on retrieval-augmented approaches and downstream tasks. The study provides a reproducible framework and practical guidance for deploying aspect-conditioned similarity in NLP applications.
Abstract
We introduce ASPECTSIM, a simple and interpretable framework that requires conditioning document similarity on an explicitly specified aspect, which is different from the traditional holistic approach in measuring document similarity. Experimenting with a newly constructed benchmark of 26K aspect-document pairs, we found that ASPECTSIM, when implemented with direct GPT-4o prompting, achieves substantially higher human-machine agreement ($\approx$80% higher) than the same for holistic similarity without explicit aspects. These findings underscore the importance of explicitly accounting for aspects when measuring document similarity and highlight the need to revise standard practice. Next, we conducted a large-scale meta-evaluation using 16 smaller open-source LLMs and 9 embedding models with a focus on making ASPECTSIM accessible and reproducible. While directly prompting LLMs to produce ASPECTSIM scores turned out be ineffective (20-30% human-machine agreement), a simple two-stage refinement improved their agreement by $\approx$140%. Nevertheless, agreement remains well below that of GPT-4o-based models, indicating that smaller open-source LLMs still lag behind large proprietary models in capturing aspect-conditioned similarity.
