Papers › Debiased Collaborative Filtering with Kernel-Based Causal Balancing

Debiased Collaborative Filtering with Kernel-Based Causal Balancing

30 Apr 2024arXiv:2404.19596archive 2025-07-28

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

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.

PaperPDFCodeCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2404.19596")

Code

Syntology Ran 7 of 9 code samples harvested from 1 repository linked to this paper; 2 have no recorded run. Of those that ran: 1 ran · honoured contract; 1 ran · violated contract; 5 ran with no contract checked.

By repository: official repository: 9 samples from 1 repository, 7 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

haoxuanli-pku/iclr24-kernel-balancing officialmentioned in paperpytorch report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

9 samples harvested; 7 ran; 1 honoured the contract we drafted; 2 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

1ran · honoured contract
1ran · violated contract
5ran
2unverified

Licence: 9 of the 9 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from haoxuanli-pku/iclr24-kernel-balancing. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: 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. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

MF_BaseModel haoxuanli-pku/iclr24-kernel-balancing/matrix_factorization_coat.py official repository ran · metamorphic tier: deterministic no licence file found · pointer only · 64aedd8d9cafb5da · report
MF_KBIPS_Gau haoxuanli-pku/iclr24-kernel-balancing/matrix_factorization_coat.py official repository ran · metamorphic tier: deterministic no licence file found · pointer only · 7ac28c46bab3e5fd · report
generate_total_sample haoxuanli-pku/iclr24-kernel-balancing/matrix_factorization_coat.py official repository ran · honoured contract fingerprinted no licence file found · pointer only · ae360e2dd0114535 · report
gini_index haoxuanli-pku/ICLR24-Kernel-Balancing/utils.py official repository ran fingerprinted no licence file found · pointer only · 615fa676468d85d9 · report
one_hot haoxuanli-pku/ICLR24-Kernel-Balancing/baselines.py official repository ran fingerprinted no licence file found · pointer only · 4fe5b26db1726dd8 · report
rating_mat_to_sample haoxuanli-pku/ICLR24-Kernel-Balancing/dataset.py official repository ran fingerprinted no licence file found · pointer only · 926bdb90da334126 · report
sigmoid haoxuanli-pku/ICLR24-Kernel-Balancing/baselines.py official repository ran · violated contract fingerprinted no licence file found · pointer only · b30dd0f0a1d1fde8 · report
load_data haoxuanli-pku/ICLR24-Kernel-Balancing/dataset.py official repository unverified no licence file found · pointer only · bde459e5e57b9c6d · report
simulate_click_or_not haoxuanli-pku/ICLR24-Kernel-Balancing/utils.py official repository unverified no licence file found · pointer only · 6a729d144afe99a2 · report

Tasks

Collaborative Filtering

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections