Dynamic Memory Network Unified NLP Framework

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing machine learning systems require different algorithms and training data sets for various tasks, making them labor-intensive and limited in real-world applications, especially for complex natural language processing tasks like question answering, which necessitates a broader applicability and generality.

Innovation Solution

A unified neural network framework, known as the Dynamic Memory Network (DMN), processes input and question sequences to form episodic and semantic memories, enabling the system to answer a variety of tasks by triggering attention and retrieval processes over stored facts, allowing for end-to-end training and unified frameworks for tasks such as part-of-speech tagging, named entity recognition, and sentiment analysis.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Measurement precision

If different algorithms and training data sets are used for various tasks, then task-specific performance is improved, but system complexity and labor intensity increase

Engineering Contradiction:
Improvetask-specific performanceVSAvoidsystem complexity
Core Design Contradiction:
Measurement precisionVSDevice complexity

Solution Approach 1:

The patent implements a universal question answering framework that can handle multiple NLP tasks (sentiment analysis, entity recognition, translation, etc.) through a single unified architecture. The system uses a common training methodology with question-answer pairs to train the model for diverse tasks, eliminating the need for separate algorithms and training data sets for each task while maintaining high performance across all tasks

Inventive Principle:
Principle #6Universality (Multi-functionality)

2Measurement precision

If different algorithms and training data sets are used for various tasks, then task-specific accuracy is improved, but development time and labor intensity increase

Engineering Contradiction:
Improvetask-specific accuracyVSAvoiddevelopment time
Core Design Contradiction:
Measurement precisionVSLoss of time

Solution Approach 1:

The unified framework allows a single model to be trained for multiple tasks simultaneously using question-answer pair data. This eliminates the need to develop and train separate models for each NLP task, significantly reducing development time and labor intensity while maintaining task-specific accuracy through the flexible question-answer formulation

Inventive Principle:
Principle #6Universality (Multi-functionality)

3Measurement precision

If learning machines are customized for each type of analysis, then analysis precision is improved, but adaptability and generality deteriorate

Engineering Contradiction:
Improveanalysis precisionVSAvoidadaptability
Core Design Contradiction:
Measurement precisionVSAdaptability or versatility

Solution Approach 1:

The patent creates a highly adaptable system where a single unified model can perform various NLP tasks by formulating them as question-answering problems. The system maintains analysis precision for each task while achieving broad adaptability across sentiment analysis, entity recognition, translation, and other linguistic tasks through its general-purpose architecture

Inventive Principle:
Principle #6Universality (Multi-functionality)

Solution Approach 2:

The system dynamically adapts to different tasks through the question formulation mechanism. By representing different NLP tasks as different types of questions over the same input data, the model can flexibly switch between tasks and adjust its processing focus without requiring task-specific customization, thereby maintaining both precision and adaptability

Inventive Principle:
Principle #15Dynamics

4Measurement precision

If separate learning machines are created for each task, then task specialization is improved, but system simplicity and ease of operation worsen

Engineering Contradiction:
Improvetask specializationVSAvoidsystem simplicity
Core Design Contradiction:
Measurement precisionVSEase of operation

Solution Approach 1:

The patent merges multiple task-specific learning machines into a single unified question answering framework. By combining sentiment analysis, entity recognition, translation, and other NLP tasks into one system that processes all inputs as question-answer pairs, the patent simplifies system operation while maintaining task specialization through the flexible question formulation approach

Inventive Principle:
Principle #5Merging (Combining)

Data Source

PatentUS11113598B2Dynamic memory network
Publication Date: 2021.09.07 SALESFORCE INC
  • US11113598B2 patent drawing
  • US11113598B2 patent drawing
  • US11113598B2 patent drawing

AI summary

A novel unified neural network framework, the dynamic memory network, is disclosed. This unified framework reduces every task in natural language processing to a question answering problem over an input sequence. Inputs and questions are used to create and connect deep memory sequences. Answers are then generated based on dynamically retrieved memories.