TLDR: A new study evaluates six state-of-the-art Large Language Models (LLMs) for fairness in academic library virtual reference services. Researchers found no significant racial or ethnic bias, and only minor sex-based bias in one model. Crucially, LLMs demonstrated sophisticated adaptation to users’ institutional roles, adjusting formality and vocabulary in line with professional communication norms. The findings suggest LLMs are largely ready for equitable and contextually appropriate use in libraries, while also providing a new protocol for ongoing fairness evaluation.
A recent study delves into a crucial question for academic libraries considering the use of large language models (LLMs) for virtual reference services: Can these AI systems serve all users fairly, regardless of their background or social standing? As libraries aim to provide accessible and equitable information, the potential for LLMs to unintentionally reproduce societal biases from their training data is a significant concern.
The research, titled “FAIRNESS EVALUATION OF LARGE LANGUAGE MODELS IN ACADEMIC LIBRARY REFERENCE SERVICES,” was conducted by a team of authors including Haining Wang, Jason Clark, Yueru Yan, Star Bradley, Ruiyang Chen, Yiqiong Zhang, Hengyi Fu, and Zuoyu Tian. Their work provides valuable insights into how current LLMs perform in terms of fairness and contextual appropriateness.
Evaluating Fairness in LLMs
To address concerns about bias, the researchers evaluated six state-of-the-art LLMs by prompting them to assist fictional patrons with varying demographics, including sex, race/ethnicity, and institutional roles (such as undergraduate student, faculty, or outside user). They developed a unique Fairness Evaluation Protocol (FEP) that combines automated bias detection with detailed linguistic analysis. This two-phase approach first identifies any systematic differences in LLM responses across groups and then interprets whether these differences represent problematic bias or appropriate contextual adjustments.
The study’s methodology involved creating synthetic user queries, designed as emails to virtual librarians. Each email included a query template, a name (providing cues about sex and race/ethnicity), and an explicit patron type. The LLMs were configured to act as helpful, respectful, and honest librarians. A substantial corpus of 2,500 responses was generated for most models, allowing for robust analysis.
Key Findings on Bias and Accommodation
The study yielded several important findings regarding LLM fairness:
- Racial and Ethnic Neutrality: The research found no significant evidence that LLMs differentiate responses based on a user’s race or ethnicity. This is an encouraging result, suggesting that these models largely avoid the racial biases sometimes observed in human-delivered reference services.
- Minimal Sex-Based Bias: Most LLMs treated male and female patrons equitably. Only one model, Llama-3.1, showed minor evidence of a stereotypical bias, using the salutation “dear” more frequently for female users. However, this was a relatively mild pattern and not indicative of discriminatory content.
- Nuanced Institutional Role Accommodation: LLMs demonstrated a sophisticated ability to adjust their responses based on the patron’s institutional role. This was evident through linguistic choices related to formality, politeness, and the use of domain-specific vocabulary. For example, LLMs adjusted their use of formal greetings like “dear” and closings like “regards” based on the patron’s status, often reserving “dear” for graduate students and “regards” for faculty or staff. They also used more research-oriented vocabulary when interacting with faculty or external researchers, aligning with professional communication norms rather than discriminatory treatment.
These findings suggest that current LLMs show a promising degree of readiness to support equitable and contextually appropriate communication in academic library reference services. The ability of LLMs to adapt their communication style to different patron types, reflecting professional norms, is a significant step forward.
Also Read:
- AI Models Streamline Metadata Creation for Data Catalogs
- Assessing Large Language Models for Text Summarization: A Deep Dive into Prompt Engineering and Performance
Implications for Libraries
The study highlights that while LLMs can offer scalable support and democratize access to information, libraries must carefully select and prompt these models to align with their desired communication standards. The Fairness Evaluation Protocol developed in this study is a valuable tool for libraries and similar institutions to audit the fairness and understand the behavior of their LLM-based services. It is model-agnostic and can be used for continuous monitoring, which is crucial as LLMs continue to evolve.
While LLMs show great potential for handling routine reference inquiries, human librarians remain essential for complex, ethical, or emotionally nuanced interactions. By leveraging LLMs for basic tasks, librarians could potentially free up time to focus on more in-depth research assistance, direct instruction, and other high-impact activities, ultimately increasing the reach and awareness of library services.
For more detailed information, you can access the full research paper here.


