Query Rewriting for Speech Assistant Understanding

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Current speech assistant products often fail to understand diverse user queries, leading to default or rule-based replies that degrade user experience by appearing stiff and unintelligent.

Innovation Solution

A query rewriting method and apparatus that extracts context and intention information from original queries, using a machine vocabulary collection to determine a new query that improves machine understanding, enhancing retrieval efficiency and user experience.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If rule-based replies are used for unknown queries, then the system can provide a response, but the user experience deteriorates due to stiff and unintelligent replies

Engineering Contradiction:
Improvesystem response capabilityVSAvoiduser experience
Core Design Contradiction:
ReliabilityVSEase of operation

Solution Approach 1:

The patent introduces a query rewriting module as an intermediary component between the user's original query and the search system. This mediator translates diverse, unstructured user queries into standardized machine vocabulary queries, enabling the system to handle unknown queries intelligently rather than relying solely on pre-configured rules. The rewriting module acts as a bridge that converts human language variations into machine-understandable formats.

Inventive Principle:
Principle #24Intermediary (Mediator)

Solution Approach 2:

The patent changes the parameter of query representation from raw user input to rewritten machine vocabulary-based queries. By transforming the query parameters through the rewriting module, the system can maintain response reliability while improving user experience. The parameter transformation enables the system to understand and respond to diverse user expressions accurately.

Inventive Principle:
Principle #35Parameter changes

2Device complexity

If the system uses default or rule-based replies, then implementation is simple, but the product appears stiff and not smart enough

Engineering Contradiction:
Improvesystem implementation complexityVSAvoidintelligency
Core Design Contradiction:
Device complexityVSAdaptability or versatility

Solution Approach 1:

The patent implements preliminary action by pre-building a machine vocabulary collection and training the query rewriting module before actual user interactions. The system pre-processes and stores standardized vocabulary items, enabling it to automatically rewrite user queries without requiring complex real-time decision-making. This preliminary preparation allows the system to appear intelligent while maintaining manageable implementation complexity.

Inventive Principle:
Principle #10Preliminary action

3Productivity

If diverse speech queries are not rewritten, then the system processes queries directly, but the machine understanding degree is insufficient

Engineering Contradiction:
Improvequery processing speedVSAvoidmachine understanding degree
Core Design Contradiction:
ProductivityVSMeasurement precision

Solution Approach 1:

The query rewriting module serves as an intermediary that processes between raw user queries and machine understanding. It translates diverse speech queries into standardized machine vocabulary representations, significantly improving the machine's understanding degree. The mediator architecture allows for efficient processing by leveraging pre-trained models and vocabulary collections.

Inventive Principle:
Principle #24Intermediary (Mediator)

Solution Approach 2:

The patent replaces mechanical rule-based query matching with an AI-based rewriting mechanism. Instead of using simple keyword matching or pre-configured rules, the system employs machine learning models to rewrite queries, substantially improving understanding accuracy. This substitution of mechanical systems with intelligent algorithms resolves the contradiction between processing efficiency and understanding precision.

Inventive Principle:
Principle #28Mechanics substitution (Replace mechanical system)

Data Source

PatentUS12079215B2Query rewriting method and apparatus, device and storage medium
Publication Date: 2024.09.03 BEIJING BAIDU NETCOM SCI & TECH CO LTD
  • US12079215B2 patent drawing
  • US12079215B2 patent drawing
  • US12079215B2 patent drawing

AI summary

Provided are a query rewriting method and apparatus, a device and a storage medium, relating to the technical field of data processing and, in particular, to technical fields including artificial intelligence, speech technology, intelligent search and deep learning. The solution includes, in response to a query rewriting request, extracting at least one of context information of an original query and intention information of the original query; and determining a new query based on a machine vocabulary collection and the at least one of the context information and the intention information. The understanding degree to the new query by a machine is greater than the understanding degree to the original query by the machine.