Meta-Knowledge Fine Tuning for Cross-Domain Language Model Generalization

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing fine tuning methods for downstream task language models are limited to specific data sets, restricting the effectiveness of model compression and generalization across different domains in the smart city field.

Innovation Solution

A meta-knowledge fine tuning method using cross-domain typical score learning, which calculates prototypes and typical scores to enhance the fine tuning of multi-task language models, allowing for interrelation and mutual reinforcement across tasks and domains, thereby improving parameter initialization and generalization abilities.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Measurement precision

If fine tuning is performed on a specific data set for downstream tasks, then the model achieves good performance on that specific data set, but the model's generalization ability to other domains is limited

Engineering Contradiction:
Improvemodel performance on specific data setVSAvoidgeneralization ability across domains
Core Design Contradiction:
Measurement precisionVSAdaptability or versatility

Solution Approach 1:

The patent pre-calculates prototypes for each domain before fine-tuning. These prototypes serve as prior knowledge that guides the fine-tuning process across multiple domains. By performing this preliminary action of prototype calculation, the model is prepared to generalize better to unseen domains while maintaining performance on seen domains.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The patent introduces prototypes as intermediary representations that mediate between different domains. These prototypes act as a bridge that allows knowledge transfer across domains. The typical score calculation uses these prototypes as intermediaries to measure how representative each sample is, enabling the model to generalize across domains while maintaining specificity where needed.

Inventive Principle:
Principle #24Intermediary (Mediator)

2Reliability

If a large-scale pre-training language model is used, then the model has strong language understanding and generation capabilities, but the model requires significant computational resources for deployment

Engineering Contradiction:
Improvelanguage understanding and generation capabilitiesVSAvoidcomputational resources for deployment
Core Design Contradiction:
ReliabilityVSUse of energy by moving object

Solution Approach 1:

The patent extracts and compresses the essential knowledge from large-scale pre-training models into compact prototype representations. By taking out only the critical domain-specific patterns and storing them as prototypes, the system maintains the beneficial capabilities of large models while reducing the computational burden for deployment. This extraction allows the model to function effectively with reduced resources.

Inventive Principle:
Principle #2Taking out (Extraction)

Solution Approach 2:

The patent changes the parameter representation from full model weights to compact prototype vectors. This parameter transformation significantly reduces the computational complexity and memory requirements while preserving the essential language understanding capabilities. The typical score calculation uses these changed parameters to maintain performance without requiring the full computational power of the original large-scale model.

Inventive Principle:
Principle #35Parameter changes

Data Source

PatentUS11354499B2Meta-knowledge fine tuning method and platform for multi-task language model
Publication Date: 2022.06.07 ZHEJIANG LAB
  • US11354499B2 patent drawing

AI summary

Disclosed is a meta-knowledge fine tuning method and platform for a multi-task language model. The method is to obtain highly transferable shared knowledge, that is, meta-knowledge, on different data sets of tasks of the same category, perform interrelation and mutual reinforcement on the learning processes of the tasks of the same category that correspond to different data sets and are in different domains, so as to improve the fine tuning effect of downstream tasks of the same category on data sets of different domains in the application of the language model, and improve the parameter initialization ability and the generalization ability of a general language model for the tasks of the same category.