EmbeddingGemma 2: searching text, images, video and audio in one vector space

Sharing a vector space and sharing one index are different problems.

EmbeddingGemma 2 maps text, images, video and audio into one 768-dimensional space. At 740M parameters and 1.49 GB it runs on a laptop under Apache-2.0.

Requirements and key details
  • Four input types share one 768-dimensional space.
  • Text 270M, vision 170M and audio 300M combine to 740M parameters.
  • At 1.49 GB it runs on a laptop.

What one shared space means

Ordinary search compares text with text. A multimodal embedding places images and text in the same coordinate system, so text can find images and images can find text.

EmbeddingGemma 2 combines a 270M text model with 170M vision and 300M audio encoders for 740M total, and accepts combined input so clips with sound and captions work too.

A small computer running a search system beside document stacks
Text, images, video and audio meet in one 768-dimensional space.

Why not mix with an existing index

Every embedding model defines its own space. Even at matching dimensions the coordinates mean different things, so vectors from another model in the same index return nonsense matches.

It is tempting to think a projection to matching dimensions fixes it, but no mapping between the two spaces was learned. Rebuilding the index is more predictable.

What searches this enables

Searching documents by photo is the clearest case: a whiteboard image finds the related minutes. Lectures with audio but no captions become searchable by sound.

Accuracy is lower than text-to-text comparison, though. Use image or audio search to narrow candidates and confirm in the source.

Uses by input combination
Looking forQueryHow to check
DocumentPhotoOpen the source
videoRecordingCheck timestamps
imageSentenceView the thumbnail
A person at a laptop is surrounded by connected document, spreadsheet, folder, image, settings, and robot panels
Do not mix with an existing text index; rebuild it.

Decisions at ingestion

Decide what to embed first: whether video contributes frames1 and audio separately or one summary sentence changes index size substantially.

With many files, time preprocessing first: the 1.49 GB model runs without a GPU2 but thousands of files take time. Measure 100 files and plan from that.

A waveform and a document on a monitor feed into a padlocked enclosure, while a dashed line toward the cloud is crossed out
Multimodal search narrows candidates; confirm in the source.

Terminology notes

  1. Frame — A single image that makes up part of a video.

    Back to the text
  2. GPU — A processor designed to handle many calculations in parallel. It performs model computations during AI inference.

    Back to the text

Frequently asked questions

What should you check first in this article?
EmbeddingGemma 2 maps text, images, video and audio into one 768-dimensional space. At 740M parameters and 1.49 GB it runs on a laptop under Apache-2.0.