SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2307.11333 · ICLR · 2024

DEMYSTIFYING LOCAL & GLOBAL FAIRNESS TRADE-OFFS IN FEDERATED LEARNING USING PARTIAL INFORMATION DECOMPOSITION

Sanghamitra Dutta, Faisal Hamman

arXiv · PDF · Open in the Atlas

Code that ran

1 of 1 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (0 of them constructed an object rather than computing a result; 0 honoured the contract we drafted, 0 violated it and 0 have no contract verdict; 1 failure of our instrument; 0 no recorded run), measured 2026-11-23; repository links from the Papers with Code archive attributed under CC BY-SA, no affiliation; bodies inline only under a permissive licence as GitHub detects it. Not a reproduction of the paper's results.

"Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results. This record, dated, as JSON: /api/ran/2307.11333.json · badge: /api/ran/2307.11333.svg

Each repository's role is a label: a classifier's output recorded on the link, or, where no role is recorded, what the Papers with Code archive marked. The line under it names its basis. Neither says who wrote the code.

RepositoryRoleRan
faisalhamman/fairfl-pid canonical (classifier label)
classifier basis: classifier_2025
1 ran · 0 no recorded run
FunctionStatusWhere it lives
solve_LAFOP_multireg Ran
ran; our contract draft was wrong, not the code
faisalhamman/fairfl-pid/FACT/lin_opt.py
code served (permissive licence) · get_code("a1fcb99dee88a542")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1) and returned OptimizeResult. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import numpy as np

# Set random seed for reproducibility
np.random.seed(0)

# Define dimensions
d = 8  # dimension of x (must be divisible by 4 for the pos_idx/neg_idx logic)
m_const = 2  # number of equality constraints
num_regs = 3  # number of regularization terms

# A: matrix for phi(x) = A @ x
# Shape: (m_phi, d) where m_phi is the output dimension of phi
m_phi = 6
A = np.random.randn(m_phi, d)

# A_const: constraint matrix for equality constraints A_const @ x = b_const
# Shape: (m_const, d)
A_const = np.random.randn(m_const, d)

# b_const: constraint vector
# Shape: (m_const,) or (m_const, 1)
b_const = np.random.randn(m_const, 1)

# lmbd: regularization weights, one per regularization term
lmbd = np.array([0.01, 0.02, 0.03])

# names: names for each regularization term
names = ['reg1', 'reg2', 'reg3']

# As: list of matrices for each regularization term
# Each As[i] has shape (size_i, m_phi) where size_i is the dimension of the i-th loss_phi output
# The sizes must sum to m_phi (since loss_phi splits p into chunks)
sizes = [2, 2, 2]  # three regularization terms with sizes 2, 2, 2
As = [np.random.randn(size, m_phi) for size in sizes]

# seed for reproducibility
seed = 42

ARGS = {
    'A': A,
    'A_const': A_const,
    'b_const': b_const,
    'lmbd': lmbd,
    'names': names,
    'As': As,
    'seed': seed
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1
Imports
numpy, scipy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type OptimizeResult — a OptimizeResult output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a OptimizeResult output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block

Also present in other papers' code

Of 1 samples lifted from this paper's linked repositories, 1 carry a function identity and 0 do not. Of the 1 distinct functions with an identity, 0 are also present in other papers whose code we hold (0 with at least one paper dated earlier, 0 the same month, 0 later) and 1 are only here among the 52,977 papers whose code Syntology holds (as of 2026-09-26).

Only here means: among the 52,977 papers whose code Syntology holds (51,887 with lifted samples, 1,090 through their assemblies only), as of 2026-09-26, no other paper's lifted samples or current assembly bricks contain an identical function body after normalisation.

Presence, not direction: an identical function body in two papers' repositories does not say who wrote it, which came from which, or that either paper's method rests on it. Matching is exact after normalisation, so a renamed or edited function is not matched. Dates are when papers appeared, not when code was written. Only .py files the harvester lifted are covered; notebooks are not read. A new-style arXiv id YYMM.NNNN dates a paper to the month 20YY-MM; otherwise Paper.year dates it to the year; otherwise it is undated. Dates are when the paper appeared, not when the code was written. Read 2026-11-23.

Repositories linked to this paper

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

Abstract

This work presents an information-theoretic perspective to group fairness trade-offs in federated learning (FL) with respect to sensitive attributes, such as gender, race, etc. Existing works often focus on either global fairness (overall disparity of the model across all clients) or local fairness (disparity of the model at each client), without always considering their trade-offs. There is a lack of understanding regarding the interplay between global and local fairness in FL, particularly under data heterogeneity, and if and when one implies the other. To address this gap, we leverage a body of work in information theory called partial information decomposition (PID), which first identifies three sources of unfairness in FL, namely, Unique Disparity, Redundant Disparity, and Masked Disparity. We demonstrate how these three disparities contribute to global and local fairness using canonical examples. This decomposition helps us derive fundamental limits on the trade-off between global and local fairness, highlighting where they agree or disagree. We introduce the Accuracy and Global-Local Fairness Optimality Problem (AGLFOP), a convex optimization that defines the theoretical limits of accuracy and fairness trade-offs, identifying the best possible performance any FL strategy can attain given a dataset and client distribution. We also present experimental results on synthetic datasets and the ADULT dataset to support our theoretical findings. 1

For agents

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

get_harvested_code_for_paper("2307.11333")
get_code_for_paper("2307.11333")
have("2307.11333")

The run record, dated, one paper per request, free:

curl https://syntology.ai/api/ran/2307.11333.json

A badge for a README (the split and the date, never a ratio):

[![Syntology run record](https://syntology.ai/api/ran/2307.11333.svg)](https://syntology.ai/paper/2307.11333)

Connect an agent — have() is free.