Position: LLMs Must Use Functor-Based and RAG-Driven Bias Mitigation for Fairness
Ravi Ranjan, Utkarsh Grover, Agorista Polyzou

TL;DR
This paper advocates for a dual approach to mitigate biases in large language models by combining category-theoretic transformations for structural bias removal and retrieval-augmented generation for contextual bias correction, aiming for fairer AI outputs.
Contribution
It introduces a novel integrated framework that combines functor-based bias mitigation with retrieval-augmented generation to enhance fairness in LLMs.
Findings
Category-theoretic transformations effectively reduce bias while preserving semantics.
Retrieval-augmented generation provides dynamic, context-aware bias correction.
The combined approach offers a robust pathway to fairer language model outputs.
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…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsTopic Modeling · Ethics and Social Impacts of AI · Computational and Text Analysis Methods
