Model Internals-based Answer Attribution for Trustworthy Retrieval-Augmented Generation. Qi, J., Sarti, G., Fernández, R., & Bisazza, A. In Proceedings of the 2024 Conference on Empirical Methods in Natural Language Processing (EMNLP), 2024.
Paper
Github abstract bibtex 3 downloads Ensuring the verifiability of model answers is a fundamental challenge for retrieval-augmented generation (RAG) in the question answering (QA) domain. Recently, self-citation prompting was proposed to make large language models (LLMs) generate citations to supporting documents along with their answers. However, self-citing LLMs often struggle to match the required format, refer to non-existent sources, and fail to faithfully reflect LLMs' context usage throughout the generation. In this work, we present MIRAGE –Model Internals-based RAG Explanations – a plug-and-play approach using model internals for faithful answer attribution in RAG applications. MIRAGE detects context-sensitive answer tokens and pairs them with retrieved documents contributing to their prediction via saliency methods. We evaluate our proposed approach on a multilingual extractive QA dataset, finding high agreement with human answer attribution. On open-ended QA, MIRAGE achieves citation quality and efficiency comparable to self-citation while also allowing for a finer-grained control of attribution parameters. Our qualitative evaluation highlights the faithfulness of MIRAGE's attributions and underscores the promising application of model internals for RAG answer attribution.
@inproceedings{Qi2024ModelIA,
title={Model Internals-based Answer Attribution for Trustworthy Retrieval-Augmented Generation},
author={Jirui Qi and Gabriele Sarti and Raquel Fern\'{a}ndez and Arianna Bisazza},
year={2024},
booktitle={Proceedings of the 2024 Conference on Empirical Methods in Natural Language Processing (EMNLP)},
url={https://aclanthology.org/2024.emnlp-main.347/},
url_github={https://github.com/Betswish/MIRAGE},
abstract={Ensuring the verifiability of model answers is a fundamental challenge for retrieval-augmented generation (RAG) in the question answering (QA) domain. Recently, self-citation prompting was proposed to make large language models (LLMs) generate citations to supporting documents along with their answers. However, self-citing LLMs often struggle to match the required format, refer to non-existent sources, and fail to faithfully reflect LLMs' context usage throughout the generation. In this work, we present MIRAGE --Model Internals-based RAG Explanations -- a plug-and-play approach using model internals for faithful answer attribution in RAG applications. MIRAGE detects context-sensitive answer tokens and pairs them with retrieved documents contributing to their prediction via saliency methods. We evaluate our proposed approach on a multilingual extractive QA dataset, finding high agreement with human answer attribution. On open-ended QA, MIRAGE achieves citation quality and efficiency comparable to self-citation while also allowing for a finer-grained control of attribution parameters. Our qualitative evaluation highlights the faithfulness of MIRAGE's attributions and underscores the promising application of model internals for RAG answer attribution.}
}
Downloads: 3
{"_id":"fnfwkeuTztnrSXxdJ","bibbaseid":"qi-sarti-fernndez-bisazza-modelinternalsbasedanswerattributionfortrustworthyretrievalaugmentedgeneration-2024","author_short":["Qi, J.","Sarti, G.","Fernández, R.","Bisazza, A."],"bibdata":{"bibtype":"inproceedings","type":"inproceedings","title":"Model Internals-based Answer Attribution for Trustworthy Retrieval-Augmented Generation","author":[{"firstnames":["Jirui"],"propositions":[],"lastnames":["Qi"],"suffixes":[]},{"firstnames":["Gabriele"],"propositions":[],"lastnames":["Sarti"],"suffixes":[]},{"firstnames":["Raquel"],"propositions":[],"lastnames":["Fernández"],"suffixes":[]},{"firstnames":["Arianna"],"propositions":[],"lastnames":["Bisazza"],"suffixes":[]}],"year":"2024","booktitle":"Proceedings of the 2024 Conference on Empirical Methods in Natural Language Processing (EMNLP)","url":"https://aclanthology.org/2024.emnlp-main.347/","url_github":"https://github.com/Betswish/MIRAGE","abstract":"Ensuring the verifiability of model answers is a fundamental challenge for retrieval-augmented generation (RAG) in the question answering (QA) domain. Recently, self-citation prompting was proposed to make large language models (LLMs) generate citations to supporting documents along with their answers. However, self-citing LLMs often struggle to match the required format, refer to non-existent sources, and fail to faithfully reflect LLMs' context usage throughout the generation. In this work, we present MIRAGE –Model Internals-based RAG Explanations – a plug-and-play approach using model internals for faithful answer attribution in RAG applications. MIRAGE detects context-sensitive answer tokens and pairs them with retrieved documents contributing to their prediction via saliency methods. We evaluate our proposed approach on a multilingual extractive QA dataset, finding high agreement with human answer attribution. On open-ended QA, MIRAGE achieves citation quality and efficiency comparable to self-citation while also allowing for a finer-grained control of attribution parameters. Our qualitative evaluation highlights the faithfulness of MIRAGE's attributions and underscores the promising application of model internals for RAG answer attribution.","bibtex":"@inproceedings{Qi2024ModelIA,\n title={Model Internals-based Answer Attribution for Trustworthy Retrieval-Augmented Generation},\n author={Jirui Qi and Gabriele Sarti and Raquel Fern\\'{a}ndez and Arianna Bisazza},\n year={2024},\n booktitle={Proceedings of the 2024 Conference on Empirical Methods in Natural Language Processing (EMNLP)},\nurl={https://aclanthology.org/2024.emnlp-main.347/},\nurl_github={https://github.com/Betswish/MIRAGE},\nabstract={Ensuring the verifiability of model answers is a fundamental challenge for retrieval-augmented generation (RAG) in the question answering (QA) domain. Recently, self-citation prompting was proposed to make large language models (LLMs) generate citations to supporting documents along with their answers. However, self-citing LLMs often struggle to match the required format, refer to non-existent sources, and fail to faithfully reflect LLMs' context usage throughout the generation. In this work, we present MIRAGE --Model Internals-based RAG Explanations -- a plug-and-play approach using model internals for faithful answer attribution in RAG applications. MIRAGE detects context-sensitive answer tokens and pairs them with retrieved documents contributing to their prediction via saliency methods. We evaluate our proposed approach on a multilingual extractive QA dataset, finding high agreement with human answer attribution. On open-ended QA, MIRAGE achieves citation quality and efficiency comparable to self-citation while also allowing for a finer-grained control of attribution parameters. Our qualitative evaluation highlights the faithfulness of MIRAGE's attributions and underscores the promising application of model internals for RAG answer attribution.}\n}\n\n","author_short":["Qi, J.","Sarti, G.","Fernández, R.","Bisazza, A."],"key":"Qi2024ModelIA","id":"Qi2024ModelIA","bibbaseid":"qi-sarti-fernndez-bisazza-modelinternalsbasedanswerattributionfortrustworthyretrievalaugmentedgeneration-2024","role":"author","urls":{"Paper":"https://aclanthology.org/2024.emnlp-main.347/"," github":"https://github.com/Betswish/MIRAGE"},"metadata":{"authorlinks":{}},"downloads":3},"bibtype":"inproceedings","biburl":"https://raw.githubusercontent.com/dmg-illc/dmg/master/bibbase/dmg-publications.bib","dataSources":["sXg85ARyqxCxh4Dnn","42BzLCGMaDCpG5rq2"],"keywords":[],"search_terms":["model","internals","based","answer","attribution","trustworthy","retrieval","augmented","generation","qi","sarti","fernández","bisazza"],"title":"Model Internals-based Answer Attribution for Trustworthy Retrieval-Augmented Generation","year":2024,"downloads":3}