FairLangProc: A Python package for fairness in NLP
2508.03677v1
cs.CL, stat.ML, 68T50, I.2.7
2025-08-09
Авторы:
Arturo Pérez-Peralta, Sandra Benítez-Peña, Rosa E. Lillo
Резюме на русском
В последние годы широкое распространение Больших Языковых Моделей вызвало общественные сомнения о их справедливости при принятии решений в критических сферах, таких как организационная справедливость и здравоохранение. Это привело к развитию многочисленных подходов к измерению и уменьшению биаса в Натуральном Языковом Процессинге. Однако существующие данные, метрики и алгоритмы для этих целей широко различаются и не централизованы. В ответ на эту проблему авторы представляют FairLangProc — пакет Python, реализующий современные техники снижения биаса в NLP. Он интегрируется с библиотекой Hugging Face transformers и ставит целью популяризовать методы устранения предубеждений. Этот инструмент облегчает доступ к технологиям справедливости в NLP, способствуя их широкому применению и демократизации.
Abstract
The rise in usage of Large Language Models to near ubiquitousness in recent
years has risen societal concern about their applications in decision-making
contexts, such as organizational justice or healthcare. This, in turn, poses
questions about the fairness of these models in critical settings, which leads
to the developement of different procedures to address bias in Natural Language
Processing. Although many datasets, metrics and algorithms have been proposed
to measure and mitigate harmful prejudice in Natural Language Processing, their
implementation is diverse and far from centralized. As a response, this paper
presents FairLangProc, a comprehensive Python package providing a common
implementation of some of the more recent advances in fairness in Natural
Language Processing providing an interface compatible with the famous Hugging
Face transformers library, aiming to encourage the widespread use and
democratization of bias mitigation techniques. The implementation can be found
on https://github.com/arturo-perez-peralta/FairLangProc.