Classification Model Training for Short AI-Generated Text Detection

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Conventional AI-generated text detection methods struggle with accuracy when the input text is short, as the length of the text affects detection difficulty, making it challenging to distinguish between human-generated and AI-generated content accurately.

Innovation Solution

The method involves generating target training data with a smaller data amount based on original training data, marking AI-generated data as unlabeled, and using a loss function that considers both positive and unlabeled samples to enhance the classification model's focus on AI-generated data, improving prediction accuracy.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Measurement precision

If conventional binary classification technology is used for AI-generated text detection, then the detection process is simple and fast, but the prediction accuracy deteriorates when the input text is short

Engineering Contradiction:
Improveprediction accuracyVSAvoidadaptability to different text lengths
Core Design Contradiction:
Measurement precisionVSAdaptability or versatility

Solution Approach 1:

The patent segments the training data into multiple groups based on text length, creating specialized training subsets for different text length ranges. This allows the model to learn distinct patterns for short texts versus long texts, resolving the contradiction by adapting the training approach to different text lengths rather than using a single uniform training method

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent implements dynamic training by selectively applying different training strategies based on text length. For short texts, it uses a specific training approach with adjusted loss functions and data sampling, while for long texts it uses conventional training. This dynamic adaptation resolves the contradiction by making the training process flexible rather than static

Inventive Principle:
Principle #15Dynamics

2Measurement precision

If the classification model is trained to focus on AI-generated data characteristics, then the ability to differentiate AI-generated data improves, but the training complexity increases due to handling unlabeled data and specialized loss functions

Engineering Contradiction:
Improvedifferentiation accuracyVSAvoidtraining complexity
Core Design Contradiction:
Measurement precisionVSDevice complexity

Solution Approach 1:

The patent performs preliminary classification to identify and separate AI-generated data from human-generated data before the main training process. By pre-identifying AI-generated samples and creating unlabeled training sets from them, the model can focus on learning AI-generated data patterns without the complexity of simultaneously handling labeled classification for all data types

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The patent introduces an intermediary unlabeled training set that serves as a bridge between labeled and unlabeled data. This intermediary approach allows the model to learn from AI-generated data patterns without requiring explicit labels for every sample, reducing training complexity while maintaining high differentiation accuracy through the use of specialized loss functions

Inventive Principle:
Principle #24Intermediary (Mediator)

Data Source

PatentUS20260037814A1Classification model training method and related apparatus
Publication Date: 2026.02.05 HUAWEI TECH CO LTD
  • US20260037814A1 patent drawing
  • US20260037814A1 patent drawing
  • US20260037814A1 patent drawing

AI summary

A classification model training method is provided, and is applied to the field of artificial intelligence technologies. In the method, target training data with a smaller data amount is first generated based on original training data, to obtain training data of different scales, and ensure scale diversity of the training data. In addition, considering a characteristic of AI-generated data, for target training data that has a small data amount and that is originally AI-generated, this part of target training data is marked as unlabeled data, so that during training, a classification model can focus on data that is AI-generated and that is different from manually generated data, to avoid affecting perception of an AI-generated data style by the classification model when the data is marked as the AI-generated data, and effectively improve prediction accuracy of the classification model.