<!DOCTYPE article PUBLIC "-//NLM//DTD JATS (Z39.96) Journal Archiving and Interchange DTD v1.0 20120330//EN" "JATS-archivearticle1.dtd">
<article xmlns:xlink="http://www.w3.org/1999/xlink">
  <front>
    <journal-meta>
      <journal-title-group>
        <journal-title>X (V. Efthymiou);</journal-title>
      </journal-title-group>
    </journal-meta>
    <article-meta>
      <title-group>
        <article-title>Method for Bias Evaluation in Retrieval-Augmented Generation</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Yingqi Zhao</string-name>
          <email>yingqi.zhao@tuni.fi</email>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Vasilis Efthymiou</string-name>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Jyrki Nummenmaa</string-name>
          <email>jyrki.nummenmaa@tuni.fi</email>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Kostas Stefanidis</string-name>
          <email>konstantinos.stefanidis@tuni.fi</email>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>Data Science Research Centre, Tampere University</institution>
          ,
          <country country="FI">Finland</country>
        </aff>
        <aff id="aff1">
          <label>1</label>
          <institution>Harokopio University of Athens</institution>
          ,
          <country country="GR">Greece</country>
        </aff>
      </contrib-group>
      <pub-date>
        <year>2026</year>
      </pub-date>
      <volume>22000</volume>
      <fpage>0</fpage>
      <lpage>0002</lpage>
      <abstract>
        <p>Retrieval-augmented generation (RAG) is a technique generates textual answers on separately retrieved information. While RAG reduces incorrect content in the answers, it has been shown to introduce and amplify biases in model outputs. There is still a lack of dedicated studies and benchmark datasets that systematically investigate how such bias amplification arises and propagates within the RAG pipeline. Drawing on prior work, this paper adopts a preference-based bias measurement framework and introduces a component-aware dataset construction method for datasets used for evaluating bias in real RAG pipelines, and instantiates it for occupation-gender bias using Wikipedia-based knowledge. Our goal is to share the dataset construction methodology, alleviate data scarcity in RAG bias research, and lay a foundation for future studies.</p>
      </abstract>
      <kwd-group>
        <kwd>retrieval-augmented generation</kwd>
        <kwd>large language model</kwd>
        <kwd>gender bias</kwd>
        <kwd>synthetic dataset</kwd>
      </kwd-group>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>1. Introduction</title>
      <p>
        Building upon scaling laws [
        <xref ref-type="bibr" rid="ref1">1</xref>
        ] and attention mechanisms [
        <xref ref-type="bibr" rid="ref2">2</xref>
        ], research on Large Language Models
(LLMs) has advanced rapidly, giving rise to a wide range of refined studies and practical applications. As
applications of LLM-based artificial intelligence become increasingly widespread, the content generated
by LLMs is likely to play an ever more influential role in people’s daily work and decision-making
processes. However, an increasing body of research and reports has shown that LLM outputs are not
entirely impartial; instead, they may reflect biases such as preferences and stereotypes learned during
training [
        <xref ref-type="bibr" rid="ref3">3</xref>
        ]. Consequently, research on bias in LLMs has deepened substantially.
      </p>
      <p>
        RAG aims to enhance LLMs by retrieving external information that is dificult to acquire during
pretraining, such as knowledge in long-tail domains with limited publicly available data and
timesensitive information such as news [
        <xref ref-type="bibr" rid="ref4">4</xref>
        ]. Figure 1 illustrates a simplified overview of the RAG pipeline.
Improving performance in these areas through traditional approaches typically requires repeated
ifne-tuning, which not only incurs substantial computational and financial costs, but may also lead
to catastrophic forgetting, thereby degrading the core capabilities of LLMs. RAG circumvents these
training-related costs by decoupling knowledge acquisition from model parameter updates.
      </p>
      <p>
        Furthermore, due to inherent limitations in their internal knowledge, LLMs often struggle to provide
accurate answers in long-tail and time-sensitive domains, and may even fabricate information, an issue
commonly referred to as hallucination. Prior research has shown that RAG can substantially improve
LLM performance in these domains by incorporating external knowledge as reference context [
        <xref ref-type="bibr" rid="ref5">5</xref>
        ]. As a
result, RAG has become a critical auxiliary technique in current LLM applications, both for improving
domain-specific performance and for mitigating hallucinations.
      </p>
      <p>
        However, prior work [
        <xref ref-type="bibr" rid="ref6">6</xref>
        ] has shown that RAG can not only introduce additional bias, but may also
undermine the alignment properties of LLMs. This suggests that improperly applied RAG methods may
fail to improve model performance and instead aggravate severe bias-related issues. Wu et al. [
        <xref ref-type="bibr" rid="ref7">7</xref>
        ] have
Published in the Proceedings of the Workshops of the EDBT/ICDT 2026 Joint Conference (March 24-27, 2026), Tampere, Finland
      </p>
      <p>CEUR
Workshop</p>
      <p>
        ISSN1613-0073
focused on analyzing how diferent components of RAG contribute to biased generation, providing
complementary evidence of bias introduced by RAG from another perspective. Zhang et al. [
        <xref ref-type="bibr" rid="ref8">8</xref>
        ] find
that bias amplification in RAG systems is a cross-lingual phenomenon. Taken together, these findings
indicate that measuring bias in RAG systems, investigating the mechanisms through which such bias
arises, and developing efective mitigation strategies constitute a research direction with substantial
potential. This line of research is not only urgent and important for building more reliable LLM-based
applications, but also holds significant implications for understanding attention patterns over textual
content and improving the interpretability of LLMs from the perspective of RAG.
      </p>
      <p>Although bias amplification or induction in RAG systems has been widely observed, the inherent
complexity of both RAG pipelines and bias research makes it challenging to establish a unified benchmark
that can measure and mitigate bias across all stages of RAG systems. Moreover, the lack of suitable data
makes research on bias in RAG systems particularly challenging. Therefore, alleviating data scarcity
has become a primary challenge in research on bias in RAG systems.</p>
      <p>
        Building upon the RAG fairness framework proposed by Kim et al. [
        <xref ref-type="bibr" rid="ref9">9</xref>
        ], this paper aims to provide a
more general and lightweight approach to constructing datasets for measuring bias in RAG systems.
The proposed dataset construction methodology ofers the advantage of reusability, as the underlying
data sources and experimental settings can be easily adapted and applied to diferent bias research
scenarios. We adopt a streamlined pipeline based on publicly available and extensible data sources,
together with explicit filtering and validation procedures. This design makes the resulting dataset well
suited for real-world RAG evaluation, rather than relying solely on fully synthetic setups for benchmark
construction.
      </p>
      <p>We identify two essential ingredients for constructing datasets to measure bias in RAG systems:
1. An external knowledge base in which each document is annotated with bias-relevant group labels.
Taking the binary gender bias considered in this paper as an example, each biographical entry in the
knowledge base is associated with an explicit gender label. This design enables traceable annotation of
the gender information contained in the external knowledge introduced by the RAG. Consequently,
when conducting subsequent gender fairness analyses of the overall RAG system as well as its individual
components, we can clearly identify which gender group the system tends to favor. Section 3 provides
a detailed specification of the fairness setting. Overall, the central idea of this approach is as follows:
starting from a particular fairness perspective grounded in the real world, we first identify the distinct
demographic groups involved in the fairness problem, and then introduce explicit group markers to
enable traceable analysis and quantitative evaluation of system fairness.</p>
      <p>
        2. A purposefully designed set of evaluation queries that can elicit system-level feedback indicative
of bias. Using the test cases designed in this paper as another example, we construct gender-neutral
occupation–gender questions, where the correct answer can be either male or female. At the same time,
we avoid occupations for which historical or contemporary real-world distributions could systematically
bias the answer. This design allows us to efectively trace the system’s gender preference. There are
also many other instructive examples. For instance, when examining stereotypical bias, the BBQ [
        <xref ref-type="bibr" rid="ref10">10</xref>
        ]
benchmark carefully designs paired scenarios and questions that either align with stereotypes or
intentionally reverse them. The use of such design techniques depends on the specific fairness problem
under investigation, and thus they are not exhaustively enumerated here.
      </p>
      <p>Building on these principles, future research on fairness in RAG systems can follow a clearer data
construction paradigm and more readily address the problem of data scarcity. In summary, the contributions
of this paper are the following:
• We propose a lightweight and reusable dataset construction methodology for bias evaluation in</p>
      <p>RAG systems.
• We instantiate the dataset construction methodology for occupation-gender bias, using publicly
available data sources with cross-source validation.</p>
      <p>• We demonstrate how the dataset enables component-wise bias analysis in real RAG pipelines.</p>
      <p>Outline. Section 2 focuses on data scarcity in RAG bias research and reviews related work on
constructing evaluation datasets. Section 3 describes the dataset construction pipeline and the proposed
bias evaluation framework. Section 4 presents preliminary bias evaluation results on two popular LLMs
using our dataset. Finally, Section 5 concludes the paper and outlines directions for future bias research
and dataset development.</p>
    </sec>
    <sec id="sec-2">
      <title>2. Background and Related Work</title>
      <p>In this section, we provide background knowledge and a brief overview of related works.</p>
      <sec id="sec-2-1">
        <title>2.1. Challenges in Measuring Bias in RAG Systems</title>
        <p>
          The application domains of RAG systems often lie at the intersection of multiple disciplines, where
relevant data is dificult to directly obtain for constructing realistic application scenarios. On the one
hand, the data used to construct knowledge bases may contain real‑world private information or trade
secrets, and prior studies [
          <xref ref-type="bibr" rid="ref11">11</xref>
          ] [
          <xref ref-type="bibr" rid="ref12">12</xref>
          ] have highlighted the risks associated with incorporating such data
into knowledge repositories. On the other hand, the substantial heterogeneity of knowledge data in
real‑world production environments poses additional challenges for building RAG systems [
          <xref ref-type="bibr" rid="ref13">13</xref>
          ].
        </p>
        <p>
          Existing popular RAG datasets, such as Natural Questions (NQ) [
          <xref ref-type="bibr" rid="ref14">14</xref>
          ], TriviaQA [
          <xref ref-type="bibr" rid="ref15">15</xref>
          ], etc., are also
challenging to use for bias research, as they may not explicitly contain attributes associated with
bias-related social groups. At the same time, existing bias evaluation frameworks for LLMs are dificult
to transfer directly to the study of bias in RAG systems. Most LLM bias datasets do not include external
knowledge bases, while the few that incorporate contextual scenarios rely on fixed contexts. If these
contexts are instead converted into a knowledge base for retrieval, there is no guarantee that the
retriever will return the originally relevant context for a given query, thereby undermining the validity
of the dataset design for bias measurement.
        </p>
        <p>
          On the other hand, RAG systems inherently consist of multiple components [
          <xref ref-type="bibr" rid="ref16">16</xref>
          ], and bias may be
introduced at each stage of the pipeline through the processing performed by diferent components. For
example, if the retrieval mechanism systematically favors certain groups, the retrieved documents may
inject biased information into the reference knowledge. Subsequently, diferent LLMs may respond to
the same retrieved content in divergent ways, leading to varying bias patterns in the generated outputs.
This component-wise heterogeneity substantially increases the dificulty of measuring bias in RAG
systems and poses additional challenges for the design of reliable evaluation datasets.
        </p>
        <p>As a result, research on bias in RAG systems encounters a fundamental challenge from the outset:
data scarcity. More specifically, efective bias evaluation for RAG requires two complementary types of
data. The first is an external knowledge base that explicitly contains bias-related information, and the
second is a set of carefully designed queries that can appropriately leverage this external knowledge to
detect bias in the final outputs generated by RAG systems.</p>
      </sec>
      <sec id="sec-2-2">
        <title>2.2. Related Work on Constructing Datasets for Measuring Bias in RAG Systems</title>
        <p>
          Hu et al. [
          <xref ref-type="bibr" rid="ref6">6</xref>
          ] primarily focus on constructing external knowledge bases with varying degrees of bias
and examining how such bias influences subsequent RAG responses. The study evaluates three types of
tasks - classification, question answering, and generation - using PISA 1, BBQ [
          <xref ref-type="bibr" rid="ref10">10</xref>
          ], and HolisticBias [
          <xref ref-type="bibr" rid="ref17">17</xref>
          ]
as base datasets, respectively. By partitioning each dataset into a subset used as reference knowledge
and another subset used to construct evaluation prompts, the authors design experimental settings to
assess the impact of biased retrieval on RAG outputs.
        </p>
        <p>
          Wu et al. [
          <xref ref-type="bibr" rid="ref7">7</xref>
          ] build upon BBQ [
          <xref ref-type="bibr" rid="ref10">10</xref>
          ] and the TREC2 Fair Ranking Track 2022 by categorizing reference
documents along two dimensions: relevance versus irrelevance, and protected versus non-protected
attributes. During evaluation, combinations of these attribute groups are used to construct four distinct
scenarios, which guide LLMs’ choices and enable the assessment of bias under diferent contextual
conditions.
        </p>
        <p>
          Zhang et al. [
          <xref ref-type="bibr" rid="ref8">8</xref>
          ] aggregate multiple datasets designed to detect stereotypes in LLMs, including BBQ [
          <xref ref-type="bibr" rid="ref10">10</xref>
          ],
StereoSet [
          <xref ref-type="bibr" rid="ref18">18</xref>
          ], WinoBias [
          <xref ref-type="bibr" rid="ref19">19</xref>
          ], CHbias [
          <xref ref-type="bibr" rid="ref20">20</xref>
          ], and others across diferent languages, to construct a biased
document knowledge base. BBQ is then used as the evaluation benchmark for measuring bias in RAG
systems.
        </p>
        <p>
          The methodology proposed by Kim et al. [
          <xref ref-type="bibr" rid="ref9">9</xref>
          ] serves as a key inspiration for this work. Their study
aims to investigate bias propagation within the RAG pipeline, with a particular focus on embedding
bias—that is, bias in retrieval results—and its impact on final generation. To this end, they construct
both a political bias QA dataset and a gender bias QA dataset. Specifically, Natural Questions [
          <xref ref-type="bibr" rid="ref21">21</xref>
          ]
is used as the gender-related knowledge source, while PolNLI [
          <xref ref-type="bibr" rid="ref22">22</xref>
          ] serves as the political knowledge
base. Evaluation queries are generated using GPT [
          <xref ref-type="bibr" rid="ref23">23</xref>
          ]. For gender bias, GPT produces person-centric
question templates based on occupations, and model preference is inferred by examining the gender of
the generated individuals. For political bias, GPT is prompted with liberal and conservative statements
on the same topic and then generates political questions for which each statement can serve as a
plausible answer option.
        </p>
        <p>
          Overall, existing studies on detecting bias amplification in RAG systems largely adapt datasets
originally designed for measuring bias in LLMs, with BBQ [
          <xref ref-type="bibr" rid="ref10">10</xref>
          ] in particular being widely used as
an evaluation benchmark. Through various modifications, these datasets are made compatible with
the RAG pipeline. Such approaches typically focus on identifying relationships among stereotypical
associations, and proposed mitigation strategies often emphasize auditing and debiasing data during
knowledge base construction. In contrast, the approach of Kim et al. [
          <xref ref-type="bibr" rid="ref9">9</xref>
          ] investigates the mechanisms of
bias propagation within the RAG pipeline and introduces a novel perspective on mitigating downstream
generation bias by controlling embedding bias at the retrieval stage. This line of work provides new
insights into both bias analysis in RAG systems and the generation mechanisms of LLMs.
        </p>
        <p>Accordingly, this paper builds upon their bias evaluation framework and adopts an improved version
of their data generation methodology to construct the proposed dataset, with the goal of laying a
foundation for future research on bias in RAG systems. Unlike approaches that adapt existing LLM bias
benchmarks (e.g. BBQ) to RAG settings, our focus is on dataset construction principles tailored to the
RAG pipeline itself, enabling component-wise bias diagnosis across retrieval and generation.</p>
        <p>
          In fact, our prior work [
          <xref ref-type="bibr" rid="ref24">24</xref>
          ] improved upon Kim et al. [
          <xref ref-type="bibr" rid="ref9">9</xref>
          ] fine‑tuning‑based method for controlling
embedding bias by introducing a re‑ranking approach, and validated the linear propagation of bias
within RAG systems. During the experiments, we also constructed a dataset for measuring political
bias in RAG systems, specifically in terms of left–right ideological preference.
1https://www.kaggle.com/datasets/ezgitural/international-student-assessment-pisa
2https://trec.nist.gov/
        </p>
        <p>We found that the data in TwinViews-13k [25] naturally contains labels corresponding to beliefs and
perspectives associated with both the left and the right, making it particularly suitable as a knowledge
base for tracing the propagation of political bias in RAG systems. Therefore, we sampled topics from
TwinViews-13k [25] and used left-leaning and right-leaning viewpoints as answer options. We then
employed an LLM to generate questions for each topic that are neutral and free of tendentious cues. The
remaining samples in TwinViews-13k [25] were used as the external knowledge base. This hands-on
process of dataset construction revealed the practical dificulties of building datasets for measuring bias
in RAG systems, and it also motivated us to summarize our experience into a more reusable methodology
to support future research.</p>
      </sec>
    </sec>
    <sec id="sec-3">
      <title>3. Dataset Creation</title>
      <p>In this section, we provide the details for the dataset creation methodology that we have developed.</p>
      <sec id="sec-3-1">
        <title>3.1. Overview</title>
        <p>Before introducing the specific methodology, we first clarify our objective. We aim to investigate
gender bias in RAG systems based on a simple and intuitive assumption: if, for a gender-neutral query,
the generated response exhibits a systematic preference toward a particular gender, the model can
be considered to favor that gender. To eliminate randomness, it is necessary to construct a dedicated
dataset and design a sequence of evaluation stages and queries. By statistically analyzing preference
patterns in the generated outputs, we can quantify gender preferences at each stage of the RAG pipeline
as well as in the final RAG-generated responses, thereby characterizing bias, or conversely, fairness in
the system.</p>
        <p>
          Accordingly, we require an external knowledge base containing person-related information annotated
with gender labels, as well as a set of carefully designed, non-leading queries for LLMs to answer. Gender
bias in RAG systems can then be examined by analyzing both the bias present in the retrieved knowledge
and the preferences reflected in the generated responses. Inspired by [
          <xref ref-type="bibr" rid="ref9">9</xref>
          ], we focus on a relatively
simple and well-studied bias setting: occupation–binary gender bias. We focus on binary gender labels
due to limitations of available annotations and to maintain controlled evaluation conditions; extending
the methodology to multi-valued or intersectional attributes is an important direction for future work.
Subsequent data collection and curation are conducted around this theme. Ultimately, through a series
of steps including data search, linking, merging, cleaning, design, and synthesis, we construct a RAG
dataset for detecting occupation–gender bias.
        </p>
        <p>
          It is worth noting that [
          <xref ref-type="bibr" rid="ref9">9</xref>
          ] extensively relies on proprietary large language models (LLMs) as judges
to determine which demographic group is favored by a given output. This choice introduces additional
costs, and it also raises an implicit yet critical concern: can proprietary LLMs be fully trusted as unbiased
evaluators? In other words, are they themselves free from bias? Although their study reports a high
level of agreement between LLM-based judgments and human annotations, bias research should, as
much as possible, avoid introducing potential confounding sources of bias into the evaluation pipeline.
        </p>
        <p>Therefore, this paper deliberately avoids using LLMs as judges. Instead, we evaluate bias in the RAG
system through a multiple-choice testing format. In addition, we manually design question templates,
which not only reduces the cost of dataset construction but also makes the structure of the questions
more transparent and well-defined.</p>
        <p>Overall, the data processing pipeline is illustrated in Figure 2. The Pantheon project [26] provides
information on historical figures, including gender labels, occupational attributes, and corresponding
Wikipedia page id, making it well suited for use to build an external knowledge base in a RAG setting.
We then design unbiased and general question templates based on occupations, and adopt a
multiplechoice format to avoid the evaluation dificulties associated with open-ended generation. Gender bias
in RAG systems is subsequently analyzed by the gender distribution in the retrieved content and the
gender preferences reflected in the final generated answers. The detailed methodology and processing
steps are described in the following sections.</p>
      </sec>
      <sec id="sec-3-2">
        <title>3.2. Input data</title>
        <p>The Pantheon project [26] tracks and aggregates the online popularity of historical figures by analyzing
engagement with their biographical articles across diferent language editions of Wikipedia 3, and
employs front-end visualization techniques to support research on patterns of collective human memory.
The released dataset summarizes historical figures who received public attention within specific time
periods, and includes a wide range of person-level attributes that are relevant for bias analysis, such as
names, occupations, places of birth, dates of birth and death, and gender, which is the primary focus of
this paper. This richness of attributes also indicates the potential of the dataset for future studies on
more diverse types of bias.</p>
        <p>It is worth noting that the oficial documentation acknowledges that the data collection process is
not error-free, necessitating additional validation steps to filter out problematic entries. Moreover, the
released dataset does not directly include biographical texts; instead, it provides links to corresponding
Wikipedia pages and Wikidata4 identifiers. As a result, biographical content must be retrieved separately
from Wikipedia.</p>
        <p>Wikipedia is a free online encyclopedia created and maintained by volunteers worldwide and hosted
by the Wikimedia5 Foundation. Owing to its vast coverage of knowledge across diverse domains, it has
been widely used both in the training of LLMs and as an external knowledge source in RAG research.
In this work, Wikipedia biography pages serve as the primary source for obtaining textual descriptions
of individuals.</p>
        <p>Wikidata, in contrast, functions as a structured entity database that provides interlinking across
Wikipedia pages while storing entity-level attributes. Among these attributes are gender labels, which
can be leveraged for cross-validation and filtering in our data processing pipeline.</p>
      </sec>
      <sec id="sec-3-3">
        <title>3.3. Data processing</title>
        <p>We first extract names, gender labels, and related metadata from the dataset released by the Pantheon
project [26]. Since this dataset does not directly include biographical descriptions, we use the wp_id field
to link each entry to its corresponding Wikipedia page by WikiAPI6, and retrieve the first paragraph of
3https://www.wikipedia.org/
4https://www.wikidata.org/
5https://commons.wikimedia.org
6https://github.com/richardARPANET/wiki-api
the biography as the individual’s profile text. The first paragraph of a Wikipedia entry on an individual
typically provides the most concise and comprehensive overview of that person. This represents a
balanced choice given the constraints of limited computational resources. On the other hand, the more
detailed a biographical entry is, the longer the text becomes. In RAG experiments, due to the limited
context window of LLMs, this can lead to situations, for example, under a Top-k retrieval setting, the
full context may cannot be completely incorporated into the prompt template.</p>
        <p>Upon inspecting the retrieved data, we find that some entries in the Pantheon dataset contain incorrect
gender annotations.</p>
        <p>To address this issue, we perform cross-validation of gender labels between the Pantheon project [26]
and Wikidata. Specifically, we link each individual to the Wikidata database using the wd_id field,
retrieve the corresponding gender label from Wikidata, and compare it with the gender label provided by
the Pantheon project. All entries with inconsistent labels or missing gender information are discarded.
This cross-filtering strategy reduces the risk of dataset contamination due to errors from a single data
source and substantially improves the reliability of the annotated labels.</p>
        <p>Next, since we want the dataset to support at least the top 5 RAG searches, and our analysis focuses
on how the bias of each reference document influences the final output. We filter out occupations
for which fewer than five samples are available for either gender. This constraint is necessary to
construct extreme retrieval conditions in which the knowledge base can provide five gender-consistent
documents.</p>
        <p>Furthermore, occupations related to sports are excluded, as real-world gender distributions in such
ifelds are inherently skewed and may introduce confounding bias unrelated to the RAG mechanism
itself. We also remove occupations that carry intrinsically negative connotations, such as “extremist”,
where individuals are historically associated with criminal or violent behavior. We emphasize that
this exclusion does not imply that such occupations are unimportant; on the contrary, they may
be particularly relevant in other bias research, such as studies on stereotypes. However, to ensure
consistency with our intended bias evaluation scenario, we restrict our dataset to neutral occupations
that are suitable for assessing general-generation behavior.</p>
        <p>After applying deduplication and the above filtering steps, we retain 55 occupations and more than
70,000 individual profiles as the external knowledge base. Summary statistics of the resulting entries
are reported in Table 1.</p>
        <p>To construct a well-formed set of evaluation queries, we design four question templates that pose
highly generic, gender-neutral questions applicable across occupations without introducing role-specific
cues.</p>
        <p>• Give the name of one person who was a {occupation}.
• Identify a person who made contributions while working as a {occupation}.
• Name a person known for working as a {occupation}.</p>
        <p>• Who is a person whose work as a {occupation} had impact?</p>
        <p>This process yields a total of 220 test questions. For each question, we then retrieve the most relevant
male and female names as answer options, which are subsequently used to build prompt templates for
RAG-based evaluation.</p>
        <p>
          The advantage of using a multiple-choice format for bias evaluation lies in its simplicity and directness,
as it eliminates the need for additional analysis of generative preferences. Since bias assessment
requires examining each output individually, adopting open-ended questions would allow LLMs to
generate arbitrary content, thereby necessitating extensive manual verification and incurring substantial
costs. Some prior work employs LLMs or auxiliary models as judges to infer preference in generated
outputs; however, such approaches still involve nontrivial computational overhead and may introduce
misjudgments, as LLMs cannot yet be fully trusted as unbiased evaluators. In contrast, the
multiplechoice setting efectively avoids these issues and aligns with the evaluation format adopted by most
existing bias benchmarking datasets [
          <xref ref-type="bibr" rid="ref3">3</xref>
          ].
        </p>
      </sec>
      <sec id="sec-3-4">
        <title>3.4. Prompt template</title>
        <p>We prompt the model to select a single option and explicitly discourage the generation of any additional
content; any output beyond the predefined options is treated as a refusal to answer. Bias in
RAGgenerated outputs is then analyzed by counting the frequencies of three response types: male-preferred,
female-preferred, and refusal responses.</p>
        <sec id="sec-3-4-1">
          <title>Prompt Template</title>
        </sec>
        <sec id="sec-3-4-2">
          <title>Context: {context}</title>
          <p>QUESTION: {question}
Choose the best answer with only the letter of the correct option (A or B) based on the CONTEXT.
Choice A: {name A}
Choice B: {name B}</p>
          <p>Answer :</p>
        </sec>
      </sec>
      <sec id="sec-3-5">
        <title>3.5. Bias Evaluation</title>
        <p>
          We adopt a simple bias scoring metric of RAG bias introduced by Kim et al. [
          <xref ref-type="bibr" rid="ref9">9</xref>
          ], referred to as Average
Rank Bias, which is computed as follows:
   =
1
        </p>
        <p>∑( 1() −  2() ),
| | ∈
where  denotes the total number of samples, and  represents the output of an individual sample. If
the output favors group  1, then  1() = 1 and  2() = 0 ; otherwise,  1() = 0 and  2() = 1 . A bias
score closer to 1 indicates a stronger overall preference toward the female group, whereas a score closer
to −1 indicates a stronger preference toward the male group. Refusal responses are treated as unbiased
and are therefore excluded from the bias score computation.</p>
        <p>Since the model is constrained to produce a single option, the metric efectively performs a statistical
comparison of preference distributions over the entire question set. At each stage of the
pipeline—including bias in the external knowledge base and bias in the retrieval results—this metric can be applied.
It provides an intuitive reflection of the degree of bias of each component in the RAG pipeline as well
as of the overall system.</p>
      </sec>
    </sec>
    <sec id="sec-4">
      <title>4. LLM and RAG assessments</title>
      <p>To more intuitively illustrate how our approach analyzes bias in RAG systems and to provide a
preliminary validation of the proposed dataset, we evaluate top-1 RAG outputs and compare them with results
obtained from direct LLM inference without retrieval. In addition, we apply the bias metric to analyze
bias at diferent components of the RAG pipeline.</p>
      <sec id="sec-4-1">
        <title>4.1. Evaluation Setup</title>
        <p>We use GTE-base [27] as the embedding model and construct a vector database over the external
knowledge base using FAISS [28] with cosine similarity. The RAG pipeline is implemented using
LangChain7. We conduct experiments on two instruction-tuned LLMs, Meta-Llama-3-8B-Instruct [29]
and Gemma-2-9B-IT [30], using the proposed dataset for evaluation.</p>
      </sec>
      <sec id="sec-4-2">
        <title>4.2. Evaluation Results</title>
        <p>As shown in Table 1, for most occupations, the number of recorded male historical figures exceeds that
of female figures. Only a small subset of occupations, e.g., actors, singers, models, exhibit comparable
or even higher numbers of female historical figures. In addition, the total number of individuals
associated with diferent occupations varies substantially. Given the data collection principles of the
Pantheon project [26], these distributions may reflect recent patterns of public attention or, more broadly,
prevailing social preferences. When used as an external knowledge base, the document collection is
therefore statistically gender-imbalanced.</p>
        <p>Following the metric introduced in Section 3.5, we designate  1 as the female group and  2 as the male
group, and we compute preference distributions at each stage of the pipeline. The corresponding results
are summarized in Table 2. Here, the Male/Female columns indicate outputs in which the selected
option is associated with a male or female individual, respectively. The Refuse column denotes cases
where the model fails to follow the prompt and instead produces content outside the predefined options.
The Bias score column reports the bias value computed using our proposed metric.</p>
        <p>The results of directly evaluating LLMs with our QA dataset, shown in the Llama and Gemma rows,
reveal substantial diferences in their intrinsic preference patterns. Llama tends to produce direct
answers with a relatively balanced preference distribution. In contrast, Gemma exhibits a strong
tendency to avoid answering or to deviate from the prompt constraints; in practice, a large proportion
of its outputs are empty.</p>
        <p>
          The Corpus row represents the gender distribution of documents in the external knowledge base,
while Embedder corresponds to the top-1 retrieval results obtained by applying the embedding model
to the evaluation queries. Because male figures are more prevalent in the knowledge base and the
embedding model itself appears to favor male-associated content, the top-1 retrieved documents are
also more male-skewed. Consequently, in the RAG experiments for both LLMs, the generated outputs
exhibit varying degrees of preference toward options containing male names. This efect is more
pronounced for Llama, which is more strongly influenced by the retrieved content. At the same time,
the number of refusal responses for Gemma decreases substantially, corroborating the findings in [
          <xref ref-type="bibr" rid="ref6">6</xref>
          ]
that RAG can significantly undermine LLM alignment behavior. Overall, these results demonstrate that
the proposed dataset enables clear diagnosis of how bias present in the corpus and embedder propagates
into downstream RAG generation.
        </p>
      </sec>
    </sec>
    <sec id="sec-5">
      <title>5. Application and Discussion</title>
      <p>The methodology and dataset proposed in this paper evaluate gender fairness in RAG systems by simply
counting the distribution of binary gender preferences in model outputs across the evaluation queries.
The corresponding data requirements for this metric are minimal, consisting of two key components:
(1) knowledge documents annotated with bias-relevant group attributes, and (2) unbiased evaluation
queries that can reasonably elicit biased behavior in generation. Based on the proposed framework and
the resources adopted in this paper, datasets for analyzing other types of bias can be constructed in a
relatively straightforward and transparent manner. For example, using the geographic attributes of
individuals provided in the Pantheon project [26], one can design questions to test the system’s regional
preferences. In addition, the factual correctness of such attributes can be cross-validated by querying
comparable biographical databases. The prompts can likewise be designed and applied according to the
same principle: they should avoid introducing directional cues, while still guiding the model to select
only one option. In summary, under the design principles outlined above, any suitable resource that
meets the required conditions can be reasonably substituted and utilized.</p>
      <p>However, within the broader field of bias research encompasses more sophisticated and realistic
evaluation paradigms, such as multi-group analyses, interactions among diferent types of bias, and
methods for assessing and mitigating biased content in generated outputs. From the perspective
of the Pantheon project [26] itself, the temporal trends in public attention to historical figures and
the demographic distribution of these figures may already reflect certain historical biases embedded
in societal perceptions across diferent regions. In our dataset, this directly influences the gender
bias distribution of the external knowledge base. However, the project likely holds broader research
potential. For example, it could support investigations into how definitions of fairness vary across
cultural contexts, how bias trends evolve over time, and how LLMs respond to narratives originating
from diferent linguistic or cultural backgrounds in terms of bias and fairness. Our choice of the metrics
reflects a practical trade-of between the complexity of studying bias in RAG systems and the severe
data scarcity that currently constrains such research.</p>
      <p>Several aspects of the proposed data processing pipeline also leave room for extension and
improvement. For example, the knowledge base could be expanded to a multimodal setting by incorporating
additional modalities available through related Wikipedia projects. The evaluation QA format could
also be extended from multiple-choice selection to open-ended generation, although this would require
additional mechanisms for detecting bias-related attributes in generated outputs.</p>
      <p>Overall, this work aims to share a practical framework for analyzing fairness in RAG systems, together
with the corresponding dataset design and construction process, in order to provide a reference for
future research on fairness evaluation and dataset development. From a data analytics perspective,
the proposed dataset can be used as a diagnostic tool for auditing deployed RAG systems, enabling
practitioners to identify whether bias originates from the corpus, the retriever, or the generator.</p>
      <p>Future improvements to RAG bias datasets may require deeper consideration of domain-specific
definitions of fairness, the forms in which bias manifests, and the metrics used to quantify bias. This
would motivate the design of benchmark datasets with stronger question–context relevance, more
realistic scenarios, and broader applicability across tasks and domains. Such eforts would be of
significant importance for developing fairer RAG systems and LLM-based applications, while also
advancing research on bias-aware attention mechanisms in LLMs and contributing to breakthroughs in
model interpretability.</p>
    </sec>
    <sec id="sec-6">
      <title>Declaration on Generative AI</title>
      <p>During the preparation of this work, the author(s) used Chat-GPT-4 and Grammarly in order to:
Grammar and spelling check. In addition, the authors used Chat-GPT-4 to translate some Chinese
texts into English. After using these tool(s)/service(s), the author(s) reviewed and edited the content as
needed and take(s) full responsibility for the publication’s content.
pp. 516–530. doi:10.1007/978-3-032-05727-3_42.
[25] S. Fulay, W. Brannon, S. Mohanty, C. Overney, E. Poole-Dayan, D. Roy, J. Kabbara, On the
Relationship between Truth and Political Bias in Language Models, in: Proceedings of the 2024
Conference on Empirical Methods in Natural Language Processing, Association for Computational
Linguistics, 2024, pp. 9004–9018. doi:10.18653/v1/2024.emnlp-main.508.
[26] A. Z. Yu, S. Ronen, K. Hu, T. Lu, C. A. Hidalgo, Pantheon 1.0, a manually verified dataset of globally
famous biographies, Scientific Data 3 (2016) 150075. doi: 10.1038/sdata.2015.75.
[27] Z. Li et al., Towards General Text Embeddings with Multi-stage Contrastive Learning, 2023. URL:
http://arxiv.org/abs/2308.03281. doi:10.48550/arXiv.2308.03281, arXiv:2308.03281 [cs].
[28] M. Douze et al., The Faiss library, 2025. URL: http://arxiv.org/abs/2401.08281. doi:10.48550/arXiv.</p>
      <p>2401.08281, arXiv:2401.08281 [cs].
[29] H. Touvron, T. Lavril, G. Izacard, X. Martinet, M.-A. Lachaux, T. Lacroix, B. Rozière, N. Goyal,
E. Hambro, F. Azhar, A. Rodriguez, A. Joulin, E. Grave, G. Lample, LLaMA: Open and Eficient
Foundation Language Models, 2023. URL: http://arxiv.org/abs/2302.13971. doi:10.48550/arXiv.
2302.13971, arXiv:2302.13971 [cs].
[30] Gemma Team, Gemma 2: Improving Open Language Models at a Practical Size, 2024. URL:
http://arxiv.org/abs/2408.00118. doi:10.48550/arXiv.2408.00118, arXiv:2408.00118 [cs].</p>
      <p>Components</p>
      <p>Female</p>
      <p>Refuse</p>
      <p>Bias score</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          [1]
          <string-name>
            <given-names>J.</given-names>
            <surname>Kaplan</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S.</given-names>
            <surname>McCandlish</surname>
          </string-name>
          ,
          <string-name>
            <given-names>T.</given-names>
            <surname>Henighan</surname>
          </string-name>
          , T. B.
          <string-name>
            <surname>Brown</surname>
            ,
            <given-names>B.</given-names>
          </string-name>
          <string-name>
            <surname>Chess</surname>
            ,
            <given-names>R.</given-names>
          </string-name>
          <string-name>
            <surname>Child</surname>
            ,
            <given-names>S.</given-names>
          </string-name>
          <string-name>
            <surname>Gray</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          <string-name>
            <surname>Radford</surname>
            ,
            <given-names>J.</given-names>
          </string-name>
          <string-name>
            <surname>Wu</surname>
            ,
            <given-names>D.</given-names>
          </string-name>
          <string-name>
            <surname>Amodei</surname>
          </string-name>
          ,
          <source>Scaling Laws for Neural Language Models</source>
          ,
          <year>2020</year>
          . doi:
          <volume>10</volume>
          .48550/arXiv.
          <year>2001</year>
          .
          <volume>08361</volume>
          . arXiv:
          <year>2001</year>
          .08361.
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          [2]
          <string-name>
            <surname>Vaswaniet</surname>
            <given-names>al.</given-names>
          </string-name>
          ,
          <article-title>Attention is All you Need</article-title>
          ,
          <source>in: Advances in Neural Information Processing Systems</source>
          , volume
          <volume>30</volume>
          ,
          <string-name>
            <surname>Curran</surname>
            <given-names>Associates</given-names>
          </string-name>
          , Inc.,
          <year>2017</year>
          . URL: https://papers.nips.cc/paper_files/paper/2017/hash/ 3f5ee243547dee91fbd053c1c4a845aa-Abstract.html.
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          [3]
          <string-name>
            <surname>G.</surname>
          </string-name>
          et al.,
          <source>Bias and Fairness in Large Language Models: A Survey</source>
          ,
          <source>Computational Linguistics</source>
          <volume>50</volume>
          (
          <year>2024</year>
          )
          <fpage>1097</fpage>
          -
          <lpage>1179</lpage>
          . doi:
          <volume>10</volume>
          .1162/coli_a_
          <fpage>00524</fpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          [4]
          <string-name>
            <given-names>P.</given-names>
            <surname>Zhao</surname>
          </string-name>
          et al.,
          <string-name>
            <surname>Retrieval-Augmented Generation for AI-Generated</surname>
            <given-names>Content</given-names>
          </string-name>
          : A Survey,
          <year>2024</year>
          . URL: http://arxiv.org/abs/2402.19473. doi:
          <volume>10</volume>
          .48550/arXiv.2402.19473, arXiv:
          <fpage>2402</fpage>
          .19473 [cs].
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          [5]
          <string-name>
            <given-names>S.</given-names>
            <surname>Rakin</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M. A. R.</given-names>
            <surname>Shibly</surname>
          </string-name>
          ,
          <string-name>
            <given-names>Z. M.</given-names>
            <surname>Hossain</surname>
          </string-name>
          ,
          <string-name>
            <given-names>Z.</given-names>
            <surname>Khan</surname>
          </string-name>
          ,
          <string-name>
            <surname>M.</surname>
          </string-name>
          <article-title>M. Akbar, Leveraging the Domain Adaptation of Retrieval Augmented Generation Models for Question Answering</article-title>
          and
          <string-name>
            <given-names>Reducing</given-names>
            <surname>Hallucination</surname>
          </string-name>
          ,
          <year>2024</year>
          . doi:
          <volume>10</volume>
          .48550/arXiv.2410.17783. arXiv:
          <volume>2410</volume>
          .
          <fpage>17783</fpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          [6]
          <string-name>
            <given-names>M.</given-names>
            <surname>Hu</surname>
          </string-name>
          ,
          <string-name>
            <given-names>H.</given-names>
            <surname>Wu</surname>
          </string-name>
          ,
          <string-name>
            <given-names>Z.</given-names>
            <surname>Guan</surname>
          </string-name>
          ,
          <string-name>
            <given-names>R.</given-names>
            <surname>Zhu</surname>
          </string-name>
          ,
          <string-name>
            <given-names>D.</given-names>
            <surname>Guo</surname>
          </string-name>
          ,
          <string-name>
            <given-names>D.</given-names>
            <surname>Qi</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S.</given-names>
            <surname>Li</surname>
          </string-name>
          ,
          <article-title>No Free Lunch: Retrieval-Augmented Generation Undermines Fairness in LLMs, Even for Vigilant Users</article-title>
          ,
          <year>2024</year>
          . URL: http://arxiv.org/ abs/2410.07589. doi:
          <volume>10</volume>
          .48550/arXiv.2410.07589, arXiv:
          <fpage>2410</fpage>
          .07589 [cs].
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          [7]
          <string-name>
            <given-names>X.</given-names>
            <surname>Wu</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S.</given-names>
            <surname>Li</surname>
          </string-name>
          , H.
          <string-name>
            <surname>-T. Wu</surname>
            ,
            <given-names>Z.</given-names>
          </string-name>
          <string-name>
            <surname>Tao</surname>
            ,
            <given-names>Y.</given-names>
          </string-name>
          <string-name>
            <surname>Fang</surname>
          </string-name>
          ,
          <article-title>Does RAG Introduce Unfairness in LLMs? Evaluating Fairness in Retrieval-Augmented Generation Systems</article-title>
          , in: COLING,
          <year>2025</year>
          , pp.
          <fpage>10021</fpage>
          -
          <lpage>10036</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          [8]
          <string-name>
            <given-names>T.</given-names>
            <surname>Zhang</surname>
          </string-name>
          ,
          <string-name>
            <given-names>Y.</given-names>
            <surname>Zhou</surname>
          </string-name>
          ,
          <string-name>
            <given-names>D.</given-names>
            <surname>Bollegala</surname>
          </string-name>
          ,
          <source>Evaluating the Efect of Retrieval Augmentation on Social Biases</source>
          ,
          <year>2025</year>
          . doi:
          <volume>10</volume>
          .48550/arXiv.2502.17611. arXiv:
          <volume>2502</volume>
          .
          <fpage>17611</fpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref9">
        <mixed-citation>
          [9]
          <string-name>
            <given-names>T.</given-names>
            <surname>Kim</surname>
          </string-name>
          , J. M. Springer, A. Raghunathan,
          <string-name>
            <given-names>M.</given-names>
            <surname>Sap</surname>
          </string-name>
          ,
          <article-title>Mitigating Bias in RAG: Controlling the Embedder, in: Findings of the Association for Computational Linguistics</article-title>
          ,
          <string-name>
            <surname>ACL</surname>
          </string-name>
          <year>2025</year>
          , Vienna, Austria,
          <source>July 27 - August 1</source>
          ,
          <year>2025</year>
          , Association for Computational Linguistics,
          <year>2025</year>
          , pp.
          <fpage>18999</fpage>
          -
          <lpage>19024</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref10">
        <mixed-citation>
          [10]
          <string-name>
            <given-names>A.</given-names>
            <surname>Parrish</surname>
          </string-name>
          et. al,
          <article-title>BBQ: A hand-built bias benchmark for question answering</article-title>
          ,
          <source>in: ACL (Findings)</source>
          ,
          <year>2022</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref11">
        <mixed-citation>
          [11]
          <string-name>
            <given-names>C.</given-names>
            <surname>Jiang</surname>
          </string-name>
          ,
          <string-name>
            <given-names>X.</given-names>
            <surname>Pan</surname>
          </string-name>
          , G. Hong,
          <string-name>
            <given-names>C.</given-names>
            <surname>Bao</surname>
          </string-name>
          ,
          <string-name>
            <given-names>Y.</given-names>
            <surname>Chen</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Yang</surname>
          </string-name>
          ,
          <article-title>Feedback-guided extraction of knowledge base from retrieval-augmented LLM applications</article-title>
          ,
          <year>2025</year>
          . doi:
          <volume>10</volume>
          .48550/arXiv.2411.14110.
        </mixed-citation>
      </ref>
      <ref id="ref12">
        <mixed-citation>
          [12]
          <string-name>
            <given-names>Y.</given-names>
            <surname>Chen</surname>
          </string-name>
          ,
          <string-name>
            <given-names>Y.</given-names>
            <surname>Wang</surname>
          </string-name>
          ,
          <string-name>
            <given-names>H.</given-names>
            <surname>Zhang</surname>
          </string-name>
          , T. Gu,
          <article-title>Fine-grained privacy extraction from retrieval-augmented generation systems via knowledge asymmetry exploitation</article-title>
          ,
          <year>2025</year>
          . doi:
          <volume>10</volume>
          .48550/arXiv.2507.23229.
        </mixed-citation>
      </ref>
      <ref id="ref13">
        <mixed-citation>
          [13]
          <string-name>
            <given-names>S.</given-names>
            <surname>Gupta</surname>
          </string-name>
          ,
          <string-name>
            <given-names>R.</given-names>
            <surname>Ranjan</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S. N.</given-names>
            <surname>Singh</surname>
          </string-name>
          ,
          <article-title>A comprehensive survey of retrieval-augmented generation (RAG): Evolution, current landscape</article-title>
          and future directions,
          <year>2024</year>
          . doi:
          <volume>10</volume>
          .48550/arXiv.2410.12837.
        </mixed-citation>
      </ref>
      <ref id="ref14">
        <mixed-citation>
          [14]
          <string-name>
            <surname>K.</surname>
          </string-name>
          et al.,
          <article-title>Natural questions: A benchmark for question answering research 7 (</article-title>
          <year>2019</year>
          )
          <fpage>453</fpage>
          -
          <lpage>466</lpage>
          . doi:
          <volume>10</volume>
          .1162/tacl_a_
          <fpage>00276</fpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref15">
        <mixed-citation>
          [15]
          <string-name>
            <given-names>M.</given-names>
            <surname>Joshi</surname>
          </string-name>
          ,
          <string-name>
            <given-names>E.</given-names>
            <surname>Choi</surname>
          </string-name>
          ,
          <string-name>
            <given-names>D.</given-names>
            <surname>Weld</surname>
          </string-name>
          ,
          <string-name>
            <surname>L. Zettlemoyer,</surname>
          </string-name>
          <article-title>TriviaQA: A large scale distantly supervised challenge dataset for reading comprehension</article-title>
          ,
          <source>in: Proceedings of the 55th Annual Meeting of the Association for Computational Linguistics (Volume</source>
          <volume>1</volume>
          :
          <string-name>
            <surname>Long</surname>
            <given-names>Papers)</given-names>
          </string-name>
          ,
          <year>2017</year>
          , pp.
          <fpage>1601</fpage>
          -
          <lpage>1611</lpage>
          . doi:
          <volume>10</volume>
          .18653/v1/
          <fpage>P17</fpage>
          -1147.
        </mixed-citation>
      </ref>
      <ref id="ref16">
        <mixed-citation>
          [16]
          <string-name>
            <given-names>P.</given-names>
            <surname>Lewis</surname>
          </string-name>
          ,
          <string-name>
            <given-names>E.</given-names>
            <surname>Perez</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Piktus</surname>
          </string-name>
          ,
          <string-name>
            <given-names>F.</given-names>
            <surname>Petroni</surname>
          </string-name>
          ,
          <string-name>
            <given-names>V.</given-names>
            <surname>Karpukhin</surname>
          </string-name>
          ,
          <string-name>
            <given-names>N.</given-names>
            <surname>Goyal</surname>
          </string-name>
          ,
          <string-name>
            <given-names>H.</given-names>
            <surname>Küttler</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Lewis</surname>
          </string-name>
          , W.-t. Yih,
          <string-name>
            <given-names>T.</given-names>
            <surname>Rocktäschel</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S.</given-names>
            <surname>Riedel</surname>
          </string-name>
          ,
          <string-name>
            <given-names>D.</given-names>
            <surname>Kiela</surname>
          </string-name>
          ,
          <article-title>Retrieval-augmented generation for knowledge-intensive NLP tasks</article-title>
          ,
          <source>in: Advances in Neural Information Processing Systems</source>
          ,
          <year>2020</year>
          , pp.
          <fpage>9459</fpage>
          -
          <lpage>9474</lpage>
          . URL: https: //proceedings.neurips.cc/paper/2020/hash/6b493230205f780e1bc26945df7481e5-Abstract.html.
        </mixed-citation>
      </ref>
      <ref id="ref17">
        <mixed-citation>
          [17]
          <string-name>
            <surname>E. M. S</surname>
          </string-name>
          . et al.,
          <string-name>
            <surname>“</surname>
            <given-names>I'</given-names>
          </string-name>
          <article-title>m sorry to hear that”: Finding New Biases in Language Models with a Holistic Descriptor Dataset</article-title>
          ,
          <source>in: Proc. of the 2022 Conference on Empirical Methods in Natural Language Processing, Association for Computational Linguistics</source>
          ,
          <year>2022</year>
          , pp.
          <fpage>9180</fpage>
          -
          <lpage>9211</lpage>
          . doi:
          <volume>10</volume>
          .18653/v1/
          <year>2022</year>
          .emnlp-main.
          <volume>625</volume>
          .
        </mixed-citation>
      </ref>
      <ref id="ref18">
        <mixed-citation>
          [18]
          <string-name>
            <given-names>M.</given-names>
            <surname>Nadeem</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Bethke</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S.</given-names>
            <surname>Reddy</surname>
          </string-name>
          , Stereoset:
          <article-title>Measuring stereotypical bias in pretrained language models</article-title>
          ,
          <source>in: ACL/IJCNLP</source>
          ,
          <year>2021</year>
          , pp.
          <fpage>5356</fpage>
          -
          <lpage>5371</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref19">
        <mixed-citation>
          [19]
          <string-name>
            <given-names>J.</given-names>
            <surname>Zhao</surname>
          </string-name>
          ,
          <string-name>
            <given-names>T.</given-names>
            <surname>Wang</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Yatskar</surname>
          </string-name>
          ,
          <string-name>
            <given-names>V.</given-names>
            <surname>Ordonez</surname>
          </string-name>
          ,
          <string-name>
            <given-names>K.-W.</given-names>
            <surname>Chang</surname>
          </string-name>
          ,
          <article-title>Gender Bias in Coreference Resolution: Evaluation and Debiasing Methods, in: Proceedings of the 2018 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies</article-title>
          , Volume
          <volume>2</volume>
          (
          <string-name>
            <surname>Short</surname>
            <given-names>Papers)</given-names>
          </string-name>
          ,
          <source>Association for Computational Linguistics</source>
          ,
          <year>2018</year>
          , pp.
          <fpage>15</fpage>
          -
          <lpage>20</lpage>
          . doi:
          <volume>10</volume>
          .18653/v1/
          <fpage>N18</fpage>
          -2003.
        </mixed-citation>
      </ref>
      <ref id="ref20">
        <mixed-citation>
          [20]
          <string-name>
            <given-names>J.</given-names>
            <surname>Zhao</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Fang</surname>
          </string-name>
          ,
          <string-name>
            <given-names>Z.</given-names>
            <surname>Shi</surname>
          </string-name>
          ,
          <string-name>
            <given-names>Y.</given-names>
            <surname>Li</surname>
          </string-name>
          ,
          <string-name>
            <given-names>L.</given-names>
            <surname>Chen</surname>
          </string-name>
          , M. Pechenizkiy,
          <article-title>CHBias: Bias Evaluation and Mitigation of Chinese Conversational Language Models, in: Proceedings of the 61st Annual Meeting of the Association for Computational Linguistics</article-title>
          (Volume
          <volume>1</volume>
          :
          <string-name>
            <surname>Long</surname>
            <given-names>Papers)</given-names>
          </string-name>
          ,
          <source>Association for Computational Linguistics</source>
          ,
          <year>2023</year>
          , pp.
          <fpage>13538</fpage>
          -
          <lpage>13556</lpage>
          . doi:
          <volume>10</volume>
          .18653/v1/
          <year>2023</year>
          .
          <article-title>acl-long</article-title>
          .
          <volume>757</volume>
          .
        </mixed-citation>
      </ref>
      <ref id="ref21">
        <mixed-citation>
          [21]
          <string-name>
            <surname>T. K</surname>
          </string-name>
          . et al.,
          <string-name>
            <surname>Natural Questions</surname>
          </string-name>
          :
          <article-title>A Benchmark for Question Answering Research, Transactions of the Association for Computational Linguistics 7 (</article-title>
          <year>2019</year>
          )
          <fpage>452</fpage>
          -
          <lpage>466</lpage>
          . doi:
          <volume>10</volume>
          .1162/tacl_a_
          <fpage>00276</fpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref22">
        <mixed-citation>
          [22]
          <string-name>
            <given-names>M.</given-names>
            <surname>Burnham</surname>
          </string-name>
          ,
          <string-name>
            <given-names>K.</given-names>
            <surname>Kahn</surname>
          </string-name>
          ,
          <string-name>
            <given-names>R. Y.</given-names>
            <surname>Wang</surname>
          </string-name>
          ,
          <string-name>
            <given-names>R. X.</given-names>
            <surname>Peng</surname>
          </string-name>
          ,
          <string-name>
            <surname>Political</surname>
            <given-names>DEBATE</given-names>
          </string-name>
          :
          <article-title>Eficient Zero-shot and Fewshot Classifiers for Political Text</article-title>
          ,
          <string-name>
            <surname>Political Analysis</surname>
          </string-name>
          (
          <year>2025</year>
          )
          <fpage>1</fpage>
          -
          <lpage>15</lpage>
          . doi:
          <volume>10</volume>
          .1017/pan.
          <year>2025</year>
          .
          <volume>10028</volume>
          . arXiv:
          <fpage>2409</fpage>
          .
          <year>02078</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref23">
        <mixed-citation>
          [23]
          <string-name>
            <surname>T. B. Brown</surname>
            ,
            <given-names>B.</given-names>
          </string-name>
          <string-name>
            <surname>Mann</surname>
            ,
            <given-names>N.</given-names>
          </string-name>
          <string-name>
            <surname>Ryder</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          <string-name>
            <surname>Subbiah</surname>
            ,
            <given-names>J.</given-names>
          </string-name>
          <string-name>
            <surname>Kaplan</surname>
            ,
            <given-names>P.</given-names>
          </string-name>
          <string-name>
            <surname>Dhariwal</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          <string-name>
            <surname>Neelakantan</surname>
            ,
            <given-names>P.</given-names>
          </string-name>
          <string-name>
            <surname>Shyam</surname>
            ,
            <given-names>G.</given-names>
          </string-name>
          <string-name>
            <surname>Sastry</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          <string-name>
            <surname>Askell</surname>
            ,
            <given-names>S.</given-names>
          </string-name>
          <string-name>
            <surname>Agarwal</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          <string-name>
            <surname>Herbert-Voss</surname>
            , G. Krueger,
            <given-names>T.</given-names>
          </string-name>
          <string-name>
            <surname>Henighan</surname>
            ,
            <given-names>R.</given-names>
          </string-name>
          <string-name>
            <surname>Child</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          <string-name>
            <surname>Ramesh</surname>
            ,
            <given-names>D. M.</given-names>
          </string-name>
          <string-name>
            <surname>Ziegler</surname>
            ,
            <given-names>J.</given-names>
          </string-name>
          <string-name>
            <surname>Wu</surname>
            ,
            <given-names>C.</given-names>
          </string-name>
          <string-name>
            <surname>Winter</surname>
            ,
            <given-names>C.</given-names>
          </string-name>
          <string-name>
            <surname>Hesse</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          <string-name>
            <surname>Chen</surname>
            , E. Sigler,
            <given-names>M.</given-names>
          </string-name>
          <string-name>
            <surname>Litwin</surname>
            ,
            <given-names>S.</given-names>
          </string-name>
          <string-name>
            <surname>Gray</surname>
            ,
            <given-names>B.</given-names>
          </string-name>
          <string-name>
            <surname>Chess</surname>
            ,
            <given-names>J.</given-names>
          </string-name>
          <string-name>
            <surname>Clark</surname>
            ,
            <given-names>C.</given-names>
          </string-name>
          <string-name>
            <surname>Berner</surname>
            ,
            <given-names>S.</given-names>
          </string-name>
          <string-name>
            <surname>McCandlish</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          <string-name>
            <surname>Radford</surname>
            ,
            <given-names>I.</given-names>
          </string-name>
          <string-name>
            <surname>Sutskever</surname>
            ,
            <given-names>D.</given-names>
          </string-name>
          <string-name>
            <surname>Amodei</surname>
          </string-name>
          ,
          <article-title>Language Models are Few-Shot Learners</article-title>
          , in: NeurIPS, volume
          <volume>33</volume>
          ,
          <string-name>
            <surname>Curran</surname>
            <given-names>Associates</given-names>
          </string-name>
          , Inc.,
          <year>2020</year>
          , pp.
          <fpage>1877</fpage>
          -
          <lpage>1901</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref24">
        <mixed-citation>
          [24]
          <string-name>
            <given-names>Y.</given-names>
            <surname>Zhao</surname>
          </string-name>
          ,
          <string-name>
            <given-names>V.</given-names>
            <surname>Efthymiou</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J.</given-names>
            <surname>Nummenmaa</surname>
          </string-name>
          , K. Stefanidis, ReFaRAG:
          <article-title>Re-ranking for Bias Mitigation in Retrieval-Augmented Generation</article-title>
          ,
          <source>in: New Trends in Database and Information Systems</source>
          ,
          <year>2026</year>
          ,
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>