Papers › Beyond the Selected Completely At Random Assumption for Learning from Positive and...

Beyond the Selected Completely At Random Assumption for Learning from Positive and Unlabeled Data

10 Sep 2018arXiv:1809.03207archive 2025-07-28

Jessa Bekker, Pieter Robberechts, Jesse Davis

Most positive and unlabeled data is subject to selection biases. The labeled examples can, for example, be selected from the positive set because they are easier to obtain or more obviously positive. This paper investigates how learning can be ena BHbled in this setting. We propose and theoretically analyze an empirical-risk-based method for incorporating the labeling mechanism. Additionally, we investigate under which assumptions learning is possible when the labeling mechanism is not fully understood and propose a practical method to enable this. Our empirical analysis supports the theoretical results and shows that taking into account the possibility of a selection bias, even when the labeling mechanism is unknown, improves the trained classifiers.

PaperPDFCodeCode Syntology ran

In Syntology View this paper on Syntology, its page in Syntology's graph. That page adds which of its functions are also present in other papers' code Syntology holds, with dates, and its dated run record as JSON and a README badge. It also lists the repositories linked to the paper, the abstract and the calls for agents.

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

For agents, on Syntology's MCP service (how to connect):

Code

Syntology 20 code samples harvested from 1 repository linked to this paper: 16 ran (of which 0 constructed an object rather than computing a result; 16 with no instrument failure: 0 honoured, 0 violated, 16 with no contract checked; 0 where Syntology's instrument failed) · 4 unverified. “Where Syntology's instrument failed” counts failures of Syntology's instrument, not of the code; here there are none.

By repository: community (archive-listed): 20 samples from 1 repository, 16 ran (16 with no instrument failure; 0 where Syntology's instrument failed). The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

Levels written between 2026-09-25 and 2026-09-26 (UTC): the dates Syntology's graph wrote each sample's verification level, not when the code executed.

ML-KULeuven/SAR-PU mentioned on GitHubMITSyntology: 20 samples, 16 ran (0 instrument-failed) · 4 unverified 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

20 samples harvested: 16 ran (of which 0 constructed an object rather than computing a result; 16 with no instrument failure: 0 honoured, 0 violated, 16 with no contract checked; 0 where Syntology's instrument failed) · 4 unverified. “Where Syntology's instrument failed” counts failures of Syntology's instrument, not of the code. Syntology's record for this page has not changed since , the first build that kept a record date for it; when this build read Syntology's graph is in the build record. That date is not when the samples ran.

16ran
4unverified

Licence: 0 of the 20 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 ML-KULeuven/SAR-PU. “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. A line beginning “fixture:” under a sample that ran gives the arguments Syntology's fixture called the sample with, each as name:type/rank/element kind (? where none was recorded), and the type of what the fixture's run returned, exactly as the harness recorded them; the arguments and the returned type were recorded by two separate runs of the same fixture. No output value is shown, and a returned type says nothing about whether the output was right. “Level recorded” gives the UTC date when Syntology's graph wrote the sample's verification level, not when the code executed; where the level was written before Syntology's graph kept that date, the row says “level recorded, date not recorded”. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself. “Our draft was wrong” and “the contract check could not run” are failures of Syntology's instrument, not of the code: the sample ran on Syntology's synthesized input, and then the drafted contract did not describe it, or the check itself raised an error (RAISES), lacked a dependency (DEP_MISSING) or ran out of time (TIMEOUT); hover the label for which. A metamorphic tier, where shown, is evidence of the output's shape, not that the sample implements the method.

Each sample ends with its code_sha256. A sample's code_sha256 is Syntology's identity for that exact code. It is printed in full (16 hexadecimal characters for every sample in this build), and get_code(code_sha256="…") takes it exactly as printed. An agent calls it on Syntology's MCP service (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 are grouped by repository: a repository marked official first, then by how directly the repository is tied to the paper, then in the archive's order; never by how many ran. 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 six 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; the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar); this paper's copy was not located, so its licence is not recorded; or this paper's copy is cleared, but the stored copy of the same code that Syntology serves is not. 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.

A function or class name links to its page when the name occurs in the harvested code of at least 5 papers; the name is a string, not an identity. A census tag appears when Syntology's census ran implementations with that name on one shared input per bucket: it gives how many were compared, from how many papers, and how many distinct outputs they produced, and names this sample's bucket when this sample was one of them.

ML-KULeuven/SAR-PU community (archive-listed) 20 samples, 16 ran (0 instrument-failed) · 4 unverified
accuracy in 872 papers
census: 8 implementations from 7 papers, 7 distinct outputs across 6 buckets, one shared input per bucket
sarpu/sarpu/evaluation.py ran fingerprinted MIT (permissive) · 392b682dd10b9a9b · report fixture: signature true:ndarray/1/float, pred:ndarray/1/float · returned float64 · level recorded 2026-09-26
binarize in 22 papers sarpu/sarpu/data_processing.py ran MIT (permissive) · 3d1135a1974c4aa5 · report fixture: signature df:DataFrame/0/?, column:str/0/str · returned DataFrame · level recorded 2026-09-26
compute_best_rbf_kernel_width lib/km/km/Kernel_MPE_grad_threshold.py ran fingerprinted MIT (permissive) · c7b90aa51789cfcf · report fixture: signature X_mixture:ndarray/2/float, X_component:ndarray/2/float · returned tuple · level recorded 2026-09-25
fp sarpu/sarpu/evaluation.py ran fingerprinted MIT (permissive) · ec7fc63d99c0d644 · report fixture: signature true:Tensor/2/float, pred:Tensor/2/float · returned Tensor · level recorded 2026-09-26
keep_k_most_common sarpu/sarpu/data_processing.py ran MIT (permissive) · e444fb0eb2e6bef5 · report fixture: signature df:DataFrame/0/?, column:str/0/str, k:int/0/int, other:str/0/str · returned DataFrame · level recorded 2026-09-26
low_c lib/tice/tice/tice.py ran MIT (permissive) · 1ff62228d9b009fc · report fixture: signature data:CountableData/0/?, label:CountableData/0/?, delta:float/0/float, minT:int/0/int, c:float/0/float · returned float · level recorded 2026-09-25
max_bepp lib/tice/tice/tice.py ran MIT (permissive) · 58f045c773108472 · report fixture: signature k:int/0/int · returned function · level recorded 2026-09-26
original_data_path sarpu/sarpu/paths_and_names.py ran fingerprinted MIT (permissive) · 24699e61a8913eef · report fixture: signature data_folder:str/0/str, data_name:str/0/str · returned str · level recorded 2026-09-26
parse_cl_atts sarpu/sarpu/experiments.py ran MIT (permissive) · 3719d8c26afdaba8 · report fixture: signature string:str/0/str · returned function · level recorded 2026-09-26
parse_labeling_model sarpu/sarpu/labeling_mechanisms.py ran MIT (permissive) · 7d4cfbc0e8c0918d · report fixture: signature labeling_model_type:str/0/str, propensity_attributes:list/1/int, propensity_attributes_signs:list/1/int · returned SimpleLabeling · level recorded 2026-09-26
parse_propensity_attributes sarpu/sarpu/__main__.py ran MIT (permissive) · 485e31dbab6c48df · report fixture: signature arg:str/0/str · returned tuple · level recorded 2026-09-26
partitions_data_path sarpu/sarpu/paths_and_names.py ran fingerprinted MIT (permissive) · d7dcbcf5040563af · report fixture: signature data_folder:str/0/str, data_name:str/0/str · returned str · level recorded 2026-09-26
pick_delta lib/tice/tice/tice.py ran fingerprinted MIT (permissive) · 50b21e7e6829bc67 · report fixture: signature T:int/0/int · returned float · level recorded 2026-09-25
processed_data_path sarpu/sarpu/paths_and_names.py ran fingerprinted MIT (permissive) · 8b3e0aaca0e07859 · report fixture: signature data_folder:str/0/str, data_name:str/0/str · returned str · level recorded 2026-09-26
read_data in 132 papers sarpu/sarpu/input_output.py ran MIT (permissive) · 93af1f21100c125e · report fixture: signature data_files:list/1/str, partitions_file:str/0/str, delimiter:str/0/str · returned list · level recorded 2026-09-26
tp sarpu/sarpu/evaluation.py ran fingerprinted MIT (permissive) · d88647279680aeec · report fixture: signature true:Tensor/2/float, pred:Tensor/2/float · returned Tensor · level recorded 2026-09-26
copy_if_possible sarpu/sarpu/experiments.py unverified MIT (permissive) · be88997e62f65795 · report
generate_attributes sarpu/sarpu/data_extending.py unverified MIT (permissive) · 8a181ed99567fe3c · report
label_data sarpu/sarpu/labeling_mechanisms.py unverified MIT (permissive) · 8182fdee9c3c4d2a · report
parse_settings sarpu/sarpu/experiments.py unverified MIT (permissive) · 1c4ebff91cd1fdaf · report

Tasks

Selection bias

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