Semantic photo search
Photo retrieval based on visual meaning rather than only filenames, dates, albums, tags or recognized text.
A semantic system can compare a phrase such as “yellow tent under pine trees” with the visual content of a library. Results are ranked by similarity, so the system can be useful without claiming that every photo has been labeled with certainty.
How to search by descriptionMultimodal embedding
A numeric representation designed so related content from different media—such as text and images—can be compared in one vector space.
Queryable uses separate local encoders for photos and text. Their outputs share the same 512-dimensional space, allowing a sentence vector to be ranked against image vectors.
Queryable architectureCLIP
Contrastive Language–Image Pre-training: OpenAI’s 2021 model pair that places images and text in one shared vector space.
CLIP made “search photos by description” practical: encode every photo once, encode the sentence, rank by similarity. Queryable’s first 2022 build used OpenAI’s CLIP ViT-B/32; the current app uses Apple’s MobileCLIP-S2 instead.
How Queryable worksMobileCLIP
Apple’s family of small, fast CLIP-style image-text models, built to run on phones and released in several sizes (S0, S1, S2, B and larger).
Queryable runs the MobileCLIP-S2 image and text encoders through Core ML and ranks results on the GPU with Metal. Ente Photos also uses MobileCLIP (v1) for its on-device search.
MobileCLIP photo search on iPhonePhoto embedding
A compact vector that represents visual features of a photo for similarity matching.
An embedding is not the original image, a thumbnail or a complete written caption. It preserves relationships useful to a model: visually or conceptually related items tend to be nearer each other in the embedding space.
How the local vector index worksJoint embedding space
The coordinate space in which image and text embeddings from a multimodal model are placed and compared.
The word “joint” matters because vectors from both encoders must be aligned. A random image vector and an unrelated text-vector system cannot be meaningfully compared just because their arrays have the same length.
Cosine similarity
A measure of how closely two vectors point in the same direction, commonly used to rank embedding matches.
When vectors are normalized, their dot product gives the cosine-similarity score. In photo retrieval it is a relative ranking signal, not a probability that a caption is factually true and not proof that two files are duplicates.
GPU similarity rankingTop-k retrieval
Returning the k highest-ranked candidates from a larger set of similarity scores.
If a library contains 40,000 indexed photos and the interface needs 200 results, the ranking path can retain the best 200 rather than sorting and displaying every candidate. The value of k is a product and performance choice, not a confidence threshold.
On-device AI
Machine-learning inference that runs on the user’s device instead of sending the input to an app-operated cloud model.
For Queryable, the photo encoder, text encoder, embedding index and similarity ranking run on the iPhone. Apple services such as iCloud Photos remain outside that narrow boundary and may still use a network connection according to the user’s system settings.
Offline search and its boundaryLocal photo index
On-device data that lets an app retrieve photos without re-encoding the entire library for every query.
Queryable stores photo identifiers and their embeddings locally, then updates that data as the library changes. The index accelerates repeat search; it does not replace the originals in Apple Photos.
Indexing setup guideImage-to-image search
Using a reference image as the query to rank visually related images in a collection.
This is sometimes called reverse image search, but scope matters. Queryable searches the permitted personal photo library on the device; it does not look for public copies across the web.
Search by photo guideReverse image search
Using a picture as the query. On the web it finds where an image appears online; inside a photo app it finds similar pictures in your own library.
Web services such as Google Lens, Bing Visual Search and TinEye answer the first question. Queryable answers only the second: it searches photos already on your iPhone and never sends the picture to a web engine.
Reverse image search on iPhoneOCR (text in photos)
Optical character recognition: reading the words printed inside a picture, such as a screenshot or a receipt.
OCR and semantic search are different capabilities. A semantic model knows a photo shows a receipt; OCR knows what the receipt says. Queryable’s description search is semantic; since version 2.1.7 it also has optional OCR (Search Text in Photos in Settings, off by default), which recognizes text on the device and is much slower to build than the description index. Apple Photos searches text in photos with no setup.
What offline recognition coversiCloud-only original
A full-resolution photo or video stored in iCloud when the device currently holds only an optimized local representation or placeholder.
Queryable’s current index request keeps network access disabled. Make the item available locally through Apple Photos first; that Apple transfer is different from uploading the library to Queryable for cloud search.
What works offlineLimited Photos access
An iOS permission mode in which an app can access only the photos the user has selected.
With limited access, items outside the permitted selection cannot be indexed or returned by Queryable. A missing result may therefore be a permission boundary rather than a search-quality failure.
Prepare photo accessDuplicate photo vs. similar photo
A duplicate represents the same underlying content; a similar photo merely shares visual features, composition or subject matter.
Bursts, edits, Live Photos and repeated scenes make the boundary nuanced. Similarity should create a review queue, not an automatic deletion verdict.
Safer duplicate cleanupSimilarity tiers
Bands that sort groups of look-alike photos by how alike they are, from copies to the same scene shot twice.
Queryable’s Clean Up Similar Photos uses three. Exact Duplicates are visually indistinguishable: the same picture at the same pixel size, with near-identical pixels, and never screenshots. Nearly Identical photos come from the same instant with only tiny differences, like the frames of a burst. Similar Scenes show the same scene from other angles or with other framing. Since version 2.1.8 the tier depends on more than the similarity score: pixel size, a pixel fingerprint and whether a photo is a screenshot count too. Higher tiers are safer to delete; Similar Scenes needs your judgement, and the app warns before cleaning that tier in bulk.
Similar photo cleaner tiers