Papers › Deep Gamblers: Learning to Abstain with Portfolio Theory

Deep Gamblers: Learning to Abstain with Portfolio Theory

29 Jun 2019NeurIPS 2019 12arXiv:1907.00208archive 2025-07-28

Liu Ziyin, Zhikang Wang, Paul Pu Liang, Ruslan Salakhutdinov, Louis-Philippe Morency, Masahito Ueda

We deal with the \textit{selective classification} problem (supervised-learning problem with a rejection option), where we want to achieve the best performance at a certain level of coverage of the data. We transform the original m-class classification problem to (m+1)-class where the (m+1)-th class represents the model abstaining from making a prediction due to disconfidence. Inspired by portfolio theory, we propose a loss function for the selective classification problem based on the doubling rate of gambling. Minimizing this loss function corresponds naturally to maximizing the return of a \textit{horse race}, where a player aims to balance between betting on an outcome (making a prediction) when confident and reserving one's winnings (abstaining) when not confident. This loss function allows us to train neural networks and characterize the disconfidence of prediction in an end-to-end fashion. In comparison with previous methods, our method requires almost no modification to the model inference algorithm or model architecture. Experiments show that our method can identify uncertainty in data points, and achieves strong results on SVHN and CIFAR10 at various coverages of the data.

PaperPDFConference PDFCodeCode 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="1907.00208")

Code

Syntology Ran 2 of 7 code samples harvested from 1 repository linked to this paper; 5 have no recorded run. Of those that ran: 2 ran · our draft was wrong.

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

Z-T-WANG/NIPS2019DeepGamblers officialmentioned in papermentioned on GitHubpytorchMIT report
BorealisAI/towards-better-sel-cls mentioned on GitHubpytorch report
wzkkzw12345/NIPS2019DeepGamblers mentioned on GitHubpytorchMIT 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

7 samples harvested; 2 ran; 0 honoured the contract we drafted; 5 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.

2ran · our draft was wrong
5unverified

Licence: 0 of the 7 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 Z-T-WANG/NIPS2019DeepGamblers. “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.

conv3x3 Z-T-WANG/NIPS2019DeepGamblers/models/cifar/preresnet.py official repository ran · our draft was wrong MIT (permissive) · fac5364e2f53c6db · report
plot_overlap Z-T-WANG/NIPS2019DeepGamblers/utils/logger.py official repository ran · our draft was wrong MIT (permissive) · 50afa2863ffd9fde · report
colorize Z-T-WANG/NIPS2019DeepGamblers/utils/visualize.py official repository unverified MIT (permissive) · c87e7665fde6cdfc · report
gauss Z-T-WANG/NIPS2019DeepGamblers/utils/visualize.py official repository unverified MIT (permissive) · d66f0a3cbb86204c · report
get_mean_and_std Z-T-WANG/NIPS2019DeepGamblers/utils/misc.py official repository unverified MIT (permissive) · 1d6e2edb8832d7b0 · report
make_image Z-T-WANG/NIPS2019DeepGamblers/utils/visualize.py official repository unverified MIT (permissive) · 1394422d51c4b126 · report
make_layers Z-T-WANG/NIPS2019DeepGamblers/models/cifar/vgg.py official repository unverified MIT (permissive) · 9e370be2e64c6866 · report

Tasks

ClassificationGeneral ClassificationPrediction

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