Temporal Prompt Generator for Neural Network Domain Adaptation

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing domain generalization methods are inefficient for temporal domain adaptation, particularly in handling continuous time-evolving distribution shifts, and are limited to classification and regression tasks, failing to adapt to diverse applications like time series forecasting and natural language processing.

Innovation Solution

A parameter-efficient and time-efficient prompting-based method that generates domain-specific and temporal prompts to capture underlying dynamics, using a transformer-based backbone network and temporal prompt generator to adapt neural networks to future domains without requiring target domain data.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Adaptability or versatility

If existing domain generalization methods are used for temporal domain adaptation, then the model can be applied to unseen domains, but the methods are inefficient for handling continuous time-evolving distribution shifts and limited to classification and regression tasks

Engineering Contradiction:
Improveadaptability to diverse applicationsVSAvoidefficiency in handling temporal distribution shifts
Core Design Contradiction:
Adaptability or versatilityVSProductivity

Solution Approach 1:

The patent changes the parameter representation from fixed domain-specific adaptations to dynamic temporal prompts that evolve with time. The temporal prompts are learned parameters that capture time-dependent distribution shifts, allowing the model to adapt efficiently to continuous temporal changes across diverse tasks including time series forecasting and natural language processing

Inventive Principle:
Principle #35Parameter changes

Solution Approach 2:

The patent segments the adaptation mechanism into two distinct components: domain-specific prompts that capture task-specific characteristics and temporal prompts that capture time-evolving distribution shifts. This segmentation allows independent optimization of each component and enables efficient handling of temporal changes without retraining the entire model

Inventive Principle:
Principle #1Segmentation

2Reliability

If domain-specific adaptation is performed for each source domain, then the model achieves better performance on specific domains, but the complexity of training and computation increases

Engineering Contradiction:
Improveperformance on specific domainsVSAvoidtraining complexity
Core Design Contradiction:
ReliabilityVSDevice complexity

Solution Approach 1:

The patent creates a universal temporal prompt representation that serves multiple functions: it captures temporal distribution shifts across different domains, works with diverse task types (classification, regression, time series forecasting, NLP), and can be applied to any source domain without retraining. The frozen backbone neural network combined with learnable temporal prompts provides a multi-functional adaptation mechanism that reduces training complexity while maintaining domain-specific performance

Inventive Principle:
Principle #6Universality (Multi-functionality)

3Reliability

If the backbone neural network is trained on multiple source domains, then the model achieves better generalization, but the training time and computational resources increase

Engineering Contradiction:
Improvegeneralization capabilityVSAvoidtraining time
Core Design Contradiction:
ReliabilityVSLoss of time

Solution Approach 1:

The patent performs preliminary training of the backbone neural network on multiple source domains before the actual temporal adaptation task. This preliminary action pre-learns domain-invariant representations and temporal patterns, so that during temporal domain generalization, only the temporal prompts need to be learned rather than retraining the entire network. This significantly reduces training time while maintaining generalization capability

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The patent extracts and isolates the temporal adaptation component into separate learnable temporal prompts, separating it from the backbone network parameters. This extraction allows the backbone network to remain frozen after initial training, and only the lightweight temporal prompts need to be learned for temporal adaptation, drastically reducing computational resources and training time required

Inventive Principle:
Principle #2Taking out (Extraction)

Data Source

PatentUS20250094790A1Neural network temporal domain generalization method and system
Publication Date: 2025.03.20 ROYAL BANK OF CANADA
  • US20250094790A1 patent drawing
  • US20250094790A1 patent drawing
  • US20250094790A1 patent drawing

AI summary

Methods, systems, and techniques for neural network temporal domain generalization involve training a backbone neural network using a combination of source domains, determining a domain-specific prompt for each of the source domains while the backbone network is frozen, and sequentially determining i) temporal prompts and ii) a general prompt, while training a temporal prompt generator neural network and keeping the backbone network frozen. The various source domains are indexed temporally and respectively are made of data having a time-dependent distribution shift. The temporal prompts capture the dynamics associated with temporal drift in the data, while the general prompt captures general information across all the source domains. This allows the backbone neural network to be adapted to different time periods.