Deep learning models have been developed for a variety of tasks and are deployed every day to work in real conditions. Some of these tasks are critical and models need to be trusted and safe, e.g. military communications or cancer diagnosis. These models are given real data, simulated data or combination of both and are trained to be highly predictive on them. However, gathering enough real data or simulating them to be representative of all the real conditions is: costly, sometimes impossible due to confidentiality and most of the time impossible. Indeed, real conditions are constantly changing and sometimes are intractable. A solution is to deploy machine learning models that are able to give predictions when they are confident enough otherwise raise a flag or abstain. One issue is that standard models easily fail at detecting out-of-distribution samples where their predictions are unreliable. We present here TrustGAN, a generative adversarial network pipeline targeting trustness. It is a deep learning pipeline which improves a target model estimation of the confidence without impacting its predictive power. The pipeline can accept any given deep learning model which outputs a prediction and a confidence on this prediction. Moreover, the pipeline does not need to modify this target model. It can thus be easily deployed in a MLOps (Machine Learning Operations) setting. The pipeline is applied here to a target classification model trained on MNIST data to recognise numbers based on images. We compare such a model when trained in the standard way and with TrustGAN. We show that on out-of-distribution samples, here FashionMNIST and CIFAR10, the estimated confidence is largely reduced. We observe similar conclusions for a classification model trained on 1D radio signals from AugMod, tested on RML2016.04C. We also publicly release the code.
翻译:为各种任务开发了深度学习模型,16 这些模型已经为各种任务开发了深层次的学习模型, 并且每天都在实际条件下工作, 其中一些是关键的任务, 模型需要信任和安全, 例如军事通信或癌症诊断。 这些模型得到真实的数据、 模拟数据或两者的组合, 并经过高度的预测。 然而, 收集足够的真实数据或模拟这些数据, 能够代表所有真实的条件, 是昂贵的, 有时由于保密和大部分时间不可能。 事实上, 真实的条件正在不断改变, 有时是难以实现的。 解决方案是部署机器学习模型, 在它们有信心以其他方式升旗或放弃信号时能够作出预测。 其中一个问题是, 标准模型很容易在探测分发的样本上失败, 模拟数据, 模拟, 模拟性对抗性网络网络网络, 以信任为对象。 这是一个深层次的管道, 改进了目标模型, 并且不影响常规数据测试的释放能力。 我们的管道可以接受任何深度学习模型, 从而降低预测和信心。 此外, 管道不需要在发送的模板上修改目标模型, 也很容易地显示常规操作。