SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2404.19596 · ICLR · 2024

Debiased Collaborative Filtering with Kernel-Based Causal Balancing

Peng Cui, Xu Chen, Haoxuan Li, Chunyuan Zheng, Peng Wu, Yanghao Xiao, Zhi Geng

arXiv · PDF · Open in the Atlas

Code that ran

7 of 9 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (2 of them constructed an object rather than computing a result; 1 honoured the contract we drafted, 1 violated it and 2 have no contract verdict; 3 failures of our instrument; 2 no recorded run), measured 2026-11-24; 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/2404.19596.json · badge: /api/ran/2404.19596.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
haoxuanli-pku/ICLR24-Kernel-Balancing canonical (classifier label)
classifier basis not recorded on the link
4 ran · 2 no recorded run
haoxuanli-pku/iclr24-kernel-balancing canonical (classifier label)
classifier basis: classifier_2025
3 ran · 0 no recorded run
FunctionStatusWhere it lives
MF_BaseModel Ran
ran on a synthesized input · constructed an object; no result was computed
haoxuanli-pku/iclr24-kernel-balancing/matrix_factorization_coat.py
pointer only (licence: NONE) · get_code("64aedd8d9cafb5da")
How it ran

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

MF_KBIPS_Gau Ran
ran on a synthesized input · constructed an object; no result was computed
haoxuanli-pku/iclr24-kernel-balancing/matrix_factorization_coat.py
pointer only (licence: NONE) · get_code("7ac28c46bab3e5fd")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, haoxuanli-pku/iclr24-kernel-balancing 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_total_sample Ran
ran, honoured the contract we drafted
haoxuanli-pku/iclr24-kernel-balancing/matrix_factorization_coat.py
pointer only (licence: NONE) · get_code("ae360e2dd0114535")
How it ran

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

gini_index Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
haoxuanli-pku/ICLR24-Kernel-Balancing/utils.py
pointer only (licence: NONE) · get_code("615fa676468d85d9")
How it ran

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

one_hot Ran
ran; our contract draft was wrong, not the code
haoxuanli-pku/ICLR24-Kernel-Balancing/baselines.py
pointer only (licence: NONE) · get_code("4fe5b26db1726dd8")
How it ran

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

rating_mat_to_sample Ran
ran; our contract draft was wrong, not the code
haoxuanli-pku/ICLR24-Kernel-Balancing/dataset.py
pointer only (licence: NONE) · get_code("926bdb90da334126")
How it ran

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

sigmoid Ran
ran, violated the contract we drafted
haoxuanli-pku/ICLR24-Kernel-Balancing/baselines.py
pointer only (licence: NONE); the stored copy get_code serves, from baharanm/craig, is pointer only (licence: NONE) · get_code("b30dd0f0a1d1fde8")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, haoxuanli-pku/ICLR24-Kernel-Balancing 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_data Not yet run
unverified (harvested, no recorded run)
haoxuanli-pku/ICLR24-Kernel-Balancing/dataset.py
pointer only (licence: NONE) · get_code("bde459e5e57b9c6d")
How it ran

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

simulate_click_or_not Not yet run
unverified (harvested, no recorded run)
haoxuanli-pku/ICLR24-Kernel-Balancing/utils.py
pointer only (licence: NONE) · get_code("6a729d144afe99a2")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, haoxuanli-pku/ICLR24-Kernel-Balancing 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 9 samples lifted from this paper's linked repositories, 9 carry a function identity and 0 do not. Of the 9 distinct functions with an identity, 7 are also present in other papers whose code we hold (7 with at least one paper dated earlier, 7 the same month, 1 later) and 2 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
sigmoid 6 other papers
3 dated earlier, 1 the same month, 2 later
1905.03381 (2019-05)
AutoAssist: A Framework to Accelerate Training of Deep Neural Networks
1906.01827 (2019-06)
Coresets for Data-efficient Training of Machine Learning Models
2009.02623 (2020-09)
Information Theoretic Counterfactual Learning from Missing-Not-At-Random Feedback
and 3 more not named here
generate_total_sample
brick of this paper's assembly: sampler
2 other papers
1 dated earlier, 1 the same month
2009.02623 (2020-09)
Information Theoretic Counterfactual Learning from Missing-Not-At-Random Feedback
2404.19620 (2024-04)
Be Aware of the Neighborhood Effect: Modeling Selection Bias under Interference
gini_index 2 other papers
1 dated earlier, 1 the same month
2009.02623 (2020-09)
Information Theoretic Counterfactual Learning from Missing-Not-At-Random Feedback
2404.19620 (2024-04)
Be Aware of the Neighborhood Effect: Modeling Selection Bias under Interference
load_data 2 other papers
1 dated earlier, 1 the same month
2009.02623 (2020-09)
Information Theoretic Counterfactual Learning from Missing-Not-At-Random Feedback
2404.19620 (2024-04)
Be Aware of the Neighborhood Effect: Modeling Selection Bias under Interference
one_hot 2 other papers
1 dated earlier, 1 the same month
2009.02623 (2020-09)
Information Theoretic Counterfactual Learning from Missing-Not-At-Random Feedback
2404.19620 (2024-04)
Be Aware of the Neighborhood Effect: Modeling Selection Bias under Interference
rating_mat_to_sample 2 other papers
1 dated earlier, 1 the same month
2009.02623 (2020-09)
Information Theoretic Counterfactual Learning from Missing-Not-At-Random Feedback
2404.19620 (2024-04)
Be Aware of the Neighborhood Effect: Modeling Selection Bias under Interference
simulate_click_or_not 2 other papers
1 dated earlier, 1 the same month
2009.02623 (2020-09)
Information Theoretic Counterfactual Learning from Missing-Not-At-Random Feedback
2404.19620 (2024-04)
Be Aware of the Neighborhood Effect: Modeling Selection Bias under Interference

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-24.

Repositories linked to this paper

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

Abstract

Debiased collaborative filtering aims to learn an unbiased prediction model by removing different biases in observational datasets. To solve this problem, one of the simple and effective methods is based on the propensity score, which adjusts the observational sample distribution to the target one by reweighting observed instances. Ideally, propensity scores should be learned with causal balancing constraints. However, existing methods usually ignore such constraints or implement them with unreasonable approximations, which may affect the accuracy of the learned propensity scores. To bridge this gap, in this paper, we first analyze the gaps between the causal balancing requirements and existing methods such as learning the propensity with cross-entropy loss or manually selecting functions to balance. Inspired by these gaps, we propose to approximate the balancing functions in reproducing kernel Hilbert space and demonstrate that, based on the universal property and representer theorem of kernel functions, the causal balancing constraints can be better satisfied. Meanwhile, we propose an algorithm that adaptively balances the kernel function and theoretically analyze the generalization error bound of our methods. We conduct extensive experiments to demonstrate the effectiveness of our methods, and to promote this research direction, we have released our project at https://github.com/haoxuanli-pku/ICLR24-Kernel-Balancing.

For agents

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

get_harvested_code_for_paper("2404.19596")
get_code_for_paper("2404.19596")
have("2404.19596")

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

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

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

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

Connect an agent — have() is free.