How granite-embedding-748m-vision-r2 reads a page and finds it again
One encoder, two outputs: a single CLS vector for a fast first pass, and per-token vectors for MaxSim reranking.
Step 1
0.0 s
image tokensCLS, one vector per page (768-d)multi-vector tokens (128-d each)query
Native resolution. Each page is split into 16×16-pixel patches at close to its native aspect ratio, between 576 and 2,880 patches per page (about 0.15 to 0.74 megapixels), instead of being resized to a fixed grid of tiles.
Vision encoder. A SigLIP2 so400m NaFlex tower (417M parameters), initialized from the vision encoder of Granite Vision 5.0, which is released the same day.
Connector. A one-layer window Q-Former compresses each 4×4 window of patches into learned queries, cutting the number of visual tokens by 4×, and maps them into the text encoder's 768-dimensional input space. A learned 2D position embedding and a newline token at the end of each row of patches help the text encoder recover the page layout.
Text encoder. A 22-layer ModernBERT encoder with a 262K-token multilingual vocabulary, initialized from granite-embedding-311m-multilingual-r2. It keeps that model's architecture, but its weights are adapted with LoRA during modality alignment and distillation.
Two heads. The [CLS] token gives the 768-d single vector; a linear projection to 128 dimensions gives the per-token multi-vectors.