arXiv paper· machine learning systems (LLM inference serving)· method paper

Efficient Iterative Retrieval with Heterogeneous Batching

Dohyun Park, Hubertus Franke, Daniel G. Waddington, Swaminathan Sundararaman, Yongjoo Park

cs.AI · cs.CL

Quick verdict

Orthrus unifies embedding+generation batching via chunked pooling and credit scheduling; gains shrink from 4.5x (controlled) to ~14% vs best RAG baseline.

Summary

The paper presents Orthrus, a serving system that co-executes embedding and generation requests in a single inference loop on shared GPUs, targeting iterative-RAG pipelines where the two workload types alternate. Built on vLLM 0.92 without changing memory management, Orthrus introduces (1) chunked embedding with incremental pooling, which splits embedding inputs into token chunks while maintaining O(d) additive state so chunks can share forward passes with decode steps, and (2) Intra-Batch Scheduling, a credit-based algorithm that allocates batch capacity proportionally to each queue's outstanding token backlog, providing per-type FCFS and starvation-freedom. On four A100-40GB GPUs with Mistral-7B plus an e5 LoRA adapter, Orthrus reports 1.28x-4.52x higher combined throughput than static GPU splits on controlled fixed-ratio workloads, and on an Iter-RetGen/2WikiMultihopQA benchmark 0.624 req/s at four GPUs versus 0.548 for unified-homogeneous batching, with up to 55.8% lower end-to-end p99 latency than the dedicated baseline. Pooling equivalence (cosine >0.9999) and parameter sweeps are provided, plus a separate-model test on one A40. Main limitations: realistic gains over the strongest baselines are modest (~14%), evaluation uses fixed-length synthetic workloads plus a single RAG pipeline and dataset, models cap at 10 billion parameters, and no variance or significance testing is reported.

Review complete

Assessment at a glance

machine learning systems (LLM inference serving)

5

risk flags identified

● high 0

● medium 2

● low 3

Reproducibility readinesshigh
Code & data availableyes
Review confidencehigh
AI text signal0/20 passages flagged
Deep research viableCode-reproducibleNeeds GPU

5 strengths · 5 weaknesses · 5 author questions

AI text signal = Binoculars zero-shot detector score over 20 sampled passages (Fast-DetectGPT co-reported) — absence does not prove human authorship, and a flag does not imply misconduct.

Levels reflect verification complexity — not a quality score. Evolve never rates your paper.

Key claims under review

  • Executing embedding and generation requests together in one inference loop (heterogeneous batching) eliminates computational bubbles that both static GPU partitioning and same-GPU homogeneous batching incur on iterative-RAG workloads.
  • Chunked embedding with incremental pooling lets embedding inputs share forward passes with decode steps while remaining algebraically equivalent to single-pass pooling up to floating-point reduction order.
  • Intra-Batch Scheduling allocates capacity proportionally to queue token backlogs, providing per-type FCFS and starvation-freedom, and delivers up to 55.8% lower end-to-end p99 latency than dedicated GPU splits on the RAG benchmark.
  • Relative to static GPU splits, Orthrus achieves 1.28x-4.52x higher combined throughput on controlled fixed-ratio workloads on four A100 GPUs, with the approach validated across three model families and LoRA ranks up to 64.

Strengths

  • Chunked embedding is exact, not approximate

    Appendix A.1 / Table 7 validates incremental pooling against single-pass pooling across 9 configurations (mean, CLS, weighted-mean heads x chunk sizes 256/512/1024): minimum cosine similarity >0.9999 and relative L2 error <1%, attributable only to floating-point reduction order.

  • Ablation hygiene well above systems average

    Baselines in Table 2 decompose the design (Dedicated / Disagg-PD / Unified-Homo / Unified-Hetero), so heterogeneous batching and IBS are separately measurable; A.2 sweeps chunk size (128-1024) and token budget (2048-8192) with <1% throughput variation; A.3 isolates the packing mechanism in simulation (budget fill 8.8%->85.7% at constant generation throughput 93.3 req/s, Table 8).

  • Generalization beyond the LoRA-shared-backbone case

  • Scheduler is simple, formalized, and analyzed

  • Reproducibility assets are concrete

Weaknesses

  • Realistic-pipeline gains are far below the headline multipliers

  • No uncertainty quantification anywhere

  • Narrow realism envelope

  • Adaptive GPU-sharing baselines absent

  • Unexplained per-type regressions and tail degradation

Full Review Report

$1.99 · one-time

Unlock the complete preliminary analysis Evolve produced for this paper.

Report preview

Scope & Claims

This systems paper introduces Orthrus, an LLM serving layer that co-schedules text-embedding and text-generation requests inside one inference loop, motivated by iterative-RAG pipelines (Iter-RetGen-style query refinement) where embedding and generation alternate. Two mechanisms carry the contribution: (1) chunked embedding with incremental pooling (Section 3.3) — an embedding input is split into token chunks scheduled across iterations while additive pooler state (S, W accumulators, O(d) per request) makes mean, weighted-mean, CLS, and last-token heads remain exact; (2) Intra-Batch Scheduling (IBS, Section 4.2) — persistent credit accumulators proportional to each queue's outstanding token backlog allocate batch capacity, with per-type FCFS and a stated starvation bound of one scheduling opportunity from ideal proportional share. Headline claims (Section 5): 1.28x-4.52x throughput over static GPU splits on controlled workloads; 2.4x on the RAG benchmark at four GPUs; up to 55.8% lower end-to-end p99; 79% vs 38% average GPU utilization. Implementation sits on vLLM 0.92 without memory-management changes; code is released.

The remaining sections cover Methodology Assessment, Statistical Evidence, Results & Reproducibility, Limitations & Risks, and Verdict & Recommendations.

  • All 5 strengths & 5 weaknesses, analyzed in detail
  • 5 risk flags with severity, section & reviewer questions
  • Methods & statistical evidence assessment
  • 5 questions a peer reviewer would ask
  • Full six-dimension evaluation report & recommendations

One-time purchase · this paper only

One-time purchase, this paper only. AI-generated preliminary analysis — not peer review.

Frequently asked questions

What is Orthrus and what problem does it solve?

Orthrus is an LLM serving system (built on vLLM 0.92) that runs text-embedding requests and text-generation requests together in the same GPU inference loop instead of on separate servers or statically partitioned GPU pools. It targets iterative RAG pipelines, where each query alternates between embedding for retrieval and generation for query refinement. The paper reports 1.28x-4.52x higher throughput than static GPU partitioning on controlled mixed workloads.

Does chunked embedding change the resulting embedding vectors?

According to the paper (Table 7), effectively no. Incremental pooling is algebraically identical to single-pass pooling; across mean, CLS, and weighted-mean heads and chunk sizes 256-1024, minimum cosine similarity exceeded 0.9999 and relative L2 error stayed below 1%, attributed only to floating-point reduction order.

How much faster is Orthrus on realistic RAG workloads?

On an Iter-RetGen pipeline over 2WikiMultihopQA with four A100 GPUs, Orthrus reached 0.624 requests/s aggregate versus 0.548 for unified homogeneous batching (about 14% higher), 0.603 for prefill-decode disaggregation, and 0.260 for dedicated GPU splits (about 2.4x); end-to-end p99 latency was up to 55.8% lower than dedicated GPUs (593.4 s vs 1342.0 s).

Is the Orthrus code and data available?

Yes. The authors release code at github.com/illinoisdata/Orthrus. Experiments use public models (Mistral-7B with an e5-mistral LoRA, Qwen2-7B, LLaMA3.1-8B, OPT-1.3B, GTR-T5-XL) and the public 2WikiMultihopQA dataset; hardware was up to four NVIDIA A100-40GB GPUs plus one A40 test.

About this review

This is an AI-generated preliminary review by Evolve.Pub, produced from the openly available text of the paper. It is not peer review and does not represent the authors' views. The canonical record of the paper is at the publisher link above.

  • Figure pixel data (Figs. 3-8) is not analyzable from text extraction; figure-level claims rely on captions and in-text numbers, and some controlled-workload absolute throughputs appear only in figure form.
  • The extracted text runs complete through Appendix A.4 and references, but low-level implementation constants may exist only in the released code.

Go deeper on this paper

Wrote a paper? Stress-test it before reviewers do.

Upload your manuscript for the same structured scrutiny — reasoning, statistics, evidence, figures, and reproducibility.

Scan your paper
Efficient Iterative Retrieval with Heterogeneous Batching | Evolve.Pub