{"about":{"site":"https://codewithpapers.app","non_affiliation":"Code with Papers and Syntology are not affiliated with, endorsed by, or sponsored by Papers with Code, Meta, or the pwc-archive mirror.","licence":"CC BY-SA 4.0","licence_url":"https://creativecommons.org/licenses/by-sa/4.0/legalcode","attribution":"https://codewithpapers.app/attribution","modified":"archive material modified by Syntology; see the attribution page"},"url":"/paper/rag-qa-arena-evaluating-domain-robustness-for","title":"RAG-QA Arena: Evaluating Domain Robustness for Long-form Retrieval Augmented Question Answering","arxiv_id":"2407.13998","date":"2024-07-19","proceeding":null,"authors":["Rujun Han","Yuhao Zhang","Peng Qi","Yumo Xu","Jenyuan Wang","Lan Liu","William Yang Wang","Bonan Min","Vittorio Castelli"],"abstract":"Question answering based on retrieval augmented generation (RAG-QA) is an important research topic in NLP and has a wide range of real-world applications. However, most existing datasets for this task are either constructed using a single source corpus or consist of short extractive answers, which fall short of evaluating large language model (LLM) based RAG-QA systems on cross-domain generalization. To address these limitations, we create Long-form RobustQA (LFRQA), a new dataset comprising human-written long-form answers that integrate short extractive answers from multiple documents into a single, coherent narrative, covering 26K queries and large corpora across seven different domains. We further propose RAG-QA Arena by directly comparing model-generated answers against LFRQA's answers using LLMs as evaluators. We show via extensive experiments that RAG-QA Arena and human judgments on answer quality are highly correlated. Moreover, only 41.3% of the most competitive LLM's answers are preferred to LFRQA's answers, demonstrating RAG-QA Arena as a challenging evaluation platform for future research.","url_abs":"https://arxiv.org/abs/2407.13998v2","url_pdf":"https://arxiv.org/pdf/2407.13998v2.pdf","source":{"archive":"pwc-archive (Hugging Face), CC BY-SA 4.0","snapshot":"2025-07-28","licence_url":"https://creativecommons.org/licenses/by-sa/4.0/legalcode","row_kind":"abstracts"},"code_links":[{"paper_slug":"rag-qa-arena-evaluating-domain-robustness-for","repo_url":"https://github.com/awslabs/rag-qa-arena","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":1,"framework":"none","reach":{"status":"ok","spdx":"Apache-2.0"}}],"tasks":[{"task_slug":"domain-generalization","task_name":"Domain Generalization"},{"task_slug":"form","task_name":"Form"},{"task_slug":"language-modeling","task_name":"Language Modeling"},{"task_slug":"language-modelling","task_name":"Language Modelling"},{"task_slug":"large-language-model","task_name":"Large Language Model"},{"task_slug":"question-answering","task_name":"Question Answering"},{"task_slug":"rag","task_name":"RAG"},{"task_slug":"retrieval","task_name":"Retrieval"},{"task_slug":"retrieval-augmented-generation","task_name":"Retrieval-augmented Generation"}],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"syntology_url":null,"atlas_url":"https://app.syntology.ai/?focus=2407.13998","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2407.13998"}},"developers":"https://syntology.ai/developers","read_at":"2026-09-24T18:15:14+00:00","read_at_is":"when the build read Syntology's graph, not when any sample ran","claim":"Per-sample execution status on synthesized fixtures; not a correctness claim about the paper. Samples come from repositories linked to the paper, official or community; repo_kind says which.","repos":[{"provenance":"deterministic:regex_extraction","url":"https://github.com/awslabs/rag-qa-arena","reach":{"status":"ok","spdx":"Apache-2.0"}}],"summary":{"ran":6},"by_repo_kind":{"official":{"samples":6,"ran":6,"repositories":1}},"repo_kind_vocabulary":{"official":"The archive marks this repository official for the paper","named_in_paper":"The archive records that the paper mentions this repository; it is not marked official","listed":"In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper","found_in_text":"Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted","community":"Not in the archive's code links for this paper; a community repository Syntology harvested"},"n_pointer_only_for_licence":0,"samples":[{"code_sha256_prefix":"aa19139fac3fef82","entry":"aggregate_evaluators","repo":"awslabs/rag-qa-arena","repo_kind":"official","path":"code/compute_correlation.py","file_url":"https://github.com/awslabs/rag-qa-arena/blob/HEAD/code/compute_correlation.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"aa19139fac3fef82"}},{"code_sha256_prefix":"f9c8fa3e82ecea98","entry":"cal_score","repo":"awslabs/rag-qa-arena","repo_kind":"official","path":"code/compute_correlation.py","file_url":"https://github.com/awslabs/rag-qa-arena/blob/HEAD/code/compute_correlation.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"f9c8fa3e82ecea98"}},{"code_sha256_prefix":"5ecb780bdf037ba8","entry":"chunk","repo":"awslabs/rag-qa-arena","repo_kind":"official","path":"code/utils.py","file_url":"https://github.com/awslabs/rag-qa-arena/blob/HEAD/code/utils.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"5ecb780bdf037ba8"}},{"code_sha256_prefix":"eabbd5c3b7e2cce4","entry":"extract_output","repo":"awslabs/rag-qa-arena","repo_kind":"official","path":"code/utils.py","file_url":"https://github.com/awslabs/rag-qa-arena/blob/HEAD/code/utils.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"eabbd5c3b7e2cce4"}},{"code_sha256_prefix":"38650e18e50b9afd","entry":"get_logger","repo":"awslabs/rag-qa-arena","repo_kind":"official","path":"code/utils.py","file_url":"https://github.com/awslabs/rag-qa-arena/blob/HEAD/code/utils.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"38650e18e50b9afd"}},{"code_sha256_prefix":"6f5b5abc87b5466a","entry":"get_majority_vote","repo":"awslabs/rag-qa-arena","repo_kind":"official","path":"code/compute_correlation.py","file_url":"https://github.com/awslabs/rag-qa-arena/blob/HEAD/code/compute_correlation.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"6f5b5abc87b5466a"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}