CPU, GPU AND RAM

CPU reranking case: Spanish MIRACL quality versus waiting time

In this article
THE QUICK TAKE

The owner report shows a concrete CPU quality/latency trade-off; candidate depth and model comparisons must retain the same corpus and question IDs.

A measured CPU case, with a reduced corpus

Javier Cañete’s local reranking report describes an ARM virtual machine shared with other jobs, without a GPU. On 300 Spanish MIRACL questions, reranking 20 candidates with BGE raised nDCG@10 from 0.805 to 0.850. The reported median reranking time was 3.04 seconds. These are the author’s measurements under that installation’s conditions.

The practical question is whether the ranking improvement fits a complete request budget. A CPU result can inform that question without becoming a GPU performance estimate. Preserve the processor allocation, passage lengths, quantized model artifact, and serving settings before comparing another deployment.

Candidate depth depends on first-stage coverage

The report finds that increasing the candidate list from 20 to 50 did not improve its BGE ranking score, while processing about 2.7 times as many tokens. That result applies to the tested first stage and corpus. It does not establish an optimal depth for a collection whose relevant passages initially appear much farther down the list.

The existing reranker candidate-depth guide explains this constraint. A proposed reproduction should preserve first-stage candidate IDs, not merely ask a new database for the same number of rows. Reordering a supplied list and recovering evidence absent from that list are different operations.

Check exact retrieval and approximate retrieval separately

The pinned pgvector documentation distinguishes exact nearest-neighbor search from approximate indexes. Its HNSW search breadth controls a quality/speed trade-off. Consequently, an SQL result limit alone does not describe the approximate retrieval work or prove the requested candidate coverage.

Before attributing an improvement to rescoring, record the actual returned row count and retrieval mode. Compare against the same initial candidate set when isolating the reranker. If first-stage search settings change simultaneously, label the result as a pipeline comparison. This is especially important when candidate truncation or filtering changes which passages can ever reach the second stage.

Keep score semantics and evaluation subsets visible

The BGE model card describes query–passage scoring and optional sigmoid normalization. A raw relevance score is therefore not automatically comparable with another model’s output scale. A shared numeric cutoff requires a separate calibration decision, even if both systems return an ordered list.

The report also uses different question subsets for some model and candidate-depth comparisons. Recompute paired differences on the common query IDs before presenting a ranking between models. Preserve unsuccessful requests and questions made worse by reranking alongside improvements. The benchmark methodology guide supplies related reporting context. For a new application, retain the quality gain, complete waiting time, and memory behavior together. This case supports testing CPU rescoring as a specific trade-off, while leaving language transfer, larger-corpus behavior, and concurrent service capacity to further measurement.

Earn rental income from GPUs

Have idle GPUs or looking to fund AI infrastructure? Retrivium finds a rental platform, sets up the server and helps you assess income and costs with a pilot.

Explore GPU hosting
← All articles