Tagged articles

Bi-Encoder

5 articles · Page 1 of 1
Code Mala Tang
Code Mala Tang
Jun 25, 2026 · Artificial Intelligence

Why Rerank Is Essential: From 100 Retrieved Docs to the 5 Correct Answers in RAG

Even with a perfectly populated vector database, a RAG pipeline often returns irrelevant answers because the initial Bi‑encoder retrieval only narrows the pool to about 100 candidates, and without a Cross‑encoder rerank step the truly correct document—often buried around rank 37—never reaches the LLM for answering.

Bi-EncoderCross‑EncoderEmbedding
0 likes · 9 min read
Why Rerank Is Essential: From 100 Retrieved Docs to the 5 Correct Answers in RAG
AI Algorithm Path
AI Algorithm Path
May 21, 2026 · Artificial Intelligence

Essential Ranking Techniques Every RAG Engineer Must Know

This article explains why ranking is the decisive factor behind successful Retrieval‑Augmented Generation (RAG) pipelines, walks through pointwise, pairwise, and listwise learning‑to‑rank paradigms, details key algorithms such as LambdaMART, compares cross‑encoders with bi‑encoders, and provides practical guidance on metrics, production‑grade rerankers, model fine‑tuning, and framework integration.

Bi-EncoderCross‑EncoderLLM
0 likes · 22 min read
Essential Ranking Techniques Every RAG Engineer Must Know
AI Engineer Programming
AI Engineer Programming
May 14, 2026 · Artificial Intelligence

RAG Retrieval: Comparing Bi-encoder and Cross-encoder Architectures

The article reviews the three‑step RAG pipeline, explains why retrieval quality hinges on fast, accurate semantic matching, contrasts Bi-encoder’s offline vector indexing and speed with Cross-encoder’s token‑level interaction and higher precision, and discusses hybrid solutions such as ColBERT and LLM rerankers with practical engineering guidelines.

Bi-EncoderColBERTCross‑Encoder
0 likes · 10 min read
RAG Retrieval: Comparing Bi-encoder and Cross-encoder Architectures
Wu Shixiong's Large Model Academy
Wu Shixiong's Large Model Academy
Apr 6, 2026 · Artificial Intelligence

Why Rerank Beats Simple Retrieval in RAG: Practical Tips & Code

This article explains the limitations of Bi‑Encoder retrieval, introduces Cross‑Encoder rerankers, shows how a cascade of recall‑rerank‑generation improves answer quality, and provides concrete code, threshold‑filtering strategies, and domain‑specific fine‑tuning techniques for industrial RAG systems.

AI RetrievalBi-EncoderCross‑Encoder
0 likes · 20 min read
Why Rerank Beats Simple Retrieval in RAG: Practical Tips & Code
Smart Era Software Development
Smart Era Software Development
Oct 31, 2024 · Artificial Intelligence

How D2LLM and Codefuse‑CGE Are Redefining Search with Large Language Models

The article analyzes D2LLM’s teacher‑student bi‑encoder architecture and Codefuse‑CGE’s PMA‑enhanced code embedding, showing how both models surpass BERT dual encoders and LLM cross‑encoders in accuracy, efficiency, and storage cost across semantic and code search benchmarks.

Bi-EncoderCode EmbeddingLarge Language Models
0 likes · 7 min read
How D2LLM and Codefuse‑CGE Are Redefining Search with Large Language Models