EXAONE Path MSI
is an
enhanced whole-slide image (WSI) classification framework
that retains the core architecture of
EXAONE Path
while upgrading its internals for greater efficiency and richer multimodal integration.
The pipeline still unfolds in two stages:
Patch-wise feature extraction
– Each WSI is tiled into 256 × 256 px patches, which are embedded into 768-dimensional vectors using the frozen
EXAONE Path
encoder.
Slide-level aggregation
– The patch embeddings are aggregated using a Vision Transformer, producing a unified slide-level representation that a lightweight classification head transforms into task-specific probabilities.
Key Improvements
FlexAttention
+
torch.compile
What changed:
Replaced vanilla multi‑head self‑attention with IO‑aware
FlexAttention
kernels and enabled
torch.compile
to fuse the forward/backward graph at runtime. The new kernel layout dramatically improves both memory efficiency and training-and-inference throughput.
Coordinate‑aware Relative Bias
What changed:
Added an ALiBi‑style distance bias that is computed from the (x, y) patch coordinates themselves, allowing the ViT aggregator to reason about spatial proximity.
Scalable Mixed‑Omics Encoder (Token‑mixing Transformer)
What changed:
Each omics modality is first tokenised into a fixed‑length set.
All modality‑specific tokens are concatenated into a single sequence and passed through a shared multi‑head self‑attention stack
, enabling direct information exchange across modalities in one shot. The aggregated omics representation is subsequently fused with image tokens via cross‑attention. This release uses
three modalities (RNA, CNV, DNA‑methylation)
, but the design is agnostic to modality count and scales linearly with token number.
Quick Start
Requirements
NVIDIA GPU is required
Minimum 40GB GPU memory recommended
Tested on Ubuntu 22.04 with NVIDIA driver version 550.144.03
Installation
pip install -r requirements.txt
Quick Inference
from models.exaonepath import EXAONEPathV1p5Downstream
hf_token = "YOUR_HUGGING_FACE_ACCESS_TOKEN"
model = EXAONEPathV1p5Downstream.from_pretrained(
"LGAI-EXAONE/EXAONE-Path-MSI",
use_auth_token=hf_token
)
probs = model("./samples/MSI_high.svs")
print(f"P(CRCMSI) = {probs[1]:.3f}")
EXAONE-Path-MSI huggingface.co is an AI model on huggingface.co that provides EXAONE-Path-MSI's model effect (), which can be used instantly with this LGAI-EXAONE EXAONE-Path-MSI model. huggingface.co supports a free trial of the EXAONE-Path-MSI model, and also provides paid use of the EXAONE-Path-MSI. Support call EXAONE-Path-MSI model through api, including Node.js, Python, http.
EXAONE-Path-MSI huggingface.co is an online trial and call api platform, which integrates EXAONE-Path-MSI's modeling effects, including api services, and provides a free online trial of EXAONE-Path-MSI, you can try EXAONE-Path-MSI online for free by clicking the link below.
LGAI-EXAONE EXAONE-Path-MSI online free url in huggingface.co:
EXAONE-Path-MSI is an open source model from GitHub that offers a free installation service, and any user can find EXAONE-Path-MSI on GitHub to install. At the same time, huggingface.co provides the effect of EXAONE-Path-MSI install, users can directly use EXAONE-Path-MSI installed effect in huggingface.co for debugging and trial. It also supports api for free installation.