On-Device Multimodal Large Models: Architecture Evolution and Evaluation Practices

    This article examines how multimodal large models can be deployed on mobile devices, single-board computers, and home workstations under constrained compute, memory, and power budgets. It covers tiered model sizes, native multimodal input including text, image, video, and audio, position encoding with hybrid attention for long context, and per-layer conditioning for parameter-efficient models. It also proposes a multi-dimensional evaluation methodology and practical deployment recommendations, helping readers make device-specific selection and validation decisions rather than relying only on public benchmark scores.

    As compute and power budgets tighten, on-device large model design is no longer just about parameter count; it centers on systematic trade-offs among capability, cost, and power. The discussion below covers six dimensions.

    1. Tiered Design of On-Device Model Sizes

    Open-source models aimed at on-device use often provide multiple parameter sizes at once to cover devices with different compute levels. Common forms include:

    • Dense models: regular structure and a single inference path, with no routing overhead; suitable for professional workstations with relatively ample compute.
    • Mixture-of-Experts (MoE) models: large total parameter count, but each forward pass activates only some experts, balancing inference cost and model capability.
    • Efficient small-size models: designed for low-power devices such as phones and single-board computers, with core metrics being low memory usage and low latency.

    The essence of this tiering strategy is to help developers make reasonable trade-offs within device capability boundaries. It is worth emphasizing that parameter scale does not linearly correlate with on-device experience—a medium-sized, more efficient model often performs better on real devices than a larger model with higher activation cost. Therefore, selection should not consider total parameter count alone; it should jointly consider actual computation per forward pass and resident memory footprint.

    2. Engineering Value of Native Multimodal Input

    The capability boundary of on-device models largely depends on which modalities they support and whether support is native. A relatively complete on-device multimodal solution usually covers text, images (including variable resolution), and video input; a further form directly supports audio input in small-size models (for example, handling audio clips of tens of seconds).

    The value of native audio input is often underestimated. Traditional voice interaction pipelines require an independent ASR model attached on-device, then send its transcript to the large model. This pipeline has three obvious problems: first, chaining multiple models causes memory and storage usage to multiply; second, cascaded latency accumulates and affects interaction real-time performance; third, errors between models are passed stage by stage. If a large model can directly consume audio within the same framework, it can merge “perception—understanding” into a single inference, significantly reducing on-device deployment complexity and response latency. This is especially important for real-time voice assistants on phones and offline simple-task Agent scenarios.

    3. Long Context with Position Encoding and Hybrid Attention

    Transformer self-attention itself does not perceive token order, so position encoding is key to understanding sequences. One mainstream approach is Rotary Position Embedding (RoPE), which injects relative position information by rotating query and key vectors.

    In on-device long-context scenarios, a single position encoding strategy often struggles to balance efficiency and effectiveness. A noteworthy approach is a hybrid attention structure: sliding window attention layers (attending only to tokens within a local window) combined with global attention layers (capable of spanning longer distances). On this basis, using differentiated position encodings for different layers—standard RoPE for local layers and proportionally scaled RoPE (p-RoPE) for global layers—can allow the model to maintain local details while stably handling very long contexts and mitigating position extrapolation issues under long sequences.

    4. Per-Layer Conditional Embedding: Making Parameter-Efficient Models Smarter

    In a standard Transformer, each token receives only one embedding vector at the input. This means information that may be needed by all subsequent layers must be “packed” into this vector during the encoding stage, which is wasteful for parameter-constrained small models.

    One idea for parameter efficiency is to introduce a parallel low-dimensional conditioning path: it generates a dedicated small vector for each token at every decoding layer, decoupling token identity signals from context-aware signals. This way, each layer can obtain token-related information “on demand” when needed, instead of forcing the initial embedding to carry the entire information load. The schematic logic is as follows:

    1. # Standard path: token -> single embedding, shared across layers
    2. x = token_embedding(token_ids) # Shape: [batch, seq, dim]
    3. for layer in decoder_layers:
    4. x = layer(x) # Each layer reuses the same embedding
    5. # Conditional path: generate a token-specific low-dimensional conditioning vector for each layer
    6. base = token_embedding(token_ids)
    7. for layer in decoder_layers:
    8. cond = layer_condition(base, layer_id) # Layer-specific conditioning vector
    9. x = layer(x, cond=cond) # Inject token-specific information on demand

    By decoupling token identity and context, small models can use information more efficiently under limited parameters, achieving better expressiveness under on-device constraints.

    5. Scientifically Evaluating On-Device Multimodal Models

    A common mistake is over-reliance on public benchmark scores. Benchmark scores reflect average performance on a specific test set, but real on-device experience is also affected by quantization precision, context length, actual task distribution, and other factors. This can lead to cases where a model scores slightly lower but performs better in practice. It is recommended to build a multi-dimensional evaluation matrix:

    • Benchmark capability: standard sets such as general reasoning, multilingual, and image-text understanding, used to establish a capability baseline;
    • Real-task validation: use scenario tasks close to the business for end-to-end testing and observe actual output quality;
    • Efficiency metrics: first-token latency, generation throughput, resident memory and peak memory;
    • Robustness and long context: construct very long inputs to test position encoding and extrapolation performance;
    • Modality coverage: verify whether text, image, video, and audio paths are available and whether external models are required.

    Evaluation should be performed on target devices (not high-performance development machines) as much as possible, with the quantization scheme fixed, so that it reflects real on-device performance.

    6. Practical Recommendations for On-Device Deployment

    When deploying a model on-device, consider the following engineering points:

    1. Quantization first: choose a lower-bit quantization while meeting quality thresholds to significantly reduce memory and bandwidth pressure;
    2. Memory budget: distinguish weight memory from KV cache; long context significantly amplifies the latter’s overhead;
    3. Inference framework adaptation: choose a runtime with complete operator support for target hardware, avoiding fallback to inefficient paths;
    4. On-demand modality loading: for small-size models, prefer versions that natively support the required modalities and reduce external components;
    5. Tiered degradation: prepare multiple sizes for devices with different compute, forming a capability—power gradient.

    Conclusion

    The value of on-device multimodal large models lies not in stacking single-point parameters, but in the coordinated design of technologies such as tiered model sizes, native multimodality, efficient position encoding, and parameter efficiency. For developers, the real basis for selection should come from multi-dimensional testing on target devices, not from a single public benchmark score. Understanding these underlying mechanisms enables robust construction of intelligent applications that balance experience and cost in compute-constrained on-device scenarios.