Published December 10, 2025 | Version 1.0
Software Open

SOLAR-group/FairRF: FairRF

  • 1. University of L'Aquila
  • 2. ROR icon Simula Research Laboratory
  • 3. ROR icon University College London

Description

FairRF

This repository contains the code for the paper "FairRF: Multi-Objective Search for Single and Intersectional Software Fairness", accepted for publication at ICSE-SEIS 2026.

Repository Structure

  • analysis: Contains the raw data and the jupyter notebooks used for the analysis and the generation of the plots.
  • baseline: Contains the code to run the base classification models (RQ2).
  • baseline_intersectional: Contains the code to run the FairHOME approach for intersectional fairness (RQ4).
  • bias_mitigation_methods: Contains the results of the state-of-the-art bias mitigation methods used for comparison (RQ3).
  • fair_rf: Contains the implementation of FairRF and its variants (RQ1).
  • fair_rf_multi_attribute: Contains the implementation of FairRF for intersectional fairness (RQ4).
  • random_search: Contains the implementation of the random search algorithm used as a baseline for comparison (RQ2).

In all folders, we provide a run_all.sh script to reproduce the experiments.

Installation

Install Python 3.9 or higher.

Conda

To create the conda environment, run:

conda env create -f environment.yml
conda activate mutrf

Pip

Alternatively, you can install the required packages using pip:

pip install -r requirements.txt

Datasets

Follow the instructions reported here https://github.com/Trusted-AI/AIF360/tree/7c4f172f4a81b1d14d19400e95c468aaf3134952/aif360/data to download the datasets used in the paper.

Files

SOLAR-group/FairRF-1.0.zip

Files (6.9 MB)

Name Size Download all
md5:a8cb8cd03b7cbc5accff13d102464890
6.9 MB Preview Download

Additional details

Related works

Is supplement to
Software: https://github.com/SOLAR-group/FairRF/tree/1.0 (URL)