Medical imaging / study classification

MRNet MRI classification.

The experiment uses an exploratory attention architecture to keep the evidence within each slice before combining it into a volume-aware prediction for the study.

Interactive architecture

Represent each slice before combining the scan.

The model represents each slice separately, then uses attention to combine evidence across the scan.

Case study

Finding evidence across slices

01 / Problem

Evidence in a few slices

Small abnormalities may be visible in only a few slices of an MRI study. Much of the rest shows normal or redundant anatomy.

02 / System

Attention within and between slices

Patch tokenization and self-attention encode the content of each slice. Inter-slice aggregation then weights that evidence across the volume.

03 / Artifact

Exploratory notebooks

The public repository contains exploratory notebooks covering the architecture, data handling, training experiments, and visual inspection.

Architecture detail

From slices to a study decision

  1. Sample slices

    Keep the ordered MRI sequence as the primary unit of analysis.

  2. Tokenize patches

    Turn local structures within each slice into visual tokens for attention.

  3. Aggregate evidence

    Learn how much weight each slice representation should have in the study-level summary.

  4. Classify the study

    Use the combined volume representation to produce the target diagnostic output.

Evidence boundary

A notebook experiment.

This is a notebook experiment, not a diagnostic product. The repository records the architectural exploration and model-development work. It does not claim clinical validation or deployment readiness.