Multimodal Encoding with Dynamic Layer Switching for Feature Fusion

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing deep learning models with fixed structures struggle to perform effectively in complex tasks involving image and text data, limiting their versatility and accuracy in applications such as cross-modal retrieval and visual question answering.

Innovation Solution

The encoding apparatus employs a dynamic Switch-BERT model with learnable layer-by-layer interactions, allowing it to adaptively select inputs at different layers and learn flexible interaction modes between modalities, enhancing multimodal feature fusion and interaction.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Measurement precision

If a fixed-structure deep learning model is used, then the model can achieve excellent performance in specific tasks, but it affects the effect of model usage for more complex tasks

Engineering Contradiction:
Improvetask performance accuracyVSAvoidmodel versatility for complex tasks
Core Design Contradiction:
Measurement precisionVSAdaptability or versatility

Solution Approach 1:

The patent applies the dynamics principle by transforming the fixed-structure model into a dynamic model with learnable layer-by-layer interactions. The model can adaptively select inputs at different layers and learn flexible interaction modes between modalities, allowing it to dynamically adjust its structure based on the complexity of the task at hand, thus resolving the contradiction between achieving excellent performance in specific tasks and maintaining versatility for complex tasks

Inventive Principle:
Principle #15Dynamics

2Ease of manufacture

If deep learning models with fixed structures are used, then implementation is straightforward, but they cannot effectively handle complex multimodal tasks requiring flexible interactions

Engineering Contradiction:
Improvemodel implementation simplicityVSAvoidcapability for complex multimodal tasks
Core Design Contradiction:
Ease of manufactureVSAdaptability or versatility

Solution Approach 1:

The model transitions from a static fixed-structure to a dynamic architecture with learnable interactions between layers. This allows the model to automatically adapt its structure for complex multimodal tasks while maintaining reasonable implementation complexity through standardized neural network operations

Inventive Principle:
Principle #15Dynamics

Solution Approach 2:

The patent segments the model into multiple encoders for different modalities (image encoder, text encoder, etc.) with learnable interaction mechanisms between them. This segmentation allows each modality to be processed independently while enabling flexible interactions when needed, balancing implementation simplicity with versatility for complex tasks

Inventive Principle:
Principle #1Segmentation

Data Source

PatentUS12395186B2Encoding apparatuses, and data processing methods and apparatuses
Publication Date: 2025.08.19 ALIPAY (HANGZHOU) INFORMATION TECH CO LTD
  • US12395186B2 patent drawing
  • US12395186B2 patent drawing
  • US12395186B2 patent drawing

AI summary

A computer-implemented system for encoding includes an encoding layer and at least one joint encoding unit. The encoding layer encodes a received first modal initial feature vector and a received second modal initial feature vector, to generate, respectively, a first modal feature vector and a second modal feature vector, joint encoded by the at least one joint encoding unit, where the at least one joint encoding unit includes an encoding module and a modal input switching module. The modal input switching module processes the first modal feature vector and the second modal feature vector, to obtain, respectively a first modal switching encoding vector and a second modal switching encoding vector. The encoding module processes the first modal switching encoding vector and the second modal switching encoding vector, to generate, respectively a first target modal fusion vector and a second target modal fusion vector.