Autoencoder Cross-Domain Few-Shot Classification

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Deep neural networks (DNNs) struggle to effectively classify novel datasets with only a few data samples per class, as they typically require large datasets for successful training, and collecting data for rare domains can be expensive or infeasible.

Innovation Solution

The method involves training an autoencoder in two stages: a pretraining stage using a source dataset to calculate classification, reconstruction, and reconstruction classification losses, and a fine-tuning stage using a novel dataset to adjust the autoencoder's parameters, splitting the dataset into support and query sets to determine prototypes and calculate metric classification losses.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If conventional DNN training methods are used on novel datasets with only a few data samples, then the training process cannot be performed successfully, but classification accuracy cannot be improved

Engineering Contradiction:
Improveclassification accuracyVSAvoidnumber of data samples
Core Design Contradiction:
ReliabilityVSQuantity of substance

Solution Approach 1:

The patent applies preliminary action by pretraining the autoencoder on a source dataset before fine-tuning on the novel dataset. This preliminary training stage prepares the model with general features and representations from abundant source data, enabling it to subsequently learn effectively from the limited novel dataset samples. The pretraining phase establishes a solid foundation that allows the model to achieve good classification accuracy even when only a few novel class samples are available.

Inventive Principle:
Principle #10Preliminary action

2Reliability

If a source dataset of the same domain is collected to extract features for the novel dataset, then classification performance may improve, but data collection becomes expensive or infeasible

Engineering Contradiction:
Improveclassification accuracyVSAvoidease of data collection
Core Design Contradiction:
ReliabilityVSEase of manufacture

Solution Approach 1:

The patent uses an autoencoder as an intermediary mechanism that bridges the gap between the source dataset and novel dataset. Instead of requiring direct collection of same-domain source data, the autoencoder learns general feature representations from any available source dataset (which may be from different domains) and adapts them to the novel dataset. This intermediary approach eliminates the need for expensive same-domain data collection while still enabling effective feature extraction and classification.

Inventive Principle:
Principle #24Intermediary (Mediator)

3Adaptability or versatility

If the number of hidden layers in the DNN is increased to model complicated situations, then the model capacity increases, but the requirement for large training datasets increases

Engineering Contradiction:
Improvemodel capacityVSAvoidnumber of training data samples
Core Design Contradiction:
Adaptability or versatilityVSQuantity of substance

Solution Approach 1:

The patent applies preliminary action by pretraining the autoencoder on a source dataset before fine-tuning on the novel dataset. This preliminary training stage prepares the model with general features and representations from abundant source data, enabling it to subsequently learn effectively from the limited novel dataset samples. The pretraining phase establishes a solid foundation that allows the model to achieve good classification accuracy even when only a few novel class samples are available.

Inventive Principle:
Principle #10Preliminary action

Data Source

PatentUS12217187B2Methods and systems for cross-domain few-shot classification
Publication Date: 2025.02.04 HUAWEI TECH CO LTD
  • US12217187B2 patent drawing
  • US12217187B2 patent drawing
  • US12217187B2 patent drawing

AI summary

Methods, systems, and media for training deep neural networks for cross-domain few-shot classification are described. The methods comprise an encoder and a decoder of a deep neural network. The training of the autoencoder comprises two training stages. For each iteration in the first training stage, a batch of data samples from the source dataset are sampled and fed to the encoder to generate a plurality of source feature maps, then determining a first training stage loss, which updates the autoencoder's parameters. For each iteration in the second training stage, the novel dataset is split into a support set and a query set. The support set is fed to the encoder to determine a prototype for each class label. The query set is also fed to the encoder to calculate a query set metric classification loss. The query set metric classification loss updates the autoencoder's parameters.