← All parts of this equation

Equation 36 · Part 1 · Naive, Graph, and Agentic: A Systems Comparison of RAG Architectures

Symbol L_total

Ltotal=Lenc+∑i=1k(Lretrieve(i)+LLLM(i)).L_{\text{total}} = L_{\text{enc}} + \sum_{i=1}^{k} \left( L_{\text{retrieve}}^{(i)} + L_{\text{LLM}}^{(i)} \right).
LtotalL_{\text{total}}

What this part means

LtL_total is part of the quantity the equation computes from the expression on the right.

Its job in the formula

LtL_total is part of the quantity the equation computes from the expression on the right.

The passage around this formula

A single latency model makes the difference between the first three rows and the last two concrete. Writing LencL_{\text{enc}} for query encoding, and Lretrieve(i)L_{\text{retrieve}}^{(i)} and LLLM(i)L_{\text{LLM}}^{(i)} for the retrieval and generation cost of round i , Ltotal=Lenc+∑i=1k(Lretrieve(i)+LLLM(i))L_{\text{total}} = L_{\text{enc}} + \sum_{i=1}^{k} \left( L_{\text{retrieve}}^{(i)} + L_{\text{LLM}}^{(i)} \right). For naive and hybrid RAG, k = 1 by construction — the sum has exactly one term, and total latency is boundable in advance for any query. For iterative RAG, k is a small integer set by a heuristic or a step cap chosen by the system builder, so the worst case is known even though the typical case varies with question difficulty. For agentic RAG, k is a random variable generated by the policy itself at run time, and its…

Read this part in the article →

Learn the underlying idea

A subscript is a label attached below a symbol. It often selects a time step, component, category, or member of a sequence.

Open the illustrated subscripts: which member of a family? guide →

See this notation across published equations →

Sources cited in the article section

These citations provide research context; check each source for the exact claim it supports.