Mobile Vision Transformer Architecture for Low-Latency Inference

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Vision Transformer (ViT) networks are slower than lightweight convolutional networks due to their massive number of parameters and model design, making them unsuitable for real-time applications on resource-constrained mobile devices.

Innovation Solution

The EfficientFormerV2 network employs a fine-grained architecture with depth-wise convolutions, attention downsampling, and a unified Feed Forward Network (FFN) to optimize model size and speed, incorporating local information modeling and a flexible search algorithm to balance parameters and latency.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If Vision Transformer networks use massive number of parameters and standard model design, then model performance is improved, but inference speed deteriorates and model size increases

Engineering Contradiction:
Improvemodel performanceVSAvoidinference speed
Core Design Contradiction:
ReliabilityVSSpeed

Solution Approach 1:

The patent segments the ViT model into multiple stages with progressively downsampled resolutions. Each stage processes features at a different resolution level, allowing the model to capture both fine-grained and coarse-grained information while reducing computational complexity at higher levels. This hierarchical segmentation enables faster inference while maintaining performance.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent merges convolutional operations with transformer attention mechanisms in a hybrid architecture. By combining the local feature extraction strength of convolutions with the global context modeling capability of transformers, the model achieves better performance-speed tradeoff than pure ViT architectures.

Inventive Principle:
Principle #5Merging (Combining)

2Reliability

If Vision Transformer networks use massive number of parameters, then model performance is improved, but model size increases

Engineering Contradiction:
Improvemodel performanceVSAvoidmodel size
Core Design Contradiction:
ReliabilityVSWeight of stationary object

Solution Approach 1:

The patent applies local quality by using different processing strategies at different resolution stages. Early stages with higher resolution use lighter processing while later stages with downsampled features apply more complex transformations. This localized differentiation reduces overall parameter count while maintaining performance at critical stages.

Inventive Principle:
Principle #3Local quality

Solution Approach 2:

The patent introduces dynamic conditional computation where the model adaptively selects processing paths based on input characteristics and resource constraints. This dynamic architecture allows the same model to function efficiently across different deployment scenarios with varying memory constraints.

Inventive Principle:
Principle #15Dynamics

3Reliability

If Vision Transformer networks are designed for high performance, then accuracy is improved, but latency increases

Engineering Contradiction:
ImproveaccuracyVSAvoidlatency
Core Design Contradiction:
ReliabilityVSLoss of time

Solution Approach 1:

The patent performs preliminary downsampling and feature extraction before applying computationally intensive transformer operations. By pre-processing inputs to reduce their complexity and dimensionality, the model minimizes the time required for subsequent high-level processing while preserving essential information for accurate prediction.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The patent implements skip connections that allow information to bypass intermediate processing stages when appropriate. This enables the model to rush through redundant computations and directly access critical feature pathways, reducing overall latency while maintaining accuracy.

Inventive Principle:
Principle #21Skipping (Rushing through)

Data Source

PatentUS12555371B2Vision transformer for mobilenet size and speed
Publication Date: 2026.02.17 SNAP INC
  • US12555371B2 patent drawing
  • US12555371B2 patent drawing
  • US12555371B2 patent drawing

AI summary

A mobile vision transformer network for use on mobile devices, such as smart eyewear devices and other augmented reality (AR) and virtual reality (VR) devices. The mobile vision transformer network considers factors including number of parameters, latency, and model performance, as they reflect disk storage, mobile frames per second (FPS), and application quality, respectively. The mobile vision transformer network processes images, e.g., for image classification, segmentation, and detection. The mobile vision transformer network has a fine-grained architecture including a search algorithm performing latency-driven slimming that jointly improves model size and speed.