Search Query Auto-Completion from Unstructured Text Using NER

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing information retrieval systems face challenges in providing up-to-date auto-complete and auto-correct functionalities due to the rapidly evolving nature of searchable items, limited availability of current search queries, and regulatory constraints, leading to inefficient resource usage and user iterations.

Innovation Solution

Implementing a Bidirectional Encoder Representations from Transformers (BERT)-based model and a ranked trie-tree (RTT) to enable dynamic, resource- and time-efficient auto-completion and auto-correction of search queries, utilizing named-entity recognition (NER) and a distilBERT-based model to handle spelling errors.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Adaptability or versatility

If traditional auto-complete and auto-correct functions are implemented using conventional methods, then basic functionality is provided, but the system cannot keep up with rapidly evolving searchable items and consumes excessive computational resources

Engineering Contradiction:
Improveability to keep up with evolving searchable itemsVSAvoidcomputational resource consumption
Core Design Contradiction:
Adaptability or versatilityVSUse of energy by moving object

Solution Approach 1:

The patent applies preliminary action by pre-training the BERT model on large corpora of searchable items and their descriptions before deployment. This pre-training enables the model to understand entity relationships and contexts in advance, so when new searchable items are added, the system can quickly adapt without requiring intensive real-time computational resources for basic understanding tasks.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The patent introduces an intermediary layer between the searchable items database and the auto-complete function. The BERT model acts as this intermediary, processing and understanding the semantic relationships between items, descriptions, and entities. This intermediary enables the system to handle evolving items efficiently by leveraging the model's pre-learned knowledge rather than processing everything from scratch.

Inventive Principle:
Principle #24Intermediary (Mediator)

2Measurement precision

If comprehensive training data is used to improve auto-complete accuracy, then suggestion quality improves, but training time and computational overhead increase

Engineering Contradiction:
Improveauto-complete accuracyVSAvoidmodel training time
Core Design Contradiction:
Measurement precisionVSLoss of time

Solution Approach 1:

The patent performs preliminary action by curating and preparing training data in advance, including collecting descriptions of searchable items, identifying entities within those descriptions, and creating labeled training examples before model training begins. This preparation work is done offline, allowing the actual model training to proceed more efficiently with ready-to-use, high-quality data.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The patent applies self-service by implementing automated entity recognition and data labeling processes that reduce manual intervention. The system automatically processes searchable item descriptions to identify entities and generate training data labels, thereby reducing the time and resources required for manual data preparation while maintaining high training data quality.

Inventive Principle:
Principle #25Self-service

3Speed

If real-time processing is implemented to provide timely suggestions, then user experience improves, but computational complexity increases

Engineering Contradiction:
Improveresponse time for suggestionsVSAvoidcomputational complexity
Core Design Contradiction:
SpeedVSDevice complexity

Solution Approach 1:

The patent segments the auto-complete processing into distinct components: the BERT model handles semantic understanding and entity recognition, while a separate ranking system orders the suggestions. This segmentation allows each component to be optimized independently - the BERT model can be pre-trained and cached, while only the inference and ranking operations need to run in real-time, reducing overall computational complexity during user interactions.

Inventive Principle:
Principle #1Segmentation

Data Source

PatentUS12450268B2Efficient search query auto-completion from unstructured text
Publication Date: 2025.10.21 SAP SE
  • US12450268B2 patent drawing
  • US12450268B2 patent drawing
  • US12450268B2 patent drawing

AI summary

Methods, systems, and computer-readable storage media for receiving a set of descriptions provided as unstructured data, each description associated with one or more entities in a set of entities that can be queried using the IR system, providing, from the set of descriptions, a first set of training data including at least a first set of entities including at least a portion of the set of entities, training a named-entity recognition (NER) model using at least a portion of the first set of training data, receiving, by the IR system, a portion of a search query, and providing a set of auto-complete suggestions based on the portion of the search query and the NER model.