Skip to main content
NC State Home
Symposium 2026 Projects

Adapting Vision Language Models for Specialized Image Search

Small changes help existing models recognize the language, images, and details that matter in specialized collections.

Phone and notes in a hotel room (Adobe Stock)
  • Abby Stylianou (Saint Louis University)
  • Robert Pless (George Washington University)
  • Richard Souvenir (Temple University)
  • Nathan Jacobs (Washington University in St. Louis)

An analyst searching for a particular hotel room may have only a small piece of artwork or a patch of carpet to work with. A researcher searching a museum collection may describe an object’s historical significance. Someone searching aerial imagery may use familiar words, like parking lot, for a view that looks very different from a photograph taken on the ground.

These searches have something in common: the collection determines what a useful match looks like. General-purpose vision-language models can recognize a great deal about images and text, but their default notion of similarity often misses the distinctions that matter within a specialized collection.

Our 2026 LAS project, Integrating Domain Expertise in Multimodal Retrieval, explored how to close that gap. Across collections ranging from aerial imagery to art and biodiversity, we found that simple adaptations of existing models can substantially improve retrieval. We also explored how to connect descriptions to specific image regions and use inexpensive visual checks to distinguish close matches.

This builds on our 2025 work on query-adaptive retrieval. This year, we asked how a search system can learn the conventions of its collection and use them to make better comparisons.

Specialized collections describe the world differently

Models such as CLIP and SigLIP turn an image or a text description into an embedding: a numerical representation that makes it possible to compare the two. A search system computes these representations for its image collection, then retrieves the images most similar to a query.

That approach works well for many everyday descriptions. But consider two photographs of someone at a piano. One caption might describe the person, clothing, and instrument. A news caption might identify a researcher and explain their work on music. Both captions are appropriate, but they emphasize different information.

The mismatch can also be visual. A ground-level photograph and an aerial image can both show a parking lot, while presenting very different arrangements of cars, pavement, and buildings. Specialist communities develop conventions for both describing and depicting their subjects.

We call this a register gap. The model may already represent useful features, yet fail to align the collection’s images with the descriptions people use to find them. That suggests a practical opportunity: adjust the comparison using examples from the collection. You can try this on reef-camera images: type a phrase and compare the original model with the adapted one.

Figure 1. Similar subjects can have different caption styles, and similar descriptions can accompany different viewpoints. These examples illustrate the register gap.

Small transformations improve retrieval across domains

Our adaptation learns two small transformations, one for text embeddings and one for image embeddings. Training uses caption-image pairs already associated with the collection. The underlying model stays frozen: we change how its existing features are weighted and aligned. You can train the same two transformations yourself on webcam collections, in a Colab notebook that runs in about five minutes on a free GPU.

We evaluated this approach across 58 combinations of models and collections. The transformations improved Recall@50 in 57 of them, with an average gain of 11 percentage points. Recall@50 measures how often the correct image appears among the first 50 results. For an analyst reviewing a shortlist, bringing the right image into that set is an essential first step.

The improvements span quite different search settings. Using the same general-purpose SigLIP2 model:

  • Aerial imagery: on NWPU, the correct image appeared in the top 50 results for 95.2% of queries after adaptation, compared with 67.0% before.
  • Art: on SemArt, retrieval improved from 55.6% to 73.5%, helping connect specialized descriptions with images of artworks.
  • Biodiversity: on TreeOfLife, retrieval improved from 55.0% to 68.3%, using the collection’s own image-caption relationships.

Medical-image, scientific-figure, news, and fashion collections also benefited. The gains depended on the collection and starting model. On the general-purpose COCO benchmark, where the model and captions were already well matched, improvements were small.

Figure 2. Retrieval before and after learning two transformations, using SigLIP2 throughout. The chart includes all 11 evaluated collections, including the general-purpose COCO comparison. Values show the percentage of queries with the correct image in the first 50 results.

Even models trained for a particular domain benefited from this correction. On NWPU, all six tested encoders, including two specialized for remote sensing, gained between 21 and 29 percentage points at Recall@50. Domain expertise in the model does not automatically align it with every collection in that domain. The captioning style and visual conventions of the individual dataset still matter.

The adaptation was inexpensive once embeddings were computed. Across the 58 combinations, median training time for the maps was five seconds on a single RTX 3080 GPU, with a maximum of 22 seconds. These timings exclude the initial work of encoding the images and captions. The gallery embeddings can then be transformed once, with the text transformation applied to incoming queries.

The collection tells us when adaptation will help

A useful question is whether we can anticipate the benefit before training. We found that the original ranking provides a surprisingly informative clue: how often are correct matches just outside the shortlist?

We measure the fraction of known matches ranked between 51 and 150 when the retrieval cutoff is 50. Across our experiments, this near-miss measure predicted much of the improvement from adaptation. It gives a collection manager a low-cost way to estimate whether a simple correction is worth trying. The estimate depends on having representative image-caption pairs and a gallery size similar to the intended search setting.

The transformations also turned out to be collection-specific. Moving a correction from one collection to another usually hurt retrieval; transfer helped most clearly between two aerial-image collections with similar descriptions. An adaptation learned for one archive should therefore be evaluated before reuse elsewhere.

This distinction also changes how we compare models. A low score before adaptation can reflect poor alignment as well as weak visual features. In our evaluations, correcting the register gap narrowed the performance spread between encoders on 10 of the 11 collections. Testing the adapted models gives a more informative basis for choosing which one to use.

There are limits to what this approach can repair. A linear transformation cannot create visual features the original model never learned. More extensive fine-tuning still helps when the underlying representation is inadequate. Our results support testing inexpensive alignment first, while checking performance on held-out examples from the actual collection.

Connecting words to the right parts of an image

A single representation for an entire image can hide the detail that matters. A description might refer to several objects, while only one small region distinguishes the desired result from a close alternative.

We extended the adaptation to compare individual phrases with image patches. The model learns which local visual features correspond to parts of the description, using paired images and captions without requiring manually drawn object boxes for training. An interactive demo shows the same idea on a wildlife webcam, where a viewer’s name for a bear points to that bear in the frame. A second demo on a harbor webcam lets you pick a cargo or place word and compare the top frames before and after adaptation.

In the SemArt experiments, this fuller version increased Recall@10 from 35.9% with the frozen model to 65.2%. The correction using only whole-image and whole-caption representations reached 51.2% in the same experiment. Matching at the phrase and patch level recovered additional distinctions that the global comparison missed.

Traffic imagery makes the change easy to see. Given a phrase such as a red van, the original model can highlight the wrong vehicle. After learning the local alignment, the strongest response shifts toward the described vehicle. On CityFlow-NL images from cameras unseen during training, localization accuracy increased from 26.9% to 59.7%. Here, success means that the center of the highest-scoring image patch falls inside the correct vehicle’s bounding box.

Figure 3. Matching descriptions to vehicles. Crosses mark the strongest response before and after local adaptation; green boxes mark the targets. The boxes are used for evaluation, not training.

Checking whether a close match satisfies the query

Better alignment gets promising images into view. A second lightweight step can help decide whether they satisfy the requested details. Instead of asking a large model to generate an explanation for every candidate, we use a visual verifier that returns fixed answers, such as yes or no.

For each query, we generate statements about required details and check them against candidate images, alongside the full description. A nature query might require a particular wing pattern or viewing angle. An image can look broadly similar while failing one of those checks. We combine these responses with the original search score to reorder the candidates.

On INQUIRE, a benchmark containing expert queries over five million images, checking 500 candidates raised mean average precision at 50 from 33.4 to 49.7 for the CLIP candidate pool. Under our study’s API-cost estimates, those checks cost less than a comparison approach that used a larger model to examine 100 candidates. Cheaper verification let us look further down the list.

The checks also help reveal when the description is too broad. Several streetlight photographs may satisfy an initial query. Adding a treetop behind the lamp narrows the possibilities, but a bird standing on the pole may be the detail that finally distinguishes the target.

Figure 4. In a simulated search, additional description separates similar streetlight photographs. The system requests another detail while the leading candidates remain difficult to distinguish.

In simulated interactions on the DOCCI dataset, requesting additional description when needed achieved 93.0% exact-target accuracy using an average of 2.55 sentences. These experiments reveal sentences from existing descriptions; they are not an evaluation with human analysts. Verifiers also make mistakes, particularly on fine-grained species distinctions, so their scores need calibration and their results still need review.

Using domain knowledge where it changes the search

Our motivating application remains TraffickCam, which supports the National Center for Missing and Exploited Children in investigative hotel-image search. Identifying a location can help investigators develop leads from photographs where much of the room is obscured. Descriptions focus on particular objects, rooms share many visual features, and a small mismatch can rule out a candidate. Our OpenHotels work provides imagery and annotations for studying those difficult room- and object-level comparisons.

The broader benchmark results do not establish performance on every investigative query. Our register-gap experiments use English captions and a designated matching image for each query. Real searches can have several useful answers, ambiguous descriptions, or no correct answer in the collection. Evaluating those conditions is essential as we bring the methods closer to analyst use.

Across domains, the results suggest a practical sequence: learn the collection’s conventions, preserve the local evidence needed for comparison, and check candidate images against the details of the query. Each step uses information that a generic similarity score can overlook.

We are continuing to explore how these methods work together for hotel imagery and video. The next challenge is deciding when a search needs a better comparison, a deeper look through the collection, or another detail from the user. Our results this year show that small, targeted adaptations can make existing models much more useful for those decisions.

This material is based upon work supported in whole or in part with funding from the Department of Defense (DoD). Any opinions, findings, conclusions, or recommendations expressed in this material are those of the author(s) and do not necessarily reflect the views of the DoD and/or any agency or entity of the United States Government.