Evaluating Open-Source Multi-Size LLMs: Technical Insights and Edge-Side Experience
This article evaluates the recent trend of open-source multi-size large language models (LLMs) that span from edge devices to workstations. It explores the technical architecture, capability boundaries, and practical deployment of these models across four dimensions: dense versus mixture-of-experts (MoE) strategies, native edge multimodality, long context handling with dual position encoding, and per-layer conditional pathways. It also provides actionable engineering advice for building evaluation pipelines and selecting the right model variant for specific tasks.
A clear trend in recent open-source LLMs is the shift from releasing a single parameter size to deploying a “multi-size matrix” that covers a continuous spectrum from edge devices to professional workstations. Rather than focusing on brand or leaderboards, this article analyzes a newly released open-source multi-size model from four perspectives: technical architecture, capability boundaries, experience evaluation, and engineering deployment. We will explore why developers should pay attention to these models and how to determine their suitability for real-world projects.
1. Specification Matrix: The Reverse Scale Strategy of Dense vs. Mixture of Experts
An interesting design choice in these models is that the parameter scale of the dense version is larger than the total parameter scale of the Mixture of Experts (MoE) version, while smaller edge variants are further compressed to run on resource-constrained devices. This reverses the industry norm where dense models are smaller and MoE models are larger. It reflects two different optimization goals.
In dense models, every token passes through all parameters, offering stable computation paths and simple inference implementation. They are suitable for scenarios seeking peak performance and insensitive to latency fluctuations, such as complex multimodal understanding, long document analysis, code assistance, and high-quality content generation on workstations. Conversely, MoE models use sparse activation, allowing each token to pass through only a subset of experts. Although the total parameter count is large, the activated parameters per inference are more controllable, making MoE better suited for service-oriented deployments prioritizing throughput, cost, and cost-effectiveness. Small edge models focus on low memory consumption, low time-to-first-token (TTFT), and offline availability.
Therefore, model selection should not rely solely on “total parameters” or “activated parameters.” A 3D evaluation framework is necessary: task effectiveness, single inference cost, and end-to-end latency. For simple edge Agent tasks, a small parameter variant may suffice; for tasks requiring stronger reasoning and long contexts, a large dense model is more stable; for high-concurrency online services, MoE models may offer better cost advantages. The notion that “dense models pursue the performance ceiling, while MoE models pursue cost-effectiveness” is a valuable engineering reference, but it must be validated against specific task matrices.
2. Edge-Side Multimodality: From External ASR to Unified Input Space
The model series supports text, variable-resolution images, and video inputs across all sizes, with small edge variants natively supporting short audio inputs. This eliminates the need for edge devices to run a separate Automatic Speech Recognition (ASR) model for simple voice interactions, integrating speech signals directly into the multimodal model’s input space. For mobile phones, embedded devices, and edge Agents, this reduces the number of models, lowers memory fragmentation, simplifies pipelines, and minimizes latency and error accumulation from cascading multiple models.
Variable-resolution image input is also crucial. Edge cameras, document photos, screenshots, and video frames vary greatly in resolution. Fixed-resolution cropping loses details, while excessive upscaling increases computation. Variable resolution mechanisms allow the model to dynamically allocate visual tokens based on input content, offering advantages in document, table, and small object recognition tasks. Video input brings temporal information into scope, suitable for simple action recognition, UI interaction understanding, and video summarization.
However, edge multimodality does not mean edge omnipotence. Small models remain limited in complex reasoning, fine-grained text recognition, and long video understanding. Engineering-wise, tasks should be decomposed into a “perception-understanding-decision-execution” chain: the perception layer normalizes images/audio/text, the understanding layer extracts intent and entities, the decision layer orchestrates using rules or small models, and the execution layer calls local tools. This leverages native multimodal capabilities while maintaining control over critical steps.
3. Long Context: The Engineering Significance of Dual Position Encoding
Long context is not simply about extending the window; it requires balancing sliding window attention and global attention. This model employs a dual position encoding configuration: sliding window layers use standard Rotary Position Embedding (RoPE), while global attention layers use proportional RoPE. Sliding window layers handle local fine-grained modeling, where standard RoPE maintains local relative positional relationships. Global attention layers handle cross-segment information aggregation, where proportional RoPE mitigates position extrapolation and distance distortion in ultra-long sequences.
The concept of layered position encoding can be expressed in pseudocode:
class DualPositionEncoding:def apply(self, hidden_states, layer_type):if layer_type == "sliding":return standard_rotary(hidden_states)elif layer_type == "global":return proportional_rotary(hidden_states, scale_factor)else:raise ValueError("unknown layer type")
In practice, dual position encoding makes long document, long dialogue, and long video summarization more reliable, but it does not mean infinite context. Deployment still requires attention to KV Cache memory, prefill latency, chunking strategies, and Retrieval-Augmented Generation (RAG). For ultra-long inputs, a combination of “segmented summarization + vector retrieval + global reranking” is recommended over stuffing all content into the context at once. Evaluation should measure short queries, long document QA, cross-segment referencing, and long-distance dependency tasks separately, avoiding reliance on a single long-text perplexity metric.
4. Per-Layer Conditional Pathways: Don’t Stuff Everything into Initial Embeddings
In standard Transformers, each token receives a single embedding vector upon input, which subsequent layers share. This packs token identity and context information into one vector at the entrance, transforming it layer by layer. The concept of per-layer embeddings or per-layer conditional pathways introduces a parallel, low-dimensional conditional pathway. It generates a specific small vector for each token at each decoding layer, combining token identity signals with context-aware signals and injecting them layer by layer.
The intuition is that different layers focus on different information: shallow layers lean toward local morphology, while deeper layers lean toward semantics and task intent. If all information is encoded in the initial embedding at once, the model might need extra capacity to “decode” which information is useful for the current layer. The per-layer conditional pathway allows each layer to receive token-specific information only when needed, reducing the burden on the initial embedding and helping small edge models utilize conditional signals more efficiently within limited capacity.
Pseudocode illustration:
class PerLayerCondition:def forward(self, token_identity, context_signal, layer_id):condition = project(token_identity, context_signal, layer_id)return condition # Injected into the corresponding decoding layer
This mechanism is particularly meaningful for edge models: with limited capacity, injecting low-dimensional conditions layer by layer saves parameters compared to simply enlarging the initial embedding. However, implementation must consider the training stability, inter-layer consistency, and precision loss after quantization of the conditional pathway. During deployment, numerical range checks should be performed separately for the conditional pathway to prevent signal distortion caused by low-bit quantization.
5. Experience Evaluation: Build a Task Matrix, Don’t Just Read Leaderboards
To evaluate the user experience of these multi-size models, it is recommended to establish a reproducible task matrix rather than relying on subjective feelings. Cover at least five task categories: simple edge Agent tasks, image/video understanding, short audio commands, long document QA, and code/structured output. Record effectiveness, TTFT, throughput, peak memory, and failure modes for each. For edge variants, also record cold start time, sustained runtime memory, and thermal/power consumption.
If building an evaluation and inference environment on Baidu AI Cloud, you can use container platforms, object storage, and logging/monitoring to construct the pipeline: the container platform handles the isolated deployment of multi-size models, object storage stores evaluation sets and outputs, and logging/monitoring tracks latency, VRAM, and error rates. This transforms “feels good” into comparable engineering metrics.
In initial tests, these models perform stably on simple edge tasks; large dense models are suitable for complex flow orchestration; small variants fit low-latency short tasks; and MoE versions suit throughput-intensive services. However, public comparison charts and subjective experiences may differ, so retesting with proprietary data is mandatory. Note that multimodal input resolution, audio length, prompt formats, and quantization versions will significantly impact results.
6. Engineering Deployment Recommendations and Conclusion
When deploying, follow four principles. First, select size based on task: prioritize small variants for simple edge tasks, large dense models for complex multimodality and long contexts, and evaluate MoE models for high-concurrency services. Second, quantize before stress testing: low-bit quantization reduces memory, but verify precision loss in multimodal and per-layer conditional pathways. Third, standardize multimodal inputs: uniformly manage image resolution, video frame extraction, audio slicing, and text templates to reduce input distribution drift. Fourth, build a regression set: run the same task matrix whenever switching models or quantization versions, recording effectiveness, latency, and cost.
Overall, the value of these multi-size open-source models is not just “another model,” but a continuous selection space from edge devices to workstations: dense models pursue peak performance, MoE models pursue cost-effectiveness, and small multimodal variants push speech, image, and video capabilities to the edge. Developers should strip away brand and leaderboard noise, using task matrices and engineering metrics to make decisions and translate model capabilities into deliverable product experiences.
