Automated Quality Assurance for NLU Grammar Annotation

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

The development of natural language understanding (NLU) systems is hindered by the time-consuming and error-prone process of manual annotation, which increases development time and affects the quality of grammars and statistical models, with existing approaches like unsupervised grammar induction and GUI-based tools requiring significant effort and not providing meaningful grammar rules or structure suggestions.

Innovation Solution

A method that includes an annotation module obtaining annotations based on an ontology and grammar, with a quality assurance module performing automated checks to flag inconsistencies and suggest updates, using semantic clustering and hypernym tagging to improve annotation quality and consistency.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If manual annotation is used to construct NLU systems, then annotation quality and consistency can be maintained, but development time increases significantly and errors are more frequent

Engineering Contradiction:
Improveannotation qualityVSAvoiddevelopment time
Core Design Contradiction:
ReliabilityVSLoss of time

Solution Approach 1:

The system performs self-service through automated quality assurance checks that autonomously validate annotations against the ontology and grammar, generating flags for inconsistencies without requiring constant manual intervention. The quality assurance module automatically detects issues such as mismatched hypernym paths and ontology violations, reducing reliance on continuous manual review while maintaining high annotation quality.

Inventive Principle:
Principle #25Self-service

Solution Approach 2:

The system implements feedback mechanisms by generating quality assurance flags that provide immediate information about annotation inconsistencies. These flags feedback to annotators and developers, enabling them to correct issues promptly. The automated checks continuously monitor annotation quality and provide actionable feedback, allowing for rapid iteration and improvement without extending development time.

Inventive Principle:
Principle #23Feedback

2Loss of time

If unsupervised grammar induction techniques are used, then development time is reduced, but meaningful grammar rules that are readable to humans are not provided and manual tuning is still required

Engineering Contradiction:
Improvedevelopment timeVSAvoidgrammar readability
Core Design Contradiction:
Loss of timeVSEase of operation

Solution Approach 1:

The system introduces an intermediary layer between unsupervised grammar induction and the final grammar output. The quality assurance module acts as a mediator that processes the raw grammar rules generated by unsupervised techniques, validating them against the ontology and grammar structure. This intermediary layer filters out meaningless rules and highlights those requiring manual tuning, making the overall process more efficient while maintaining readability.

Inventive Principle:
Principle #24Intermediary (Mediator)

Solution Approach 2:

The system performs preliminary actions by conducting automated quality assurance checks on grammar rules before they are finalized. The quality assurance module pre-validates grammar structures against the ontology, identifying potential issues early in the development process. This preliminary validation reduces the need for extensive manual tuning later, as many issues are caught and addressed automatically before the grammar is deployed.

Inventive Principle:
Principle #10Preliminary action

3Ease of operation

If IDEs are used for grammar development, then testing and debugging capabilities are improved, but suggestions regarding target grammar structure and rule ordering are not provided

Engineering Contradiction:
Improvegrammar testingVSAvoidsystem functionality
Core Design Contradiction:
Ease of operationVSDevice complexity

Solution Approach 1:

The system merges the functionality of IDEs with automated quality assurance capabilities into a unified platform. The quality assurance module is integrated with the grammar development environment, combining testing, debugging, and validation functions. This integration provides a comprehensive toolset that not only tests and debugs grammars but also offers suggestions for improvement, reducing the need for separate tools and simplifying the overall system.

Inventive Principle:
Principle #5Merging (Combining)

4Ease of operation

If GUI-based interactive tools are used for annotation, then user guidance through the annotation process is improved, but significant effort is required to define slot fillers based on regular expressions and complicated statistical models are needed

Engineering Contradiction:
Improveannotation guidanceVSAvoidmodel complexity
Core Design Contradiction:
Ease of operationVSDevice complexity

Solution Approach 1:

The system extracts the complex statistical models and regular expression definitions from the user-facing annotation interface. The quality assurance module handles the complex validation logic separately, allowing the GUI to remain simple and user-friendly. Annotators interact with a streamlined interface that provides guidance without requiring them to understand or configure complicated underlying models, while the quality assurance checks continue to enforce rigorous validation standards.

Inventive Principle:
Principle #2Taking out (Extraction)

Data Source

PatentUS10339217B2Automated quality assurance checks for improving the construction of natural language understanding systems
Publication Date: 2019.07.02 MICROSOFT TECHNOLOGY LICENSING LLC
  • US10339217B2 patent drawing
  • US10339217B2 patent drawing
  • US10339217B2 patent drawing

AI summary

Aspects described herein provide quality assurance checks for improving the construction of natural language understanding grammars. An annotation module may obtain a set of annotations for a set of text samples based, at least in part, on an ontology and a grammar. A quality assurance module may automatically perform one or more quality assurance checks on the set of annotations, the ontology, the grammar, or combinations thereof. The quality assurance module may generate a list of flagged annotations during performance of a quality assurance check. The list of flagged annotations may be presented at an annotation review interface displayed at a display device. One of the flagged annotations may be selected and presented at an annotation interface displayed at the display device. Responsive to presentation of the flagged annotation, the ontology, the grammar, the flagged annotation selected, or combinations thereof may be updated based on user input received.