atlas

Research map / Architectures and efficiency / RNNs and normalization

ST$_k$: A Scalable Module for Solving Top-k Problems

NeurIPS 2024 · Architectures and efficiency › RNNs and normalization · approach: Differentiable optimization layers · 0 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Proposes STk, a fully differentiable smoothed Top-k module with one trainable threshold λ built on a uniformly convergent smoothed ReLU, and uses it to turn the Average Top-k loss into a sort-free STk loss that is trained end-to-end.

Problem

Top-k problems (finding the k-th largest element and sum of top-k values) are costly in deep learning because sorting is O(n log n) or worse and is non-differentiable, which hampers end-to-end optimization of Average Top-k losses for imbalanced, long-tailed, and regression tasks.

Approach

Rewrite the Top-k sum as a min over a threshold λ of a hinge-based objective (Ogryczak and Tamir), replace the non-differentiable ReLU with a uniformly convergent Smoothed ReLU (SReLU) controlled by δ, and optimize λ jointly with network weights via SGD, so no sorting is needed.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
replace ATk aggregation with STk aggregationlong-tailed visual classification · CIFAR-100-LTaccuracy: 89.3 -> 89.8Helped
replace ATk aggregation with STk aggregationlong-tailed visual classification · ImageNet-LTaccuracy: 78.1 -> 79.1Helped
replace ATk aggregation with STk aggregationlong-tailed visual classification · Places-LTaccuracy: 52.3 -> 53.7Helped
replace ATk aggregation with STk aggregationtranslation models · IWSLT2014 testBLEU: 35.45 -> 35.80Helped
replace ATk aggregation with STk aggregationtranslation models · WMT2017 Newstest2016 testBLEU: 35.05 -> 35.42Helped
use STk instead of ATk for the Top-5 sumTop-k computation · 10,000 standard normal samplestime: 0.2167 ± 0.1528 -> 0.0127 ± 0.0020Helped
add STk to cost-sensitive learning (ablation)MAE backbone long-tailed learning · ImageNet-LTaccuracy: 69.884 -> 70.140Helped
add STk to cost-sensitive learning (ablation)MAE backbone long-tailed learning · CIFAR-100-LTaccuracy: 82.135 -> 83.048Helped
add STk to PEL (ablation)CLIP backbone long-tailed learning · ImageNet-LTaccuracy: 78.296 -> 79.148Helped
add STk to PEL (ablation)CLIP backbone long-tailed learning · CIFAR-100-LTaccuracy: 89.103 -> 89.833Helped
set smoothing coefficient δ to 0.1 rather than 0.01 (ablation)STk · ImageNet-LTaccuracy: 79.09 -> 76.11Hurt
set smoothing coefficient δ to 0.05 rather than 0.01 (ablation)STk · WMT2017 Newstest2016 testBLEU: 35.42 -> 35.28Hurt

Surprising findings

Limitations

Experimental setup

Datasets: CIFAR-100-LT ImageNet-LT Places-LT IWSLT2014 WMT2017 KEEL binary classification datasets UCI datasets Sinc Housing Abalone Cpusmall Gaussian synthetic dataset

Benchmarks: CIFAR-100-LT ImageNet-LT Places-LT IWSLT2014 WMT2017 (Newstest2016) KEEL/UCI binary classification Sinc/Housing/Abalone/Cpusmall regression

Metrics: accuracy BLEU misclassification rate ParaF1 RMSE wall-clock time

Baselines: Average loss Maximum loss ATk loss MATk ELU SoftPlus Leaky-ReLU PEL

Builds on: Average Top-k loss (ATk) Ogryczak and Tamir Top-k formulation Parameter-Efficient Long-Tailed Recognition (PEL) Logit Adjust loss

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy