{"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/unprocessing-seven-years-of-algorithmic","title":"Unprocessing Seven Years of Algorithmic Fairness","arxiv_id":"2306.07261","date":"2023-06-12","proceeding":null,"authors":["André F. Cruz","Moritz Hardt"],"abstract":"Seven years ago, researchers proposed a postprocessing method to equalize the error rates of a model across different demographic groups. The work launched hundreds of papers purporting to improve over the postprocessing baseline. We empirically evaluate these claims through thousands of model evaluations on several tabular datasets. We find that the fairness-accuracy Pareto frontier achieved by postprocessing contains all other methods we were feasibly able to evaluate. In doing so, we address two common methodological errors that have confounded previous observations. One relates to the comparison of methods with different unconstrained base models. The other concerns methods achieving different levels of constraint relaxation. At the heart of our study is a simple idea we call unprocessing that roughly corresponds to the inverse of postprocessing. Unprocessing allows for a direct comparison of methods using different underlying models and levels of relaxation.","url_abs":"https://arxiv.org/abs/2306.07261v5","url_pdf":"https://arxiv.org/pdf/2306.07261v5.pdf","source":{"archive":"pwc-archive (Hugging Face), CC BY-SA 4.0","snapshot":"2025-07-28","licence_url":"https://creativecommons.org/licenses/by-sa/4.0/legalcode","row_kind":"abstracts"},"code_links":[{"paper_slug":"unprocessing-seven-years-of-algorithmic","repo_url":"https://github.com/socialfoundations/error-parity","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":1,"framework":"none","reach":{"status":"ok","spdx":"MIT"}}],"tasks":[{"task_slug":"fairness","task_name":"Fairness"}],"methods":[{"method_slug":"base","method_name":"BASE"}],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"atlas_url":"https://app.syntology.ai/?focus=2306.07261","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2306.07261"}},"developers":"https://syntology.ai/developers","read_at":"2026-09-24T18:15:14+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":[{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/socialfoundations/error-parity","reach":{"status":"ok","spdx":"MIT"}}],"summary":{"unverified":14},"by_repo_kind":{"official":{"samples":14,"ran":0,"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":0,"samples":[{"code_sha256_prefix":"373e6932d3ceb321","entry":"calc_cost_of_point","repo":"socialfoundations/error-parity","repo_kind":"official","path":"error_parity/roc_utils.py","file_url":"https://github.com/socialfoundations/error-parity/blob/HEAD/error_parity/roc_utils.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"373e6932d3ceb321"}},{"code_sha256_prefix":"bea30f0c4191c10a","entry":"compute_binary_predictions","repo":"socialfoundations/error-parity","repo_kind":"official","path":"error_parity/binarize.py","file_url":"https://github.com/socialfoundations/error-parity/blob/HEAD/error_parity/binarize.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"bea30f0c4191c10a"}},{"code_sha256_prefix":"9f867f80ffa8598c","entry":"compute_global_roc_from_groupwise","repo":"socialfoundations/error-parity","repo_kind":"official","path":"error_parity/roc_utils.py","file_url":"https://github.com/socialfoundations/error-parity/blob/HEAD/error_parity/roc_utils.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"9f867f80ffa8598c"}},{"code_sha256_prefix":"cba32d01413e5673","entry":"compute_halfspace_inequality","repo":"socialfoundations/error-parity","repo_kind":"official","path":"error_parity/cvxpy_utils.py","file_url":"https://github.com/socialfoundations/error-parity/blob/HEAD/error_parity/cvxpy_utils.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"cba32d01413e5673"}},{"code_sha256_prefix":"d00d9d69efa4b9ee","entry":"compute_line","repo":"socialfoundations/error-parity","repo_kind":"official","path":"error_parity/cvxpy_utils.py","file_url":"https://github.com/socialfoundations/error-parity/blob/HEAD/error_parity/cvxpy_utils.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"d00d9d69efa4b9ee"}},{"code_sha256_prefix":"95616abc4aac0887","entry":"compute_roc_point_from_predictions","repo":"socialfoundations/error-parity","repo_kind":"official","path":"error_parity/roc_utils.py","file_url":"https://github.com/socialfoundations/error-parity/blob/HEAD/error_parity/roc_utils.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"95616abc4aac0887"}},{"code_sha256_prefix":"f23c0de3ee013200","entry":"eval_accuracy_and_equalized_odds","repo":"socialfoundations/error-parity","repo_kind":"official","path":"error_parity/evaluation.py","file_url":"https://github.com/socialfoundations/error-parity/blob/HEAD/error_parity/evaluation.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"f23c0de3ee013200"}},{"code_sha256_prefix":"17715daaa9040165","entry":"evaluate_fairness","repo":"socialfoundations/error-parity","repo_kind":"official","path":"error_parity/evaluation.py","file_url":"https://github.com/socialfoundations/error-parity/blob/HEAD/error_parity/evaluation.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"17715daaa9040165"}},{"code_sha256_prefix":"39cf6fea798aec32","entry":"evaluate_performance","repo":"socialfoundations/error-parity","repo_kind":"official","path":"error_parity/evaluation.py","file_url":"https://github.com/socialfoundations/error-parity/blob/HEAD/error_parity/evaluation.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"39cf6fea798aec32"}},{"code_sha256_prefix":"2c63f257596f927f","entry":"get_cost_envelope","repo":"socialfoundations/error-parity","repo_kind":"official","path":"error_parity/_commons.py","file_url":"https://github.com/socialfoundations/error-parity/blob/HEAD/error_parity/_commons.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"2c63f257596f927f"}},{"code_sha256_prefix":"6b67fcc092be21ed","entry":"get_envelope_of_postprocessing_frontier","repo":"socialfoundations/error-parity","repo_kind":"official","path":"error_parity/pareto_curve.py","file_url":"https://github.com/socialfoundations/error-parity/blob/HEAD/error_parity/pareto_curve.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"6b67fcc092be21ed"}},{"code_sha256_prefix":"63d28ab3fce7bb7d","entry":"is_pareto_efficient","repo":"socialfoundations/error-parity","repo_kind":"official","path":"error_parity/_commons.py","file_url":"https://github.com/socialfoundations/error-parity/blob/HEAD/error_parity/_commons.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"63d28ab3fce7bb7d"}},{"code_sha256_prefix":"9f640a34c00a2a55","entry":"is_part_of_convexhull","repo":"socialfoundations/error-parity","repo_kind":"official","path":"error_parity/_commons.py","file_url":"https://github.com/socialfoundations/error-parity/blob/HEAD/error_parity/_commons.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"9f640a34c00a2a55"}},{"code_sha256_prefix":"01c4318cc6a2bdb8","entry":"make_cvxpy_halfspace_inequality","repo":"socialfoundations/error-parity","repo_kind":"official","path":"error_parity/cvxpy_utils.py","file_url":"https://github.com/socialfoundations/error-parity/blob/HEAD/error_parity/cvxpy_utils.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"01c4318cc6a2bdb8"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}