The Power of Log-Sum-Exp: Sequential Density Ratio Matrix Estimation for Speed-Accuracy Optimization
Abstract
We propose a model for multiclass classification of time series to make a prediction as early and as accurate as possible. The matrix sequential probability ratio test (MSPRT) is known to be asymptotically optimal for this setting, but contains a critical assumption that hinders broad real-world applications; the MSPRT requires the underlying probability density. To address this problem, we propose to solve density ratio matrix estimation (DRME), a novel type of density ratio estimation that consists of estimating matrices of multiple density ratios with constraints and thus is more challenging than the conventional density ratio estimation. We propose a log-sum-exp-type loss function (LSEL) for solving DRME and prove the following: (i) the LSEL provides the true density ratio matrix as the sample size of the training set increases (consistency); (ii) it assigns larger gradients to harder classes (hard class weighting effect); and (iii) it provides discriminative scores even on class-imbalanced datasets (guess-aversion). Our overall architecture for early classification, MSPRT-TANDEM, statistically significantly outperforms baseline models on four datasets including action recognition, especially in the early stage of sequential observations. Our code and datasets are publicly available at: https://github.com/TaikiMiyagawa/MSPRT-TANDEM.
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
Lineage
- Sequential Density Ratio Estimation for Simultaneous Optimization of Speed and Accuracy cites DisCor: Corrective Feedback in Reinforcement Learning via Distribution Correction
- BERT Loses Patience: Fast and Robust Inference with Early Exit cites Once-for-All: Train One Network and Specialize it for Efficient Deployment
Builds on8
- Once-for-All: Train One Network and Specialize it for Efficient DeploymentHan Cai, Chuang Gan, Tianzhe Wang, Zhekai Zhang et al.ICLR 2020 · 1,522 citations
- Long-tail learning via logit adjustmentAditya Krishna Menon, Sadeep Jayasumana, Ankit Singh Rawat, Himanshu Jain et al.ICLR 2021 · 937 citations
- BERT Loses Patience: Fast and Robust Inference with Early ExitWangchunshu Zhou, Canwen Xu, Tao Ge, Julian J. McAuley et al.NeurIPS 2020 · 473 citations
- DisCor: Corrective Feedback in Reinforcement Learning via Distribution CorrectionAviral Kumar, Abhishek Gupta, Sergey LevineNeurIPS 2020 · 124 citations
- Sequential Density Ratio Estimation for Simultaneous Optimization of Speed and AccuracyAkinori F. Ebihara, Taiki Miyagawa, Kazuyuki Sakurai, Hitoshi ImaokaICLR 2021 · 1 citation
Related papers
- Learning the Optimal Stopping for Early Classification within Finite Horizons via Sequential Probability Ratio TestAkinori F. Ebihara, Taiki Miyagawa, Kazuyuki Sakurai, Hitoshi ImaokaICLR 2025
- Revive Re-weighting in Imbalanced Learning by Density Ratio EstimationJiaan Luo, Feng Hong, Jiangchao Yao, Bo Han et al.NeurIPS 2024 · 16 citations
- On the Learning Property of Logistic and Softmax Losses for Deep Neural NetworksXiangrui Li, Xin Li, Deng Pan, Dongxiao ZhuAAAI 2020 · 26 citations
- Contrastive Neural Ratio EstimationBenjamin Kurt Miller, Christoph Weniger, Patrick ForréNeurIPS 2022 · 33 citations
- Adapting to Continuous Covariate Shift via Online Density Ratio EstimationYu-Jie Zhang, Zhen-Yu Zhang, Peng Zhao, Masashi SugiyamaNeurIPS 2023 · 25 citations
