🤗 Hugging Face | 🤖 ModelScope
Introduction
LingSante-3.1-air-VL-MXFP4 is a lightweight, natively multimodal mixture-of-experts (MoE) model for real-world healthcare. Built on LingSante-3.1-air-VL, it has 124B parameters and 5.5B active parameters per token. It accepts text and images and supports 256K-token context window. It is the first large multimodal medical model that Ant Group's healthcare team has released as open source.
The model's four clinical focus areas are medical imaging reports, multimodal health assessment (skin disease recognition, dietary and nutritional analysis, and medical report interpretation), medical search and evidence synthesis, and medical GUI agents. It also retains strong capabilities in general multimodal tasks, document and chart understanding, and tool use. Search, tool use, and GUI workflows require an external environment that provides tools, maintains state, and validates actions.
This version uses Round-to-Nearest (RTN) post-training quantization. Routed-expert weights are quantized directly from BF16 to MXFP4, selected language-model matrices are quantized to FP8, and the remaining tensors are preserved in their original BF16 or FP32 precision.
Important. LingSante-3.1-air-VL-MXFP4 is a research model and is not a medical device. Its outputs may be incomplete or inaccurate and must not substitute for professional medical advice, diagnosis, or treatment. High-risk use requires review by qualified personnel, independent validation, and compliance with applicable privacy, safety, and healthcare regulations.
LingSante-3.1-air-VL-MXFP4
Source Model Scores
The following figure presents benchmark results reported for LingSante-3.1-air-VL, the source model of this MXFP4-RTN release. These scores refer to the source model and do not represent measurements of the quantized checkpoint.
[Image blocked: LingSante-3.1-air-VL Benchmark Overview]
Key Capabilities
- Multimodal medical understanding and reasoning. The model considers patient history, imaging technique, and image quality before reviewing the images systematically. It then weighs differential diagnoses and writes the Findings and Impression sections. It can interpret multiple images together and identify 8–9 types of positive findings on a single complex chest X-ray, including cardiomegaly, pleural effusion, atelectasis, consolidation, pneumonia, and pneumothorax. It also interprets images of skin, meals, and medical reports.
- Health assessment with follow-up questions. The model covers 120+ skin diseases and can take a history over several turns. Before giving an assessment, it asks about the affected area, symptom duration, itching or pain, and medical history. For dietary analysis, it identifies ingredients even when they overlap or are mixed, breaks down complex dishes, estimates portions, and analyzes nutrient content. For medical reports, it links blood counts with inflammatory and immune markers to prioritize follow-up actions.
- Medical search and evidence synthesis. The model supports image-to-image search and can retrieve medical papers, clinical guidelines, and similar cases. It can use imaging tools and bounding boxes to verify lesion locations before drafting a report. The image → search → evidence → answer sequence makes the reasoning traceable and ties each conclusion to supporting evidence.
- Real-world medical workflows and GUI agents. For online appointments, the model can select a hospital, department, doctor, and time slot and enter patient details. For medication purchases, it can search for medicines, choose product specifications, enter prescription and address details, and handle pop-ups and validation checks. Evaluations use real apps with changing interfaces and login states.
- Joint training for medical and general capabilities. Medical training incorporates replay of general multimodal data and alignment on general tasks. This preserves general multimodal understanding, OCR, document and chart understanding, multimodal search, and GUI interaction.
Quantization
LingSante-3.1-air-VL-MXFP4 is a mixed-precision checkpoint produced directly from the BF16/FP32 source checkpoint using data-free RTN post-training quantization. No calibration data or additional training is used.
- Quantized to MXFP4: routed-expert
gate_proj, up_proj, and down_proj weights. The format uses E2M1 values, a group size of 32, shared E8M0 scales, and two FP4 values packed per byte.
- Quantized to FP8: selected language-model matrices, including dense MLP, shared-expert, and selected KDA and attention projections. These use E4M3 weights with 128×128 blocks and power-of-two scales stored in FP32.
- Preserved in BF16: the vision encoder, multimodal projection, embeddings,
lm_head, router weights, normalization parameters, and other excluded BF16 tensors.
- Preserved in FP32: KDA
A_log and dt_bias, and router expert_bias.
Routed-expert weights are converted directly from BF16 to MXFP4; this conversion does not involve dequantizing an FP8 source checkpoint. This release does not include MTP prediction-layer weights.
Tokenizer assets, special-token configuration, chat templates, and source RoPE settings are preserved. Long-context extensions and activation precision are configured separately by the serving runtime.
Performance
MXFP4 reduces the storage required for routed-expert weights compared with FP8 or BF16 representations. Inference latency, throughput, and memory use depend on hardware, activation precision, kernel implementation, parallelism, batch size, and sequence length.
Quickstart
SGLang (Recommended)
Use a SGLang build that supports bailing_moe_v3_vl, mixed FP8/MXFP4 checkpoint loading, multimodal processing, the FlashInfer MXFP4 MoE backend, multimodal YaRN, and the ling3 parsers.
Server (4× 141GB-class GPUs, TP4, 256K context with YaRN):
On 8× 80GB H100/H800, use --tp 8 instead. Hopper decode optimizations can be enabled with SGLANG_ENABLE_FP8_BLOCK_GEMV=1 and SGLANG_ENABLE_FUSED_KDA_OUTPUT_QUANT=1.
Client
Intended Use
- Medical imaging report understanding, assisted generation, and multi-image reading in research settings.
- Multimodal assessment of skin conditions, diet, and medical reports, with review by qualified personnel.
- Medical question answering, evidence retrieval, and evidence synthesis with source verification.
- Development and evaluation of multimodal medical search, tool calling, and GUI agents.
- Research on medical multimodal reasoning, professional communication, and general-capability preservation.
Limitations and Responsible Use
- Medical outputs may be incorrect, incomplete, outdated, or unsupported by the cited evidence. Verify consequential claims against current authoritative sources and the original images.
- The model does not replace qualified healthcare professionals. It must not independently diagnose, prescribe, determine treatment, or make clinical triage decisions.
- Benchmark and simulated-environment results do not establish clinical effectiveness. Performance may vary across specialties, imaging conditions, languages, populations, institutions, and local resource conditions.
- Image quality, lighting, occlusion, and missing context can change the interpretation. Report generation and skin/diet assessments require review by qualified professionals.
- Long-context support does not guarantee complete retrieval of every relevant fact. Check source attribution, omissions, and contradictions when processing clinical records or literature.
- Protect personal health information and comply with applicable privacy, security, healthcare, and data-governance requirements.
- Use least-privilege tool access, auditable execution, and human approval for consequential actions. Search results and tool outputs can contain errors or malicious instructions.