From Sparse to Sense-Grounded: Wikipedia Training for Ukrainian Visual-WSD
Paper · 2026 · Yurii Laba and Rostyslav O. Hryniv
Summary
A short phrase can tell us which meaning of an ambiguous word a speaker has in mind. Visual word sense disambiguation tests whether a system can use that clue to pick an image. The answer might be a bird or a machine, as in the paper’s example of the word crane. The authors study this task in Ukrainian, where there are few labelled tests and relatively little Ukrainian image–text training material that distinguishes particular word meanings. They expand an earlier benchmark from 87 to 381 instances, covering 172 lemmas, or dictionary forms. Each instance gives the system a short clue and 10 images to rank. One shows the intended meaning. Among the distractors are images of other meanings of the same word.
The authors compare systems that rank images by similarity with systems that receive the entire question and return an ordered list. On the extended Ukrainian benchmark, the strongest off-the-shelf multilingual CLIP checkpoint reaches 43.82 on HIT@1, the percentage of questions answered correctly at the first rank, and 60.6 on mean reciprocal rank, which also rewards placing the answer near the top. GPT-4.1 reaches 71.4 HIT@1 in its best reported image-detail setting. The authors then adapt a smaller CLIP checkpoint, aiming to improve a system whose inference consists of scoring image and text representations.
Ukrainian Wikipedia supplies illustrations and clues about their meanings, although only 64,130 of the 150,000 harvested images have Ukrainian captions. The authors build two training corpora around that gap. SenseWiki-UA matches dictionary definitions to Wikipedia entries, pairs the entries’ images with available captions, and uses the matched dictionary definition when a caption is missing. RA-Wiki-UA starts from the benchmark’s correct images, retrieves similar Wikipedia images, and generates varied Ukrainian descriptions using those images and their article context. During fine-tuning, the authors freeze the visual encoder and vary how many upper layers of the text encoder they update.
Training on both Wikipedia corpora gives the strongest adapted result, raising HIT@1 from 37.00% to 43.05% and reaching 58.26% mean reciprocal rank. Generic Ukrainian image–text corpora produce much smaller changes, even when the training mixture contains more examples. The best adaptation slightly reduces performance on general image–text retrieval, and its visual disambiguation score trails the strongest prompted systems. It completes a benchmark retrieval in 8.27 ms on average in the paper’s timing comparison, orders of magnitude faster than the API-based ranking runs. The clearest result is specific to this setup. Training pairs chosen to connect images with particular meanings helped the smaller checkpoint, while the use of benchmark images to guide retrieval leaves open how much of the gain would transfer to a benchmark built independently.
Deep dive: From Sparse to Sense-Grounded: Wikipedia Training for Ukrainian Visual-WSD
A study of Ukrainian visual word sense disambiguation that uses dictionary links and Wikipedia images to improve image ranking from short phrases. · about 37 minutes to read
The problem and its context
Why a picture can test a word’s meaning
An ambiguous word can point to different things even when its spelling stays the same. Context typically supplies enough information to decide which thing is meant. In the paper’s crane example, knowledge that the word can refer to a bird and to a machine only gets a reader part of the way. The reader still has to use the surrounding words to choose a meaning, then recognize an image that depicts it. A visual test makes the second part of that decision observable. The correct answer is an image in a candidate set, and its position in the ranking records how strongly the system preferred it.
Traditional word sense disambiguation uses textual context and a sense inventory, such as the distinctions recorded in WordNet. An inventory specifies which meanings are available for the word. Benchmarks associated with Senseval and SemEval established shared evaluation settings for this kind of task. Visual disambiguation changes the form of the evidence and the answer. A short phrase still points to a meaning, while the answer choices are pictures. The system must relate the linguistic clue to an identifiable visual depiction. The task therefore joins a question about lexical semantics with a question about how closely image and text representations agree.
SemEval-2023 established the visual task format that the Ukrainian benchmark follows. The original shared task included English, Italian and Farsi. Each question offered ten images, so the ranking was constrained to a fixed set. That design makes the choice of distractors important. A picture of another sense of the same word tests whether the clue changes what the system retrieves. A picture of a related concept tests whether the system can identify the intended concept within a plausible topic. An unrelated picture provides a different kind of contrast, which may be resolved by broader relevance alone. The benchmark can put all of these demands in the same question.
The short clue is deliberate. If a query were a long description of the correct image, much of the relevant evidence could come from matching visible details to descriptive words. Here the system gets just enough text to point towards the intended interpretation. Conversely, annotators select a gold image with the relevant concept clearly visible so that a correct interpretation has a recognizable answer. The challenge comes from moving between the sparse phrase and a set of visual alternatives. The benchmark does so under conditions designed to make both the linguistic and the visual decisions consequential.
The paper places this test in the wider context of applications such as translation and search. A translation can depend on deciding which meaning the source word expresses, while an image search can return an entirely different class of objects if it follows the wrong interpretation. A benchmark ranking does not reproduce either application in full. It isolates a decision they can share. The authors use that isolation to ask whether image–text supervision supports finer distinctions than broad thematic similarity.
How earlier systems supplied missing context
The paper describes several ways SemEval participants made the visual task easier for an existing image–text ranker. One line of work searched dictionaries or encyclopedias for material associated with the word and added useful definitions or descriptions to the query. The resulting context could be used to rerank the candidate images. These methods used resources such as BabelNet, WordNet and Wikipedia to make the sense more explicit before the final decision.
Other systems used generated explanations or paraphrases to expand a short query. These rewrites gave the text encoder more ways to connect the intended meaning with the candidates. Another group of approaches worked on the image side. A generated caption could provide textual evidence about a candidate, while a generated reference image could offer another visual representation of the intended sense. The common feature was an extra source of evidence at ranking time. Each method tried to make one side of the comparison express the meaning more clearly.
The Ukrainian setting changes what can be assumed about those resources. The authors describe available Ukrainian lexical resources as having sparser synonym coverage than the WordNets usually used for better-resourced languages. Some of those resources rely on mappings connected with Wikipedia. That creates an opening for Wikipedia-based work, but it also limits how much lexical expansion a system can get from existing entries. A list of possible meanings helps only to the extent that it includes the intended meaning and supplies wording the ranker can use.
Generated definitions and paraphrases provide another avenue. The related work discussed in the paper finds strong sense-disambiguation capability in some high-resource settings, with reliability varying by language and domain. Translation-mediated prompting is also sensitive to those conditions, as the authors note in discussing Better to Ask in English. The paper treats direct multimodal prompting as a useful reference for accuracy and treats inference cost and response time as separate considerations. Its own adaptation experiments ask what can be learned before inference, so that the final decision can still be made by embedding-based ranking.
Why the authors adapt CLIP
CLIP learns to represent text and images in a common space. A text encoder produces a vector for a phrase, and a vision encoder produces a vector for an image. A comparison between the vectors gives a score for how well the phrase and the image go together. A ranker can apply that comparison to the candidates and order them by score. This offers a practical inference procedure for Visual-WSD because the task already supplies the images that need to be compared.
The paper describes several paths from the original English-trained CLIP to multilingual versions. M-CLIP uses translation and teacher–student alignment to bring another text encoder into an existing visual space without adding image data for that step. AltCLIP uses an XLM-R text encoder and combines alignment with an English CLIP system and contrastive training on translated pairs. The authors also discuss OpenCLIP checkpoints trained with large multimodal collections from the LAION family. These approaches broaden the languages in which text and images can be compared. The study asks whether their Ukrainian representations can be adapted to respond more sharply to short clues about competing meanings.
Starting with an existing checkpoint also avoids the cost of learning the whole image–text system from the beginning. Earlier work on locked-image tuning freezes the visual encoder and updates the text side against it. Selective adaptation goes further by changing only some text layers. The authors cite work using visual transformations or textual paraphrases to increase the range of training examples. Their own design draws on the frozen-vision approach and caption diversification while putting the main experimental emphasis on how the examples are chosen.
Wikipedia is attractive because its organization sometimes supplies a distinction between meanings before any training data are created. An ambiguous headword may have a disambiguation page or distinct articles corresponding to different interpretations. Their definitions can be compared with dictionary definitions. Their images can then connect a written meaning to a visual example. An article, however, can explain a concept thoroughly while containing few suitable pictures. A picture can exist without a caption, and a page title or lead can be a poor match for the kind of short phrase used in the benchmark.
The authors therefore face two different data problems. A benchmark takes expert work because it needs a precise clue, a clearly justified answer and plausible alternatives. A training corpus can be much larger if it is assembled automatically, but each automatic pairing introduces uncertainty about the sense, the image or the text. The paper keeps those jobs distinct. Expert annotation defines what counts as a correct answer during evaluation. The Wikipedia pipelines supply training examples whose suitability is measured through audits and through their effect on ranking.
The method, step by step
Building a question with a verifiable answer
The benchmark starts from a Ukrainian target word and a dictionary sense. An annotator verifies the sense, writes a brief phrase that signals it and chooses a gold image in which the central concept can be recognized. The trigger phrase has to resolve the ambiguity with limited context. The picture has to depict the resulting interpretation clearly enough for the ranking to have a defensible gold answer.
The remaining images are chosen to test different ways a ranker can go wrong. An alternate-sense image can be a good match to the target word by itself, which makes the contextual phrase necessary. A related image can share a topic or visual properties with the answer. An unrelated image presents an easier rejection in many cases. The annotators check that the distractors do not depict the target sense and avoid near-duplicates within the candidate set, such as minor crops of the same scene. They also check that the images fit the Ukrainian query culturally and linguistically.
The authors use an independent review step in the linguistic annotation workflow. After one linguist builds an item, another makes a binary validation decision, either accepting it or marking it for review. A lead annotator adjudicates flagged items. This procedure checks the whole question as a unit. A valid dictionary sense alone would be insufficient if the phrase failed to distinguish it or a distractor also fit the answer. The authors release the queries, trigger phrases, candidate lists and labels as yuriilaba/ukrainian-visual-wsd-benchmark under an open research license. The images carry Creative Commons licenses.
The training pipelines begin from resources associated with the same broad problem, but their input units differ. SenseWiki-UA begins with a word and a definition. RA-Wiki-UA begins with a visual depiction and searches for similar images. Both end with Ukrainian text paired with Wikipedia images. A shared adaptation procedure then lets the authors compare what happens when those pairs replace or accompany generic Ukrainian image–text data.
From Ukrainian Wikipedia to visual sense ranking
The steps in order.
SenseWiki-UA starts from a dictionary definition
SenseWiki-UA uses the Ukrainian dictionary as its sense inventory. The dictionary contains 60,620 headwords, including 1,254 that the authors classify as homonyms with multiple meanings. These homonyms account for 2,638 distinct sense entries. The pipeline traverses all headwords, including those outside the homonym group. This yields a common procedure for retrieving pages and checking definitions. It also means that the final corpus can contain useful image–text examples for headwords beyond those with multiple listed meanings.
For each headword, the authors retrieve possible Wikipedia matches. A candidate can be a page or a section connected with the word, including material reached through disambiguation entries. The pipeline extracts a short definition from the candidate, such as a lead sentence or brief article description, along with image information and any available captions. At this stage, a candidate connected with the headword remains only a possibility. The same written form may have led to pages about several different things.
The definition alignment step evaluates those possibilities separately for each dictionary sense. The authors encode the dictionary definition and the short definitions of candidate articles in a shared representation space. They compare the dictionary vector with each candidate vector by cosine similarity. The same mathematical comparison is used elsewhere in the paper for images or for matching a query to an image, although the source and meaning of the vectors change. In notation for the comparison:
cos(u, v) = (u · v) / (‖u‖ ‖v‖)
Here cos(u, v) is the cosine similarity between vectors u and v. The dot · denotes their dot product. The bars ‖ ‖ enclose the length of a vector, and the denominator multiplies the lengths of u and v. The slash denotes division. In definition alignment, u represents the dictionary definition and v a candidate Wikipedia definition. Dividing by the lengths lets the comparison use the directions of the representations.
For each sense the pipeline takes the closest candidate definition and discards the match if the similarity is below 0.5. The authors chose that threshold after manually checking 200 randomly sampled alignments across the range of scores. Lower-scoring matches often joined different senses. The threshold thus addresses the risk that the closest available page may still be a poor match. It lets an entry drop out when the search finds only weak evidence of a corresponding article.
An accepted match gives the pipeline a page from which it can harvest images. For an image with a caption, the caption is used as its text. For an image without one, the text comes from the matched dictionary definition. The fallback preserves an explicit statement of the meaning and makes some uncaptioned images usable as training candidates. It also changes the nature of the pair. A caption can describe the particular image, while a definition characterizes the sense in general. The procedure relies on the article’s illustration being a reasonable visual example of the aligned meaning.
The authors report a provisional collection of 31,699 candidate image–text entries spanning 11,629 headwords. Before final filtering, their homonym alignment figures are 405 homonyms and 596 senses. Of the original candidate entries, 13% are removed because their pages have no usable images, and 20% use dictionary text in place of a missing image caption. The final SenseWiki-UA corpus has 27,543 image–text pairs, spanning 7,557 headwords, including 301 homonyms and 408 homonym senses. These counts describe different stages. The number of pairs records the amount of training material, while the headword and sense counts describe how much of the lexical inventory it represents.
This approach uses a chain of evidence from definition to article to picture. A successful match at the first link limits which meaning is assigned to the image. The caption can then add details about the actual visual scene. The failure points follow the same chain. A definition may lead to the wrong article, an article may have a tangential illustration, or the text paired with that illustration may be too broad to ground a distinctive feature. The authors audit these aspects separately so that a useful definition match does not automatically count as a good training pair.
RA-Wiki-UA starts from related images
RA-Wiki-UA begins with the images selected as the correct answers in the Ukrainian benchmark. Each gold image serves as a query against the Ukrainian Wikipedia image collection. The authors seek pictures that occupy a similar part of an existing visual representation space. This concentrates the candidate pool on depictions relevant to the task. The method does not require a successful dictionary-to-article match for every training image, since the initial search uses the similarity of the images themselves.
The Wikipedia harvest contains 150,000 images. Ukrainian captions are present for 64,130 of them. The authors also collect the page title and lead summary for each image, so a picture can retain some textual context when it has no caption. The title and lead identify the subject of the article. The caption, where available, can give a more specific account of how the picture relates to it. These pieces of information will be used together with the image when generating the training text.
The retrieval checkpoint is OpenCLIP ViT-H/14 with XLM-R large, trained on LAION-5B. The authors choose it on the basis of its zero-shot Ukrainian benchmark performance among the multilingual CLIP checkpoints they test. For this part of the method, the vectors in the cosine comparison represent the benchmark gold image and a candidate Wikipedia image. For each gold image the procedure takes the top-10 Wikipedia neighbours. The paper reports 3,810 retrieved Wikipedia images across the 381 benchmark instances. This count describes the retrieved image pool as reported. The paper does not identify it as a count of distinct visual concepts.
The authors then prompt GPT-5.1 with each retrieved image and its Wikipedia context. The generation prompt directs the system to inspect the image for clearly visible elements and look through the title, caption and summary for an ambiguous term that the picture can exemplify. It then asks for the interpretation that best fits the scene. This step matters because a visual neighbour supplies a possible depiction, while the generated training sentence still needs to express a meaning supported by the image.
The prompt calls for 10 Ukrainian sentences per retrieved image. Each should convey the visual sense and include concrete details supported by the scene. The sentences can use the target word or an appropriate synonym. At least 5 of the 10 are supposed to use synonyms, with differences in sentence structure, grammatical roles and phrasing. The prompt also provides a separate output field for optional examples that express a competing meaning. The reported RA-Wiki-UA training corpus consists of image–text pairs with generated Ukrainian captions for the depicted sense.
The result is 38,100 synthetic image–text pairs. The pictures come from Wikipedia, and the text paired with them is generated. Multiple captions let the same visual content appear with different wording. This is useful for a ranker whose test queries are brief and can express a meaning with words different from the original article caption. The generation instructions encourage variation while trying to hold the depicted meaning steady. The quality audit tests how often that aim is achieved.
The two construction methods give different roles to Wikipedia text. In SenseWiki-UA, an article definition helps choose the sense-specific page, and an available caption can enter the corpus directly. In RA-Wiki-UA, the article text is supplied alongside the image as evidence for a newly written description. The distinction matters for interpreting the combined corpus. It includes pairs anchored through existing lexical definitions as well as pairs selected by visual proximity and expressed through generated language. Either route can produce a relevant pair, and each inherits uncertainty from a different part of the procedure.
Setting up the generic-data comparisons
The first comparison corpus, LAION-UA, comes from filtering the multilingual LAION-2B subset. The authors retain entries whose language field is marked uk, stream the first 20M records from that Ukrainian subset and apply a filter on the released image–text similarity score. A score must exceed 0.33. The resulting collection contains 62,649 pairs before the experimental split. Because it comes from the same data family as the pretraining material, it tests the effect of emphasizing Ukrainian web captions during continued training. The design follows the general rationale for domain and task adaptation discussed in the paper.
The other generic corpus is the Ukrainian extension of Multi30K. Its descriptions have manually verified Ukrainian translations. The authors remove entries with missing or corrupted text, leaving 28,905 pairs before the experimental split. This gives the comparison a curated source in addition to the web-derived source. The generic data therefore test more than one kind of Ukrainian caption. Their selection criteria concern the quality or availability of image descriptions, while the Wikipedia pipelines explicitly seek evidence associated with word meanings.
The adaptation compares the corpora individually and in mixtures. The four-way mixture samples 26,165 training pairs from each source, equalizing the sources’ contributions within that mixture. The authors also use full-corpus mixtures of the two Wikipedia sources and of the two generic sources, with no equal-source sub-sampling for those mixtures. Training counts for the reported runs reflect the data used for fitting. The generic corpora also supply the held-out splits used to assess general retrieval.
These choices put different questions within the same study. A single-source run shows how a corpus performs on its own. The Wikipedia-only mixture tests whether the two construction routes work well together. The generic-only mixture tests how far ordinary Ukrainian image descriptions take the same backbone. The four-way mixture tests what happens when the two kinds of supervision share a training run. Its equal contribution from each corpus controls the composition of that mixture. The run still has a different total training size from the other mixtures.
Updating the text side and scoring the answers
The backbone for adaptation is laion/CLIP-ViT-B-32-xlm-roberta-base. The authors choose this checkpoint as a practical starting point for repeated training comparisons. Its parameter count is 366M in the experimental setup, compared with 1.19B for the larger checkpoint used to retrieve Wikipedia neighbours. The adaptation backbone has an XLM-R base text encoder and a ViT-B/32 vision encoder, each with 12 blocks. The vision encoder stays frozen in every adaptation run. The training updates the upper part of the text encoder according to the chosen depth.
The variable k is the number of upper text blocks that can change. The sweep runs from k = 0 through k = 12. At k = 0, the text and image projection layers are the trainable components. The projection layers map the tower outputs into the space used to compare images and text. This setting can change the matching space even with both encoders locked. At k = 12, all text blocks are eligible for updates. The frozen vision tower continues to provide the underlying visual features throughout the sweep, including when the image projection can change.
Training uses a symmetric contrastive loss. Its role is to favour the matched text for an image and the matched image for a text among the alternatives used during training. The symmetry is in those two directions. The paper names the objective and gives its training settings. The important distinction for the benchmark is that the training batches present paired images and descriptions, while evaluation presents a short query with specifically selected rival pictures.
The configuration uses AdamW, an initial learning rate of 1 × 10⁻⁵, and weight decay of 0.1. The runs use 5 epochs, with a batch size of 512 and gradient clipping at a maximum norm of 1.0. The learning-rate schedule is cosine annealing, and the reported random seed is 42. Using the same configuration across the comparisons keeps the backbone and optimization choices consistent while the authors vary training source and text depth. The authors release the dataset-construction scripts and fine-tuning code in the YuriiLaba/ukrainian-visual-wsd repository.
At evaluation time, the CLIP-style ranker encodes the query and scores it against all candidate images by cosine similarity. It orders the candidates from greatest similarity to least and takes the first as the prediction. The prompted systems instead receive the target word, the trigger phrase and the candidate images together. The prompt asks them to infer the intended meaning and return a JSON ranking of the image indices, with each index occurring once. This produces the same kind of ordered answer for scoring, even though the ranking mechanism differs.
HIT@1 measures how often the gold candidate occupies the first position. Written as a proportion before expressing it as a percentage:
HIT@1 = (1 / N) ∑ᵢ 𝟙[rᵢ = 1]
Here HIT@1 is the top-rank hit rate, and the 1 after the @ identifies the rank being tested. N is the number of evaluation instances. The summation sign ∑ᵢ adds the contribution of every instance indexed by i. The symbol rᵢ is the rank of the gold image for that instance. The indicator 𝟙[ ] contributes one when the condition inside the brackets holds and zero otherwise. Division by N averages those contributions.
Mean reciprocal rank gives a graded score for the position of the gold image:
MRR = (1 / N) ∑ᵢ (1 / rᵢ)
Here MRR is mean reciprocal rank, N is the number of instances, i indexes an instance, and rᵢ is the position of its gold image. The 1 divided by rᵢ is that item’s reciprocal rank. The summation sign adds these values, and division by N forms the mean. An answer at the first position gives the largest possible contribution. Moving the answer upward can improve MRR even if it still falls short of first place.
For general retrieval, the authors evaluate on held-out 5% splits from LAION-UA and Multi30K-UA. Here a query is an image seeking its associated description or a description seeking its associated image. Recall at a cutoff measures how frequently the correct match appears anywhere within that cutoff:
R@K = (1 / Q) ∑ⱼ 𝟙[rⱼ ≤ K]
Here R@K is recall at cutoff K, Q counts the queries for the retrieval direction being scored, and j indexes a query. The rank rⱼ is the position of its true match. The indicator 𝟙[ ] contributes one when the match has rank at most K and zero otherwise. The summation adds these hits, and the division gives their fraction among all queries.
The paper averages recall terms from both directions and from the reported rank cutoffs:
mean recall = (1 / (|D| × |C|)) ∑₍d ∈ D₎ ∑₍K ∈ C₎ R@K(d)
Here D is the set of retrieval directions, image to text and text to image. C is the set of cutoffs used for R@1, R@5 and R@10. The vertical bars denote the size of a set. The symbol × multiplies the numbers of directions and cutoffs to get the number of terms. The summation signs add over each direction d in D and each cutoff K in C, with ∈ denoting membership. R@K(d) is recall at that cutoff for that direction. Dividing the sum by the number of terms gives mean recall.
The authors evaluate on Visual-WSD once per epoch and report the checkpoint selected for its Ukrainian benchmark performance. General retrieval is an additional readout at the selected setting. These measurements ask different questions of the adapted representation. Visual-WSD measures discrimination within curated sets of plausible alternatives. General retrieval measures whether an image and its associated description can still be matched against other items from the generic corpora.
Experiments and results
What the expanded benchmark contains
The benchmark contains 381 evaluation instances, up from 87 in the earlier release. Its 172 lemmas vary in how many meanings they contribute. The paper reports 145 word types with two senses, 22 with three senses, 4 with four senses and 1 with seven senses. Each instance represents a particular sense in context, so the count of questions is different from the number of target words. The distribution makes the benchmark predominantly a test of words represented by two senses, while allowing a separate look at more ambiguous words.
The annotation appendix reports 29 instances flagged and adjudicated and 16 revised or replaced. On the binary validation decision, the authors report 92.4% observed agreement and Cohen’s κ of 0.7. The raw percentage records how frequently the decisions agreed, and κ adjusts the agreement measure for agreement expected by chance. Both refer to the accept-or-review judgment in the validation procedure. They describe the consistency of the expert checks on benchmark items.
The authors estimate roughly 127 person-hours for annotation and validation over six weeks, with about 20 minutes per instance. This work includes writing the clue, finding and vetting the images, and checking the result. The use of related distractors makes expert review consequential. It is possible to find several images relevant to a broad topic, whereas establishing that only the gold candidate represents the specified meaning takes closer inspection. The extended benchmark gives the paper a larger common set for comparing ranking systems and training choices.
How the existing checkpoints rank Ukrainian images
For the multilingual CLIP comparison, the authors apply the checkpoints directly to the extended Ukrainian benchmark, without task-specific training. LAION CLIP ViT-H/14 XLM-R large scores 43.82 HIT@1 and 60.6 MRR. M-CLIP ViT-B/16+ XLM-R large reaches 37.80 and 56.7 on those metrics. The smaller LAION CLIP ViT-B/32 XLM-R base scores 37.00 HIT@1 and 54.4 MRR in that checkpoint comparison. It is the backbone subsequently chosen for the adaptation study.
Other checkpoint results show that the relative order depends on the metric. M-CLIP ViT-L/14 XLM-R large scores 36.48 HIT@1 and 55.5 MRR. Its top-rank score is below that of the small LAION checkpoint, while its reciprocal-rank score is higher in the same comparison. M-CLIP ViT-L/14 LaBSE reaches 35.17 HIT@1 and 53.96 MRR. M-CLIP ViT-B/32 XLM-R large reaches 34.65 and 53.9. Sentence-Transformers CLIP ViT-B/32 scores 28.87 and 48.74. Together these results give reference points for how often the systems put the correct image first and how high they place it across the remaining ranks.
The paper includes original SemEval CLIP ViT-B/32 results for context. The English baseline has 60.48 HIT@1 and 73.88 MRR, the Farsi baseline 28.50 and 46.70, and the Italian baseline 22.62 and 42.61. Each is a result on its own SemEval benchmark. The authors use the English score to illustrate the performance available in the original benchmark setting. The different sets of items and visual candidates make these figures unsuitable for attributing the score differences to language alone.
The strongest off-the-shelf checkpoint has a distinct role in the rest of the experiment. It is the search engine used to retrieve visual neighbours for RA-Wiki-UA. The smaller checkpoint is the system the authors fine-tune and time. As a result, 43.82 answers the question of how far the strongest tested off-the-shelf multilingual checkpoint goes on this benchmark. The adapted score answers how far targeted supervision moves a smaller backbone from its own starting point.
How prompted ranking performs
For prompted ranking, the system sees the complete candidate set and returns indices ordered by relevance to the inferred sense. The authors report using a fixed temperature of 0.01 and keeping decoding settings constant across the evaluations. Where supported and reported, they vary the image-detail setting, which controls how the images are supplied for the call. These are separate conditions for a given system. The highest-detail condition does not consistently yield the best score.
GPT-4.1 performs strongest in the main prompted comparison. At low image detail it reaches 71.4 HIT@1 and 81.9 MRR. Its high and automatic settings each score 71.0 HIT@1 and 81.1 MRR. GPT-4o reaches 67.6 HIT@1 and 79.7 MRR at low detail. The low-detail gpt-5.2-mini result is 67.1 HIT@1 and 78.6 MRR, while the low-detail gpt-5.2 result is 63.4 and 74.5. These results show a substantial range even among systems evaluated with the same ranking instructions.
The comparison also includes systems for which top-rank accuracy lies closer to that of multilingual CLIP. At high detail, GPT-4.1-mini scores 42.7 HIT@1 and 59.5 MRR. At the same detail setting, GPT-4.1-nano scores 19.9 and 39.0. Qwen2.5-VL-7B at low detail scores 38.6 HIT@1 and 55.7 MRR. Claude 3.5 Sonnet at low detail reaches 63.0 HIT@1 and 75.5 MRR. The prompted ranking protocol can yield strong performance, with the result depending heavily on the system receiving the request.
The separation between HIT@1 and MRR is especially helpful here. A system can place the correct image near the top often enough to improve its reciprocal-rank score while still choosing another picture first on many items. This is relevant to the comparison with the tuned ranker. The adapted setup and GPT-4.1-mini have close reported HIT@1 scores at the settings above, while GPT-4.1-mini has the higher reported MRR. A top-choice application and an application that shows several ranked candidates could read those outcomes differently.
The main benchmark table reports Gemini-1.5-pro at low detail with 60.9 HIT@1 and 73.9 MRR. The inference appendix places 73.9 in that system’s HIT@1 column. The paper gives no reconciliation for the difference in metric labels. The main results here use the benchmark table’s HIT@1 and MRR labels, and the appendix supplies the separately reported timing and cost figures.
What changes with targeted training
The adaptation table reports an untuned baseline of 37.00% HIT@1 and 54.29% MRR. The checkpoint comparison gives the same HIT@1 and reports its MRR as 54.4. The training comparisons below follow the adaptation table’s baseline and scores. Each tuned entry is the result at the selected depth and checkpoint for that data setup. The chart therefore compares the best reported results under each recipe, with training depths varying across recipes.
Training data and HIT@1 on the extended Ukrainian Visual-WSD benchmark
Combining the Wikipedia corpora yields the highest top-rank accuracy among the adaptation settings.
The numbers
| System or setting | HIT@1 % |
|---|---|
| Pretrained adaptation backbone | 37.00 |
| LAION-UA | 36.77 |
| Multi30K-UA | 38.58 |
| LAION-UA + Multi30K-UA | 37.80 |
| SenseWiki-UA | 39.11 |
| RA-Wiki-UA | 41.47 |
| Equal-source four-corpus mixture | 40.68 |
| SenseWiki-UA + RA-Wiki-UA (this paper) | 43.05 |
SenseWiki-UA reaches 39.11% HIT@1 and 55.70% MRR with 27,543 training examples. Its best result uses k = 3, with 6.14% of parameters trainable. The paper reports a HIT@1 gain of 2.11% for this setting. The result establishes that a corpus based on dictionary alignment can improve the backbone with a relatively shallow text update. The MRR increase also shows that the benefit extends to the broader ranking measure for this comparison.
RA-Wiki-UA reaches 41.47% HIT@1 and 57.43% MRR from 38,100 training pairs. Its best result uses k = 12, with 23.56% of parameters trainable. The authors report a +4.47% improvement in HIT@1. The visual-neighbour selection and generated captions come as a package in this condition. The result measures the overall value of that package at its selected tuning depth.
The strongest adaptation uses the combined Wiki corpora. The experiment table lists 64,326 training samples, and the best setting updates k = 12 text blocks with 23.56% of parameters trainable. The paper reports 43.05% HIT@1, 58.26% MRR and a HIT@1 improvement of +6.05% over the pretrained baseline. The combination improves on either source’s best individual score. This establishes that the two sources work well together in the study’s adaptation recipe.
The generic-source runs are weaker on top-rank accuracy. LAION-UA uses 59,516 training samples and reaches 36.77% HIT@1 and 54.36% MRR. The authors report the HIT@1 change as −0.23. Multi30K-UA uses 27,941 training samples and reaches 38.58% HIT@1 and 55.72% MRR. Its ranking-wide improvement is close to that of SenseWiki-UA, while SenseWiki-UA does better at putting the answer first. The contrast between the generic corpora reinforces the value of reporting both ranking measures.
Combining the generic corpora yields 87,457 training samples and scores of 37.80% HIT@1 and 55.05% MRR. The paper reports a +0.80 HIT@1 change. The four-source mixture has 104,660 training samples and reaches 40.68% HIT@1 and 56.63% MRR. That mixture improves on the baseline and on the generic-only mixture. The Wikipedia-only mixture achieves the best result on both Visual-WSD metrics with fewer reported training examples than either of those larger mixtures.
The two comparisons matter in different ways. The generic-only mixture tests whether accumulating Ukrainian image descriptions is sufficient for a similar gain. The four-source mixture tests whether adding generic supervision to a recipe with targeted data strengthens the benchmark ranking. In the reported settings, a larger training count does not predict a higher Visual-WSD score. The authors attribute the strongest gain to the choice of material that connects pictures with specific meanings. The mixture results also motivate checking a second outcome, since a recipe optimized for sense ranking may change more general retrieval behaviour.
The reported inference comparison
The efficiency appendix measures average retrieval time on the Visual-WSD benchmark. The best fine-tuned CLIP setup takes 8.27 ms. GPT-4.1 is reported at 24684.74 ms and $0.003 per benchmark retrieval, while GPT-4o is reported at 22696.09 ms and $0.004. GPT-4.1-mini takes 21831.47 ms at $0.003 per retrieval. These are the paper’s observed timings and API charges for the compared retrievals.
Average retrieval latency on the Ukrainian Visual-WSD benchmark
The fine-tuned ranker finishes substantially sooner than the prompted API systems in this comparison.
The numbers
| System or setting | ms |
|---|---|
| GPT-4.1 | 24684.74 |
| GPT-4o | 22696.09 |
| GPT-4.1-mini | 21831.47 |
| Fine-tuned CLIP with both Wikipedia corpora (this paper) | 8.27 |
The timed procedures produce the same answer format for evaluation while doing different work at inference. The CLIP-based system compares representations to score the supplied images. The API-based procedure sends the images and the query and waits for a generated ranking. The result illustrates why the smaller ranker is of practical interest even though the leading prompted systems attain higher benchmark accuracy. In the reported comparison it offers a different combination of top-rank accuracy and response time.
What the ablations show
How much of the text encoder needs to change
The freezing ablation varies k while keeping the vision encoder fixed. This tests whether a corpus can improve ranking with a small change to the text side or whether it benefits from allowing the update to reach further through the encoder. Because the same sweep is applied across corpus choices, the analysis can distinguish the depth that works best for one source from the depth that works best for another. The paper’s freezing figure shows the preferred depth varying with the source.
SenseWiki-UA peaks at k = 3. At that point 6.14% of the backbone parameters are trainable. Deeper updates do not improve its best score. The authors interpret the early peak as evidence that a limited update can extract a useful signal from definition-aligned data. The result gives a concrete example of a setting where a small share of trainable parameters is enough to improve the chosen benchmark metrics.
RA-Wiki-UA and the combined Wikipedia setting improve through the largest depth in the sweep. Each attains its best result at k = 12, with 23.56% of parameters trainable. The authors suggest that richer caption supervision may benefit from adapting more of the text encoder. That explanation is consistent with the depth curves. Since the sources differ in image selection and text construction, the curves describe the response to each corpus as a whole. They do not separately measure the contribution of caption variety to the preferred depth.
For the generic sources, Multi30K-UA peaks at k = 9, with limited improvement on Visual-WSD. LAION-UA’s best listed depth is k = 8, and its top-rank score is still below the untuned baseline. An update with more capacity can therefore produce quite different outcomes depending on the examples used. The ablation supports a relationship between supervision and useful adaptation depth. It does not turn the number of unfrozen layers into an independent predictor of higher accuracy.
The best Wikipedia combination and the best SenseWiki-UA run also occupy different points on an efficiency curve. The combination gives the higher benchmark score and uses the larger text update. SenseWiki-UA gives a smaller gain and changes a smaller share of all parameters. Both retain the visual tower. This makes the depth sweep informative for understanding what the paper means by compute-efficient adaptation. It fixes one large part of the backbone while measuring how much freedom on the text side each training source appears to need.
What mixing the corpora changes
The single-source and mixture experiments test the authors’ claim about data alignment from several directions. Both Wikipedia sources improve on the pretrained backbone, and their combination improves further. The generic-only mixture stays near baseline on HIT@1, despite having a larger reported training set than the Wikipedia mixture. The equal-source four-way mixture occupies a middle position on the disambiguation measures. This pattern supports the view that the content of the data matters in addition to its amount.
The comparison also helps explain why the authors regard the two Wikipedia routes as complementary. SenseWiki-UA supplies examples chosen by first establishing a relationship between definitions. RA-Wiki-UA supplies examples chosen by visual proximity, with language generated from the image and its article context. When both are available in training, the ranker can encounter supervision with both properties across the corpus. The observed complementarity refers to the resulting score. The study does not allocate the improvement to particular pairs or identify which subset of senses benefits from each source.
General retrieval provides another way to read the mixtures. In the paper’s accuracy–robustness comparison, the strongest Visual-WSD setting gives up some mean recall on the held-out generic retrieval data. Generic supervision tends to preserve or improve that retrieval measure while yielding less gain on Visual-WSD. The full mixture falls between those trends. The paper presents this as evidence of specialization within the evaluated conditions. The data that sharpen the treatment of competing senses can also shift which matches the system favours in ordinary image–caption retrieval.
The held-out retrieval test is relevant because freezing the vision encoder preserves its internal weights while leaving the final matching function adaptable. A change to text representations or projection layers can change the ordering of candidate matches without altering the visual encoder’s blocks. The figure thus evaluates a consequence of adaptation that the freezing rule alone cannot settle. Within the paper’s two evaluation tasks, the best setting depends on whether the priority is sense-specific ranking or preserving general retrieval behaviour.
What the data audits reveal
The authors audit 100 randomly sampled SenseWiki-UA pairs after filtering. They judge 88.0% of alignments correct, with 12.0% assigned to the wrong sense. Visual grounding is clear in 82.0% of the sample, weak or indirect in 2.0%, unrelated or misleading in 14.0%, and missing or broken in 2.0%. These categories concern what the image contributes. They show why a good link between written definitions can still leave a problem to solve on the visual side.
The audit gives a separate breakdown of the text. It rates 50.0% as good visual text and 22.0% as generic or definition-like. A further 6.0% have captions judged too short, and 22.0% have text judged wrong or misleading. Overall, 68.0% are usable, 12.0% are noisy but usable and 20.0% are unusable. A definition can therefore serve as an effective fallback in some cases while remaining less specific to the scene than a strong caption. The audit makes that variation visible in a way that a simple pair count cannot.
For RA-Wiki-UA, the authors first examine the distances involved in retrieving Wikipedia neighbours. The median cosine similarity is 0.686 for the nearest image and 0.572 for the 10th image. At the 10th position, the reported P10 is 0.470 and the P90 is 0.642. These percentiles describe the spread of similarity scores for that neighbour across the benchmark queries. The system is measuring closeness in the same representation space used to retrieve the images. This verifies the behaviour of the retrieval procedure in that space. Judging whether a picture really depicts the relevant meaning requires a separate check.
The paper measures how similarly the generated captions are worded. Distinct-1 and Distinct-2 quantify the variety of individual tokens and adjacent token pairs. The within-image means in the diversity table are 0.458 for Distinct-1 and 0.846 for Distinct-2. Within-image Self-BLEU has a mean of 0.038. Self-BLEU measures how much a caption overlaps in wording with other captions in the group. These scores describe variety across descriptions of the same picture. They leave the accuracy of those descriptions to the manual audit.
The RA-Wiki-UA audit examines 100 randomly sampled generated image–sentence pairs. It rates 72.0% of images as relevant and 72.0% of sense assignments as correct. For sentence quality, 36.0% are rated good, 36.0% generic but usable and 28.0% wrong or misleading. Overall, 72.0% of the audited pairs are considered usable, while 28.0% are considered unusable. The authors identify retrieval drift as the main failure. A neighbour can resemble a benchmark picture in the embedding space while depicting a different concept. That gives the generation step weak evidence about which meaning the caption should express.
The two audits use different labels in some categories, so their percentages are most informative as descriptions of each pipeline’s own failure points. SenseWiki-UA lets the authors see where a chain of dictionary, article and image associations breaks down. RA-Wiki-UA lets them track whether a search initiated by a benchmark visual example leads to a relevant picture and a grounded generated sentence. Both analyses help explain how corpora with imperfect pairs can still supply a useful training signal. Neither audit identifies which specific errors influence the final benchmark ranking.
Where the gains appear across meanings
An additional analysis groups benchmark instances by the number of senses associated with the target lemma. The comparison is between the frozen baseline and the best fine-tuned setting. The paper reports better HIT@1 and MRR across the ambiguity groups, with the largest gains for lemmas having 4 and 7 senses. These are the groups in which the inventory gives the target word the most possible meanings. The result is consistent with the adaptation helping when choosing the correct visual interpretation demands a finer distinction.
The inventory distribution is important for interpreting that figure. The benchmark contains 4 word types in the group with four senses and 1 in the group with seven senses. Improvements on those items can be real and still say little about the broader population of highly ambiguous Ukrainian words. The figure locates the gains within the benchmark. General claims about words with many senses would require evidence across a wider range of such lemmas.
The paper also applies a one-sided Wilcoxon signed-rank test to paired reciprocal ranks on the same 381 instances. Each pair compares the placement of the same gold image by the untuned baseline and by the best fine-tuned setup. The alternative hypothesis is that fine-tuning produces higher reciprocal ranks. The paper reports a test statistic of 9409.0 and a p-value of 1.25 × 10⁻⁴, significant at the stated level of 0.05. The paired design controls for variation in difficulty across benchmark instances by comparing each question with itself.
This test addresses whether the observed reciprocal-rank improvement is systematic within the paired evaluation. It is a different piece of evidence from looking only at the headline HIT@1 change. The result concerns the particular chosen checkpoint and the benchmark on which it was evaluated. Selection of that checkpoint, and the use of benchmark images to construct part of the training material, matter when deciding how broadly to interpret the result.
Limitations
Limits the authors state
The study concerns Ukrainian. The authors describe the construction procedures as broadly applicable in design, while identifying resources that would be needed to transfer them. The dictionary-driven route requires a sense inventory compatible with the available encyclopedia entries. Both routes depend on finding sufficiently illustrated articles. A language with poorer coverage or fewer clearly grounded pictures could yield less useful supervision, even if the same pipeline can be run. The paper establishes performance gains for the Ukrainian runs it reports.
The authors also emphasize the restricted lexical coverage of the benchmark. The extension gives a substantially larger evaluation set, but it still covers a limited inventory and favours words with two senses. The expert curation improves the definition of individual tasks. It cannot make those tasks representative of every ambiguous concept encountered in Ukrainian, or of meanings that are difficult to depict visually.
Caption generation introduces another stated dependency. RA-Wiki-UA relies on GPT-5.1, its generation prompt and the article metadata available for each image. Changes in any of those can alter the resulting sentences. The manually audited wrong or unclear cases illustrate the importance of this dependency. Retrieved images with ambiguous or poorly matched content can lead to sentences that confidently express the wrong sense. Multiple distinct descriptions of a picture can also share the same grounding error.
Most importantly, the authors explicitly limit their claim about RA-Wiki-UA because its retrieval queries are the benchmark’s gold images. They state that the benchmark images are excluded from training, while the training image search deliberately starts from their visual neighbourhoods. This gives the corpus information about the kinds of depictions that the evaluation rewards. Some of the observed benefit may therefore come from adapting to the particular benchmark. The authors leave benchmark-independent retrieval for future work and interpret the reported result as targeted adaptation under controlled conditions.
The paper also identifies a cost of specialization. The Wikipedia mixture with the highest Visual-WSD score slightly lowers general retrieval robustness in the held-out comparison. The finding limits the scope of the improvement to the task and test conditions that demonstrate it. The results support improved sense ranking, alongside a small loss on another use of the same image–text representations.
Limits visible in the experimental design
The benchmark guides checkpoint selection as well as the construction of RA-Wiki-UA. The authors evaluate after each epoch and report the checkpoint with the strongest Ukrainian Visual-WSD performance. The depth comparison likewise reports settings chosen for their results on this benchmark. This makes the reported scores interpretable as outcomes of selection on the benchmark. An independent set for final testing after checkpoint and depth choices would provide a separate estimate of how well those choices transfer.
That selection also matters for the paired significance analysis. The reported p-value measures the paired reciprocal-rank outcomes for the selected comparison. It does not account for the full process of choosing a checkpoint, a depth and a data recipe using benchmark results. The significance result supports the presence of a paired improvement among these questions, with the broader reproducibility of that improvement still tied to the experimental design.
The corpus comparisons vary multiple properties together. Wikipedia supervision differs from the generic data in source, topic coverage, image selection and the way its text is written. RA-Wiki-UA combines a benchmark-guided image search with a caption generator that sees both image and article context. Its training result cannot isolate the effect of those components individually. The diversity statistics establish wording variation, and the audit establishes a sampled usability rate. Neither establishes how much of the benchmark improvement is due to generating varied captions.
The experiments also use different total numbers of training examples. The four-way mixture balances the contribution from each source inside that run, while the Wikipedia-only and generic-only mixtures use their full corpora. The strongest Wikipedia result with fewer examples than the generic mixtures is evidence against a simple explanation based on training-set size. A quantitative estimate of the independent contribution of sense alignment would require comparisons holding other corpus properties fixed. The paper’s results are most directly evidence about which of its tested recipes works best.
The broader retrieval evaluation uses held-out material from LAION-UA and Multi30K-UA. Mean recall summarizes the two retrieval directions and several rank cutoffs. This gives a concrete check on behaviour outside the Visual-WSD questions. It provides limited coverage of general retrieval, and the aggregate can conceal whether changes are concentrated at particular cutoffs or in one direction. The reported tradeoff is therefore a result for the held-out data and metric the authors evaluate.
The operational comparison is similarly scoped to the reported benchmark retrievals. API calls include the time to process the supplied images and return a ranking, while the adapted CLIP system performs its own embedding-based comparison. The difference in measured latency is large in the reported setup. How the times and costs would change with another candidate set, serving setup or usage pattern is outside the measurements. The discrepancy in the Gemini-1.5-pro metric label also makes its appendix accuracy entry unsuitable for resolving that system’s score in the main benchmark comparison.
Finally, the benchmark makes picture-based disambiguation measurable by requiring a recognizable depiction and a fixed set of candidates. Its score depends on what those alternatives demand from the ranker. A related distractor, an image of another sense and a random distractor can reveal different kinds of mistakes. The reported aggregate scores establish how the systems rank the items the authors constructed. A stronger result on this task is evidence of improved performance under those contrasts, with broader claims about word meaning requiring other settings as well.
What came after
No subsequent study is documented as building on the paper. The authors leave benchmark-independent image retrieval as future work. That direction would test whether a Wikipedia training corpus can deliver similar gains when the evaluation images play no part in choosing its visual examples.
Cite
Cite as Yurii Laba and Rostyslav O. Hryniv. 2026. From Sparse to Sense-Grounded: Wikipedia Training for Ukrainian Visual-WSD. Proceedings of the 30th Conference on Computational Natural Language Learning.
@inproceedings{laba2026sparse,
title = {{From Sparse to Sense-Grounded: Wikipedia Training for Ukrainian Visual-WSD}},
author = {Yurii Laba and Rostyslav O. Hryniv},
booktitle = {Proceedings of the 30th Conference on Computational Natural Language Learning},
year = {2026},
doi = {10.18653/v1/2026.conll-main.29},
url = {https://doi.org/10.18653/v1/2026.conll-main.29}
}This page in Markdown https://md.research.elamur.ai/free/en/papers/laba-2026-sparse-sense-grounded-wikipedia-training/