SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2311.07054 · 2023

A Study of Implicit Ranking Unfairness in Large Language Models

arXiv · PDF · Open in the Atlas

Code that ran

7 of 8 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; 6 failures of our instrument; 1 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/2311.07054.json · badge: /api/ran/2311.07054.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
xuchen0427/implicit_rank_unfairness canonical (classifier label)
classifier basis: census
7 ran · 1 no recorded run
FunctionStatusWhere it lives
PrepareDataForPairProbing Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
xuchen0427/implicit_rank_unfairness/prepare_data.py
pointer only (licence: NONE) · get_code("0bbf001fcfa34ea0")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, xuchen0427/implicit_rank_unfairness 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.

PrepareDataForPointProbing Ran
ran, honoured the contract we drafted
xuchen0427/implicit_rank_unfairness/prepare_data.py
pointer only (licence: NONE) · get_code("95fa5037e486fe3e")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, xuchen0427/implicit_rank_unfairness 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.

api_endpoint_from_url Ran
ran; our contract draft was wrong, not the code
xuchen0427/implicit_rank_unfairness/API/openai.py
pointer only (licence: NONE); the stored copy get_code serves, from rainym00d/llm4rs, is pointer only (licence: NONE) · get_code("029e43dc002f78a4")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, xuchen0427/implicit_rank_unfairness 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.

generate_prompt Ran
ran; our contract draft was wrong, not the code
xuchen0427/implicit_rank_unfairness/train_llama.py
pointer only (licence: NONE) · get_code("31b0d67913003d72")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, xuchen0427/implicit_rank_unfairness 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.

load_pair_model Ran
ran; our contract draft was wrong, not the code
xuchen0427/implicit_rank_unfairness/rank_model.py
pointer only (licence: NONE) · get_code("a23e38819756489b")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, xuchen0427/implicit_rank_unfairness 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.

load_point_model Ran
ran; our contract draft was wrong, not the code
xuchen0427/implicit_rank_unfairness/rank_model.py
pointer only (licence: NONE) · get_code("61e49605fd4ef1cc")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, xuchen0427/implicit_rank_unfairness 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.

read_embs_from_file Ran
ran; our contract draft was wrong, not the code
xuchen0427/implicit_rank_unfairness/prepare_data.py
pointer only (licence: NONE) · get_code("b0d8c94254fea6bb")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, xuchen0427/implicit_rank_unfairness 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.

num_tokens_consumed_from_request Not yet run
unverified (harvested, no recorded run)
xuchen0427/implicit_rank_unfairness/API/openai.py
pointer only (licence: NONE) · get_code("766df5c74af871f7")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, xuchen0427/implicit_rank_unfairness 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 8 samples lifted from this paper's linked repositories, 8 carry a function identity and 0 do not. Of the 8 distinct functions with an identity, 2 are also present in other papers whose code we hold (1 with at least one paper dated earlier, 0 the same month, 1 later) and 6 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.

FunctionAlso present inEarliest-datedOthers named
generate_prompt 2 other papers
2 later
2410.05165 (2024-10)
Efficient Inference for Large Language Model-based Generative Recommendation
2601.22925 (2026-01)
BEAR: Towards Beam-Search-Aware Optimization for Recommendation with Large Language Models
api_endpoint_from_url 1 other paper
1 dated earlier
2305.02182 (2023-05)
Uncovering ChatGPT's Capabilities in Recommender Systems

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

Recently, Large Language Models (LLMs) have demonstrated a superior ability to serve as ranking models. However, concerns have arisen as LLMs will exhibit discriminatory ranking behaviors based on users' sensitive attributes (\eg gender). Worse still, in this paper, we identify a subtler form of discrimination in LLMs, termed \textit{implicit ranking unfairness}, where LLMs exhibit discriminatory ranking patterns based solely on non-sensitive user profiles, such as user names. Such implicit unfairness is more widespread but less noticeable, threatening the ethical foundation. To comprehensively explore such unfairness, our analysis will focus on three research aspects: (1) We propose an evaluation method to investigate the severity of implicit ranking unfairness. (2) We uncover the reasons for causing such unfairness. (3) To mitigate such unfairness effectively, we utilize a pair-wise regression method to conduct fair-aware data augmentation for LLM fine-tuning. The experiment demonstrates that our method outperforms existing approaches in ranking fairness, achieving this with only a small reduction in accuracy. Lastly, we emphasize the need for the community to identify and mitigate the implicit unfairness, aiming to avert the potential deterioration in the reinforced human-LLMs ecosystem deterioration.

For agents

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

get_harvested_code_for_paper("2311.07054")
get_code_for_paper("2311.07054")
have("2311.07054")

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

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

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

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

Connect an agent — have() is free.