Xiang Wang, An Zhang, Tat-Seng Chua, Zhibo Cai, Leheng Sheng
7 of 8 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; 0 honoured the contract we drafted, 0 violated it and 2 have no contract verdict; 5 failures of our instrument; 1 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/2310.18700.json · badge: /api/ran/2310.18700.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.
| Repository | Role | Ran |
|---|---|---|
| lehengthu/advinfonce | canonical (classifier label) classifier basis: classifier_2025 |
5 ran · 1 no recorded run |
| LehengTHU/AdvInfoNCE | canonical (classifier label) classifier basis not recorded on the link |
2 ran · 0 no recorded run |
| Function | Status | Where it lives |
|---|---|---|
| AdvInfoNCE | Ran ran on a synthesized input · constructed an object; no result was computed |
lehengthu/advinfonce/model.py code served (permissive licence) · get_code("cf3edb57afbf264e") How it ranRan in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned an instance of its own class, AdvInfoNCE: the run constructed the object and did not call it, so no result was computed. The image it ran in was not recorded. The code mentions cuda, and the harness aliases cuda to the CPU for every sample; whether this run needed that is 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.
|
| MF | Ran ran on a synthesized input · constructed an object; no result was computed |
lehengthu/advinfonce/model.py code served (permissive licence) · get_code("d08e6a8f2f8b1da8") How it ranRan in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned an instance of its own class, MF: the run constructed the object and did not call it, so no result was computed. The image it ran in was not recorded. The code mentions cuda, and the harness aliases cuda to the CPU for every sample; whether this run needed that is 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.
|
| helper_load | Ran ran; our contract draft was wrong, not the code |
LehengTHU/AdvInfoNCE/data.py pointer only (licence: MIT); the stored copy get_code serves, from lehengthu/alpharec, is pointer only (licence: NONE) · get_code("029327c4f6fb55d0") How it ranThe body of this sample is withheld: this paper's link allows the body inline (MIT), but get_code serves the stored copy, first harvested from lehengthu/alpharec, and GitHub detected no licence in that repository 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. |
| helper_load_train | Ran ran; our contract draft was wrong, not the code |
LehengTHU/AdvInfoNCE/data.py pointer only (licence: MIT); the stored copy get_code serves, from lehengthu/alpharec, is pointer only (licence: NONE) · get_code("f1fe817c737b6fed") How it ranThe body of this sample is withheld: this paper's link allows the body inline (MIT), but get_code serves the stored copy, first harvested from lehengthu/alpharec, and GitHub detected no licence in that repository 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. |
| merge_user_list | Ran ran; our contract draft was wrong, not the code |
lehengthu/advinfonce/train_AdvInfoNCE.py code served (permissive licence) · get_code("7513663e5a710c16") How it ranRan in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1) and returned defaultdict. 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.
|
| merge_user_list_no_dup | Ran ran; our contract draft was wrong, not the code |
lehengthu/advinfonce/train_AdvInfoNCE.py code served (permissive licence) · get_code("63bb511f56afa437") How it ranRan in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1) and returned defaultdict. 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.
|
| save_checkpoint | Ran ran; our contract draft was wrong, not the code |
lehengthu/advinfonce/train_AdvInfoNCE.py code served (permissive licence) · get_code("380a5cea5655f733") How it ranRan in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1) and returned list, ndim 1, dtype family float; no output shape is stated. The image it ran in was not recorded. If your copy returns the same type and ndim 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.
|
| LGN | Not yet run unverified (harvested, no recorded run) |
lehengthu/advinfonce/model.py code served (permissive licence) · get_code("6cab2d4c2ffaeb32") How it ranno invocation recorded. |
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, 5 are also present in other papers whose code we hold (5 with at least one paper dated earlier, 2 the same month, 2 later) and 3 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.
| Function | Also present in | Earliest-dated | Others named |
|---|---|---|---|
| helper_load_train | 5 other papers 2 dated earlier, 2 the same month, 1 later |
2210.11054 (2022-10) Incorporating Bias-aware Margins into Contrastive Loss for Collaborative Filtering |
2302.05328 (2023-02) Invariant Collaborative Filtering to Popularity Distribution Shift 2310.10108 (2023-10) On Generative Agents in Recommendation and 2 more not named here |
| helper_load | 4 other papers 2 dated earlier, 1 the same month, 1 later |
2210.11054 (2022-10) Incorporating Bias-aware Margins into Contrastive Loss for Collaborative Filtering |
2302.05328 (2023-02) Invariant Collaborative Filtering to Popularity Distribution Shift 2310.10108 (2023-10) On Generative Agents in Recommendation and 1 more not named here |
| merge_user_list | 1 other paper 1 dated earlier |
2302.05328 (2023-02) Invariant Collaborative Filtering to Popularity Distribution Shift |
|
| merge_user_list_no_dup | 1 other paper 1 dated earlier |
2302.05328 (2023-02) Invariant Collaborative Filtering to Popularity Distribution Shift |
|
| save_checkpoint | 1 other paper 1 dated earlier |
2302.05328 (2023-02) Invariant Collaborative Filtering to Popularity Distribution Shift |
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.
Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.
Contrastive Learning (CL) has achieved impressive performance in self-supervised learning tasks, showing superior generalization ability. Inspired by the success, adopting CL into collaborative filtering (CF) is prevailing in semi-supervised top-K recommendations. The basic idea is to routinely conduct heuristic-based data augmentation and apply contrastive losses (e.g., InfoNCE) on the augmented views. Yet, some CF-tailored challenges make this adoption suboptimal, such as the issue of out-of-distribution, the risk of false negatives, and the nature of top-K evaluation. They necessitate the CL-based CF scheme to focus more on mining hard negatives and distinguishing false negatives from the vast unlabeled user-item interactions, for informative contrast signals. Worse still, there is limited understanding of contrastive loss in CF methods, especially w.r.t. its generalization ability. To bridge the gap, we delve into the reasons underpinning the success of contrastive loss in CF, and propose a principled Adversarial InfoNCE loss (AdvInfoNCE), which is a variant of InfoNCE, specially tailored for CF methods. AdvInfoNCE adaptively explores and assigns hardness to each negative instance in an adversarial fashion and further utilizes a fine-grained hardness-aware ranking criterion to empower the recommender's generalization ability. Training CF models with AdvInfoNCE, we validate the effectiveness of AdvInfoNCE on both synthetic and real-world benchmark datasets, thus showing its generalization ability to mitigate out-ofdistribution problems. Given the theoretical guarantees and empirical superiority of AdvInfoNCE over most contrastive loss functions, we advocate its adoption as a standard loss in recommender systems, particularly for the out-of-distribution tasks. Codes are available at https://github.com/LehengTHU/AdvInfoNCE.
The same record, over MCP at https://syntology.ai/mcp:
get_harvested_code_for_paper("2310.18700")
get_code_for_paper("2310.18700")
have("2310.18700")
The run record, dated, one paper per request, free:
curl https://syntology.ai/api/ran/2310.18700.json
A badge for a README (the split and the date, never a ratio):
[](https://syntology.ai/paper/2310.18700)
Connect an agent — have() is free.