COS-Mix: Cosine Similarity and Distance Fusion for Improved Information Retrieval
This is an English summary of a Chinese forum post discussing the arXiv paper COS-Mix: Cosine Similarity and Distance Fusion for Improved Information Retrieval (June 2024, arXiv:2406.00638) by Kush Juvekar and Anupam Purwar. The entry is indexed under the "Hybrid search vs vector search" section of a curated IR reading list.
Key points
- Problem domain: Information retrieval for large-scale search, recommendation, and personalization systems, where traditional pipelines that separate retrieval, ranking, and generation struggle to meet LLM-era demands for natural language interaction, multi-hop reasoning, and real-time knowledge.
- Core idea: COS-Mix fuses cosine similarity with distance-based measures, aiming to combine the strengths of both similarity scoring approaches for better retrieval quality.
- Positioning: The work sits at the intersection of neural IR research and modern hybrid (sparse + dense) retrieval systems, alongside related industry work such as Azure AI Search's hybrid retrieval and Facebook Scoped Search's keyword + embedding fusion.
- Datasets: MS MARCO, BEIR, Natural Questions, domain corpora.
- Metrics: nDCG@10, MRR, Recall@k, Hit@k, task success rate, latency and token cost.
- Baselines: BM25, dense retrieval, cross-encoder reranking, retrieval-free LLMs, commercial search APIs.
- IR: Information Retrieval
- RAG: Retrieval-Augmented Generation
- LTR: Learning to Rank
- nDCG: Normalized Discounted Cumulative Gain
- Agentic Search: search modeled as sequential decision-making and tool calling
- Gen-IR: Generative Information Retrieval
- Paper: COS-Mix: Cosine Similarity and Distance Fusion for Improved Information Retrieval, arXiv, June 2024.
- Azure AI Search: Outperforming vector search with hybrid retrieval
- Deep Retrieval at CheckThat! 2025: Identifying Scientific Papers
- Domain-specific Question Answering with Hybrid Search (arXiv 2412.03736)
- Efficient Knowledge Graph Construction and Retrieval from Unstructured Data (arXiv 2507.03226)
- Hybrid Hierarchical Retrieval for Open-Domain Question Answering
- Modernizing Facebook Scoped Search: Keyword and Embedding Hybrid Retrieval (arXiv 2509.13603)
Typical method pipeline described in the post
1. Input & representation: encode queries, documents, and user context into dense or sparse representations. 2. Core modules: retrievers, rerankers, planners, memory modules, tool interfaces. 3. Learning strategies: supervised fine-tuning, contrastive learning, distillation, RL, synthetic data. 4. Inference strategies: single-pass retrieval, iterative retrieval, parallel sub-queries, early stopping and budget control.
Evaluation setup referenced
> Note: exact quantitative results should be verified against the original paper's PDF; this post is based on the abstract and public metadata.
Insights for search / recommendation / personalization
1. Architecture: cascaded retrieval + rerank + generation remains mainstream, but agentic paradigms are making retrieval count and policy themselves learnable. 2. Data: high-quality instruction data and click/session logs remain critical; synthetic data needs safeguards against leakage and distribution shift. 3. Evaluation: the gap between offline metrics and online satisfaction is widening; LLM-as-judge needs cross-validation with human assessment. 4. Product: latency, cost, explainability, and safety are hard constraints for industrial deployment.
Engineering checklist
| Check | Question | Recommendation | |-------|----------|----------------| | Data | PII in training/index? Versioning? | Partitioned indexes, anonymization, rollback-capable embedding versions | | Latency | p99 budget? Retrieval steps? | Cascades + early stop, query caching, async rerank | | Quality | Do offline gains translate to online CTR/satisfaction? | Interleaving experiments, human audits, citation checks | | Security | Poisoning/bias from open retrieval? | Source whitelists, adversarial detection, output filtering | | Cost | Token and GPU cost per query? | Small-model routing, distillation, hybrid sparse+dense |