arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2106.00769cs.LG
收藏

通过解码输入表示来改善神经网络的组合性

Improving Compositionality of Neural Networks by Decoding Representations to Inputs

Stanford University(斯坦福大学)

Mike Wu, Noah Goodman, Stefano Ermon

摘要:

在传统的软件程序中,很容易跟踪从变量到输入的程序逻辑,应用断言语句来阻止错误行为,并将程序组合在一起。尽管深度学习程序在新应用程序上表现出了强大的性能,但它们牺牲了传统软件程序的许多功能。以此为动机,我们朝着改进深度学习程序迈出了适度的第一步,通过联合训练一个生成模型来约束神经网络激活,以“解码”回输入。我们称这种设计为可解码神经网络,或DecNN。这样做可以在神经网络中实现某种形式的组合性,其中可以递归地将DecNN与自身组合,以创建具有不确定性的集合类模型。在我们的实验中,我们展示了这种不确定性在分布外检测、对抗性示例检测和校准中的应用--同时在准确性上与标准神经网络相匹配。我们通过将DecNN与预训练模型相结合来进一步探索这种组合性,在那里我们展示了有希望的结果,即神经网络可以通过使用受保护的特征进行正则化。

英文摘要:

In traditional software programs, it is easy to trace program logic from variables back to input, apply assertion statements to block erroneous behavior, and compose programs together. Although deep learning programs have demonstrated strong performance on novel applications, they sacrifice many of the functionalities of traditional software programs. With this as motivation, we take a modest first step towards improving deep learning programs by jointly training a generative model to constrain neural network activations to "decode" back to inputs. We call this design a Decodable Neural Network, or DecNN. Doing so enables a form of compositionality in neural networks, where one can recursively compose DecNN with itself to create an ensemble-like model with uncertainty. In our experiments, we demonstrate applications of this uncertainty to out-of-distribution detection, adversarial example detection, and calibration -- while matching standard neural networks in accuracy. We further explore this compositionality by combining DecNN with pretrained models, where we show promising results that neural networks can be regularized from using protected features.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑