Model reference · open weights

aloe-siglip2

Available as managed deployment Licence fee Embeddings rmaser · community Image embed 1 variants 542 dl/mo

aloe-siglip2 is an open-weight embedding model from rmaser. AxForge deploys and operates it for you on dedicated EU-owned hardware — with the licence handled where one is required.

Available as managed deployment — configured and operated for you on dedicated EU hardware, quoted per deployment.

What it is

Released byrmaser
TypeEmbedding models
TaskImage embed
Parameters (lead)95M
Runs withtransformers
Released2026-03-30
Popularity542 downloads / month
LicenceCommercial licence needed

About

What aloe-siglip2 is

Using DINOv3? A newer ALOEv2 multi-resolution DINOv3 model is available and recommended — see rmaser/aloe-v2-dinov3-{small,base,large} (and the matching -in1k-lp classifier heads). ALOEv2 substantially improves dense correspondence and depth while keeping inherent B-cos explanations.

This repository contains one of the published ALOE vision backbones or ImageNet-1k linear-probe classifiers from the accepted CVPR 2026 poster "Align Once to Explain: Feature Alignment for Scalable B-cosification of Foundational Vision Transformers".

ALOE converts a frozen ViT-style foundation model into an inherently interpretable B-cos counterpart through a one-time, label-free feature-alignment stage. The aligned model is meant to be used as a drop-in visual backbone: it keeps strong downstream representations while exposing model-inherent B-cos explanations from the network itself.

ALOE stays within a fraction of a point of the original foundation models on ImageNet-1k linear-probe accuracy while lifting Grid-PG localization far above the teachers' best post-hoc explainers.

Read the full model card

What ALOE Does

  • Starts from a frozen teacher encoder such as supervised ViT-B/16, DINOv3, or SigLIP2.
  • Builds a bias-free B-cos student with six-channel B-cos preprocessing and matching width, depth, and token routing.
  • Aligns the student to the teacher on unlabeled image data using global embedding matching and token-level supervision at multiple depths.

The paper reports that this alignment is robust across supervised, self-supervised, and vision-language teachers, and is about 100-1000x more data-efficient than training B-cos models from scratch.

Published Checkpoints

The public ALOE backbone family includes:

Hub repoTeacher familyArchitecture
rmaser/aloe-dinov3-smallDINOv3ViT-S/16
rmaser/aloe-dinov3-baseDINOv3ViT-B/16
rmaser/aloe-dinov3-largeDINOv3ViT-L/16
rmaser/aloe-vit-basesupervised ViTViT-B/16
rmaser/aloe-siglip2-baseSigLIP2ViT-B/16
rmaser/aloe-siglip2-largeSigLIP2ViT-L/16
rmaser/aloe-siglip2-so400mSigLIP2ViT-so400m/16
rmaser/aloe-siglip2-so400m-432SigLIP2ViT-so400m/16 at 432 px

The corresponding public ImageNet-1k linear-probe classifiers include the aligned backbone and its trained 1,000-class probe:

Hub repoTeacher familyArchitectureImageNet-1k LP top-1
rmaser/aloe-dinov3-small-in1k-lpDINOv3ViT-S/1677.91
rmaser/aloe-dinov3-base-in1k-lpDINOv3ViT-B/1684.14
rmaser/aloe-dinov3-large-in1k-lpDINOv3ViT-L/1686.82
rmaser/aloe-siglip2-base-in1k-lpSigLIP2ViT-B/1683.87
rmaser/aloe-siglip2-large-in1k-lpSigLIP2ViT-L/1687.08
rmaser/aloe-siglip2-so400m-in1k-lpSigLIP2ViT-so400m/1687.83
rmaser/aloe-siglip2-so400m-432-in1k-lpSigLIP2ViT-so400m/16 at 432 px88.48

Main Metrics From The Paper

All numbers below are top-1 accuracy or GridPG localization scores in percent unless noted otherwise.

ImageNet-1k, Published Model Scale

Across every scale, ALOE holds ImageNet-1k linear-probe and k-NN accuracy within a fraction of a point of the teacher while lifting Grid-PG localization far above the teacher's strongest post-hoc explainer (AttnLRP). Per-checkpoint numbers are in the paper.

Explanations And Feature Geometry

ALOE B-cos attributions (middle) are object-centric and class-specific, while the PCA of the final image representation (bottom) shows the teacher's global feature geometry is preserved — semantics stay aligned while explainability improves.

Linear Evaluation On 10 Datasets, ViT-B/16

Teacher familyTeacher avg.B-cosification avg.ALOE avg.ALOE gain vs. B-cosification
Supervised ViT79.5174.5680.61+6.05
SigLIP289.6979.9688.78+8.82
DINOv390.2070.7189.99+19.28

The 10-dataset protocol covers ImageNet-1k, Caltech101, Oxford Flowers, Food101, FGVC Aircraft, DTD, Stanford Cars, SUN397, CIFAR-10, and CIFAR-100.

Zero-Shot ImageNet-1k With SigLIP2 Text Encoder

Image encoderZero-shot top-1
SigLIP2 ViT-B/16 teacher78.07
B-cosification ViT-B/1658.66
ALOE SigLIP2 ViT-B/1677.17
ALOE SigLIP2 ViT-L/1681.87
ALOE SigLIP2 ViT-so400m/1682.34
ALOE SigLIP2 ViT-so400m/16 at 432 px83.25

Dense Prediction

For monocular depth with frozen ViT-B/16 features and a linear probe, ALOE improves over B-cosification on NYUv2-style depth metrics:

MethodRelative delta1 upRelative RMSE downAbsolute delta1 upAbsolute RMSE down
DINOv3 teacher0.95420.27790.79980.4748
B-cosification0.83110.46040.65030.6804
ALOE0.93160.32750.70890.5845

Usage

These models use custom ALOE Transformers code, so loading requires trust_remote_code=True.

from transformers import AutoImageProcessor, AutoModel

repo_id = "rmaser/aloe-dinov3-base"
processor = AutoImageProcessor.from_pretrained(repo_id, trust_remote_code=True)
model = AutoModel.from_pretrained(repo_id, trust_remote_code=True)
model.eval()

Hidden States Are Pre-Norm

With output_hidden_states=True, hidden_states[i] is the raw output of block i — in particular hidden_states[-1] is not last_hidden_state, which additionally passes through post_layernorm. This is the convention the distillation loss was defined against, and recent Transformers versions report the post-norm tensor in hidden_states[-1] on the official DINOv3 and ViT models, so the two APIs differ at that one index.

Use hidden_states[i] for anything layer-wise. These models supervise blocks n/3 - 1, 2n/3 - 1 and n - 1 of n, reaching 0.90–0.995 cosine similarity to the teacher's corresponding pre-norm features. Note that t

From the published model card. Full card on the HuggingFace links in the sidebar.

Using it via the API

Call it like any OpenAI endpoint

Once AxForge deploys aloe-siglip2 for you, it answers on the OpenAI-compatible API — the same base URL and keys as every other model. (aloe-siglip2 below is illustrative; you get the exact model name on deployment.)

$ curl -sS https://api.axforge.ai/v1/embeddings \
  -H "Authorization: Bearer $AXFORGE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model":"aloe-siglip2","input":"text to embed"}'

Create an account — your API key is available in the console. 3M free tokens every 30 days with every new account.

© 2026 AxForge · EU-hosted AI infrastructure Pricing Docs Trust Privacy Terms