Preprint
Article

This version is not peer-reviewed.

FashionIQ-Based Explainable Composed Image Retrieval Using Advanced Multilingual LMM’s

Submitted:

21 July 2026

Posted:

22 July 2026

You are already at the latest version

Abstract
Composed image retrieval (CIR) is a complex image retrieval task that requires using both a reference image and a corresponding caption in the query (Zhang et al., 2025). The reference image provides visual context, while the caption specifies the desired modification. Together, they form a composed query that captures user intent more precisely than image or text alone. This makes CIR particularly valuable in fashion retail, where users frequently seek visually similar items with specific attribute changes. While monolingual CIR systems built on English particularly CLIP-based models have shown strong benchmark performance, multilingual and cross-lingual composed image retrieval remains substantially underexplored. Existing fashion CIR systems operate exclusively in English, leaving over 200 million Urdu speakers and over one billion Chinese speakers underserved. Explainability has also been largely ignored, with no existing fashion CIR system offering interpretable retrieval decisions. This research addresses both limitations through a multilingual explainable CIR framework that supports English, Urdu, and Chinese queries within a single unified pipeline, built on the FashionIQ benchmark. The framework is evaluated on FashionIQ comprising three clothing categories with over 32,000 training triplets using Recall@K as the primary evaluation metric across all three query languages. It integrates a cross-modal projection head for multilingual embedding alignment, a learnable weighted fusion module, LLaVA-1.6 for query enrichment, and Grad-CAM for visual explainability. This is a novel CIR framework that jointly addresses multilinguality and explainability in a unified pipeline, with the proposed model evaluated at each stage of the pipeline from multilingual query specification through to visually explained retrieval results.
Keywords: 
;  ;  ;  ;  ;  ;  

1. Introduction

In the fields of e-commerce and digital fashion, the ability to retrieve products using both visual and linguistic cues is growing increasingly important. Traditional image retrieval systems have two inherent limitations: they either rely solely on visual similarity matching, or only support text keyword queries. Neither can capture users’ nuanced need to “find target products that are similar to a reference image but include specific modifications.” Composed Image Retrieval (CIR) fills this gap: it allows users to submit a reference image and natural language modification queries at the same time, to match target products that meet the semantic requirements of both types of input.
The fashion sector is one of the most commercially valuable and practically viable application scenarios for CIR. Current text-based retrieval methods cannot enable users to clearly articulate their visual preferences, while purely visual search also fails to capture demand for apparel design modifications. Systems that can simultaneously understand visual context and linguistic instructions can accommodate needs such as changing the floral pattern on a skirt or adjusting the sleeve length of a shirt, which aligns with the logic of natural human communication.
While existing CIR methods boast considerable real-world application prospects, they still face two core limitations that hinder their widespread adoption: first, nearly all systems only support English queries, which restricts technical accessibility to this technology for the vast majority of non-English users across the globe; second, their black-box operation makes their retrieval logic impossible to explain, which weakens user trust and limits their practical real-world promotion.

1.1. Problem Statement

In recent years, multimodal learning and vision-language models have achieved notable progress, yet existing compositional image retrieval frameworks still face core limitations: they only support English, failing to reach hundreds of millions of non-English users speaking languages such as Urdu and Chinese; they operate as black-box systems lacking interpretability, and cannot output the visual and linguistic basis for their retrieval decisions; and the short modification captions of the widely used benchmark FashionIQ are semantically sparse, which is insufficient to support accurate retrieval. These are exactly the core problems this study seeks to solve.

1.2. Research Objectives

This study explicitly lists the following research objectives:
  • Develop a multilingual CIR framework that supports English, Urdu, and Chinese queries on the FashionIQ benchmark dataset.
  • Develop a projection head to align multilingual text embeddings output by cross-language encoders to the visual feature space of OpenAI’s CLIP.
  • Integrate LLaVA to generate target image descriptions that supplement short modification queries.
  • Evaluate the proposed framework through comprehensive quantitative and ablation experiments on the FashionIQ validation set.

1.3. NLP and Multimodal Approaches for CIR

Large-scale vision-language pre-training has reshaped the development landscape of the image retrieval field. The joint embedding space of CLIP, which is trained on hundreds of millions of paired image-text data, forms the core foundation of modern CIR systems. However, its text encoder natively only supports a single language, which restricts its application in multilingual scenarios.
Widely used multilingual text encoders in the field, such as multilingual-E5 and mBERT, possess cross-lingual representation capabilities, but their embedding spaces are incompatible with visual encoders trained with English as their core training language. The cross-language cross-modal retrieval system proposed in this research bridges this gap by training a projection head, and introduces large multimodal models such as LLaVA to implement query augmentation, which solves the semantic sparsity problem of short modified descriptions in benchmark datasets. This study uses the neural machine translation model M2M100 to complete its multilingual processing pipeline.

3. Methodology

This study proposes a multilingual, interpretable Composed Image Retrieval (CIR) method tailored to the FashionIQ benchmark. This task requires users to input a candidate query image and a natural language modification description, and the system returns the target image that matches the stated modification from a large-scale image gallery. Existing CIR systems can only support English queries and cannot generalize across languages, which forms a critical limitation for real-world applications targeting global consumers.
This study proposes an integrated progressive pipeline multimodal system, whose core consists of five components: (1) a CLIP-based visual encoder that generates high-quality image embeddings; (2) the multilingual text encoder multilingual-E5-base, which supports generating semantically aligned embeddings for English, Urdu, and Chinese; (3) an automatic translation pipeline built using Facebook AI’s M2M100-418M to produce a trilingual caption dataset; (4) a learnable projection head that solves the cross-modal embedding space mismatch problem; (5) LLaVA-1.6, which converts sparse 5-word captions into 64-word detailed descriptions. The system is additionally equipped with a weighted fusion module with learnable scalars and a Grad-CAM interpretability module.
The technical framework proposed in this paper is built on three core design principles. First, it is modular: all its components can be independently trained, evaluated, and replaced, and it supports ablation studies with controlled variables. Second, it is efficient: pre-stored frozen model embeddings mean a single epoch of training on one consumer-grade GPU only takes 10 to 20 minutes. Third, it is scalable: its projection head is language-agnostic, and it currently supports Chinese, English, and Urdu.
Table 2. Component-Level Summary of the Proposed Framework.
Table 2. Component-Level Summary of the Proposed Framework.
Stage Component Input Output Role
1 CLIP ViT-B/32 RGB image (224×224) 512-dim embedding Visual representation
2 M2M100-418M English caption UR / ZH caption Multilingual translation
2 multilingual-E5-base Text caption (any lang) 768-dim embedding Multilingual text encoding
3 Projection Head (MLP) 768-dim text embedding 512-dim embedding Cross-modal alignment
4 Weighted Fusion (α, β) Image + text embeddings 512-dim query Modality-adaptive fusion
5 LLaVA-1.6 Image + short caption ~64-word description Query enrichment
Grad-CAM Candidate image + query Saliency heatmap Visual explainability

3.1. Dataset: FashionIQ

All experiments conducted in this study adopt the publicly available FashionIQ dataset as the core benchmark. This dataset is purpose-built for Composed Image Retrieval (CIR) in the fashion domain, and covers three product categories: dress, shirt, and toptee. The FashionIQ dataset provides two crowdsourced natural language captions for each group of image triplets. These captions describe the required visual modifications to transform the reference image into the target image. The captions were collected via Amazon Mechanical Turk; they are colloquial and aligned with real user search behavior, but they have notable flaws: they are generally short, and their writing styles vary widely.
This study constructs a unified image gallery for the fashion image retrieval task by merging all unique target images from the training splits of the three categories, to simulate the real-world deployment scenario of users conducting cross-category searches. The generated unified gallery contains approximately 22,200 images.
Table 3. FashionIQ Dataset Statistics.
Table 3. FashionIQ Dataset Statistics.
Category Train Pairs Val Pairs Train Targets Val Targets
Dress 11,466 1,497 ≈7,860 ≈2,032
Shirt 9,645 1,210 ≈6,400 ≈1,663
TopTee 11,817 1,477 ≈7,940 ≈2,095
Total 32,928 4,184 ≈22,200 ≈5,790
This study expands the monolingual FashionIQ benchmark to multilingual scenarios by applying the M2M100-418M model to translate all captions from the original dataset’s training and validation splits, generating a parallel caption dataset covering English, Urdu, and Chinese. The dataset is stored in a unified JSON format supporting language-agnostic evaluation, allowing any of the three caption languages to be selected during inference without modifying any other part of the pipeline.

3.2. System Environment and Experimental Setup

All experiments are deployed on a hardware platform compatible with standard consumer-grade hardware. The training experiments adopt a core design of precomputed embedding cache: rather than recalculating CLIP image embeddings and multilingual-E5-base text embeddings during every training iteration, all embeddings are computed and stored in Google Drive before training officially commences. This strategy cuts the training duration for a single epoch from 5–6 hours to only 10–20 minutes.
Table 4. Experimental Environment Specifications.
Table 4. Experimental Environment Specifications.
Component Specification
GPU NVIDIA T4 (15 GB VRAM)
Platform Google Colab
Deep Learning Framework PyTorch 2.x
Transformer Library Hugging Face Transformers 4.44.2
Text Embedding Sentence-Transformers
Storage Google Drive (persistent cache)
Programming Language Python 3.10
Visual Backbone openai/clip-vit-base-patch32
Text Encoder intfloat/multilingual-e5-base
Translation Model facebook/m2m100_418M
LMM for Enrichment llava-hf/llava-v1.6-mistral-7b-hf
Table 5. Hyperparameter Configuration for All Training Stages.
Table 5. Hyperparameter Configuration for All Training Stages.
Hyperparameter Projection Head (Step 2A) Weighted Fusion (Step 3A) Rich Caption Head (Sec M)
Optimizer AdamW AdamW AdamW
Learning Rate 1e-4 5e-5 1e-4
Weight Decay 1e-4 1e-4 1e-4
Batch Size 32 32 64
Epochs 3 3 3
Dropout 0.1 0.1 0.1
Loss Function 1 - cosine sim 1 - cosine sim 1 - cosine sim
Best Val Loss 0.1608 0.1580 0.1716

3.3. Multilingual Caption Generation via M2M100

This study adopts the 418M-parameter variant of the M2M100 model developed by Facebook AI. This model supports direct mutual translation between one hundred languages, with no requirement to use English as a pivot language. In the experiments, beam search decoding with num_beams=4 is applied, with a generation length limit of max_new_tokens=64. After comparing multiple translation tools including Google Translate and the OPUS-MT series, M2M100 was selected because it is openly available for academic use, its performance in Urdu and Chinese has been validated, and it supports direct mutual translation between any pair of languages.
Before formally launching model training, the multilingual-E5-base sentence Transformer was used to verify the quality of translated captions generated by M2M100, using average cosine similarity and top-K cross-language recall rate across the full set of 5,657 validation samples.

3.4. CLIP Visual Encoder

This study adopts the CLIP variant openai/clip-vit-base-patch32 released by OpenAI. This model is pre-trained on 400 million image-text pairs, and outputs 512-dimensional normalized image and text embeddings. During training, all core parameters of the CLIP model are frozen; only the projection head and fusion weights are permitted to participate in the training process, to avoid catastrophic forgetting on the comparatively small FashionIQ training set of 32,928 triplets.

3.5. Multilingual Text Projection Head

The 768-dimensional text embeddings generated by the multilingual-E5-base text model and the 512-dimensional image embeddings output by the CLIP image encoder are mismatched in core attributes including dimensionality. A trainable projection head is introduced to bridge the gap between the two feature spaces. The projection head is a compact two-layer MLP with approximately 786,432 trainable parameters: a linear layer (768→512), ReLU activation, dropout (0.1), and a second linear layer (512→512), with the output L2-normalized to match CLIP’s unit-norm embedding convention.
Training data is drawn from 16,810 training-split triplets. A mixed-language sampling strategy randomly selects one of the three languages (English, Urdu, or Chinese) per sample at each training step, forcing the projection head to produce language-agnostic query representations. Training ran for 3 epochs using AdamW (lr=1e-4, weight_decay=1e-4). Best checkpoint: val_loss = 0.1608.

3.6. Weighted Fusion with Learnable Scalar Weights

The current mainstream training scheme for cross-modal projection heads applies symmetric equal-weight summation to image and text embeddings. This study introduces learnable scalars — the image weight alpha and the text weight beta — which dynamically adjust the weight proportion of the two modalities based on the level of detail in their paired captions. Both are initialized to 1.0, corresponding to the symmetric equal-weight baseline, and are jointly trained with the projection head weights during model fine-tuning.

3.7. LLaVA-Based Query Enrichment

The modified descriptions of the FashionIQ dataset average only 5.21 words, and omit core visual attributes, which limits the discriminative power of text query embeddings. This study uses LLaVA-1.6 to generate new descriptions that average 63.98 words, expanding information volume 12.28-fold. The multimodal large model adopted is llava-hf/llava-v1.6-mistral-7b-hf, with Mistral-7B as its base model, using 4-bit NF4 double quantization via BitsAndBytes to reduce VRAM demand from approximately 14 GB to around 4 GB. A two-stage workflow is adopted: LLaVA generates detailed English descriptions first, then M2M100-418M translates these into Urdu and Chinese.

3.8. Explainability via Grad-CAM

Gradient-weighted Class Activation Mapping (Grad-CAM) provides visual interpretability for image retrieval tasks. The gradients of the composite query-target similarity score with respect to the convolutional feature maps of candidate images are calculated to generate a spatial saliency heatmap that marks high-impact image regions. This heatmap is upsampled to match input resolution, overlaid on the candidate image, and displayed alongside the retrieved top-1 target image.

3.9. Evaluation Methodology

Recall@K (R@K) refers to the proportion of queries for which the correct target image appears in the top K retrieval results. In this study, K is set to 1, 5, and 10, with R@10 adopted as the primary comparative indicator. A six-configuration ablation study isolates the contribution of each proposed component: C1 (Image Only), C2 (CLIP Baseline, zero-shot), C3 (Multilingual, No Projection), C4 (Projection Head, Fixed Weights), C5 (Full Model, Short Captions), and C6 (Full Model + LMM Enrichment).

4. Experiments and Results

All experiments are run on the NVIDIA T4 GPU hosted on the Google Colab platform. The default evaluation adopts the FashionIQ validation set containing 5,657 samples, which remains unchanged unless otherwise specified. For the ablation study, 1,855 apparel samples equipped with both short captions and LLaVA-augmented data are used to guarantee fair comparison.

4.1. CLIP Zero-Shot Baseline

The standard combinatorial retrieval scheme that adopts frozen CLIP features and no task-specific training is designated Configuration C2, and serves as the core comparative baseline for all new research components added in subsequent work.
Table 6. CLIP Zero-Shot Baseline — English Recall@K (%).
Table 6. CLIP Zero-Shot Baseline — English Recall@K (%).
Configuration R@1 (%) R@5 (%) R@10 (%)
C2: CLIP Baseline 3.33 12.15 17.00
The R@10 score for English queries of the CLIP zero-shot baseline reaches 17.00%. For comparison, the corresponding R@10 score is 18.72% for Urdu and 19.79% for Chinese queries.

4.2. Multilingual Caption Quality Verification

Cross-language caption translation quality was verified during the pre-training phase using the M2M100 translation model and the multilingual-E5-base verification model, over the full validation set of 5,657 samples, using two metrics: average pairwise cosine similarity and cross-language retrieval recall rate.
Table 7. Cross-Lingual Semantic Alignment — Cosine Similarity and Recall@K. 
Table 7. Cross-Lingual Semantic Alignment — Cosine Similarity and Recall@K. 
Language Pair Avg Cosine Sim R@1 (%) R@5 (%) R@10 (%)
EN → UR 0.8556 30.37 47.32 55.14
EN → ZH 0.8587 24.96 44.65 54.45
UR → EN 0.8294 22.77 38.02 45.38
ZH → EN 26.06 44.69 53.81
Average cosine similarity of approximately 0.855 confirms that M2M100 translations faithfully preserve semantic content. R@10 = 55.14% for EN to UR and 54.45% for EN to ZH indicate the ground-truth translation ranks within the top 10 for more than half of all validation queries, validating the translation pipeline for multilingual CIR training.

4.3. Projection Head Training Results

The projection head completed three rounds of training using 16,810 training split triplets and mixed-language sampling. The optimal model checkpoint from the third round has a validation loss of 0.1608, which is 27.2% lower than the initial validation loss.
Table 8. Step 2A — Projection Head Recall@K by Query Language (%).
Table 8. Step 2A — Projection Head Recall@K by Query Language (%).
Query Language R@1 (%) R@5 (%) R@10 (%)
English 0.88 3.82 5.43
Urdu 0.88 3.59 5.16
Chinese 1.01 3.55 5.41
Using the 5,657 validation samples from the unified gallery, the mixed-language training projection head achieves comparable R@10 scores across English, Urdu, and Chinese (5.16–5.43%), in contrast with the CLIP baseline where English, Urdu, and Chinese differ (17.00%, 18.72%, and 19.79% respectively).
Table 9. Section M — Rich Caption Projection Head Recall@K by Query Language (%).
Table 9. Section M — Rich Caption Projection Head Recall@K by Query Language (%).
Query Language R@1 (%) R@5 (%) R@10 (%)
English 0.94 3.86 5.43
Urdu 0.92 3.86 5.18
Chinese 0.92 3.75 5.24
To address the distribution mismatch identified in the ablation discussion (Section 4.6), the projection head was retrained from scratch using LLaVA-augmented descriptions for 4,771 formal dress samples, producing a total cache of 12,303 embeddings, and converging to an optimal training loss of 0.1716. The rich-caption projection head attains R@10 scores highly consistent with the short-caption projection head, confirming that the mixed-language training strategy generalizes to longer descriptions.

4.4. Weighted Fusion Training and Evaluation

Fine-tuning experiments on the learnable weight parameters converged with alpha (image weight) reaching 0.9295 and beta (text weight) reaching 1.0685, indicating that descriptive text serves as the core directional signal, with the average text weight 14.9% higher than the image weight.
Table 10. Learned Fusion Weights — Initial vs Converged Values.
Table 10. Learned Fusion Weights — Initial vs Converged Values.
Parameter Initial Value Learned Value
alpha (image weight) 1.0000 0.9295
beta (text weight) 1.0000 1.0685
Table 11. Step 3A — Weighted Fusion Recall@K by Query Language (%).
Table 11. Step 3A — Weighted Fusion Recall@K by Query Language (%).
Query Language R@1 (%) R@5 (%) R@10 (%)
English 0.97 3.89 6.10
Urdu 0.88 3.64 5.69
Chinese 0.99 3.57 5.71
Weighted fusion consistently improves over the fixed-weight projection head across all languages, with English R@10 improving from 5.43% to 6.10% (a 12.3% relative gain), Urdu improving from 5.16% to 5.69% (+5.8% relative), and Chinese improving from 5.41% to 5.71%.

4.5. LLaVA Query Enrichment Summary

Table 12. LLaVA Query Enrichment Statistics.
Table 12. LLaVA Query Enrichment Statistics.
Metric Value
LLaVA Model LLaVA-1.6 (Mistral-7B backbone)
Translation Model facebook/m2m100_418M
Total Enriched Samples 4,771
Category Dress
Avg. Short Caption Length 5.21 words
Avg. Rich Caption Length 63.98 words
Enrichment Factor 12.28x
Languages Generated English, Urdu, Chinese

4.6. Ablation Study

Six test configurations were evaluated on 1,855 apparel category validation samples present in both the short-caption and LLaVA-augmented datasets, sharing a unified category gallery, across Recall@1, Recall@5, and Recall@10 for three query languages.
Table 13. Ablation Study — Complete Recall@10 (%) Summary.
Table 13. Ablation Study — Complete Recall@10 (%) Summary.
Configuration EN R@10 UR R@10 ZH R@10
C1: Image Only 1.89 1.89 1.89
C2: CLIP Baseline 3.72 1.89 1.99
C3: Multilingual No Proj 2.10 1.99 1.83
C4: Proj Head (α=β=1) 1.73 1.73 1.83
C5: Full Model (Short) 1.89 1.83 1.83
C6: Full Model + LMM (Rich) 1.35 1.19 1.46
Finding 1 — Text modality contribution: the R@10 score of the image-only C1 scenario is 1.89%. The CLIP baseline C2 English scenario, which uses text-corrected captions, reaches an R@10 of 3.72% on this 1,855-sample subset.
Finding 2 — CLIP text encoder for non-English queries: for C2, the R@10 scores for English, Urdu, and Chinese on this subset are 3.72%, 1.89%, and 1.99% respectively, showing C2’s non-English performance close to the image-only baseline C1.
Finding 3 — Direct embedding addition without projection: the projection-free multilingual model C3 underperforms C1 for Chinese (1.83% vs 1.89%), indicating that naive concatenation of incompatible embedding spaces can be harmful.
Finding 4 — Projection head parity: configuration C4 registers R@10 scores ranging from 1.73% to 1.83% across English, Urdu, and Chinese, indicating balanced performance achieved through mixed-language training.
Finding 5 — Learned fusion weights: C5 improves over C4 for English (1.89% vs 1.73%, +9.2% relative) and Urdu (1.83% vs 1.73%, +5.8% relative).
Finding 6 — LLaVA enrichment and projection head retraining: within the E5 embedding space, the recall rate of configuration C6 is lower than C5 across all languages on this subset. The root cause is a distribution mismatch, since the projection head used for C5/C6 in this ablation was trained on 5-word short captions while C6’s inference receives 64-word long descriptions. The retraining experiment in Section 4.3 (Table 9), which retrained the projection head directly on LLaVA-augmented captions, shows that this mismatch is learnable and resolvable.

4.7. Explainability Results

An interpretability verification experiment was conducted using a shirt-category sample, candidate image ID B0059BG2SE, and the query instruction “brighten the image and add plaid patterns.” Grad-CAM heatmaps verified that the model identified the core attributes of fabric pattern, color, and texture, with a top-1 cosine similarity score of 0.9285.
Table 14. Explainability Demonstration Sample Details.
Table 14. Explainability Demonstration Sample Details.
Field Value
Category Shirt
Candidate Image ID B0059BG2SE
True Target ID B0056FTFB4
Query Text (EN) Brighter and checked
Retrieved Top-1 ID B00DN6JHNE
Top-1 Similarity Score 0.9285
Input Language English

4.8. Consolidated Results Summary

Table 15. Consolidated Results Summary — Key Metrics Across All Experimental Steps.
Table 15. Consolidated Results Summary — Key Metrics Across All Experimental Steps.
Step / Configuration EN R@10 UR R@10 ZH R@10 Best Val Loss
C2: CLIP Baseline 17.00 18.72 19.79
Step 2A: Proj Head 5.43 5.16 5.41 0.1608
Step 2B: Proj Head (cat) 6.15 5.87 5.94
Step 3A: Weighted Fusion 6.10 5.69 5.71 0.1580
C5: Full Model (ablation) 1.89 1.83 1.83
Sec M: Rich Proj Head 5.43 5.18 5.24 0.1716

5. Discussion

The multimodal cross-lingual combinatorial image retrieval framework proposed in this study evaluates retrieval performance across English, Urdu, and Chinese. On the CLIP zero-shot baseline, R@10 for English reaches 17.00%, while Urdu and Chinese reach 18.72% and 19.79% respectively. The framework developed in this work trains a multilingual projection head via mixed-language sampling, mapping multilingual text embeddings to the CLIP visual space.
The R@10 of steps 2A, 2B, and 3A is in the 5–6% range on the large-scale unified retrieval gallery of 22,200 entries, reflecting the difficulty of retrieval at this gallery scale; in the ablation experiment conducted on a smaller category-restricted gallery of 1,855 entries, configuration C5 reached an R@10 of approximately 1.83–1.89%, while configuration C6 with LLaVA enrichment scored lower on that same subset. The Section M retraining experiment, which retrained the projection head directly on 4,771 LLaVA-augmented samples across the three languages, achieved a loss of 0.1716 (comparable to the 0.1608 loss of the short-caption head) with matching Recall@10 performance, indicating that the original gap between C5 and C6 stemmed from an input-length mismatch between the training and inference captions used in the ablation setting, rather than an inherent limitation of the rich-caption approach.

6. Conclusion and Future Work

6.1. Conclusion

Composed image retrieval is a highly challenging multimodal task that requires systems to integrate candidate images and natural language modification descriptions to retrieve matching target images from large-scale image repositories. This study proposes a multilingual interpretable framework and evaluates it on the FashionIQ benchmark. Existing CIR systems rely on English-centric CLIP encoders and typically show reduced adequacy for non-English queries; this framework targets that cross-lingual gap and evaluates retrieval for English, Urdu, and Chinese.
The core of the cross-lingual multimodal retrieval model proposed in this research adopts a two-layer MLP projection head, which maps the 768-dimensional text embeddings generated by multilingual-e5-base to the 512-dimensional visual embedding space of CLIP, to realize cross-lingual image-text semantic fusion. During training, English, Urdu, and Chinese captions are randomly sampled for each batch, and a weighted fusion module with an image weight α = 0.9295 and a text weight β = 1.0685 is introduced.
This study also integrates LLaVA-1.6 (Mistral-7B) for query augmentation. The original captions averaged 5.21 words, while the generated target descriptions averaged 63.98 words, reaching an augmentation factor of 12.28×. Six ablation configurations (C1–C6) were used to verify the value of each system component, and Grad-CAM saliency visualization confirmed that the system focuses on semantically associated image regions when processing modified queries, supporting the interpretability of its retrieval decisions.
Key findings of this research are summarized below:
  • The CLIP text encoder records R@10 scores of 17.00% for English, 18.72% for Urdu, and 19.79% for Chinese queries on the zero-shot baseline.
  • The multilingual projection head trained via mixed-language sampling achieves stable, comparable recall rates across all three languages within a single unified model.
  • Stacking an untrained projection head with multilingual-e5-base and CLIP embeddings can impair model performance relative to an image-only baseline, confirming the necessity of a trained projection head to resolve spatial misalignment.
  • The fusion weights obtained through training, α=0.9295 and β=1.0685, outperform equal fixed weights, indicating that fusion weights benefit from training rather than a fixed symmetric assumption.
  • The query descriptions generated by LLaVA-1.6 are 12.28 times the length of the original captions; results show the projection head must be retrained on rich-description embeddings to avoid distribution mismatch between training and inference caption lengths.
  • Grad-CAM explainable visual verification confirms that when processing modified queries, the fashion retrieval system focuses on semantically related visual regions — pattern, color, and fabric — which can support the establishment of user trust.

6.2. Limitations

This study has four core limitations: first, the sample size for model training is limited, and training epochs are constrained by available compute, which affects the stability of the model’s performance; second, the dataset used in this study is sourced from a single domain, and the model’s cross-scenario generalization ability has not been verified; third, the interpretability assessment only covers the feature weight dimension, while other dimensions are not included in the evaluation; fourth, translation quality is verified via automatic metrics without supplementary human evaluation, leaving this gap to be addressed in future research.

6.3. Future Work

Future work includes: (1) full-scale LMM query enrichment across the complete FashionIQ training and validation sets, with projection head retraining on the resulting rich-caption embeddings; (2) expansion to additional languages such as Arabic, Hindi, French, and Spanish, leveraging the low-cost extensibility of multilingual-e5-base and M2M100; (3) fine-tuning the multilingual text encoder jointly with the projection head under a carefully controlled learning rate; (4) advanced fusion architectures such as cross-attention between image-text embeddings and dynamic, input-conditioned weight prediction; (5) systematic, quantitative explainability evaluation paired with standardized test sets and human-subject usability studies; (6) extension to other CIR benchmarks such as CIRR and Fashion200K to verify cross-domain generalization; and (7) deployment as a web-based multilingual fashion search interface supporting native-language queries, enabling collection of real-world user feedback for iterative optimization.

References

  1. N. Vo, L. Jiang, C. Sun, K. Murphy, L.-J. Li, L. Fei-Fei, and J. Baldridge, “Composing text and image for image retrieval - an empirical odyssey,” in Proc. IEEE/CVF Conf. Comput. Vis. Pattern Recognit. (CVPR), Long Beach, CA, USA, pp. 6439–6448, Jun. 2019.
  2. Baldrati, A.; Bertini, M.; Uricchio, T.; Del Bimbo, A. Effective conditioned and composed image retrieval combining CLIP-based features. Proc. IEEE/CVF Conf. Comput. Vis. Pattern Recognit. (CVPR), New Orleans, LA, USA, Jun. 2022; pp. 21466–21475. [Google Scholar]
  3. Baldrati; Bertini, M.; Uricchio, T.; Del Bimbo, A. Zero-shot composed image retrieval with textual inversion. Proc. IEEE/CVF Int. Conf. Comput. Vis. (ICCV), Paris, France, Oct. 2023; pp. 15338–15347. [Google Scholar]
  4. Wu, H.; Gao, Y.; Guo, X.; Al-Halah, Z.; Rennie, S.; Grauman, K.; Feris, R. Fashion IQ: A new dataset towards retrieving images by natural language feedback. Proc. IEEE/CVF Conf. Comput. Vis. Pattern Recognit. (CVPR), Nashville, TN, USA, Jun. 2021; pp. 11307–11317. [Google Scholar]
  5. Gu, J.; Cai, J.; Joty, S. R.; Niu, L.; Wang, G. ARTEMIS: Attention-based retrieval with text-explicit matching and implicit semantics. Proc. IEEE/CVF Int. Conf. Comput. Vis. (ICCV), Paris, France, Oct. 2023. [Google Scholar]
  6. Liu, Y.; Zhang, K.; Li, Y.; Yan, Z.; Gao, C.; Chen, R.; Sun, L. VAL: Visual arithmetic learning for composed image retrieval. Proc. IEEE/CVF Conf. Comput. Vis. Pattern Recognit. (CVPR), Nashville, TN, USA, Jun. 2021. [Google Scholar]
  7. Chen, J.; Hu, H.; Wu, H.; Jiang, Y.; Wang, C. Image search with text feedback by visiolinguistic attention learning. Proc. IEEE/CVF Conf. Comput. Vis. Pattern Recognit. (CVPR), Seattle, WA, USA, Jun. 2020; pp. 3001–3011. [Google Scholar]
  8. Fan, M.; Wu, A.; Li, Z.; Zheng, W.-S.; Luo, J. Composed image retrieval with text feedback via multi-grained uncertainty regularization. Proc. IEEE/CVF Int. Conf. Comput. Vis. (ICCV), Paris, France, Oct. 2023; pp. 15804–15814. [Google Scholar]
  9. Liu, S.; Fan, H.; Hua, X.-S. CIRR: Image retrieval on real-life images with a novel composition method. Proc. IEEE/CVF Int. Conf. Comput. Vis. (ICCV), Montreal, QC, Canada, Oct. 2021; pp. 1036–1045. [Google Scholar]
  10. Guo, X.; Wu, H.; Cheng, Y.; Rennie, S.; Tesauro, G.; Feris, R. The FashionIQ challenge: Understanding user intent in fashion image retrieval. arXiv 2019, arXiv:1905.12794. [Google Scholar]
  11. A. Radford, J. W. Kim, C. Hallacy, A. Ramesh, G. Goh, S. Agarwal, G. Sastry, A. Askell, P. Mishkin, J. Clark, G. Krueger, and I. Sutskever, “Learning transferable visual models from natural language supervision,” in Proc. 38th Int. Conf. Mach. Learn. (ICML), vol. 139, pp. 8748–8763, Jul. 2021.
  12. Dosovitskiy, A.; Beyer, L.; Kolesnikov, A.; Weissenborn, D.; Zhai, X.; Unterthiner, T.; Dehghani, M.; Minderer, M.; Heigold, G.; Gelly, S.; Uszkoreit, J.; Houlsby, N. An image is worth 16x16 words: Transformers for image recognition at scale. Int. Conf. Learn. Representations (ICLR), Vienna, Austria, May 2021. [Google Scholar]
  13. Li, J.; Li, D.; Xiong, C.; Hoi, S. BLIP: Bootstrapping language-image pre-training for unified vision-language understanding and generation. Proc. 39th Int. Conf. Mach. Learn. (ICML), Baltimore, MD, USA, Jul. 2022; pp. 12888–12900. [Google Scholar]
  14. Jia, Y. Yang, Y. Xia, Y.-T. Chen, Z. Parekh, H. Pham, Q. V. Le, Y. Sung, Z. Li, and T. Duerig, “Scaling up visual and vision-language representation learning with noisy text supervision,” in Proc. 38th Int. Conf. Mach. Learn. (ICML), vol. 139, pp. 4904–4916, Jul. 2021.
  15. Girdhar, R.; El-Nouby, A.; Liu, Z.; Singh, M.; Alwala, K. V.; Joulin, A.; Misra, I. ImageBind: One embedding space to bind them all. Proc. IEEE/CVF Conf. Comput. Vis. Pattern Recognit. (CVPR), Vancouver, BC, Canada, Jun. 2023; pp. 15180–15190. [Google Scholar]
  16. Schuhmann, et al. LAION-5B: An open large-scale dataset for training next generation image-text models. Adv. Neural Inf. Process. Syst. 2022, 35, 25278–25294. [Google Scholar] [CrossRef]
  17. Bain, M.; Nagrani, A.; Zisserman, A.; Vedaldi, A. Frozen in time: A joint video and image encoder for end-to-end retrieval. Proc. IEEE/CVF Int. Conf. Comput. Vis. (ICCV), Montreal, QC, Canada, Oct. 2022; pp. 1728–1738. [Google Scholar]
  18. Gao, P.; Geng, S.; Zhang, R.; Ma, T.; Fang, R.; Zhang, Y.; Li, H.; Qiao, Y. CLIP-Adapter: Better vision-language models with feature adapters. arXiv 2021, arXiv:2110.04544. [Google Scholar]
  19. Faghri, F.; Fleet, D. J.; Kiros, J. R.; Fidler, S. VSE++: Improving visual-semantic embeddings with hard negatives. Proc. Brit. Mach. Vis. Conf. (BMVC), London, UK, Sep. 2018. [Google Scholar]
  20. Lee, K.-H.; Chen, X.; Hua, G.; Hu, H.; He, X. Stacked cross attention for image-text matching. Proc. Eur. Conf. Comput. Vis. (ECCV), Munich, Germany, Sep. 2018; pp. 201–216. [Google Scholar]
  21. Devlin, J.; Chang, M.-W.; Lee, K.; Toutanova, K. BERT: Pre-training of deep bidirectional transformers for language understanding. Proc. NAACL-HLT, Minneapolis, MN, USA, Jun. 2019; pp. 4171–4186. [Google Scholar]
  22. Conneau, A.; et al. Unsupervised cross-lingual representation learning at scale. Proc. 58th Annu. Meeting Assoc. Comput. Linguist. (ACL), Online, Jul. 2020; pp. 8440–8451. [Google Scholar]
  23. Conneau and G. Lample, “Cross-lingual language model pretraining,” Adv. Neural Inf. Process. Syst., vol. 32, Vancouver, BC, Canada, Dec. 2019.
  24. Wang, L.; Yang, N.; Huang, X.; Jiao, B.; Yang, L.; Jiang, D.; Majumder, R.; Wei, F. Text embeddings by weakly-supervised contrastive pre-training. arXiv 2022, arXiv:2212.03533. [Google Scholar]
  25. Reimers, N.; Gurevych, I. Making monolingual sentence embeddings multilingual using knowledge distillation. Proc. 2020 Conf. Empirical Methods Natural Lang. Process. (EMNLP), Online, Nov. 2020; pp. 4512–4525. [Google Scholar]
  26. Reimers, N.; Gurevych, I. Sentence-BERT: Sentence embeddings using Siamese BERT-networks. Proc. 2019 Conf. Empirical Methods Natural Lang. Process. (EMNLP), Hong Kong, China, Nov. 2019; pp. 3982–3992. [Google Scholar]
  27. Su, Y.; Lan, T.; Liu, Y.; Lynch, R.; Xu, Y.; Collier, N. One embedder, any task: Instruction-finetuned text embeddings. arXiv 2022, arXiv:2212.09741. [Google Scholar]
  28. Liu, Y.; et al. RoBERTa: A robustly optimized BERT pretraining approach. arXiv 2019, arXiv:1907.11692. [Google Scholar]
  29. Ni, J.; Abrego, G. H.; Constant, N.; Ma, J.; Hall, K. B.; Cer, D.; Yang, Y. Sentence-T5: Scalable sentence encoders from pre-trained text-to-text models. arXiv 2021, arXiv:2108.08877. [Google Scholar]
  30. T. Mikolov, I. Sutskever, K. Chen, G. S. Corrado, and J. Dean, “Distributed representations of words and phrases and their compositionality,” Adv. Neural Inf. Process. Syst., vol. 26, Lake Tahoe, NV, USA, Dec. 2013. Dec.
  31. A. Vaswani et al., “Attention is all you need,” Adv. Neural Inf. Process. Syst., vol. 30, Long Beach, CA, USA, Dec. 2017. Dec.
  32. Bahdanau, D.; Cho, K.; Bengio, Y. Neural machine translation by jointly learning to align and translate. Int. Conf. Learn. Representations (ICLR), San Diego, CA, USA, May 2015. [Google Scholar]
  33. Fan, et al. Beyond English-centric multilingual machine translation. J. Mach. Learn. Res. 2021, 22, 1–48. [Google Scholar]
  34. Wu, Y.; et al. Google’s neural machine translation system: Bridging the gap between human and machine translation. arXiv 2016, arXiv:1609.08144. [Google Scholar]
  35. Johnson, M.; et al. Google’s multilingual neural machine translation system: Enabling zero-shot translation. Trans. Assoc. Comput. Linguist. 2017, 5, 339–351. [Google Scholar] [CrossRef]
  36. Sennrich, R.; Haddow, B.; Birch, A. Neural machine translation of rare words with subword units. Proc. 54th Annu. Meeting Assoc. Comput. Linguist. (ACL), Berlin, Germany, Aug. 2016; pp. 1715–1725. [Google Scholar]
  37. Tiedemann, M.; Thottingal, S. OPUS-MT: Building open translation services for the world. Proc. 22nd Annu. Conf. Eur. Assoc. Mach. Transl. (EAMT), Lisboa, Portugal, Nov. 2020; pp. 479–480. [Google Scholar]
  38. Papineni, K.; Roukos, S.; Ward, T.; Zhu, W.-J. BLEU: A method for automatic evaluation of machine translation. Proc. 40th Annu. Meeting Assoc. Comput. Linguist. (ACL), Philadelphia, PA, USA, Jul. 2002; pp. 311–318. [Google Scholar]
  39. H. Liu, C. Li, Q. Wu, and Y. J. Lee, “Visual instruction tuning,” Adv. Neural Inf. Process. Syst., vol. 36, New Orleans, LA, USA, Dec. 2024.
  40. Liu, H.; Li, C.; Shen, B.; Lee, Y. J. LLaVA-1.5: Improved baselines with visual instruction tuning. Proc. IEEE/CVF Conf. Comput. Vis. Pattern Recognit. (CVPR), Seattle, WA, USA, Jun. 2024. [Google Scholar]
  41. Touvron, H.; et al. LLaMA: Open and efficient foundation language models. arXiv 2023, arXiv:2302.13971. [Google Scholar]
  42. Jiang, A. Q.; et al. Mistral 7B. arXiv 2023, arXiv:2310.06825. [Google Scholar]
  43. OpenAI, GPT-4 technical report. arXiv 2023, arXiv:2303.08774.
  44. T. Dettmers, A. Pagnoni, A. Holtzman, and L. Zettlemoyer, “QLoRA: Efficient finetuning of quantized LLMs,” Adv. Neural Inf. Process. Syst., vol. 36, New Orleans, LA, USA, Dec. 2023. Dec.
  45. Li, J.; Li, D.; Savarese, S.; Hoi, S. BLIP-2: Bootstrapping language-image pre-training with frozen image encoders and large language models. Proc. 40th Int. Conf. Mach. Learn. (ICML), Honolulu, HI, USA, Jul. 2023; pp. 19730–19742. [Google Scholar]
  46. Zhu; Chen, J.; Shen, X.; Li, X.; Elhoseiny, M. MiniGPT-4: Enhancing vision-language understanding with advanced large language models. arXiv 2023, arXiv:2304.10592. [Google Scholar]
  47. Selvaraju, R. R.; Cogswell, M.; Das, A.; Vedantam, R.; Parikh, D.; Batra, D. Grad-CAM: Visual explanations from deep networks via gradient-based localization. Proc. IEEE Int. Conf. Comput. Vis. (ICCV), Venice, Italy, Oct. 2017; pp. 618–626. [Google Scholar]
  48. Simonyan, K.; Vedaldi, A.; Zisserman, A. Deep inside convolutional networks: Visualising image classification models and saliency maps. in Workshop at Int. Conf. Learn. Representations (ICLR), Banff, AB, Canada, Apr. 2014. [Google Scholar]
  49. Springenberg, J. T.; Dosovitskiy, A.; Brox, T.; Riedmiller, M. Striving for simplicity: The all convolutional net. in Workshop at Int. Conf. Learn. Representations (ICLR), San Diego, CA, USA, May 2015. [Google Scholar]
  50. Ribeiro, M. T.; Singh, S.; Guestrin, C. Why should I trust you?’: Explaining the predictions of any classifier. Proc. 22nd ACM SIGKDD Int. Conf. Knowl. Discovery Data Mining, San Francisco, CA, USA, Aug. 2016; pp. 1135–1144. [Google Scholar]
  51. S. M. Lundberg and S.-I. Lee, “A unified approach to interpreting model predictions,” Adv. Neural Inf. Process. Syst., vol. 30, Long Beach, CA, USA, Dec. 2017. Dec.
  52. Zhou; Khosla, A.; Lapedriza, A.; Oliva, A.; Torralba, A. Learning deep features for discriminative localization. Proc. IEEE Conf. Comput. Vis. Pattern Recognit. (CVPR), Las Vegas, NV, USA, Jun. 2016; pp. 2921–2929. [Google Scholar]
  53. Smilkov; Thorat, N.; Kim, B.; Viégas, F.; Wattenberg, M. SmoothGrad: Removing noise by adding noise. arXiv 2017, arXiv:1706.03825. [Google Scholar]
  54. Sundararajan, M.; Taly, A.; Yan, Q. Axiomatic attribution for deep networks. Proc. 34th Int. Conf. Mach. Learn. (ICML), Sydney, NSW, Australia, Aug. 2017; pp. 3319–3328. [Google Scholar]
  55. Liu, Z.; Luo, P.; Qiu, S.; Wang, X.; Tang, X. DeepFashion: Powering robust clothes recognition and retrieval with rich annotations. Proc. IEEE Conf. Comput. Vis. Pattern Recognit. (CVPR), Las Vegas, NV, USA, Jun. 2016; pp. 1096–1104. [Google Scholar]
  56. Xiao, H.; Rasul, K.; Vollgraf, R. Fashion-MNIST: A novel image dataset for benchmarking machine learning algorithms. arXiv 2017, arXiv:1708.07747. [Google Scholar]
  57. He, K.; Zhang, X.; Ren, S.; Sun, J. Deep residual learning for image recognition. Proc. IEEE Conf. Comput. Vis. Pattern Recognit. (CVPR), Las Vegas, NV, USA, Jun. 2016; pp. 770–778. [Google Scholar]
  58. Chen, T.; Kornblith, S.; Norouzi, M.; Hinton, G. A simple framework for contrastive learning of visual representations. Proc. 37th Int. Conf. Mach. Learn. (ICML), Vienna, Austria, Jul. 2020; pp. 1597–1607. [Google Scholar]
  59. Loshchilov; Hutter, F. Decoupled weight decay regularization. Int. Conf. Learn. Representations (ICLR), New Orleans, LA, USA, May 2019. [Google Scholar]
  60. Kingma, P.; Ba, J. Adam: A method for stochastic optimization. Int. Conf. Learn. Representations (ICLR), San Diego, CA, USA, May 2015. [Google Scholar]
  61. Lin, T.-Y.; et al. Microsoft COCO: Common objects in context. Proc. Eur. Conf. Comput. Vis. (ECCV), Zurich, Switzerland, Sep. 2014; pp. 740–755. [Google Scholar]
  62. Young, P.; Lai, A.; Hodosh, M.; Hockenmaier, J. From image descriptions to visual denotations: New similarity metrics for semantic inference over event descriptions. Trans. Assoc. Comput. Linguist. 2014, 2, 67–78. [Google Scholar] [CrossRef]
  63. Srivastava, N.; Hinton, G.; Krizhevsky, A.; Sutskever, I.; Salakhutdinov, R. Dropout: A simple way to prevent neural networks from overfitting. J. Mach. Learn. Res. 2014, 15, 1929–1958. [Google Scholar]
  64. A. Frome, G. S. Corrado, J. Shlens, S. Bengio, J. Dean, M. Ranzato, and T. Mikolov, “DeViSE: A deep visual-semantic embedding model,” Adv. Neural Inf. Process. Syst., vol. 26, Lake Tahoe, NV, USA, Dec. 2013.
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.
Copyright: This open access article is published under a Creative Commons CC BY 4.0 license, which permit the free download, distribution, and reuse, provided that the author and preprint are cited in any reuse.