Implicit models separate the definition of a layer from the description of its solution process. While implicit layers allow features such as depth to adapt to new scenarios and inputs automatically, this adaptivity makes its computational expense challenging to predict. In this manuscript, we increase the "implicitness" of the DEQ by redefining the method in terms of an infinite time neural ODE, which paradoxically decreases the training cost over a standard neural ODE by 2-4x. Additionally, we address the question: is there a way to simultaneously achieve the robustness of implicit layers while allowing the reduced computational expense of an explicit layer? To solve this, we develop Skip and Skip Reg. DEQ, an implicit-explicit (IMEX) layer that simultaneously trains an explicit prediction followed by an implicit correction. We show that training this explicit predictor is free and even decreases the training time by 1.11-3.19x. Together, this manuscript shows how bridging the dichotomy of implicit and explicit deep learning can combine the advantages of both techniques.
翻译:隐式模型将层的定义与其求解过程的描述分离。虽然隐式层允许深度等特征自动适应新场景和输入,但这种自适应性使其计算开销难以预测。本文通过将DEQ重新定义为无限时间的神经ODE来增加其"隐式程度",这反而将标准神经ODE的训练成本降低了2-4倍。此外,我们探讨了以下问题:是否存在一种方法,既能同时实现隐式层的鲁棒性,又能降低显式层的计算开销?为解决这一问题,我们开发了Skip和Skip Reg. DEQ——一种隐式-显式(IMEX)层,能同时训练显式预测及其后续的隐式校正。研究表明,训练这一显式预测器不仅零成本,还能将训练时间降低1.11-3.19倍。综上所述,本文展示了如何通过弥合隐式与显式深度学习的二元对立,使两种技术的优势得以融合。