{"about":{"site":"https://codewithpapers.app","non_affiliation":"Code with Papers and Syntology are not affiliated with, endorsed by, or sponsored by Papers with Code, Meta, or the pwc-archive mirror.","licence":"CC BY-SA 4.0","licence_url":"https://creativecommons.org/licenses/by-sa/4.0/legalcode","attribution":"https://codewithpapers.app/attribution","modified":"archive material modified by Syntology; see the attribution page"},"url":"/paper/arxiv-2601-20848","title":"Post-Training Fairness Control: A Single-Train Framework for Dynamic Fairness in Recommendation","arxiv_id":"2601.20848","date":"2026-01-28","proceeding":null,"authors":["Weixin Chen","Li Chen","Yuhan Zhao"],"abstract":"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.","url_abs":"https://arxiv.org/abs/2601.20848","url_pdf":"https://arxiv.org/pdf/2601.20848","source":{"archive":null,"snapshot":"2025-07-28","note":"not in the Papers with Code archive (frozen at the snapshot)","row_kind":"graph","title_abstract_authors_date":"arXiv metadata, CC0 1.0 (https://info.arxiv.org/help/license)"},"code_links":[],"tasks":[],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"syntology_url":"https://syntology.ai/paper/2601.20848","atlas_url":"https://app.syntology.ai/?focus=2601.20848","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2601.20848"}},"developers":"https://syntology.ai/developers","read_at":"2026-09-25T09:33:49+00:00","read_at_is":"when the build read Syntology's graph, not when any sample ran","claim":"Per-sample execution status on synthesized fixtures; not a correctness claim about the paper. Samples come from repositories linked to the paper, official or community; repo_kind says which.","repos":[{"mentioned_in_github":null,"is_official":null,"provenance":"deterministic:regex_extraction","mentioned_in_paper":null,"url":"https://github.com/weixinchen98/Cofair","reach":null}],"summary":{"ran":3,"unverified":2},"by_repo_kind":{"found_in_text":{"samples":5,"ran":3,"repositories":1}},"repo_kind_vocabulary":{"official":"The archive marks this repository official for the paper","named_in_paper":"The archive records that the paper mentions this repository; it is not marked official","listed":"In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper","found_in_text":"Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted","community":"Not in the archive's code links for this paper; a community repository Syntology harvested"},"n_pointer_only_for_licence":5,"samples":[{"code_sha256_prefix":"893682483a99bb39","entry":"BPRLoss","repo":"weixinchen98/Cofair","repo_kind":"found_in_text","path":"src/models/fairness_models/dspt1.py","file_url":"https://github.com/weixinchen98/Cofair/blob/HEAD/src/models/fairness_models/dspt1.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":"deterministic","behaviour_fingerprint":true,"licence":"GPL-3.0","inline_ok":false,"mcp_get_code":{"code_sha256":"893682483a99bb39"}},{"code_sha256_prefix":"7990b00de99a2485","entry":"EmbLoss","repo":"weixinchen98/Cofair","repo_kind":"found_in_text","path":"src/models/fairness_models/dspt1.py","file_url":"https://github.com/weixinchen98/Cofair/blob/HEAD/src/models/fairness_models/dspt1.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":"deterministic","behaviour_fingerprint":false,"licence":"GPL-3.0","inline_ok":false,"mcp_get_code":{"code_sha256":"7990b00de99a2485"}},{"code_sha256_prefix":"59c7647ae6fc24cd","entry":"GeneralRecommender","repo":"weixinchen98/Cofair","repo_kind":"found_in_text","path":"src/models/fairness_models/dspt1.py","file_url":"https://github.com/weixinchen98/Cofair/blob/HEAD/src/models/fairness_models/dspt1.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":"deterministic","behaviour_fingerprint":false,"licence":"GPL-3.0","inline_ok":false,"mcp_get_code":{"code_sha256":"59c7647ae6fc24cd"}},{"code_sha256_prefix":"c6f283a885d38f90","entry":"AbstractRecommender","repo":"weixinchen98/Cofair","repo_kind":"found_in_text","path":"src/models/fairness_models/dspt1.py","file_url":"https://github.com/weixinchen98/Cofair/blob/HEAD/src/models/fairness_models/dspt1.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"GPL-3.0","inline_ok":false,"mcp_get_code":{"code_sha256":"c6f283a885d38f90"}},{"code_sha256_prefix":"b1a90f6a94a4e43d","entry":"DSPT1","repo":"weixinchen98/Cofair","repo_kind":"found_in_text","path":"src/models/fairness_models/dspt1.py","file_url":"https://github.com/weixinchen98/Cofair/blob/HEAD/src/models/fairness_models/dspt1.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"GPL-3.0","inline_ok":false,"mcp_get_code":{"code_sha256":"b1a90f6a94a4e43d"}}]},"arxiv_metadata":{"licence":"arXiv metadata, CC0 1.0 (https://info.arxiv.org/help/license)","fields":["title","abstract","authors","date"],"primary_category":"cs.LG","source":"arxiv_2026.jsonl"},"syntology_extracted_results":null}