Adam has been shown to outperform gradient descent on large language models by a larger margin than on other tasks, but it is unclear why. We show that a key factor in this performance gap is the heavy-tailed class imbalance found in language tasks. When trained with gradient descent, the loss of infrequent words decreases more slowly than the loss of frequent ones. This leads to a slow decrease on the average loss as most samples come from infrequent words. On the other hand, Adam and sign-based methods are less sensitive to this problem. To establish that this behavior is caused by class imbalance, we show empirically that it can be reproduced across architectures and data types, on language transformers, vision CNNs, and linear models. On a linear model with cross-entropy loss, we show that class imbalance leads to imbalanced, correlated gradients and Hessians that have been hypothesized to benefit Adam. We also prove that, in continuous time, gradient descent converges slowly on low-frequency classes while sign descent does not.
Clipping Improves Adam-Norm and AdaGrad-Norm when the Noise Is Heavy-Tailed
Moscow Institute of Physics and Technology, Russia(莫斯科物理技术学院);Ivannikov Institute for System Programming RAS, Russia(伊万诺夫系统编程研究所);Sber AI Lab, Russia(俄罗斯Sber人工智能实验室);Innopolis University, Russia(因诺波利斯大学);The Russian Presidential Academy of National Economy and Public Administration, Russia(俄罗斯总统经济与公共行政学院);Skolkovo Institute of Science and Technology, Russia(斯克沃尔佐夫科学与技术研究所);Mohamed bin Zayed University of Artificial Intelligence, UAE(穆罕默德·本·扎耶德人工智能大学);Machine Learning and Optimization Laboratory (MLO), EPFL, Lausanne, Switzerland(机器学习与优化实验室(MLO),EPFL,拉瓦尔普勒斯,瑞士)
Sign-Based Optimizers Are Effective Under Heavy-Tailed Noise
State Key Laboratory of Novel Software Technology, Nanjing University(南京大学新型软件技术国家重点实验室);School of Artificial Intelligence, Nanjing University(南京大学人工智能学院);School of Software Technology, Zhejiang University(浙江大学软件学院);School of Data Science, Fudan University(复旦大学数据科学学院)
University of Luxembourg(卢森堡大学);University of Basel(巴塞尔大学);MPI for Intelligent Systems(马克斯·普朗克智能系统研究所);ELLIS Tübingen(ELLIS蒂宾根);Tübingen AI Center(蒂宾根人工智能中心)
Rethinking the Bias of Foundation Model under Long-tailed Distribution
Gaoling School of Artificial Intelligence, Renmin University of China(中国人民大学耿丽人工智能学院);Beijing Key Laboratory of Big Data Management and Analysis Methods(北京大数据管理与分析方法重点实验室);Institute of Software Chinese Academy of Sciences(中国科学院软件研究所);Electrical and Computer Engineering, Carnegie Mellon University(卡内基梅隆大学电气与计算机工程学院);University of Chinese Academy of Sciences(中国科学院大学)
Constructing Balance from Imbalance for Long-tailed Image Recognition
Shanghai Jiao Tong University(上海交通大学);Hong Kong University of Science and Technology(香港科技大学);Qing Yuan Research Institute(清源研究院);Shanghai Qi Zhi Institute(上海期智研究院)
Long-Tailed Recognition Using Class-Balanced Experts
Max Planck Institute for Informatics(马克斯·普朗克信息学研究所);Saarland Informatics Campus(萨尔兰信息学园区);University of Maryland, College Park(马里兰大学帕克分校);CISPA Helmholtz Center for Information Security(亥姆霍兹信息安全研究中心)
Exploring "Many in Few" and "Few in Many" Properties in Long-Tailed, Highly-Imbalanced IC Defect Classification
Institute of Data Science and Information Computing, National Chung Hsing University(数据科学与信息计算研究所,中国台湾 Chung Hsing 大学);Department of Electrical Engineering, National Tsing Hua University(电子工程系,中国台湾 Tsing Hua 大学);Department of Electrical Engineering, National Taiwan University of Science and Technology(电子工程系,中国台湾 Science and Technology 大学);Development of Smart Manufacturing, United Microelectronics Corporation(智能制造发展,联合微电子公司)
Hurdle-RMIL: Addressing Zero Inflation and Long-Tailed Imbalance in Infrared Rainfall Retrieval
Nanjing Innovation Institute for Atmospheric Sciences, Chinese Academy of Meteorological Sciences-Jiangsu Meteorological Service(南京大气科学创新研究院,中国气象科学研究院-江苏气象服务);Jiangsu Key Laboratory of Severe Storm Disaster Risk / Key Laboratory of Transportation Meteorology of CMA(江苏 severe storm disaster risk key laboratory / 中国气象局交通运输气象 key laboratory);Institute of Tibetan Plateau Meteorology, Chinese Academy of Meteorological Sciences(青藏高原气象研究所,中国气象科学研究院);Basin Key Laboratory of Sichuan Province, Institute of Tibetan Plateau Meteorology, China Meteorological Administration(四川盆地关键实验室,青藏高原气象研究所,中国气象局)
Cooperative Medianet Innovation Center, Shanghai Jiao Tong University(上海交通大学合作中位网创新中心);School of Computer Science and Technology, Tongji University(同济大学计算机科学与技术学院);School of Computing and Information Systems, The University of Melbourne(墨尔本大学计算与信息学院);Shanghai Artificial Intelligence Laboratory(上海人工智能实验室)
长尾半监督学习(LTSSL)旨在从只有少数样本被注释的类不平衡数据中学习。现有的解决方案通常需要大量的成本来解决复杂的优化问题,或者可能导致信息丢失的类平衡欠采样。在本文中,我们提出了TRAS(TRAnsfer and Share),以有效地利用长尾半监督数据。TRAS通过一个微妙的功能来改变传统SSL模型中不平衡的伪标签分布,以增强少数类的监督信号。然后,它将分布转移到目标模型,以便少数类将得到显着的关注。有趣的是,TRAS表明,更平衡的伪标签分布可以大大有利于少数类训练,而不是像以前的作品那样寻求生成准确的伪标签。为了简化方法,TRAS通过共享特征提取器将传统SSL模型和目标模型的训练合并到单个过程中,其中两个分类器有助于改善表示学习。根据大量的实验,TRAS提供了更高的准确性比国家的最先进的方法,在整个类以及少数类。
Rethinking Loss Reweighting for Imbalance Learning as an Inverse Problem: A Neural Collapse Point of View
CSMT, Wenzhou-Kean University(温州肯恩大学计算机科学与技术学院);International Frontier Interdisciplinary Research Institute, Wenzhou-Kean University(温州肯恩大学国际前沿交叉研究 institutes)
Surpassing state of the art on AMD area estimation from RGB fundus images through careful selection of U-Net architectures and loss functions for class imbalance
Faculty of Informatics, Kaunas University of Technology(信息学院,卡斯图技术大学)
Unleashing the Power of Vision-Language Models for Long-Tailed Multi-Label Visual Recognition
School of Computer Science and Engineering, Southeast University(东南大学计算机科学与工程学院);Key Laboratory of Computer Network and Information Integration (Southeast University)(计算机网络与信息集成重点实验室);Mohamed bin Zayed University of Artificial Intelligence (MBZUAI)(Mohamed bin Zayed人工智能大学);Carnegie Mellon University(卡内基梅隆大学)
GRP-FED: Addressing Client Imbalance in Federated Learning via Global-Regularized Personalization
Peking University(北京大学);Key Laboratory of Machine Perception (Ministry of Education), Peking University(北京大学机器感知重点实验室(教育部));National Institute of Health Data Science, Peking University(北京大学健康数据科学研究院);Institute of Medical Technology, Health Science Center of Peking University(北京大学医学部医学技术研究院)
Adaptive Adapter Routing for Long-Tailed Class-Incremental Learning
School of Artificial Intelligence, Nanjing University(南京大学人工智能学院);National Key Laboratory for Novel Software Technology, Nanjing University(南京大学计算机软件新技术国家重点实验室)
Toward Multi-Domain and Long-Tailed Quantization via Feature Alignment and Scaling
Graduate Institute of Electrical Engineering, National Taiwan University, Taiwan(台湾大学电子工程研究所);Institute of Information Science, Academia Sinica, Taiwan(中科院资讯研究所);Graduate Institute of Communication Engineering, National Taiwan University, Taiwan(台湾大学通讯工程研究所);Institute of Information Science and the Research Center for Information Technology Innovation, Academia Sinica, Taiwan(中科院资讯研究所及资讯科技创新研究中心)