Context-Aware Text Adjustment Using Segmented Annotation Models

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Current Natural Language Processing (NLP) systems face challenges in effectively adjusting and completing user input text within the context of ongoing dialogues or searches, leading to incomplete or inaccurate responses.

Innovation Solution

A text adjustment method that determines whether to adjust a to-be-processed text based on context text, and if necessary, identifies adjustment character information and position information to complete the text, using pre-trained classification and annotation models to generate a more complete and accurate adjusted text.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If a full re-decoding process is used to adjust text, then the text can be completely regenerated, but the processing time and computational resources increase significantly

Engineering Contradiction:
Improvetext adjustment accuracyVSAvoidprocessing time
Core Design Contradiction:
ReliabilityVSLoss of time

Solution Approach 1:

The patent segments the text adjustment process into two parts: (1) identifying the adjustment region through annotation models that locate specific character ranges needing modification, and (2) generating only the adjusted portion using classification models rather than regenerating the entire text. This segmentation approach maintains adjustment accuracy while significantly reducing processing time compared to full re-decoding.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

Instead of performing a complete re-decoding process that regenerates the entire text, the patent applies partial action by only adjusting the specific character regions identified as needing modification. The annotation models pinpoint exact adjustment positions, and the classification models generate only the necessary adjusted characters, thereby reducing computational overhead while maintaining sufficient adjustment accuracy.

Inventive Principle:
Principle #16Partial or excessive action

2Reliability

If the system adjusts text based on context, then the text completeness improves, but the complexity of the adjustment process increases

Engineering Contradiction:
Improvetext completenessVSAvoidadjustment process complexity
Core Design Contradiction:
ReliabilityVSDevice complexity

Solution Approach 1:

The patent introduces intermediary models (annotation models and classification models) that mediate between the input text and the adjustment process. The annotation models first identify adjustment regions by analyzing context, and the classification models then determine adjustment characters based on this context. This intermediary approach enables context-based text completion while managing process complexity through modular model design.

Inventive Principle:
Principle #24Intermediary (Mediator)

Solution Approach 2:

The annotation models perform preliminary action by pre-identifying which character ranges need adjustment before the actual text generation occurs. This preliminary identification of adjustment positions allows the subsequent classification models to focus only on generating the appropriate adjusted characters, thereby achieving context-aware completeness without excessive overall complexity.

Inventive Principle:
Principle #10Preliminary action

3Productivity

If the system uses pre-trained classification and annotation models, then the adjustment speed increases, but the initial training requirements and resource consumption increase

Engineering Contradiction:
Improvetext adjustment speedVSAvoidtraining resource consumption
Core Design Contradiction:
ProductivityVSUse of energy by moving object

Solution Approach 1:

The patent applies preliminary action in the training phase by pre-training annotation models and classification models on extensive dialogue datasets before actual text adjustment operations. This preliminary training enables the models to quickly and accurately perform text adjustments during runtime without requiring significant computational resources, as the heavy lifting of learning patterns occurs beforehand. The trade-off is acceptable since training is a one-time cost compared to repeated inference operations.

Inventive Principle:
Principle #10Preliminary action

Data Source

PatentUS12124810B2Text adjustment method, electronic device and storage medium
Publication Date: 2024.10.22 BEIJING XIAOMI MOBILE SOFTWARE CO LTD
  • US12124810B2 patent drawing
  • US12124810B2 patent drawing
  • US12124810B2 patent drawing

AI summary

A text adjustment method includes: obtaining a to-be-processed text; determining whether to adjust the to-be-processed text according to the to-be-processed text and a context text of the to-be-processed text; in response to determining to adjust the to-be-processed text, determining adjustment character information and adjustment position information of the to-be-processed text according to the context text; and determining an adjusted to-be-processed text according to the adjustment character information and the adjustment position information.