cs.CLMar 7, 2026

Position: LLMs Must Use Functor-Based and RAG-Driven Bias Mitigation for Fairness

Authors: Ravi Ranjan, Utkarsh Grover, Agorista Polyzou

Organizations: Knight Foundation School of Computing and Information Sciences, Florida International University, Miami, FL 33199 · College of Engineering, University of South Florida, Tampa, FL 33620

Abstract

Biases in large language models (LLMs) often manifest as systematic distortions in associations between demographic attributes and professional or social roles, reinforcing harmful stereotypes across gender, ethnicity, and geography. This position paper advocates for addressing demographic and gender biases in LLMs through a dual-pronged methodology, integrating category-theoretic transformations and retrieval-augmented generation (RAG). Category theory provides a rigorous, structure-preserving mathematical framework that maps biased semantic domains to unbiased canonical forms via functors, ensuring bias elimination while preserving semantic integrity. Complementing this, RAG dynamically injects diverse, up-to-date external knowledge during inference, directly countering ingrained biases within model parameters. By combining structural debiasing through functor-based mappings and contextual grounding via RAG, we outline a comprehensive framework capable of delivering equitable and fair model outputs. Our synthesis of the current literature validates the efficacy of each approach individually, while addressing potential critiques demonstrates the robustness of this integrated strategy. Ensuring fairness in LLMs, therefore, demands both the mathematical rigor of category-theoretic transformations and the adaptability of retrieval augmentation.

Figures & tables

Explore similar work

CardsList
  1. CatRAG: Functor-Guided Structural Debiasing with Retrieval Augmentation for Fair LLMs

    Mar 23, 2026Ravi Ranjan, Utkarsh Grover, Mayur Akewar +2Language Model DebiasingSocial Bias in Language Models

  2. Collective Bias Mitigation via Model Routing and Collaboration

    Oct 2, 2026Mingzhe Du, Luu Anh Tuan, Xiaobao Wu +7Social Bias in Language ModelsDemographic Bias in Language Models