The post has been translated automatically. Original language: Russian
On November 30, Mistral released the Mistral Multimodal Embed, which the company itself calls Clipstral. This is an open embedding model: it translates images, videos, and text in different languages into vectors of the same common space. There are 1.24 billion parameters in the model. The weights, the inference code, and the technical report are posted on Hugging Face under the Apache 2.0 license.
Why do we need a common embedding space?
If an image, video, and text lie in the same vector space, search, classification, and deduplication are reduced to finding the nearest neighbors. A query can be a phrase, a photo, or a video fragment, and the response can be similar collection objects. The Mistral blog lists typical disadvantages of existing open encoders: some of them lose accuracy at high resolution, most crop text to 32-77 tokens and understand only English, and many do not work with video at all. Clipstral is conceived as one compact model that does not have these limitations.
How the model works
Of the 1.24 billion parameters, the visual transformer accounts for 409 million, the space-time encoder for video — 50 million, and the text encoder — 783 million. The embedding size is 1024.
- Images are processed in the original resolution and with the original aspect ratio. According to the authors' measurements, the quality is kept exactly from 224 to 1036 pixels.
- The video is served in clips of 16 frames each. Each frame goes through the same visual transformer, and then a lightweight four-layer transformer links the fragments of all the frames together.
- The text encoder is a causal transformer with a multilingual tokenizer for 131 thousand tokens and without a fixed length limit. The vector is taken from the last token.
- The training took place in two stages: first, contrast training in pairs of "picture — text", then a video stage. According to the authors, video learning has also improved the results in pictures.
Measurement results
Mistral compared Clipstral with 14 open encoders using a single methodology based on 37 benchmarks: image and video search and classification. According to the company, Clipstral has the best image and video search among no more than 4 billion models. Only larger models bypass it: Qwen3-VL-Embedding with 8 billion parameters in search and PE-Core-G in image classification.
In the search for long descriptions, the average R@1 was 71.2%, the best result among models with up to 4 billion parameters. On the multilingual XM3600 benchmark, where signatures are given in 36 languages, 59.7 R@1 turned out, while in 35 non-English languages the model searches at the English level. The delay was measured on a single NVIDIA H200 video card in bfloat16 with a torch.compile on 448 pixels in pictures: none of the compared models turned out to be both faster and more accurate.
What does this mean in practice?
For a backend developer, this is a ready-made candidate for the role of an encoder in a media archive, product catalog, or photo incident database. The model runs on a single H100 or H200 class graphics card, so it can be raised in its circuit if data cannot be sent to an external API. What should be checked in advance:
- Vector storage. The 1024 dimension should be included in the scheme: in PostgreSQL with pgvector, in Redis, or in a separate vector database. Changing the model later means reindexing the entire collection.
- Long texts. Since there is no hard limit, the latency and memory consumption depend on the length of the descriptions. The load test should be run on real data, not on short signatures.
- Your domain. The figures are based on public benchmarks. Before implementation, collect a small marked-up sample from your data and calculate the recall on it.
- Video. The model accepts clips of 16 frames each, so you will have to write the cutting of long videos into fragments and assemble the results yourself.
The draft text was prepared with the participation of AI, the facts are checked against the original source — the announcement of the Mistral Multimodal Embed on the official blog of Mistral AI
30 ноября Mistral выпустила Mistral Multimodal Embed, которую в самой компании называют Clipstral. Это открытая модель эмбеддингов: картинки, видеоролики и текст на разных языках она переводит в векторы одного общего пространства. В модели 1,24 млрд параметров. Веса, код для инференса и технический отчёт выложены на Hugging Face под лицензией Apache 2.0.
Зачем нужно общее пространство эмбеддингов
Если изображение, видео и текст лежат в одном векторном пространстве, поиск, классификация и дедупликация сводятся к поиску ближайших соседей. Запросом может быть фраза, фотография или фрагмент видео, а ответом — похожие объекты коллекции. В блоге Mistral перечислены типичные недостатки существующих открытых энкодеров: часть из них теряет точность на высоком разрешении, большинство обрезает текст до 32–77 токенов и понимает только английский, а многие вообще не работают с видео. Clipstral задумана как одна компактная модель, у которой этих ограничений нет.
Как устроена модель
Из 1,24 млрд параметров на визуальный трансформер приходится 409 млн, на пространственно-временной энкодер для видео — 50 млн, на текстовый энкодер — 783 млн. Размер эмбеддинга — 1024.
- Изображения обрабатываются в исходном разрешении и с исходным соотношением сторон. По замерам авторов качество держится ровно от 224 до 1036 пикселей.
- Видео подаётся клипами по 16 кадров. Каждый кадр проходит через тот же визуальный трансформер, а затем лёгкий четырёхслойный трансформер связывает фрагменты всех кадров между собой.
- Текстовый энкодер — каузальный трансформер с многоязычным токенизатором на 131 тыс. токенов и без фиксированного лимита длины. Вектор берётся с последнего токена.
- Обучение проходило в два этапа: сначала контрастивное обучение на парах «картинка — текст», затем видеоэтап. По данным авторов, обучение на видео улучшило и результаты на картинках.
Результаты замеров
Mistral сравнила Clipstral с 14 открытыми энкодерами по единой методике на 37 бенчмарках: поиск и классификация изображений и видео. По словам компании, среди моделей не больше 4 млрд параметров у Clipstral лучший поиск по изображениям и видео. Обходят её только более крупные модели: Qwen3-VL-Embedding на 8 млрд параметров в поиске и PE-Core-G в классификации изображений.
На поиске по длинным описаниям средний R@1 составил 71,2% — лучший результат среди моделей до 4 млрд параметров. На многоязычном бенчмарке XM3600, где подписи даны на 36 языках, получилось 59,7 R@1, при этом на 35 неанглийских языках модель ищет на уровне английского. Задержку мерили на одной видеокарте NVIDIA H200 в bfloat16 с torch.compile на картинках 448 пикселей: ни одна из сравниваемых моделей не оказалась одновременно и быстрее, и точнее.
Что это значит на практике
Для backend-разработчика это готовый кандидат на роль энкодера в поиске по медиаархиву, каталогу товаров или базе инцидентов с фотографиями. Модель работает на одной видеокарте класса H100 или H200, поэтому её можно поднять в своём контуре, если данные нельзя отправлять во внешний API. Что стоит проверить заранее:
- Хранилище векторов. Размерность 1024 нужно заложить в схему: в PostgreSQL с pgvector, в Redis или в отдельной векторной базе. Смена модели позже означает переиндексацию всей коллекции.
- Длинные тексты. Раз жёсткого лимита нет, задержка и потребление памяти зависят от длины описаний. Нагрузочный тест стоит гонять на реальных данных, а не на коротких подписях.
- Свой домен. Цифры получены на публичных бенчмарках. Перед внедрением соберите небольшую размеченную выборку из своих данных и посчитайте recall на ней.
- Видео. Модель принимает клипы по 16 кадров, поэтому нарезку длинных роликов на фрагменты и сборку результатов придётся писать самим.
Черновик текста подготовлен с участием ИИ, факты сверены с первоисточником — анонс Mistral Multimodal Embed в официальном блоге Mistral AI
Comments 3
Newest Popular