Options
July 18, 2023
Conference Paper
Title
MaxSimE: Explaining Transformer-based Semantic Similarity via Contextualized Best Matching Token Pairs
Abstract
Current semantic search approaches rely on black-box language models, such as BERT, which limit their interpretability and transparency. In this work, we propose MaxSimE, an explanation method for language models applied to measure semantic similarity. Our approach is inspired by the explainable-by-design ColBERT architecture and generates explanations by matching contextualized query tokens to the most similar tokens from the retrieved document according to the cosine similarity of their embeddings. Unlike existing post-hoc explanation methods, which may lack fidelity to the model and thus fail to provide trustworthy explanations in critical settings, we demonstrate that MaxSimE can generate faithful explanations under certain conditions and how it improves the interpretability of semantic search results on ranked documents from the LoTTe benchmark, showing its potential for trustworthy information retrieval.
Author(s)
Brito Chacon, Eduardo Alfredo
Open Access
Rights
CC BY 4.0: Creative Commons Attribution
Language
English