Memory Network Response Generation Using Hashed Slots

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Current question answering systems face challenges in efficiently processing and generating responses to diverse and complex queries across various domains, particularly in handling long-term knowledge and understanding temporal relationships within large datasets.

Innovation Solution

A memory network model that converts inputs into feature vectors, updates and hashes memory slots for efficient lookup, and uses relevancy scoring functions to generate responses, incorporating time features and handling unseen words by contextual representation.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Measurement precision

If a memory network model is used to handle long-term knowledge and temporal relationships, then response accuracy is improved, but system complexity increases

Engineering Contradiction:
Improveresponse accuracyVSAvoidsystem complexity
Core Design Contradiction:
Measurement precisionVSDevice complexity

Solution Approach 1:

The memory network is segmented into distinct functional components: input feature map component for converting inputs to feature vectors, memory component for storing feature vectors in memory slots, output feature map component for generating output feature vectors, and response component for producing final responses. This segmentation allows each component to be optimized independently while maintaining overall system accuracy.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

Feature vectors serve as intermediaries between the input component and memory storage, and between memory and the output component. These intermediary representations enable efficient processing and retrieval of information without requiring direct complex interactions between all system components.

Inventive Principle:
Principle #24Intermediary (Mediator)

2Productivity

If memory slots are hashed for efficient lookup, then query processing speed is improved, but memory management complexity increases

Engineering Contradiction:
Improvequery processing speedVSAvoidmemory management complexity
Core Design Contradiction:
ProductivityVSDevice complexity

Solution Approach 1:

Memory slots are pre-hashed using hash functions to create efficient lookup structures before queries are processed. This preliminary organization of memory slots allows for constant-time or near-constant-time retrieval operations, significantly improving query processing speed while the hashing mechanism itself manages the complexity of memory organization.

Inventive Principle:
Principle #10Preliminary action

3Adaptability or versatility

If the memory network handles diverse and complex queries across various domains, then adaptability is improved, but computational resources required increase

Engineering Contradiction:
ImproveadaptabilityVSAvoidcomputational resources
Core Design Contradiction:
Adaptability or versatilityVSUse of energy by moving object

Solution Approach 1:

The memory network computes relevancy scores for memory slots and processes only the most relevant feature vectors and memory entries rather than all possible data. This partial processing approach maintains high adaptability across diverse query domains while significantly reducing computational resource requirements by focusing only on necessary computations.

Inventive Principle:
Principle #16Partial or excessive action

Solution Approach 2:

The system dynamically adjusts processing parameters such as the number of memory slots to evaluate, feature vector dimensions, and relevancy score thresholds based on query complexity and domain requirements. This allows the memory network to optimize computational resource usage while maintaining adaptability across different query types and domains.

Inventive Principle:
Principle #35Parameter changes

Data Source

PatentUS10489701B2Generating responses using memory networks
Publication Date: 2019.11.26 META PLATFORMS INC
  • US10489701B2 patent drawing
  • US10489701B2 patent drawing
  • US10489701B2 patent drawing

AI summary

Embodiments are disclosed for providing a machine-generated response (e.g., answer) to an input (e.g., question) based on long-term memory information. A method according to some embodiments include receiving an input; converting the input into an input feature vector in an internal feature representation space; updating a memory data structure by incorporating the input feature vector into the memory data structure; generating an output feature vector in the internal feature representation space, based on the updated memory data structure and the input feature vector; converting the output feature vector into an output object; and providing an output based on the output object as a response to the input.