arXiv Science⌕ Search

arXiv · 2612.03422

SliceHeads: A Python Package for Benchmarking Classification Heads on Frozen 2D Vision Foundation Model Embeddings for Volumetric Medical Imaging

Abstract

Frozen two-dimensional (2D) vision foundation models such as DINO make it practical to represent a three-dimensional (3D) computed tomography (CT) or magnetic resonance imaging (MRI) scan as a variable-length sequence of slice embeddings rather than a voxel volume, avoiding end-to-end training of a fully 3D encoder. However, comparing diverse aggregation strategies under a unified, reproducible pipeline remains challenging. We present SliceHeads, an open-source Python framework for benchmarking heterogeneous classification heads on frozen slice-level embeddings within a common training, optimization, evaluation, and interpretation workflow. The framework includes ten classification heads across six aggregation families, a self-describing HDF5 embedding store, declarative hyperparameter search, and model-agnostic slice-level attribution using leave-one-slice-out ablation. We demonstrate SliceHeads on 1,063 chest CT studies from MosMedData using nested cross-validation for binary classification of COVID-19-related pulmonary involvement. All ten heads were evaluated for classification using both DINOv3 and RAD-DINO embeddings, while slice-level localization was assessed using DINOv3 on 50 radiologist-annotated studies. The highest area under the ROC curve (ROC-AUC) point estimates were obtained by mean pooling with DINOv3 (0.853) and by a hybrid recurrent-convolutional model with RAD-DINO (0.834), while head rankings differed across encoders. Simple pooling remained competitive. Classification performance did not reliably predict localization quality, and model-agnostic occlusion yielded higher slice-level localization ROC-AUC than native attention in all three evaluated attention-based heads. SliceHeads provides a reproducible and extensible framework for jointly benchmarking embedding representations, aggregation strategies, and slice-level interpretation in volumetric medical imaging.

Explore related subjects

Keep this discovery

Explore connections, maps & timelines

BibTeXRIS

Moshe Amitay, Efrat Lifshitz, Talia Yeshua. 2026-12-02. SliceHeads: A Python Package for Benchmarking Classification Heads on Frozen 2D Vision Foundation Model Embeddings for Volumetric Medical Imaging. https://arxiv.science/abs/2612.03422

Citations retain the original authors and DOI and include this site’s record URL. If this discovery service contributed to your research, you can also cite arXiv Science by Indiciae: BibTeX · RIS.

KEEP EXPLORING

Related papers

Partial FC: Training 10 Million Identities on a Single Machine

Training face recognition models with millions of identities is bottlenecked by the classification head: classifier storage, logit memory, and computation grow linearly with class count, making full softmax impractical even when the backbone fits in memory. We present Partial FC (PFC), an approximation to large-class softmax that keeps every positive class center while activating only a random subset of negatives per mini-batch. PFC partitions the classifier across GPUs and samples within each owned shard: sampling shrinks local GEMMs and logits, while permanent ownership removes classifier-gradient synchronization without feature retrieval. Our system scales to 64M classes on one eight-GPU machine. Moderate sampling rates match full-softmax accuracy, reaching 97.2\% TAR on IJB-C (FAR $=10^{-4}$) and 94.0\% on ICCV21-MFR (FAR $=10^{-6}$). Under 40\% label flips, PFC with conflict filtering lifts MFR TAR from 43.9\% to 80.2\%, and on long-tailed data PFC raises TAR from 87.4\% to 92.0\% overall.

cs.CV↗

Bengali Document Layout Analysis with Detectron2

Document layout analysis (DLA) splits a page into regions such as paragraphs, text boxes, images and tables before optical character recognition is applied. For Bengali, the BaDLAD dataset now makes it possible to train and compare DLA models at scale. In this work we train Mask R-CNN models in Detectron2 on BaDLAD using three backbones (ResNet-50, ResNet-101 and ResNeXt-101 32x8d, each with a feature pyramid network) and two initializations: an ImageNet-pretrained backbone, and a full model pretrained on the English PubLayNet dataset. All six models were scored with the Dice coefficient on the DL Sprint 2.0 test set (about 3,900 images) and hidden test set (about 9,100 images). ResNet-101 with ImageNet initialization obtained the highest Dice on both sets, 0.89191 and 0.89283. The five models with both scores were ranked in the same order on the two sets. PubLayNet initialization gave higher Dice for ResNet-50 and ResNeXt-101, where both initializations were trained for a similar number of iterations. For ResNet-101 the two runs had different training lengths, so the effect of initialization could not be separated. On one NVIDIA P100 GPU, the ResNet-101 pipeline processed 4.67 images per second including post-processing.

cs.CV↗

EAGLE: Elevating Geometric Reasoning through LLM-empowered Visual Instruction Tuning

Multi-modal Large Language Models (MLLMs) have advanced greatly in general tasks. However, they still face challenges in geometric reasoning, a task that requires synergistic integration of visual recognition proficiency and complex reasoning strength. Existing MLLMs prioritize optimizing the LLM backbone to enhance problem-solving capabilities, while rarely emphasizing improvements in discerning visual elements. However, we observe that MLLMs suffer from severe visual perception deficiencies in geometric domains, including inaccurate geometric comprehension and severe visual hallucinations, which constrain their reasoning performance. To address this issue, we revisit geometric reasoning through a visual-centric lens that highlights the role of visual perception. To achieve this, we propose EAGLE, a coarse-to-fine visual adaptation framework for geometric reasoning that progressively adapts the visual pathway to geometric perception. Specifically, given the substantial disparity between geometric diagrams and natural images, we first introduce Geometric Knowledge Injection. This process explores fundamental knowledge from diagram-caption data to enhance recognition capabilities and improve geometry-language alignments. Then, recognizing that different elements contribute unequally in the reasoning process, we introduce Geometric Knowledge Refinement. This stage leverages LLM-driven chain-of-thought solutions to provide additional reasoning supervision for visual refinement, fostering a synergistic interplay between visual comprehension and geometric reasoning. Finally, we develop EAGLE, a geometry expert with improved perception and reasoning capabilities. Extensive experiments demonstrate its effectiveness on four popular benchmarks.

cs.CV↗