Lune

ICLR2022Top-tier venue

PolyLoss: A Polynomial Expansion Perspective of Classification Loss Functions

Zhaoqi Leng, Mingxing Tan, Chenxi Liu, Ekin Dogus Cubuk, Jay Shi, Shuyang Cheng, Dragomir Anguelov

Abstract

Cross-entropy loss and focal loss are the most common choices when training deep neural networks for classification problems. Generally speaking, however, a good loss function can take on much more flexible forms, and should be tailored for different tasks and datasets. Motivated by how functions can be approximated via Taylor expansion, we propose a simple framework, named PolyLoss, to view and design loss functions as a linear combination of polynomial functions. Our PolyLoss allows the importance of different polynomial bases to be easily adjusted depending on the targeting tasks and datasets, while naturally subsuming the aforementioned cross-entropy loss and focal loss as special cases. Extensive experimental results show that the optimal choice within the PolyLoss is indeed dependent on the task and dataset. Simply by introducing one extra hyperparameter and adding one line of code, our Poly-1 formulation outperforms the cross-entropy loss and focal loss on 2D image classification, instance segmentation, object detection, and 3D object detection tasks, sometimes by a large margin.

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.

14 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Revisiting ResNets: Improved Training and Scaling Strategies cites Rethinking Pre-training and Self-training
  • EfficientNetV2: Smaller Models and Faster Training cites Revisiting ResNets: Improved Training and Scaling Strategies
  • PointNeXt: Revisiting PointNet++ with Improved Training and Scaling Strategies cites Revisiting ResNets: Improved Training and Scaling Strategies
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers14

  1. PointNeXt: Revisiting PointNet++ with Improved Training and Scaling StrategiesGuocheng Qian, Yuchen Li, Houwen Peng, Jinjie Mai et al.NeurIPS 2022 · 1,270 citations
  2. Test Time Adaptation via Conjugate Pseudo-labelsSachin Goyal, Mingjie Sun, Aditi Raghunathan, J. Zico KolterNeurIPS 2022 · 152 citations
  3. Learning Sample Difficulty from Pre-trained Models for Reliable PredictionPeng Cui, Dan Zhang, Zhijie Deng, Yinpeng Dong et al.NeurIPS 2023 · 21 citations
  4. GradTree: Learning Axis-Aligned Decision Trees with Gradient DescentSascha Marton, Stefan Lüdtke, Christian Bartelt, Heiner StuckenschmidtAAAI 2024 · 17 citations
  5. Temporal Label Smoothing for Early Event PredictionHugo Yèche, Alizée Pace, Gunnar Rätsch, Rita KuznetsovaICML 2023 · 16 citations

Builds on13

  1. EfficientNetV2: Smaller Models and Faster TrainingMingxing Tan, Quoc V. LeICML 2021 · 4,239 citations
  2. Symmetric Cross Entropy for Robust Learning With Noisy LabelsYisen Wang, Xingjun Ma, Zaiyi Chen, Yuan Luo et al.ICCV 2019 · 1,125 citations
  3. Rethinking Pre-training and Self-trainingBarret Zoph, Golnaz Ghiasi, Tsung-Yi Lin, Yin Cui et al.NeurIPS 2020 · 755 citations
  4. Revisiting ResNets: Improved Training and Scaling StrategiesIrwan Bello, William Fedus, Xianzhi Du, Ekin Dogus Cubuk et al.NeurIPS 2021 · 378 citations
  5. Can gradient clipping mitigate label noise?Aditya Krishna Menon, Ankit Singh Rawat, Sashank J. Reddi, Sanjiv KumarICLR 2020 · 163 citations

Related papers

  1. Are All Losses Created Equal: A Neural Collapse PerspectiveJinxin Zhou, Chong You, Xiao Li, Kangning Liu et al.NeurIPS 2022 · 93 citations
  2. Calibrating Deep Neural Networks using Focal LossJishnu Mukhoti, Viveka Kulharia, Amartya Sanyal, Stuart Golodetz et al.NeurIPS 2020 · 674 citations
  3. Loss Function Discovery for Object Detection via Convergence-Simulation Driven SearchPeidong Liu, Gengwei Zhang, Bochao Wang, Hang Xu et al.ICLR 2021 · 30 citations
  4. Auto Seg-Loss: Searching Metric Surrogates for Semantic SegmentationHao Li, Chenxin Tao, Xizhou Zhu, Xiaogang Wang et al.ICLR 2021 · 26 citations
  5. Searching for Robustness: Loss Learning for Noisy Classification TasksBoyan Gao, Henry Gouk, Timothy M. HospedalesICCV 2021 · 22 citations
Dusk over the sea between two cliffs drawn in fine vertical lines