Shared Transformer Backbones for Compact Vision-Language Models

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Transformers used for processing data with different modalities, such as language and images, have a large number of parameters that make them impractical for deployment on resource-limited real-world platforms like mobile devices.

Innovation Solution

A method of training a model by configuring a first transformer for visual learning and a second transformer for textual learning, adjusting the weights to minimize differences between them, replacing the first transformer's weights with the adjusted second transformer's weights, and fine-tuning the first transformer based on these adjusted weights, allowing for partial or full weight sharing across two transformer backbones.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Adaptability or versatility

If transformers are used for processing data with different modalities, then processing capability is improved, but model size and parameter count increase making deployment on mobile devices impractical

Engineering Contradiction:
Improveprocessing capabilityVSAvoidmodel size
Core Design Contradiction:
Adaptability or versatilityVSQuantity of substance

Solution Approach 1:

The patent merges the weight parameters of the vision transformer and text transformer by minimizing the weight difference between them during training. This allows one transformer to share weights with the other, effectively reducing the total number of parameters while maintaining both visual and textual processing capabilities.

Inventive Principle:
Principle #5Merging (Combining)

Solution Approach 2:

The patent creates a universal transformer backbone that can process both visual and textual data by enforcing weight similarity between vision and text transformers. This single backbone serves multiple modalities, reducing the need for separate large models for each modality.

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

2Reliability

If separate transformers are configured for visual and textual learning, then task-specific performance is improved, but device complexity increases

Engineering Contradiction:
Improvetask-specific performanceVSAvoidtransformer architecture
Core Design Contradiction:
ReliabilityVSDevice complexity

Solution Approach 1:

The patent combines the architecture of vision and text transformers into a unified structure with shared weights. By minimizing the weight difference between the two transformers during training, the system maintains task-specific performance while reducing architectural complexity to a single shared backbone.

Inventive Principle:
Principle #5Merging (Combining)

3Quantity of substance

If full weight sharing is implemented between vision and text transformers, then model size is reduced, but training difficulty increases

Engineering Contradiction:
Improveparameter countVSAvoidtraining process
Core Design Contradiction:
Quantity of substanceVSEase of manufacture

Solution Approach 1:

The patent implements partial weight sharing by minimizing the weight difference between vision and text transformers rather than forcing complete weight equality. This gradual approach with a learning rate schedule makes the training process more manageable while still achieving significant parameter reduction.

Inventive Principle:
Principle #16Partial or excessive action

Solution Approach 2:

The patent changes the weight parameters of the transformers by minimizing the weight difference between vision and text transformers during training. This parameter adjustment process, combined with a reduced learning rate in later stages, enables successful weight sharing while managing training complexity.

Inventive Principle:
Principle #35Parameter changes

Data Source

PatentUS12468944B2Method and system for learning to share weights across transformer backbones in vision and language tasks
Publication Date: 2025.11.11 SAMSUNG ELECTRONICS CO LTD
  • US12468944B2 patent drawing
  • US12468944B2 patent drawing
  • US12468944B2 patent drawing

AI summary

A method of training a model includes configuring a first transformer for visual learning with a first set of weights, configuring a second transformer for textual learning with a second set of weights, adjusting at least the second set of weights based on minimizing a weight difference between the first set of weights and the second set of weights, replacing the first set of weights for the first transformer with the adjusted second set of weights, and updating the first transformer based on the adjusted second set of weights.