Tagging Model Training with Query Supplementation and Adversarial Enhancement

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Machine-trained tagging models struggle to accurately interpret queries due to their substandard performance, leading to irrelevant output results in applications that rely on them, such as serving non-relevant content items in response to user queries.

Innovation Solution

A multi-stage training process for a tagging model, involving pre-training on queries, supplementation with document titles, and adversarial knowledge enhancement, using weak and strong labels, and virtual adversarial training to improve generalization and robustness.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Measurement precision

If a tagging model is trained on queries alone, then the training process is simple and fast, but the model achieves low accuracy in interpreting queries

Engineering Contradiction:
Improvequery interpretation accuracyVSAvoidtraining process complexity
Core Design Contradiction:
Measurement precisionVSDevice complexity

Solution Approach 1:

The training process is divided into three distinct stages: (1) initial training on queries alone to establish baseline capabilities, (2) supplementary training with document titles to enhance contextual understanding, and (3) adversarial training to improve robustness. This segmentation allows the model to progressively improve accuracy while managing training complexity in controlled increments.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The model performs preliminary training on queries alone before introducing the more complex document title supplementation. This preliminary action establishes a foundation that enables the model to benefit from subsequent training phases without being overwhelmed by complexity from the start.

Inventive Principle:
Principle #10Preliminary action

2Measurement precision

If document titles are supplemented to queries for training, then the model's contextual understanding improves, but the training data processing time increases

Engineering Contradiction:
Improvecontextual understanding accuracyVSAvoidtraining data processing time
Core Design Contradiction:
Measurement precisionVSLoss of time

Solution Approach 1:

The training is organized into periodic stages where the model cycles through different training data configurations. The second stage periodically introduces document title supplementation to enhance contextual understanding, while the adversarial training in the third stage periodically challenges the model with perturbed inputs. This periodic structure allows the model to efficiently process training data by alternating between different training regimes rather than continuously processing all data at maximum complexity.

Inventive Principle:
Principle #19Periodic action

3Adaptability or versatility

If adversarial training is applied to improve robustness, then the model's generalizability increases, but the training complexity and computational resources required increase

Engineering Contradiction:
Improvemodel generalizabilityVSAvoidtraining system complexity
Core Design Contradiction:
Adaptability or versatilityVSDevice complexity

Solution Approach 1:

Adversarial training applies preliminary anti-action by intentionally introducing perturbations and challenges to the training data before the model encounters real-world variations. The third stage generates adversarial examples that preemptively stress-test the model, forcing it to learn more robust decision boundaries and improving generalizability before deployment.

Inventive Principle:
Principle #9Preliminary anti-action

4Measurement precision

If multiple training stages are used to improve accuracy, then the model performance increases, but the training time and computational resources increase

Engineering Contradiction:
Improvequery interpretation accuracyVSAvoidtraining efficiency
Core Design Contradiction:
Measurement precisionVSProductivity

Solution Approach 1:

The multi-stage training approach segments the overall training process into three specialized phases, each optimized for specific learning objectives. This segmentation allows efficient resource allocation where each stage builds upon the previous one, improving query interpretation accuracy through progressive specialization rather than attempting to achieve all goals simultaneously.

Inventive Principle:
Principle #1Segmentation

Data Source

PatentUS12613929B2Multi-stage training of a tagging model with query supplementation and adversarial enhancement
Publication Date: 2026.04.28 MICROSOFT TECHNOLOGY LICENSING LLC
  • US12613929B2 patent drawing
  • US12613929B2 patent drawing
  • US12613929B2 patent drawing

AI summary

A technique is described herein for training a tagging model that is able to successfully interpret queries. The technique trains the tagging model in plural stages. A first stage continues training a pre-trained language model based on a set of queries, to produce a first-stage model. A second stage performs training on the basis of a set of supplemented queries and associated weak labels, to produce a second-stage model. Each supplemented query combines a query with titles of documents that match the query. A third stage performs training on the basis of a set of supplemented queries and associated strong labels, to produce a third-stage model. The third stage also uses adversarial knowledge enhancement that has the effect of making the data presented to the third-stage model more difficult for the third-stage model to interpret. This, in turn, improves the generalization capabilities and robustness of the third-stage model.