Context-Aware Autocomplete Using Segmented Machine Learning Models

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing autocomplete tools are generic and fail to accurately predict text context and domain, leading to incorrect and irrelevant suggestions, which can increase user effort as they often require double-checking and correcting the suggestions.

Innovation Solution

A context-based autocomplete system that analyzes input text to detect context and domain, using a machine learning model trained on context-specific data to provide accurate and relevant predictions, dynamically adapting to changes in context and domain during text entry.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If generic autocomplete tools are used, then device complexity is reduced, but autocomplete accuracy deteriorates

Engineering Contradiction:
Improveautocomplete accuracyVSAvoidmodel complexity
Core Design Contradiction:
ReliabilityVSDevice complexity

Solution Approach 1:

The machine learning model is segmented into multiple specialized components, each trained on context-specific data for different domains (e.g., technical writing, creative writing, academic writing). This segmentation allows the system to achieve high accuracy in specific contexts without requiring a single overly complex universal model, as each component focuses on mastering particular domain patterns.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The system dynamically selects and switches between different model components based on the detected context and domain of the input text. This dynamic adaptation allows the autocomplete function to adjust its behavior in real-time, choosing the most appropriate specialized component for the current writing situation, thereby maintaining high accuracy across diverse contexts without permanent structural complexity.

Inventive Principle:
Principle #15Dynamics

2Reliability

If context-specific components are used, then autocomplete accuracy is improved, but device complexity increases

Engineering Contradiction:
Improvecontext prediction accuracyVSAvoidnumber of components
Core Design Contradiction:
ReliabilityVSDevice complexity

Solution Approach 1:

The system employs a universal context detection mechanism that identifies the domain and context of input text, which then routes to appropriate specialized components. This multi-functional approach allows a single detection system to serve multiple specialized components, reducing overall complexity compared to having separate detection mechanisms for each component while maintaining high context prediction accuracy.

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

Solution Approach 2:

The system performs preliminary context analysis and domain detection before invoking specific autocomplete components. By pre-identifying the context type (technical, creative, academic, etc.), the system can efficiently select the appropriate specialized component without requiring complex real-time decision-making during the autocomplete process itself, thereby managing complexity while maintaining accuracy.

Inventive Principle:
Principle #10Preliminary action

3Ease of operation

If generic autocomplete is used, then ease of operation is maintained, but user effort increases due to corrections

Engineering Contradiction:
Improveautocomplete usabilityVSAvoidtime for correction
Core Design Contradiction:
Ease of operationVSLoss of time

Solution Approach 1:

The system incorporates feedback mechanisms where user interactions with autocomplete suggestions (acceptance, rejection, or modification) are used to refine context detection and component selection. This feedback loop enables the system to learn from correction patterns and improve its predictions over time, reducing the frequency and effort of corrections while maintaining ease of operation through continued usability.

Inventive Principle:
Principle #23Feedback

Data Source

PatentUS11816431B2Autocomplete of user entered text
Publication Date: 2023.11.14 SALESFORCE INC
  • US11816431B2 patent drawing
  • US11816431B2 patent drawing
  • US11816431B2 patent drawing

AI summary

Computer implemented method and a system for auto completion of text based on the context associated with the text. The computer implemented method includes steps of receiving input text, identifying a certain context associated with the input text from multiple predefined contexts, by feeding the input text into a context-prediction component of a machine learning model that predicts the certain context, selecting a certain context-specific component of the machine learning model from multiple context-specific components according to the identified certain context, feeding the input text into the selected context-specific component that outputs autocomplete text associated with the identified certain context. The context-specific components are each trained to generate autocompleted text associated with a respective context pre-defined for the respective context-specific component.