SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2407.17459 · 2024

Hidden or Inferred: Fair Learning-To-Rank with Unknown Demographics

arXiv · PDF · Open in the Atlas

Code that ran

We lifted 17 functions out of this paper's own repositories and ran 12 of them in a sandbox. "Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results.

RepositoryRoleRan
sewen007/hoiltr canonical 12 of 17
FunctionStatusWhere it lives
MARC Ran sewen007/hoiltr/HOIRank/data_analysis/ARC.py
code served (permissive licence) · get_code("41a8fca30baa973d")
Z Ran sewen007/hoiltr/HOIRank/data_analysis/ValidInputs.py
code served (permissive licence) · get_code("6aa8a03e240c13b8")
Z_Vector Ran sewen007/hoiltr/HOIRank/data_analysis/ValidInputs.py
code served (permissive licence) · get_code("da9eb00bc46a9af2")
avg_pos_diff_ndcg Ran sewen007/hoiltr/HOIRank/data_analysis/avg_pos_dif.py
code served (permissive licence) · get_code("79146393cf59a664")
avg_pos_diff_skew Ran sewen007/hoiltr/HOIRank/data_analysis/avg_pos_dif.py
code served (permissive licence) · get_code("ccdafee51fd54c94")
exposure_ratio Ran sewen007/hoiltr/HOIRank/data_analysis/avgExp.py
code served (permissive licence) · get_code("7b97ab5c1933e24d")
extract_string Ran sewen007/hoiltr/HOIRank/data_analysis/calculate_metrics.py
code served (permissive licence) · get_code("bb3886f125bb7628")
get_files Ran sewen007/hoiltr/HOIRank/data_analysis/combine.py
code served (permissive licence) · get_code("434b485a4d4b996f")
kT Ran sewen007/hoiltr/HOIRank/data_analysis/kendallTau.py
code served (permissive licence) · get_code("b4b069e72cf8355d")
prob Ran sewen007/hoiltr/HOIRank/data_analysis/ValidInputs.py
code served (permissive licence) · get_code("2402d86e1a293756")
substring_match Ran sewen007/hoiltr/HOIRank/data_analysis/calculate_metrics.py
code served (permissive licence) · get_code("d35a2badd140bf8e")
updated_value Ran sewen007/hoiltr/HOIRank/data_analysis/combine.py
code served (permissive licence) · get_code("7e62f90b778e354e")
NDCG Not yet run sewen007/hoiltr/HOIRank/data_analysis/NDCG.py
code served (permissive licence) · get_code("214998a5c54ed783")
NDKL Not yet run sewen007/hoiltr/HOIRank/data_analysis/NDKL.py
code served (permissive licence) · get_code("72afe6bc46003fb9")
avg_exp Not yet run sewen007/hoiltr/HOIRank/data_analysis/avgExp.py
code served (permissive licence) · get_code("3a7ce8e8a2119f94")
dp_exp Not yet run sewen007/hoiltr/HOIRank/data_analysis/avgExp.py
code served (permissive licence) · get_code("c20e980dc033dd19")
skew Not yet run sewen007/hoiltr/HOIRank/data_analysis/skew.py
code served (permissive licence) · get_code("47d147d4a32387a5")

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

Abstract

As learning-to-rank models are increasingly deployed for decision-making in areas with profound life implications, the FairML community has been developing fair learning-to-rank (LTR) models. These models rely on the availability of sensitive demographic features such as race or sex. However, in practice, regulatory obstacles and privacy concerns protect this data from collection and use. As a result, practitioners may either need to promote fairness despite the absence of these features or turn to demographic inference tools to attempt to infer them. Given that these tools are fallible, this paper aims to further understand how errors in demographic inference impact the fairness performance of popular fair LTR strategies. In which cases would it be better to keep such demographic attributes hidden from models versus infer them? We examine a spectrum of fair LTR strategies ranging from fair LTR with and without demographic features hidden versus inferred to fairness-unaware LTR followed by fair re-ranking. We conduct a controlled empirical investigation modeling different levels of inference errors by systematically perturbing the inferred sensitive attribute. We also perform three case studies with real-world datasets and popular open-source inference methods. Our findings reveal that as inference noise grows, LTR-based methods that incorporate fairness considerations into the learning process may increase bias. In contrast, fair re-ranking strategies are more robust to inference errors. All source code, data, and experimental artifacts of our experimental study are available here: https://github.com/sewen007/hoiltr.git

For agents

The same record, over MCP at https://syntology.ai/mcp:

get_harvested_code_for_paper("2407.17459")
get_code_for_paper("2407.17459")
have("2407.17459")

Connect an agent — have() is free.