All models

Literature · gevaertlab

MANTA-4B

A medical decision model providing calibrated answer probabilities for clinical text and images in one forward pass.

What MANTA-4B is

MANTA-4B (Medical Answers, Natively from Text And images) is a multimodal decision model developed by the Gevaert Lab at the Department of Computational Medicine, Stanford University. Unlike conversational models that generate free-form text, MANTA-4B evaluates structured decision tasks by directly scoring every supplied answer option across multiple queries simultaneously.

The model addresses the challenge of obtaining rapid, calibrated predictions across diverse clinical modalities without iterative autoregressive decoding. Given clinical notes, tabular case descriptions, or medical imaging alongside up to 64 multiple-choice, binary, or ordinal questions, it outputs option probabilities in a single forward pass with a median latency of 68 milliseconds.

For scientific and medical researchers, MANTA-4B provides a computationally lightweight method to query medical imagery and records simultaneously. It processes modalities including radiology, histopathology, endoscopy, ophthalmology, dermatology, and physiological signals rendered as images, while remaining deployable on a single GPU with approximately 16 GB of memory.

How it works

MANTA-4B is built upon an adapted Qwen3.5-4B vision-language backbone and incorporates a custom decision head trained from scratch. Instead of using text generation, the decision head outputs calibrated probabilities across specified options. Both language and vision towers are tuned end-to-end across a multi-stage training routine.

The model was trained on approximately 8.5 million decision requests (68% medical text and images) using around 600 H100 GPU-hours. Volumetric 3D CT and MRI data are processed as 2D slices, medical videos are sampled as single frames, and physiological time series (such as ECGs or acoustic recordings) are rendered as 2D plots or log-mel spectrograms. Requests support inputs up to 4,096 prompt tokens, where questions specify task criteria, binary choices, or bounded bounding boxes.

Key facts

Model architecture
Adapted Qwen3.5-4B vision-language backbone with a custom decision head
Parameter count
5.3B stored parameters (10.6 GB in BF16 format)
Input formats
Case descriptions (text or JSON), optional images, and 1 to 64 structured questions (up to 4,096 tokens)
Output format
Calibrated probability distribution per answer option per question
Hardware requirements
One GPU with approximately 16 GB of memory
Inference latency
68 ms median latency

What you can use it for

Radiological Finding Classification
Identify pathologies, fractures, and lesions from planar X-rays, mammograms, or 2D CT and MRI slices using bounding box coordinates and multiple-choice candidate options.
Biomarker Presence Detection
Assess whether microscopic or imaging biomarkers (such as intraretinal hyperreflective foci on optical coherence tomography) are present or absent.
Ordinal Disease and Stenosis Grading
Score disease severity, luminal narrowing, or cell density across discrete ordered levels using score queries on endoscopic frames or angiograms.

Run it here

We list this model but cannot run it yet: it was saved with a newer transformers release than our general image runs, so it needs an image of its own.

Everything on this page still applies. Running it needs a loader for this repository, not a bigger machine.

Strengths and limits

Good at

  • Computes calibrated probabilities for up to 64 distinct clinical questions in a single forward pass without text generation.
  • Achieves 85.3% accuracy on MANTA-Bench medical evaluations with an expected calibration error (ECE-15) of 0.028 on in-domain test sets.
  • Delivers low inference latency, averaging 68 milliseconds on a single GPU.
  • Broadly handles varied medical imaging modalities, including histopathology, dermoscopy, endoscopy, and log-mel spectrograms of physiological acoustics.

Watch out for

  • For research use only: it is not a medical device and must not be used for diagnosis, treatment or any clinical decision.
  • It is a research model not cleared as a medical device for autonomous patient diagnosis or clinical management.
  • Requires 3D volumes (CT, MRI) and video sequences to be sliced or sampled as individual 2D frames rather than processed natively as 3D/temporal tensors.
  • Context window is restricted to a maximum of 4,096 prompt tokens.

Inputs and outputs

You provide

  • Text

    The passage to classify.

You get back

  • Labels with confidence scores, highest first.

Licence

Check the licence before commercial use · apache-2.0

The apache-2.0 licence carries terms worth reading before you depend on it.

Questions

Can I use MANTA-4B commercially?

Check the licence before commercial use. The apache-2.0 licence carries terms worth reading before you depend on it.

Does MANTA-4B generate explanations or free-text diagnoses?

No. MANTA-4B is strictly a decision model and does not perform text generation. It outputs normalized probability scores across user-defined option sets.

How are regions of interest or bounding boxes supplied to the model?

Spatial coordinates are passed as normalized text coordinates on a 0–1000 scale within the question instructions (such as a 2D bounding box or point), rather than drawn onto the input image.

What question types can be passed to the model?

The model supports three query structures: multiple-choice options ('choice'), binary yes/no presence checks ('noul'), and ordered categorical severity scales ('score').

How does MANTA-4B handle non-imaging physiological data?

Physiological signals are converted to visual formats before input: 12-lead ECGs and polysomnography are rendered as 2D signal plots, while lung sounds, heart murmurs, and coughs are rendered as log-mel spectrograms.

How to cite it

@misc{manta2026, title = {MANTA: Medical Answers, Natively from Text And images}, author = {{Gevaert Lab, Stanford University}}, year = {2026}, howpublished = {\url{https://huggingface.co/gevaertlab/MANTA-4B}}, note = {Technical report forthcoming}}

Written from MANTA-4B's own documentation (model card). Statements citing a figure that does not appear there are removed before publication. Licence and running details come from our registry.