TorchDEQ:一个用于深度均衡模型的库
TorchDEQ: A Library for Deep Equilibrium Models
AI总结:
本文提出基于PyTorch的TorchDEQ库,统一深度均衡模型的定义、训练与推理,并构建DEQ Zoo,在十个数据集上显著提升六个隐式模型的性能、训练稳定性与效率。
摘要:
深度均衡(DEQ)模型是一类新兴的隐式模型,它将输入映射到神经网络的固定点,在深度学习社区中受到越来越多的关注。然而,目前DEQ模型的训练和应用是以临时拼凑的方式进行的,各种技术分散在文献中。在这项工作中,我们系统地重新审视了DEQ,并提出了TorchDEQ,这是一个开箱即用的基于PyTorch的库,允许用户以最少的代码和最佳实践在多个领域定义、训练和推理DEQ。使用TorchDEQ,我们构建了一个“DEQ Zoo”,支持六个已发表的跨不同领域的隐式模型。通过开发一个融合所有模型最佳实践的联合框架,我们在DEQ Zoo中所有六个项目所涉及的十个数据集上大幅提升了DEQ的性能、训练稳定性和效率。TorchDEQ和DEQ Zoo已作为开源项目发布在\href{https://github.com/locuslab/torchdeq}{open source}。
英文摘要:
Deep Equilibrium (DEQ) Models, an emerging class of implicit models that maps inputs to fixed points of neural networks, are of growing interest in the deep learning community. However, training and applying DEQ models is currently done in an ad-hoc fashion, with various techniques spread across the literature. In this work, we systematically revisit DEQs and present TorchDEQ, an out-of-the-box PyTorch-based library that allows users to define, train, and infer using DEQs over multiple domains with minimal code and best practices. Using TorchDEQ, we build a ``DEQ Zoo'' that supports six published implicit models across different domains. By developing a joint framework that incorporates the best practices across all models, we have substantially improved the performance, training stability, and efficiency of DEQs on ten datasets across all six projects in the DEQ Zoo. TorchDEQ and DEQ Zoo are released as \href{https://github.com/locuslab/torchdeq}{open source}.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。