Li Chen, Weixin Chen, Yuhan Zhao
We lifted 5 functions out of this paper's own repositories and ran 3 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.
| Repository | Role | Ran |
|---|---|---|
| weixinchen98/Cofair | — | 3 of 5 |
| Function | Status | Where it lives |
|---|---|---|
| BPRLoss | Ran | weixinchen98/Cofair/src/models/fairness_models/dspt1.py pointer only (licence: GPL-3.0) · get_code("893682483a99bb39") |
| EmbLoss | Ran | weixinchen98/Cofair/src/models/fairness_models/dspt1.py pointer only (licence: GPL-3.0) · get_code("7990b00de99a2485") |
| GeneralRecommender | Ran | weixinchen98/Cofair/src/models/fairness_models/dspt1.py pointer only (licence: GPL-3.0) · get_code("59c7647ae6fc24cd") |
| AbstractRecommender | Not yet run | weixinchen98/Cofair/src/models/fairness_models/dspt1.py pointer only (licence: GPL-3.0) · get_code("c6f283a885d38f90") |
| DSPT1 | Not yet run | weixinchen98/Cofair/src/models/fairness_models/dspt1.py pointer only (licence: GPL-3.0) · get_code("b1a90f6a94a4e43d") |
Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.
Despite growing efforts to mitigate unfairness in recommender systems, existing fairness-aware methods typically fix the fairness requirement at training time and provide limited post-training flexibility. However, in real-world scenarios, diverse stakeholders may demand differing fairness requirements over time, so retraining for different fairness requirements becomes prohibitive. To address this limitation, we propose Cofair, a single-train framework that enables post-training fairness control in recommendation. Specifically, Cofair introduces a shared representation layer with fairness-conditioned adapter modules to produce user embeddings specialized for varied fairness levels, along with a user-level regularization term that guarantees user-wise monotonic fairness improvements across these levels. We theoretically establish that the adversarial objective of Cofair upper bounds demographic parity and the regularization term enforces progressive fairness at user level. Comprehensive experiments on multiple datasets and backbone models demonstrate that our framework provides dynamic fairness at different levels, delivering comparable or better fairness-accuracy curves than state-of-the-art baselines, without the need to retrain for each new fairness requirement. Our code is publicly available at https://github.com/weixinchen98/Cofair/.
The same record, over MCP at https://syntology.ai/mcp:
get_harvested_code_for_paper("2601.20848")
get_code_for_paper("2601.20848")
have("2601.20848")
Connect an agent — have() is free.