SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2006.12589 · 2020

Distributional Individual Fairness in Clustering

arXiv · PDF · Open in the Atlas

Code that ran

3 of 5 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; 1 honoured the contract we drafted, 0 violated it and 0 have no contract verdict; 2 failures of our instrument; 2 no recorded run), measured 2026-11-22; 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/2006.12589.json · badge: /api/ran/2006.12589.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
nihesh/distributional_individual_fairness_in_clustering canonical (classifier label)
classifier basis: classifier_2025
3 ran · 2 no recorded run
FunctionStatusWhere it lives
LoadPickledData Ran
ran, honoured the contract we drafted
nihesh/distributional_individual_fairness_in_clustering/kmeans.py
pointer only (licence: NONE) · get_code("7114be38d48af41b")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, nihesh/distributional_individual_fairness_in_clustering when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

PrintSimulationParameters Ran
ran; our contract draft was wrong, not the code
nihesh/distributional_individual_fairness_in_clustering/kmeans.py
pointer only (licence: NONE) · get_code("641c6d9c9aafe08f")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, nihesh/distributional_individual_fairness_in_clustering when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

SampleAndAssign Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
nihesh/distributional_individual_fairness_in_clustering/inference.py
pointer only (licence: NONE) · get_code("a8677712dd6b46bf")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, nihesh/distributional_individual_fairness_in_clustering when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

FindClusters Not yet run
unverified (harvested, no recorded run)
nihesh/distributional_individual_fairness_in_clustering/kmeans.py
pointer only (licence: NONE) · get_code("efc9461296cd1ae5")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, nihesh/distributional_individual_fairness_in_clustering when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

pnnDiffClusterPercentage Not yet run
unverified (harvested, no recorded run)
nihesh/distributional_individual_fairness_in_clustering/inference.py
pointer only (licence: NONE) · get_code("e9bcdfcda47d9a26")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, nihesh/distributional_individual_fairness_in_clustering when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

Also present in other papers' code

Of 5 samples lifted from this paper's linked repositories, 5 carry a function identity and 0 do not. Of the 5 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 5 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-22.

Repositories linked to this paper

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

Abstract

In this paper, we initiate the study of fair clustering that ensures distributional similarity among similar individuals. In response to improving fairness in machine learning, recent papers have investigated fairness in clustering algorithms and have focused on the paradigm of statistical parity/group fairness. These efforts attempt to minimize bias against some protected groups in the population. However, to the best of our knowledge, the alternative viewpoint of individual fairness, introduced by Dwork et al. (ITCS 2012) in the context of classification, has not been considered for clustering so far. Similar to Dwork et al., we adopt the individual fairness notion which mandates that similar individuals should be treated similarly for clustering problems. We use the notion of $f$-divergence as a measure of statistical similarity that significantly generalizes the ones used by Dwork et al. We introduce a framework for assigning individuals, embedded in a metric space, to probability distributions over a bounded number of cluster centers. The objective is to ensure (a) low cost of clustering in expectation and (b) individuals that are close to each other in a given fairness space are mapped to statistically similar distributions. We provide an algorithm for clustering with $p$-norm objective ($k$-center, $k$-means are special cases) and individual fairness constraints with provable approximation guarantee. We extend this framework to include both group fairness and individual fairness inside the protected groups. Finally, we observe conditions under which individual fairness implies group fairness. We present extensive experimental evidence that justifies the effectiveness of our approach.

For agents

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

get_harvested_code_for_paper("2006.12589")
get_code_for_paper("2006.12589")
have("2006.12589")

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

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

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

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

Connect an agent — have() is free.