Adversarial Distraction for NLI Syntax Robustness

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Natural language inference classifiers trained on existing datasets make errors due to their inability to understand how syntax affects meaning, leading to inadequate performance in identifying entailment relationships.

Innovation Solution

The method involves generating adversarial distractions by creating pairs of examples with differing syntactic structures but matching information, which are used to retrain the neural network models, enhancing their robustness to syntax changes through techniques like person reversal and passive voice transformation.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Measurement precision

If natural language inference classifiers are trained on existing datasets, then they achieve near human level performance on standard tasks, but they make errors due to inability to understand how syntax affects meaning

Engineering Contradiction:
Improveclassification accuracyVSAvoidrobustness to syntax changes
Core Design Contradiction:
Measurement precisionVSReliability

Solution Approach 1:

The patent applies preliminary action by proactively generating adversarial distraction examples with reversed person references before training the classifier. These synthetic examples are created in advance to teach the model about syntax-meaning relationships, preventing syntax-related errors before they occur in actual inference tasks.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The patent implements preliminary anti-action by introducing adversarial examples that deliberately contain syntax manipulations (person reversals) opposite to correct patterns. These counter-examples are designed to counteract the model's tendency to ignore syntax, thereby preventing future syntax-related classification errors.

Inventive Principle:
Principle #9Preliminary anti-action

2Reliability

If adversarial distraction training is applied to teach syntax, then robustness to syntax changes is enhanced, but training data processing complexity increases

Engineering Contradiction:
Improverobustness to syntax changesVSAvoidtraining data processing complexity
Core Design Contradiction:
ReliabilityVSDevice complexity

Solution Approach 1:

The patent applies copying by creating synthetic adversarial examples that replicate the structure of existing training data but with modified person references. Instead of manually creating complex training scenarios, the system copies existing sentences and applies systematic transformations (person reversals) to generate the augmented training set.

Inventive Principle:
Principle #26Copying

Solution Approach 2:

The patent implements parameter changes by systematically modifying specific parameters of existing sentences (person reference indices) to generate adversarial examples. This approach transforms a small number of original sentences into multiple training variants by changing only the person reference parameters, rather than creating entirely new complex examples.

Inventive Principle:
Principle #35Parameter changes

Data Source

PatentUS11194974B2Teaching syntax by adversarial distraction
Publication Date: 2021.12.07 NEC CORP
  • US11194974B2 patent drawing
  • US11194974B2 patent drawing
  • US11194974B2 patent drawing

AI summary

A computer-implemented method and system are provided for teaching syntax for training a neural network based natural language inference model. The method includes selectively performing, by the hardware processor, person reversal on a set of hypothesis sentences, based on person reversal prevention criteria, to obtain a first training data set. The method further includes enhancing, by the hardware processor, a robustness of the neural network based natural language inference model to syntax changes by training the neural network based natural language inference model on original training data combined with the first data set.