Model reference · open weights
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 by | rmaser |
|---|---|
| Type | Embedding models |
| Task | Image embed |
| Parameters (lead) | 95M |
| Runs with | transformers |
| Released | 2026-03-30 |
| Popularity | 542 downloads / month |
| Licence | Commercial licence needed |
About
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-lpclassifier 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.
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.
The public ALOE backbone family includes:
| Hub repo | Teacher family | Architecture |
|---|---|---|
rmaser/aloe-dinov3-small | DINOv3 | ViT-S/16 |
rmaser/aloe-dinov3-base | DINOv3 | ViT-B/16 |
rmaser/aloe-dinov3-large | DINOv3 | ViT-L/16 |
rmaser/aloe-vit-base | supervised ViT | ViT-B/16 |
rmaser/aloe-siglip2-base | SigLIP2 | ViT-B/16 |
rmaser/aloe-siglip2-large | SigLIP2 | ViT-L/16 |
rmaser/aloe-siglip2-so400m | SigLIP2 | ViT-so400m/16 |
rmaser/aloe-siglip2-so400m-432 | SigLIP2 | ViT-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 repo | Teacher family | Architecture | ImageNet-1k LP top-1 |
|---|---|---|---|
rmaser/aloe-dinov3-small-in1k-lp | DINOv3 | ViT-S/16 | 77.91 |
rmaser/aloe-dinov3-base-in1k-lp | DINOv3 | ViT-B/16 | 84.14 |
rmaser/aloe-dinov3-large-in1k-lp | DINOv3 | ViT-L/16 | 86.82 |
rmaser/aloe-siglip2-base-in1k-lp | SigLIP2 | ViT-B/16 | 83.87 |
rmaser/aloe-siglip2-large-in1k-lp | SigLIP2 | ViT-L/16 | 87.08 |
rmaser/aloe-siglip2-so400m-in1k-lp | SigLIP2 | ViT-so400m/16 | 87.83 |
rmaser/aloe-siglip2-so400m-432-in1k-lp | SigLIP2 | ViT-so400m/16 at 432 px | 88.48 |
All numbers below are top-1 accuracy or GridPG localization scores in percent unless noted otherwise.
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.
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.
| Teacher family | Teacher avg. | B-cosification avg. | ALOE avg. | ALOE gain vs. B-cosification |
|---|---|---|---|---|
| Supervised ViT | 79.51 | 74.56 | 80.61 | +6.05 |
| SigLIP2 | 89.69 | 79.96 | 88.78 | +8.82 |
| DINOv3 | 90.20 | 70.71 | 89.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.
| Image encoder | Zero-shot top-1 |
|---|---|
| SigLIP2 ViT-B/16 teacher | 78.07 |
| B-cosification ViT-B/16 | 58.66 |
| ALOE SigLIP2 ViT-B/16 | 77.17 |
| ALOE SigLIP2 ViT-L/16 | 81.87 |
| ALOE SigLIP2 ViT-so400m/16 | 82.34 |
| ALOE SigLIP2 ViT-so400m/16 at 432 px | 83.25 |
For monocular depth with frozen ViT-B/16 features and a linear probe, ALOE improves over B-cosification on NYUv2-style depth metrics:
| Method | Relative delta1 up | Relative RMSE down | Absolute delta1 up | Absolute RMSE down |
|---|---|---|---|---|
| DINOv3 teacher | 0.9542 | 0.2779 | 0.7998 | 0.4748 |
| B-cosification | 0.8311 | 0.4604 | 0.6503 | 0.6804 |
| ALOE | 0.9316 | 0.3275 | 0.7089 | 0.5845 |
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()
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
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.