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

基于不可微约束的图像识别算法

Boosting Image Recognition with Non-differentiable Constraints

McGill University(麦吉尔大学);Universite de Montreal(蒙特利尔大学);Polytechnique Montreal(蒙特利尔高等理工学院);ETS Montreal(蒙特利尔高等工程技术学院)

Xuan Li, Yuchen Lu, Peng Xu, Jizong Peng, Christian Desrosiers, Xue Liu

摘要:

本文研究了具有不可微约束的图像识别问题。许多现实生活中的识别应用程序需要一个丰富的输出结构与确定性的约束,是离散的或不可微的功能建模。一个主要的例子是识别数字序列,这是由这样的规则(例如,\textit{container code detection}、\textit{social insurance number recognition}等)。我们调查的有用性,增加不可微的限制学习的数字序列识别的任务。为了实现这一目标,我们综合了MNIST和Cropped SVHN的六个不同的数据集,其中三个离散规则受到现实协议的启发。针对这些规则的不可微性,提出了一种基于策略梯度方法的强化学习方法。我们发现,结合这种基于规则的强化可以有效地提高所有数据集的准确性,并提供良好的归纳偏差,即使在有限的数据下也能改善模型。在其中一个数据集MNIST\_Rule2上,使用基于规则的强化训练的模型对于2000个样本提高了4.7%的准确性,对于500个样本提高了23.6%。我们进一步测试了我们的模型对合成的对抗性例子,例如,屏蔽数字,并观察到添加我们基于规则的强化以相对较小的性能下降增加了模型的鲁棒性。

英文摘要:

In this paper, we study the problem of image recognition with non-differentiable constraints. A lot of real-life recognition applications require a rich output structure with deterministic constraints that are discrete or modeled by a non-differentiable function. A prime example is recognizing digit sequences, which are restricted by such rules (e.g., \textit{container code detection}, \textit{social insurance number recognition}, etc.). We investigate the usefulness of adding non-differentiable constraints in learning for the task of digit sequence recognition. Toward this goal, we synthesize six different datasets from MNIST and Cropped SVHN, with three discrete rules inspired by real-life protocols. To deal with the non-differentiability of these rules, we propose a reinforcement learning approach based on the policy gradient method. We find that incorporating this rule-based reinforcement can effectively increase the accuracy for all datasets and provide a good inductive bias which improves the model even with limited data. On one of the datasets, MNIST\_Rule2, models trained with rule-based reinforcement increase the accuracy by 4.7\% for 2000 samples and 23.6\% for 500 samples. We further test our model against synthesized adversarial examples, e.g., blocking out digits, and observe that adding our rule-based reinforcement increases the model robustness with a relatively smaller performance drop.

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

↑