Harnessing Multimodal Large Language Models for Personalized Product Search with Query-aware Refinement

Beibei Zhang, Yanan Lu, Ruobing Xie, Zongyi Li, Siyuan Xing, Tongwei Ren, Fen Lin

Introduction

Personalized Product Search (PPS) is a cornerstone of modern e-commerce, designed to surface the most relevant items for a user by synthesizing their current search query with their historical purchase behavior. Historically, this task has been dominated by two paradigms: ID-based methods and text-centric Large Language Model (LLM) methods.

ID-based methods represent users and products as unique embeddings. While computationally efficient, they are prone to "cold start" issues with new items and fail to capture the rich semantic information found in product imagery and descriptions. Conversely, LLM-based methods leverage semantic understanding but are often restricted to text, ignoring the visual cues that are vital to consumer decision-making. Furthermore, raw product data is frequently cluttered with irrelevant metadata and HTML tags, which can degrade model performance through "hallucinations" or excessive computational overhead.

To address these challenges, we present HMPPS (Harnessing Multimodal Large Language Models for Personalized Product Search), a framework that integrates visual and textual data through a query-aware refinement process to achieve state-of-the-art search accuracy.

The HMPPS Framework

The HMPPS framework introduces three primary innovations to optimize the use of Multimodal Large Language Models (MLLMs) in search contexts:

1. MLLM-based Reranker

At its core, HMPPS utilizes InternVL2-1B as a backbone. The system frames product search as a language understanding task. Given a prompt containing the user's history, the current query, and a candidate product (comprising both text and image), the model predicts the likelihood of a purchase. This allows the model to reason across modalities to determine relevance.

2. Perspective-guided Summarization

To mitigate the noise inherent in raw product descriptions, HMPPS employs an offline summarization step using a larger LLM (Qwen2.5-14B). Rather than generating a generic summary, the model identifies "core perspectives"—such as durability, compatibility, or material—that are specifically relevant to the search query. It then rewrites descriptions to highlight these attributes, effectively filtering out "junk" data while preserving essential information.

3. Two-stage Training and History Filtering

MLLMs are often constrained by limited context windows, making it difficult to process a user's entire purchase history simultaneously. HMPPS addresses this with a two-stage approach:

  • Stage 1: The model is trained on a random subset of user history to develop general representations.
  • Selection: This "warm" model encodes the query and history items, allowing the system to select only the most relevant past purchases based on vector similarity.
  • Stage 2: The MLLM is fine-tuned on this refined, high-quality history, resulting in higher accuracy and more efficient inference.

Experimental Evaluation

Datasets and Baselines

The researchers evaluated HMPPS using the 5-core Amazon product search dataset across four diverse categories: Office Products, Cell Phones & Accessories, Beauty, and Sports & Outdoors. Performance was compared against traditional ID-based models (e.g., UniSAR, HEM) and text-only LLM models (e.g., InstructRec).

Key Results

  • Superior Accuracy: HMPPS demonstrated significant improvements across all primary metrics, including MRR, NDCG, and Recall. Notably, on the "Cell Phones" dataset, HMPPS improved the Mean Reciprocal Rank (MRR) by over 22% compared to the UniSAR baseline.
  • Data Efficiency: Due to the robust pre-training of MLLMs, HMPPS achieved state-of-the-art results using only 10% of the training data required by traditional models.
  • The Power of Visuals: Experiments confirmed that the inclusion of images (Text + Vision) consistently outperformed text-only configurations, proving that visual data provides a critical, complementary signal to textual descriptions.
  • Impact of Summarization: Shortening descriptions through perspective-guided summarization did more than just save compute; it improved accuracy by removing distracting metadata and reducing model hallucination.

Real-world Deployment

The HMPPS framework was deployed on a live online search platform serving billions of daily active users. In A/B testing, the system achieved a 0.53% gain in query-CTR (Click-Through Rate) and a 0.77% increase in efficient clicks. To meet production requirements, the model was distilled into a smaller variant, achieving an inference latency of just 22 microseconds for ranking 10 candidate items.

Conclusion and Future Work

HMPPS demonstrates that MLLMs can be effectively harnessed for personalized search by focusing on data quality and history refinement. While the current offline summarization and two-stage selection processes are highly effective, future research will explore end-to-end history selection and finer-grained cross-modal alignment to further enhance the system's ability to handle complex search intents.

Summary updated

BibTeX
@inproceedings{zhang2025harnessing,
  author = {Beibei Zhang and Yanan Lu and Ruobing Xie and Zongyi Li and Siyuan Xing and Tongwei Ren and Fen Lin},
  title = {{Harnessing Multimodal Large Language Models for Personalized Product Search with Query-aware Refinement}},
  booktitle = {ACM Multimedia},
  year = {2025},
  doi = {10.1145/3746027.3754898},
}
Figure