Franca
A fully open self-supervised ViT backbone with nested Matryoshka clustering heads and position debiasing.
Image classification · 684 operations Checked
Click or tap a spot to read it up close. Scroll or drag inside the diagram to move through it. Zoom with + and − or Ctrl and scroll. Press 0 for the whole graph. Swipe inside the diagram to move through it. Use + and − to zoom.
At a glance
- Task
- Image classification
- Parameters
- 303.7M
- Operations
- 684
- Framework
- PyTorch
- Recurrent
- No
- Published
- 2025
- Cited by
- 30 (as of 22 November 2026)
- Authors
- Shashanka Venkataramanan, Valentinos Pariza, Mohammadreza Salehi and others
- Source
- GitHub: valeoai/Franca
- License
- Apache-2.0
- Checked
- Passed: the trace was replayed operation by operation and matched the model's own output for this input.
Files
The file opened in a new tab. Use your browser's Save command there to keep it.
The diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.
Details
- Stable ID
- m1059
- Graph hash
- 3ba04b86d2adfb2c0fb0eb4df310f3d359980574538fc50eb15de6bfb4d94eed
- Skeleton hash
- 195e5429fa8bbe70a53a57e8d8820204ce94fa6ce4ee93edf40d5f7490db2693
- Architecture hash
- c87aed81f2e9dd6dfd203b2e461939e4b2788a7bee8cc004008d0ba5eeb98896
- Diagram SHA-256
- 84c4ae5fcc48dda90a0c61e3c05ee3cf6a9b769d38adad7b98b399cc2e4b60b3
- TorchLens version
- 2.36.0
- Renderer
- graphviz 2.43.0+pyvips 3.2.0+libvips 8.18.7+render-opts@06c1f0d3
- Check
- Forward pass replayed in PyTorch
What it is
Franca is a self-supervised vision foundation model whose authors describe it as the first fully open-source (data, code, weights) vision foundation model, matching and in many cases surpassing proprietary models such as DINOv2, CLIP and SigLIPv2. The name is pronounced Fran-ka and means free one. It is pretrained only on publicly available images, ImageNet-21K and a subset of ReLAION-2B, with a training pipeline inspired by Web-SSL.
Under the hood the framework is built on DINOv2 and pretrained on large public image datasets. Its starting point is that clustering is inherently ambiguous, since vehicles can be grouped by manufacturer, color or model year, and that current methods cope with very large codebooks, 131K in the case of DINOv2. Franca instead slices the encoder features into progressively smaller nested subsets of dimensions, d down to d/8 and d/16, and gives each slice its own projection head and a clustering head with fewer clusters, c down to c/8 and c/16. Coarse heads capture global semantics while fine heads focus on local structure. A practical payoff is that the embedding can be truncated: in k-NN classification on ImageNet-v2 with a ViT-L backbone, Franca holds up across all subspace dimensions, even compressed to dim/64.
CyclicMask is a masking strategy that circularly shifts the masked patches to break simple spatial continuity. RASA, short for Removal of Absolute Spatial Attributes, is a post-training step that disentangles spatial information from patch embeddings. Because it is linear, the whole transform collapses to a single matrix appended to the weights of the final ViT layer, with no architectural changes and zero inference overhead. One quirk the authors note is that registers become redundant: adding them to Franca degrades k-NN on IN-1K from 79.6 to 78.7.
The traced member is the ViT-L/14 backbone, loaded through the repository's hub entry franca_vitl14 with the LAION_224 weights and no RASA head. The architecture follows DINOv2 without registers, and the ViT-L variant has 300M parameters. All models are trained from scratch for 625K iterations without distillation from larger models, unlike DINOv2, which distills from ViT-G into its smaller variants. In the repository's table, this ViT-L/14 LAION-600M checkpoint at 224 resolution without RASA reaches 82.2% k-NN and 84.5% linear accuracy on ImageNet-1K, 34.5% on ADE20K in-context and 68.0% on DAVIS video object segmentation.
Key idea. Franca's key contribution is a parameter-efficient, multi-head clustering projector based on nested Matryoshka representations, which progressively refines features into increasingly fine-grained clusters without increasing the model size. It pairs this with RASA, a positional disentanglement strategy that explicitly removes positional biases from dense representations.
- Franca
- Franca ViT-L/14
- franca_vitl14
- vision foundation model
- self-supervised learning
- SSL
- Matryoshka clustering
- nested Matryoshka
- RASA
- CyclicMask
- DINOv2
- open-source vision model
- LAION-600M
- ImageNet-21K
- valeoai
AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.
Cite the paper
@misc{venkataramanan2026francanestedmatryoshkaclustering,
title={Franca: Nested Matryoshka Clustering for Scalable Visual Representation Learning},
author={Shashanka Venkataramanan and Valentinos Pariza and Mohammadreza Salehi and Lukas Knobel and Spyros Gidaris and Elias Ramzi and Andrei Bursuc and Yuki M. Asano},
year={2026},
eprint={2507.14137},
archivePrefix={arXiv},
primaryClass={cs.CV},
url={https://arxiv.org/abs/2507.14137},
}