Papers › Sequential Density Ratio Estimation for Simultaneous Optimization of Speed and Accuracy

Sequential Density Ratio Estimation for Simultaneous Optimization of Speed and Accuracy

10 Jun 2020ICLR 2021 1arXiv:2006.05587archive 2025-07-28

Akinori F. Ebihara, Taiki Miyagawa, Kazuyuki Sakurai, Hitoshi Imaoka

Classifying sequential data as early and as accurately as possible is a challenging yet critical problem, especially when a sampling cost is high. One algorithm that achieves this goal is the sequential probability ratio test (SPRT), which is known as Bayes-optimal: it can keep the expected number of data samples as small as possible, given the desired error upper-bound. However, the original SPRT makes two critical assumptions that limit its application in real-world scenarios: (i) samples are independently and identically distributed, and (ii) the likelihood of the data being derived from each class can be calculated precisely. Here, we propose the SPRT-TANDEM, a deep neural network-based SPRT algorithm that overcomes the above two obstacles. The SPRT-TANDEM sequentially estimates the log-likelihood ratio of two alternative hypotheses by leveraging a novel Loss function for Log-Likelihood Ratio estimation (LLLR) while allowing correlations up to N (∈ℕ) preceding samples. In tests on one original and two public video databases, Nosaic MNIST, UCF101, and SiW, the SPRT-TANDEM achieves statistically significantly better classification accuracy than other baseline classifiers, with a smaller number of data samples. The code and Nosaic MNIST are publicly available at https://github.com/TaikiMiyagawa/SPRT-TANDEM.

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="2006.05587")

Code

Syntology Ran 4 of 21 code samples harvested from 2 repositories linked to this paper; 17 have no recorded run. Of those that ran: 2 ran · fixture could not drive it; 2 ran with no contract checked.

By repository: official repository: 17 samples from 1 repository, 2 ran; community (archive-listed): 4 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.

TaikiMiyagawa/SPRT-TANDEM officialmentioned in papertfMIT report
Akinori-F-Ebihara/LLLR_toymodel mentioned on GitHubtf 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

21 samples harvested; 4 ran; 0 honoured the contract we drafted; 17 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 · fixture could not drive it
2ran
17unverified

Licence: 0 of the 21 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 2 repositories linked to this paper, official or community; each sample names its own and says which. “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.

binary_truncated_sprt taikimiyagawa/sprt-tandem/utils/performance_metrics.py official repository ran · fixture could not drive it MIT (permissive) · 4ce12fe48cdf3000 · report
calc_binary_llrs taikimiyagawa/sprt-tandem/utils/performance_metrics.py official repository ran · fixture could not drive it fingerprinted MIT (permissive) · 37d3cf0b1afae8c1 · report
binary_confmx_to_bac TaikiMiyagawa/SPRT-TANDEM/utils/performance_metrics.py official repository unverified MIT (permissive) · dc11f5694b7e7578 · report
binary_llr_loss_func TaikiMiyagawa/SPRT-TANDEM/models/losses.py official repository unverified MIT (permissive) · 59f9105f519377e9 · report
checkpoint_logger TaikiMiyagawa/SPRT-TANDEM/utils/util_ckpt.py official repository unverified MIT (permissive) · 96672439f1928178 · report
confmx_to_metrics TaikiMiyagawa/SPRT-TANDEM/utils/performance_metrics.py official repository unverified MIT (permissive) · 03a548ed70ba1d0c · report
decode_feat TaikiMiyagawa/SPRT-TANDEM/datasets/data_processing.py official repository unverified MIT (permissive) · c3e48b4df760dba8 · report
decode_nosaic_mnist TaikiMiyagawa/SPRT-TANDEM/datasets/data_processing.py official repository unverified MIT (permissive) · 50e5cb9e9fd3ce06 · report
get_batch_norm_layer TaikiMiyagawa/SPRT-TANDEM/models/backbones_fe.py official repository unverified MIT (permissive) · 61d078878105d29d · report
get_ressize_dependent_params TaikiMiyagawa/SPRT-TANDEM/models/backbones_fe.py official repository unverified MIT (permissive) · 93f9562775b33b2c · report
load_yaml TaikiMiyagawa/SPRT-TANDEM/utils/misc.py official repository unverified MIT (permissive) · 393ae5de46d6fe89 · report
logits_to_confmx TaikiMiyagawa/SPRT-TANDEM/utils/performance_metrics.py official repository unverified MIT (permissive) · d451032b3c871d46 · report
multiplet_loss_func TaikiMiyagawa/SPRT-TANDEM/models/losses.py official repository unverified MIT (permissive) · 8175594b88600b6e · report
np_to_tfr_nosaic_mnist TaikiMiyagawa/SPRT-TANDEM/make_nmnist.py official repository unverified MIT (permissive) · c761d6a6ea580871 · report
read_tfrecords_nosaic_mnist TaikiMiyagawa/SPRT-TANDEM/datasets/data_processing.py official repository unverified MIT (permissive) · 9797f4b100e6ec78 · report
suggest_parameters TaikiMiyagawa/SPRT-TANDEM/utils/util_optuna.py official repository unverified MIT (permissive) · 3d5d0d12e6b23c3b · report
suggest_parameters_fe TaikiMiyagawa/SPRT-TANDEM/utils/util_optuna.py official repository unverified MIT (permissive) · 09c06838c2fd140f · report
CE_lite Akinori-F-Ebihara/LLLR_toymodel/models/losses.py community (archive-listed) ran MIT (permissive) · 99a9b0009e646b84 · report
LLLR_lite Akinori-F-Ebihara/LLLR_toymodel/models/losses.py community (archive-listed) ran MIT (permissive) · 9549cebefd92ba63 · report
KLIEP_lite Akinori-F-Ebihara/LLLR_toymodel/models/losses.py community (archive-listed) unverified MIT (permissive) · 1b1d4bd6e98cee84 · report
get_gradient_DRE Akinori-F-Ebihara/LLLR_toymodel/models/losses.py community (archive-listed) unverified MIT (permissive) · a30e73ec3ab8a38a · report

Tasks

Decision MakingDensity Ratio Estimation

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