QUPID: Quantified Understanding for Enhanced Performance, Insights, and Decisions in Korean Search Engines

Ohjoon Kwon, Changsu Lee, Jihye Back, Lim Sun Suk, Inho Kang, Donghyeon Jeon

TL;DR

This paper introduces QUPID, a novel approach for relevance assessment in Korean search engines that combines two distinct small language models (SLMs) – one generative and one embedding-based. QUPID achieves superior accuracy and significantly faster inference times compared to state-of-the-art large language models (LLMs), making it a scalable and efficient solution for real-world search systems.

What Problem Does This Paper Address?

Information Retrieval (IR) systems heavily rely on accurately assessing the relevance of documents to user queries. While Large Language Models (LLMs) have shown impressive capabilities in this area due to their strong contextual understanding, deploying them in production search engines faces significant hurdles. The primary challenges are high latency and substantial computational costs, making real-time processing of millions of queries impractical. Furthermore, LLMs can struggle with multilingual tasks, particularly Korean.

Existing solutions using Small Language Models (SLMs) are more efficient but often lack the expressive power of LLMs for complex queries. Current SLM ensemble methods typically use multiple instances of the same model architecture, failing to leverage the complementary strengths of different model types. This paper addresses the need for a relevance assessment system that is both highly accurate and computationally efficient, especially for Korean language search.

Methods

The core of QUPID is a heterogeneous ensemble of two architecturally distinct SLMs:

  • QUPIDGEN (Generative SLM): This model is fine-tuned to output one of three special tokens representing relevance categories (Highly Relevant, Low Relevance, Not Relevant). It leverages the log probabilities of these tokens to derive a relevance score, providing a nuanced understanding of the model's confidence.
  • QUPIDEMB (Embedding-based SLM): This model extracts token-level hidden state embeddings from query-document pairs. It then uses mean pooling to obtain a fixed-size representation, which is passed through a linear transformation to generate a relevance score.

These two models are combined using a weighted averaging ensemble. The final relevance score is a weighted sum of the scores from QUPIDGEN and QUPIDEMB. The weights are tuned on a validation set to optimize performance. This approach aims to combine the explicit, contextual reasoning of generative models with the implicit, semantic similarity signals from embedding models.

Datasets

The paper describes the curation of a dataset for training and evaluation, comprising approximately 1 million query-document pairs. This dataset includes:

  • Real-world document data: Collected from snippets, user-generated content, and general web documents.
  • Synthetic hard-negative samples: Generated to improve model robustness by creating documents that are superficially similar but semantically off-topic.

The models were fine-tuned on the HCX-S dataset, described as a state-of-the-art instruct-tuned model known for its performance in Korean-language tasks. Evaluation was performed on test sets comprising snippet-style web content, user-generated content, and general web documents.

Key Insights and Ideas

  • Architectural Diversity is Key: Combining SLMs with different architectures (generative vs. embedding-based) yields better results than ensembles of similar models. This heterogeneity allows for capturing complementary signals.
  • SLMs Can Outperform LLMs (in specific contexts): For tasks like relevance assessment in Korean search, a well-designed SLM ensemble can surpass the performance of larger, general-purpose LLMs, especially when considering efficiency.
  • Generative + Embedding Synergy: The combination of explicit generation-based judgments and implicit similarity-based signals leads to more robust and accurate relevance assessments.
  • Efficiency Matters for Production: The significant speedup offered by QUPID makes it a practical choice for large-scale, real-time search systems where LLMs are currently too slow.
  • Temperature Tuning for Generative Models: The paper highlights that for fine-tuned generative models, a higher inference temperature (around 3.0) can lead to better results by allowing for a more nuanced aggregation of token probabilities, rather than over-confidence in a single token.

Key Results

  • Accuracy: QUPID achieved a Cohen's Kappa of 0.646, significantly outperforming leading LLMs (average 0.387) and SLM ensembles.
  • Efficiency: QUPID offers up to 60x faster inference times (62ms vs. 3258ms for LLMs), making it highly scalable.
  • Production Impact: When integrated into production pipelines, QUPID improved nDCG@5 scores by 1.9%, demonstrating real-world utility.
  • Robustness: The model showed consistent performance improvements across diverse document types.

Limitations and Future Work

  • Text Modality Only: The current QUPID approach is limited to text-based relevance assessment and does not incorporate multimodal capabilities (images, videos), which are increasingly important in modern search.
  • Limited Feature Scope: The model primarily focuses on relevance. Future work could incorporate other factors like readability, aesthetics, and trustworthiness for a more comprehensive quality assessment.
  • Multimodal Expansion: The authors suggest expanding the approach to handle multimodal content.
  • Richer Feature Representations: Incorporating more diverse feature representations could further enhance the model's capabilities.

Summary updated

BibTeX
@inproceedings{kwon2025qupid,
  author = {Ohjoon Kwon and Changsu Lee and Jihye Back and Lim Sun Suk and Inho Kang and Donghyeon Jeon},
  title = {{QUPID: Quantified Understanding for Enhanced Performance, Insights, and Decisions in Korean Search Engines}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2025},
}
Figure