Split Layer Pretraining for Multilingual NLP Models

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Current machine learning models face challenges in efficiently and accurately performing natural language processing tasks across multiple languages due to limitations in training requirements and language-specific information retention.

Innovation Solution

The method involves splitting a pre-trained machine learning model into a lower and upper portion, with the lower portion trained using a generator task on monolingual and multilingual text data and the upper portion trained as a discriminator, allowing for the retention of language-specific knowledge and improved parallelization during training.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Adaptability or versatility

If a machine learning model is trained to perform natural language processing tasks across multiple languages, then the model can handle multilingual input, but the training requirements and computational complexity increase significantly

Engineering Contradiction:
Improvemultilingual capabilityVSAvoidtraining complexity
Core Design Contradiction:
Adaptability or versatilityVSDevice complexity

Solution Approach 1:

The model is divided into two distinct portions: a lower portion that processes multilingual text data and an upper portion that performs language-specific processing. This segmentation allows each portion to be trained separately with specialized objectives, reducing overall training complexity while maintaining multilingual capability.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

Language-specific information is extracted and retained in the lower portion through alternating training on monolingual and multilingual data. This extraction allows the upper portion to focus on task-specific processing without being burdened by language-specific details, thereby reducing training complexity.

Inventive Principle:
Principle #2Taking out (Extraction)

2Adaptability or versatility

If a machine learning model is trained to perform natural language processing tasks across multiple languages, then the model can handle multilingual input, but the training time and computational resources increase

Engineering Contradiction:
Improvemultilingual capabilityVSAvoidtraining time
Core Design Contradiction:
Adaptability or versatilityVSLoss of time

Solution Approach 1:

By splitting the model into lower and upper portions with different training objectives, the total training time is distributed across parallel training processes. The lower portion is trained on multilingual data while the upper portion is trained on language-specific data, enabling time-efficient specialized processing.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The lower portion is pre-trained on multilingual text data to learn language-agnostic representations before the upper portion is trained on language-specific tasks. This preliminary action reduces the overall training time by preparing foundational knowledge in advance.

Inventive Principle:
Principle #10Preliminary action

3Adaptability or versatility

If a machine learning model is trained to perform natural language processing tasks across multiple languages, then the model can handle multilingual input, but language-specific information may be lost or diluted

Engineering Contradiction:
Improvemultilingual capabilityVSAvoidlanguage-specific information
Core Design Contradiction:
Adaptability or versatilityVSLoss of information

Solution Approach 1:

Different portions of the model are assigned different quality characteristics: the lower portion maintains language-agnostic multilingual understanding while the upper portion preserves language-specific information. This local differentiation ensures that language-specific information is retained where it is most needed.

Inventive Principle:
Principle #3Local quality

Solution Approach 2:

Language-specific information is extracted and preserved in the upper portion through alternating training on monolingual text data. This extraction prevents language-specific information from being diluted by multilingual training, maintaining high-quality language-specific representations.

Inventive Principle:
Principle #2Taking out (Extraction)

4Adaptability or versatility

If a machine learning model is trained to perform natural language processing tasks across multiple languages, then the model can handle multilingual input, but the training burden and resource requirements increase

Engineering Contradiction:
Improvemultilingual capabilityVSAvoidtraining resources
Core Design Contradiction:
Adaptability or versatilityVSUse of energy by moving object

Solution Approach 1:

The model is segmented into lower and upper portions that can be trained separately on different hardware resources. This segmentation allows for efficient resource allocation, reducing the peak computational burden while maintaining multilingual capability.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The lower portion is trained on a subset of multilingual data with language-agnostic objectives, while the upper portion is trained on language-specific data. This partial action approach reduces the overall training burden by focusing computational resources on essential tasks.

Inventive Principle:
Principle #16Partial or excessive action

Data Source

PatentUS20240193377A1Pretraining of split layer portions for multilingual model
Publication Date: 2024.06.13 INTERNATIONAL BUSINESS MACHINE CORPORATION
  • US20240193377A1 patent drawing
  • US20240193377A1 patent drawing
  • US20240193377A1 patent drawing

AI summary

A method, computer system, and a computer program product for training a machine learning model are provided. A machine learning model may be split into a lower portion and an upper portion. The lower portion includes at least one layer. The upper portion includes at least one layer. The lower portion may be pre-trained via a generator task and via alternating between inputting of monolingual text data and multilingual text data. The upper portion may be pre-trained via a discriminator task. The pre-trained lower portion may be joined to the pre-trained upper portion to form a trained multilingual machine learning model.