Recent advances in LLMs and the adoption of RAG systems in industry have created a need for domain-specific question-answer datasets that can assess RAG performance on proprietary data. Existing datasets, such as HotpotQA, challenge current RAG systems on Wikipedia-based knowledge, but they cannot be transferred directly to domain-specific settings. A comprehensive evaluation of RAG system quality requires both multi-hop queries and unanswerable questions. This paper introduces TRIAD, a three-stage automated dataset generation approach. First, it generates question--answer (QA) pairs for the domain-specific knowledge base of a RAG system. Second, a validator checks each QA-pair in a feedback loop. Third, the QA pairs are extended with relevance-labeled context documents for downstream evaluation. We evaluate this approach against the established MuSiQue and HotpotQA datasets. The results show that the generated dataset exhibits similar performance trends across different RAG setups, while human validation indicates that the questions are suitable for evaluating a domain-specific RAG system. The code used to generate the dataset and all validation results are available in our GitHub repository(https://github.com/lorenzbrehme/triad).
Figures & tables
Figure 1: Overview of the TRIAD approach
Question Type
Retrieval Pattern
Description
Example
Comparative
Parallel
Compare two or more entities that can be retrieved independently
Which city is larger, Paris or Berlin?
Intersection
Parallel
Retrieve multiple entities independently, then filter or aggregate them to satisfy constraints
Who acted in both Film A and Film B?
Composition
Sequential
Retrieve information in sequence, where the first retrieval leads to the next
What is the capital of the birthplace of Person C?
Binary
Sequential / Parallel
Questions with a yes/no answer
Is the capital of the birthplace of Person C Town A?
Temporal
Sequential / Parallel
Require temporal reasoning across one or more facts
Who was the U.S. president when the company that developed Android was founded?
Unanswerable
—
Questions that cannot be answered from the provided corpus; the model should abstain
—
Table 1: Classification of multi-hop question types by retrieval pattern.
Dataset
Answer-ability
Correct-ness
Multi-hop
Un-ambiguity
HotpotQA
0.90
0.92
0.91
0.92
MuSiQue
0.93
0.98
0.85
0.92
Table 2: Human validation results for TRIAD QA sets.
Figure 2: Embedding-model performance using Gemini-2.5-Flash-Lite (Tabular results Appendix A ).
Metric
Gemini
Gemma
GPT-5
HotpotQA – TRIAD (Generated Dataset)
Correctness
0.431
0.387 ↓
0.447 ↑
Faithfulness
0.876
0.874
0.886 ↑
HotpotQA – Static
Correctness
0.246
0.231 ↓
0.309 ↑
Faithfulness
0.627
0.563 ↓
0.722 ↑
Table 3: Comparison of LLMs using the BGE(5) retriever. Arrows indicate improvements relative to the baseline. The baseline is shown in bold.
Type
Correct
Faithful
Precision
Recall
Comparison*
0.289
0.870
0.391
0.882
Comparison
0.390
0.895
0.387
0.873
Intersection*
0.383
0.817
0.345
0.782
Intersection
0.583
0.807
0.357
0.809
Composition*
0.318
0.832
0.356
0.806
Composition
0.478
0.823
0.343
0.778
Table 4: Performance by question type. * indicates binary questions.
Appendix figures & tables3 assets
Supplementary material from the paper’s appendix.
Appendix
Metric
BGE(3)
BGE(5)
Sent
E-01
E-02
HotpotQA – Generated
Correctness
0.411 ↓
0.431
0.225 ↓
0.443 ↑
0.421 ↓
Faithfulness
0.879
0.876
0.586 ↓
0.882
0.877
Precision
0.582 ↑
0.364
0.071 ↓
0.380 ↑
0.385 ↑
Recall
0.870 ↓
0.910
0.176 ↓
0.950 ↑
0.940 ↑
HotpotQA – Static
Appendix
Table 5: Comparison of embedding models using Gemini-2.5-Flash-Lite (cf. Figure 2 ). Arrows indicate improvements relative to the baseline. The baseline is shown in bold.
Dataset
Gemini
Gemma
GPT-5
MuSiQue
99.59%
99.58%
93.78%
HotpotQA
99.58%
99.37%
94.76%
Appendix
Table 6: Comparison of scores for unanswerable questions (cf. Section 5.4 ).
Question
Answer
Type
Binary
Corpus
Did Hijokaidan’s early lineup have more members than the Doberman ensemble?
Yes
Comparison
Yes
HotpotQA
Did the British Interplanetary Society’s study for Project Daedalus last longer than their study for Project Boreas?
Yes
Comparison
Yes
MuSiQue
Which single, Will Young’s ’Love Revolution’ or Tomcraft’s ’Loneliness’, was released earlier in the United Kingdom?
Tomcraft’s ’Loneliness
Comparison
No
HotpotQA
Who was born earlier, Alejandro Llorente or Don Carlos, Duke of Madrid?
Alejandro Llorente
Comparison
No
MuSiQue
Did both the 17/18 and the 16/17 UEFA Champions League knockout phases include a total of 16 teams?
Yes
Intersection
Yes
HotpotQA
Is there an actress mentioned who played both a love interest of Ted Mosby and the first lead female character for the Call of Duty franchise?
No
Intersection
Yes
MuSiQue
Appendix
Table 7: Example multi-hop QA samples from our dataset.