Real-Time NLP Anomaly Rectification via Rule-Based Preprocessing

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Natural language processing systems face delays in rectifying anomalies caused by new information, leading to incorrect and inconsistent user experiences, as they rely on time-consuming machine learning updates.

Innovation Solution

Implementing a real-time anomaly rectification mechanism that bypasses ordinary processing paths by using new request templates and entity rules stored in databases, allowing for immediate correction of user requests through NLU preprocessing subsystems and ASR subsystems.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If machine learning modules are used to expand lexicon and improve accuracy, then the system can handle new information and improve long-term performance, but the system experiences delays in rectifying anomalies and provides incorrect results during the learning period

Engineering Contradiction:
Improveaccuracy of anomaly rectificationVSAvoidtime delay in rectifying anomalies
Core Design Contradiction:
ReliabilityVSLoss of time

Solution Approach 1:

The system divides anomaly rectification into two separate processing paths: a rule-based preprocessing path for immediate rectification and a machine learning path for long-term improvement. This segmentation allows the system to provide quick fixes through rules while simultaneously learning from new information, eliminating the delay inherent in pure machine learning approaches.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The system performs preliminary anomaly rectification using rule-based preprocessing before machine learning models are updated. By establishing rules in advance that can immediately address anomalies caused by new information, the system provides timely corrections without waiting for machine learning retraining to complete.

Inventive Principle:
Principle #10Preliminary action

2Speed

If rule-based processing is used for immediate anomaly rectification, then the system can provide fast responses, but the system lacks the ability to learn and adapt to new information patterns

Engineering Contradiction:
Improveresponse speed for anomaly rectificationVSAvoidability to learn new information patterns
Core Design Contradiction:
SpeedVSAdaptability or versatility

Solution Approach 1:

The system merges rule-based preprocessing with machine learning processing in a unified architecture. The rule-based component provides immediate speed for anomaly rectification, while the machine learning component continuously learns new patterns. Both components work together, with rules providing fast initial responses and machine learning progressively improving adaptability to new information.

Inventive Principle:
Principle #5Merging (Combining)

Solution Approach 2:

The system implements feedback mechanisms where machine learning models are continuously retrained using data from processed requests, including anomaly cases. This feedback loop allows the system to maintain fast rule-based responses while progressively improving its ability to adapt to new information patterns through learned experiences.

Inventive Principle:
Principle #23Feedback

Data Source

PatentUS11948573B2Automatically rectifying in real-time anomalies in natural language processing systems
Publication Date: 2024.04.02 WALMART APOLLO LLC
  • US11948573B2 patent drawing
  • US11948573B2 patent drawing
  • US11948573B2 patent drawing

AI summary

A method for automatically rectifying in real-time anomalies in natural language processing systems. The method can include determining an output corresponding to a user request from a user device for a user based on a new request template or machine learning. The method further can include retrieving one or more entity rules corresponding to entity data of the user request. The method also can include overwriting entity information of the entity data corresponding to the one or more entity rules. Additionally, the method can include outputting the output. Furthermore, the method can include transmitting, to the user device, a response to the user. Other embodiments are disclosed.