Deep ensemble is a simple yet powerful way to improve the performance of deep neural networks. Under this motivation, recent works on mode connectivity have shown that parameters of ensembles are connected by low-loss subspaces, and one can efficiently collect ensemble parameters in those subspaces. While this provides a way to efficiently train ensembles, for inference, multiple forward passes should still be executed using all the ensemble parameters, which often becomes a serious bottleneck for real-world deployment. In this work, we propose a novel framework to reduce such costs. Given a low-loss subspace connecting two modes of a neural network, we build an additional neural network that predicts the output of the original neural network evaluated at a certain point in the low-loss subspace. The additional neural network, which we call a "bridge", is a lightweight network that takes minimal features from the original network and predicts outputs for the low-loss subspace without forward passes through the original network. We empirically demonstrate that we can indeed train such bridge networks and significantly reduce inference costs with the help of bridge networks.
Loss Surfaces, Mode Connectivity, and Fast Ensembling of DNNs
Samsung AI Center in Moscow(三星莫斯科人工智能中心);Skolkovo Institute of Science and Technology(斯科尔科沃科学技术研究院);Cornell University(康奈尔大学);National Research University Higher School of Economics(国立研究型大学高等经济学院)
Rethinking LLM Ensembling from the Perspective of Mixture Models
Key Laboratory of New Generation Artificial Intelligence Technology(新一代人工智能技术关键实验室);Its Interdisciplinary Applications (Southeast University), Ministry of Education(交叉应用(东南大学),教育部);Southeast University(东南大学);Centre for Frontier AI Research (CFAR), Agency for Science, Technology(前沿人工智能研究(CFAR),科技研究局);Research (A STAR), Singapore(研究(A STAR),新加坡);Institute of High Performance Computing (IHPC), Agency for Science, Technology(高性能计算(IHPC),科技研究局)
Dipartimento di Informatica, Università di Pisa(比萨大学计算机系);Dip. di Ingegneria Elettrica ed Elettronica, Università degli Studi di Cagliari(卡利亚里大学电气与电子工程系)