Unified Language Model Pre-Training With Chunked Attention

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing NLP models face inefficiencies in performing both natural language generation (NLG) and understanding (NLU) tasks, particularly when processing large-scale and long-form data, due to cumbersome attention processing.

Innovation Solution

A unified language foundation model is trained using a multi-step process that integrates a generative language model with a replaced token detection (RTD)-like discriminative objective and corrupted span reconstruction, applying disentangled attention to discrete data chunks for improved efficiency and effectiveness.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Measurement precision

If conventional NLP models apply attention to all data tokens to improve contextual accuracy, then NLU task performance is improved, but processing efficiency deteriorates significantly when handling long-form data

Engineering Contradiction:
Improvecontextual accuracyVSAvoidprocessing efficiency
Core Design Contradiction:
Measurement precisionVSProductivity

Solution Approach 1:

The patent segments the input sequence into discrete chunks of tokens, applying attention mechanisms only within each chunk rather than across the entire sequence. This segmentation reduces the computational complexity from O(n²) to O(m²×k) where n is total tokens, m is tokens per chunk, and k is number of chunks, thereby improving processing efficiency while maintaining contextual accuracy through sufficient chunk size selection

Inventive Principle:
Principle #1Segmentation

2Measurement precision

If huge generative foundation models are trained to perform NLG tasks, then generation quality is improved, but training time and computational resources increase immensely

Engineering Contradiction:
Improvegeneration qualityVSAvoidtraining time
Core Design Contradiction:
Measurement precisionVSLoss of time

Solution Approach 1:

The patent merges NLU and NLG training objectives into a unified pre-training framework. By combining discriminative tasks (masked language modeling, next sentence prediction) with generative tasks (text generation, summarization) in a single model architecture and training process, the system achieves both NLU and NLG capabilities without requiring separate huge generative models, thereby reducing training time and computational resources

Inventive Principle:
Principle #5Merging (Combining)

Solution Approach 2:

The patent creates a universal pre-trained model that performs multiple functions including NLU tasks (classification, extraction), NLG tasks (generation, summarization), and language modeling. This multi-functional model eliminates the need for specialized huge generative models for each task, reducing overall training requirements while maintaining high generation quality

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

3Adaptability or versatility

If a unified foundation model is trained to perform both NLU and NLG tasks, then model versatility is improved, but the amount of training data and parameters required increases immensely

Engineering Contradiction:
Improvetask versatilityVSAvoidtraining data volume
Core Design Contradiction:
Adaptability or versatilityVSQuantity of substance

Solution Approach 1:

The patent merges multiple task objectives (masked language modeling, next sentence prediction, text generation) into a single unified training framework that shares parameters across tasks. This parameter sharing and joint training approach reduces the total number of parameters compared to training separate specialized models, while achieving versatility across NLU and NLG tasks through multi-objective optimization

Inventive Principle:
Principle #5Merging (Combining)

Data Source

PatentUS12511498B2Pre-training a unified natural language model with corrupted span and replaced token detection
Publication Date: 2025.12.30 MICROSOFT TECHNOLOGY LICENSING LLC
  • US12511498B2 patent drawing
  • US12511498B2 patent drawing
  • US12511498B2 patent drawing

AI summary

Systems and methods are provided for training and using a novel unified language foundation model. An encoder-decoder natural language model is obtained and various training data is obtained and used for training. The training process integrates a combination of replaced token detection, corrupted span reconstruction, and disentangled attention methodologies to produce a unified encoder-decoder model. The trained model is trained for performing both natural language understanding (NLU) tasks and natural language generation (NLG) tasks. Attention applied to the model is applied discretely to segmented chunks of encoded data during processing to improve the efficiency of applying attention by the model.