Boosting Image Recognition with Non-differentiable Constraints

10/02/2019
by   Xuan Li, et al.
38

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., container code detection, 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.

READ FULL TEXT

page 3

page 4

page 5

research
09/18/2023

Neural Network-Based Rule Models With Truth Tables

Understanding the decision-making process of a machine/deep learning mod...
research
09/16/2021

Combining Rules and Embeddings via Neuro-Symbolic AI for Knowledge Base Completion

Recent interest in Knowledge Base Completion (KBC) has led to a plethora...
research
09/30/2021

Scalable Rule-Based Representation Learning for Interpretable Classification

Rule-based models, e.g., decision trees, are widely used in scenarios de...
research
02/04/2021

Persistent Rule-based Interactive Reinforcement Learning

Interactive reinforcement learning has allowed speeding up the learning ...
research
03/24/2000

Constraint Programming viewed as Rule-based Programming

We study here a natural situation when constraint programming can be ent...
research
04/06/2020

On Evaluating the Quality of Rule-Based Classification Systems

Two indicators are classically used to evaluate the quality of rule-base...

Please sign up or login with your details

Forgot password? Click here to reset