Meta-Learner Subnet Generation for Multi-Distribution Generalization

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Conventional Gradient-Based Meta-Learning (GBML) algorithms face challenges in adapting to scenarios where input tasks are sampled from multiple distributions, leading to increased training time and negative knowledge transfer, as they struggle to generalize effectively across diverse task distributions.

Innovation Solution

The method employs either the Binary Mask Perceptron (BMP) or Multi-modal Meta Supermasks (MMSUP) techniques to dynamically freeze layers and update task-specific subnetworks, respectively, allowing for efficient model generalization across multiple distributions by identifying distribution-specific parameters and sharing knowledge across tasks.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If multiple model initializations are used to handle tasks from different distributions, then model generalization accuracy is improved, but training time increases linearly

Engineering Contradiction:
Improvemodel generalization accuracyVSAvoidtraining time
Core Design Contradiction:
ReliabilityVSLoss of time

Solution Approach 1:

The patent segments the model into a task-agnostic base model and task-specific adapter networks. The base model handles common patterns across all distributions, while adapter networks handle distribution-specific patterns. This segmentation allows the system to achieve multi-distribution generalization without training multiple complete models, thus reducing training time while maintaining accuracy.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent introduces adapter networks as intermediary components that bridge the base model and task-specific requirements. These adapters act as mediators that allow the base model to adapt to different distributions through a small computational overhead, avoiding the need for multiple full model initializations and reducing training time significantly.

Inventive Principle:
Principle #24Intermediary (Mediator)

2Loss of time

If a single model initialization is used for tasks from multiple distributions, then training time is reduced, but negative knowledge transfer increases and model accuracy deteriorates

Engineering Contradiction:
Improvetraining timeVSAvoidmodel accuracy
Core Design Contradiction:
Loss of timeVSReliability

Solution Approach 1:

The patent applies local quality by making different parts of the model have different functions: the base model handles general patterns common to all distributions, while task-specific adapter networks handle local patterns specific to each distribution. This allows the system to maintain fast training with a single initialization while avoiding negative knowledge transfer through localized adaptation.

Inventive Principle:
Principle #3Local quality

Solution Approach 2:

The patent introduces dynamic adaptability through task-specific adapter networks that are activated based on the input distribution. This dynamic structure allows the model to adjust its behavior based on the task at hand, enabling accurate handling of multiple distributions with a single base model initialization, thus avoiding the accuracy deterioration associated with fixed single-initialization approaches.

Inventive Principle:
Principle #15Dynamics

3Adaptability or versatility

If task-specific multiple models are trained to handle different distributions, then model performance on diverse tasks is improved, but computational cost increases

Engineering Contradiction:
Improvemodel performance on diverse tasksVSAvoidcomputational cost
Core Design Contradiction:
Adaptability or versatilityVSDevice complexity

Solution Approach 1:

The patent merges multiple distribution-specific models into a single unified architecture consisting of a shared base model and task-specific adapters. This merging approach allows the system to handle diverse tasks across multiple distributions while significantly reducing computational cost, as only the lightweight adapters need to be trained separately rather than complete models.

Inventive Principle:
Principle #5Merging (Combining)

Solution Approach 2:

The base model serves a universal function by handling common patterns across all distributions, while the adapter networks provide specialized functionality for each distribution. This multi-functionality allows a single model architecture to adapt to diverse tasks without requiring separate dedicated models for each distribution, thereby reducing overall computational cost.

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

Data Source

PatentUS20240160949A1Generating meta-subnets for efficient model generalization in a multi-distribution scenario
Publication Date: 2024.05.16 TATA CONSULTANCY SERVICES LTD
  • US20240160949A1 patent drawing
  • US20240160949A1 patent drawing
  • US20240160949A1 patent drawing

AI summary

Technical limitation of conventional Gradient-Based Meta Learners is their inability to adapt to scenarios where input tasks are sampled from multiple distributions. Training multiple models, with one model per distribution adds to the training time owing to increased compute. A method and system for generating meta-subnets for efficient model generalization in a multi-distribution scenario using Binary Mask Perceptron (BMP) technique or a Multi-modal Meta Supermasks (MMSUP) technique is provided. The BMP utilizes an adaptor which determines a binary mask, thus training only those layers which are relevant for given input distribution, leading to improved training accuracy in a cross-domain scenario. The MMSUP, further determines relevant subnets for each input distribution, thus, generalizing well as compared to standard MAML. The BMP and MMSUP, beat Multi-MAML in terms of training time as they train a single model on multiple distributions as opposed to Multi-MAML which trains multiple models.