4. Algorithms

FairLangProc provides a comprehensive suite of bias mitigation processors for Large Language Models.

4.1. Supported processors

Fairness processors can be classified according to their stage in the Machine Learning pipeline:

  • Pre-processors: Fairness processors that modify the model inputs (data augmentation, embedding projection,…).

  • In-processors: Fairness processors that modify the training process (regularizers, adapters,…).

  • Intra-processors: Fairness processors that modify the model’s behavior without further training (attention scaling,…).

The supported methods are:

Note

Different algorithms have different trade-offs. See our tutorials for more detailed comparisons of fairness-accuracy tradeoffs.

See also