NoeVera: Can Knowledge Guide Experiments and Experiments Refine Knowledge?
Organizations: Microsoft M365 Copilot Research · The Ohio State University
Abstract
With the growing demand for large language model (LLM) services, optimizing LLM serving systems is becoming increasingly complex, and the bottleneck is no longer predicting how a given configuration will perform. The harder problem is deciding what to investigate: which mechanisms matter for a workload, which configurations are worth testing, and what evidence a decision still needs. In this work, we present NoeVera, an agentic Second Brain that goes beyond just one-shot retrieval by turning papers, code, benchmarks, and experimental results into a persistent, provenance-preserving knowledge base with three planes: source evidence, reusable synthesis, and agent memory. Decision-aware retrieval assembles compact evidence packs, role-specific agents reason over them and invoke a simulator (Vidur or GAUSS) whenever quantitative support is needed, and every finding is written back as a scoped evidence record, so knowledge guides experiments and experiments refine knowledge. In configuration search over four serving scenarios, NoeVera comes within 5% of the optimum in a median of 6-7 simulator calls, versus 9 for Bayesian optimization and 15 for a knowledge-free agent with the same tools; on A100 GPUs, its representative configurations deliver ~1.30x vLLM-default throughput and meet every scenario's latency objective. When reused, provenance-preserving evidence records over-generalize on only 8% of applicability traps, versus 28% for a general-purpose agent memory. On the held-out 48-task split of a 72-task benchmark, NoeVera scores 29% higher than an equally equipped agent and 36% higher than its single-call retrieval counterpart (0.80 vs. 0.62 and 0.59), and even when baselines receive NoeVera's own prompts, a statistically significant part of its evidence-evolution advantage remains.
Figures & tables
| Policy | Unn. | Sim. | ||||
| NoeVera+V | ||||||
| Never call | 0.48 | 0.68 | — | 0.00 | 0 | 0 |
| Selective | 0.72 | 0.67 | 0.77 | 0.83 | 0.08 | 21 |
| Always call | 0.74 | 0.62 | 0.25 | 1.00 | 2.7 | 78 |
| ReAct+V | ||||||
| Never call | 0.48 | 0.68 | — | 0.00 | 0 | 0 |
| No finding | Plain chunk | Mem0 memory | Evidence record | ReAct + chunk | |
|---|---|---|---|---|---|
| 0.68 | 0.70 | 0.71 | 0.77 | 0.70 | |
| — | |||||
| Reused | — | 58% | 61% | 83% | 56% |
| Over-gen. | — | 33% | 28% | 8% | 39% |
| Conflict | — | 42% | 50% | 83% | 38% |
| Drift | — | 0.048 | 0.039 | 0.012 | 0.052 |
| System | N | D † | E | Overall | $/query |
|---|---|---|---|---|---|
| Without Vidur | |||||
| LLM-only | 0.47 | 0.33 | 0.31 | 0.39 | 0.02 |
| Dense RAG | 0.73 | 0.45 | 0.36 | 0.55 | 0.08 |
| Hybrid RAG | 0.78 | 0.46 | 0.41 | 0.60 | 0.10 |
| GraphRAG | 0.83 | 0.47 | 0.45 | 0.64 | 0.09 |
| HippoRAG 2 | 0.81 | 0.46 | 0.44 | 0.63 | 0.10 |
| System | T1 | T2 | Revised | Retained | Reversed | Oracle |
|---|---|---|---|---|---|---|
| LLM-only | 0.38 | 0.31 | 19% | 43% | 38% | 0.35 |
| GraphRAG | 0.44 | 0.45 | 38% | 57% | 24% | 0.49 |
| Hybrid RAG | 0.42 | 0.41 | 33% | 52% | 29% | 0.44 |
| -PM | 0.46 | 0.61 | 57% | 71% | 14% | 0.60 |
| ReAct | 0.46 | 0.46 | 43% | 62% | 19% | 0.50 |
| -PM | 0.48 | 0.63 | 62% | 76% | 10% | 0.62 |
| Configuration | N | D | E | Overall | Recall | Pack |
|---|---|---|---|---|---|---|
| NoeVera+V | 0.86 | 0.73 | 0.73 | 0.80 | 91% | 2.5k |
| (a) Representation | ||||||
| Evidence only (no authority) | 0.83 | 0.63 | 0.58 | 0.71 | 70% | 3.0k |
| Evidence + authority | 0.84 | 0.66 | 0.62 | 0.73 | 76% | 2.8k |
| Evidence + synthesis | 0.85 | 0.68 | 0.67 | 0.76 | 84% | 2.7k |
| (b) Knowledge backend supplying the context | ||||||
Appendix figures & tables14 assets
Supplementary material from the paper’s appendix.
Appendix
| System | Configuration | Tuning iterations |
|---|---|---|
| LLM-only | Single call, no retrieval | 0 |
| Dense RAG | OpenAI text-embedding-3-large, , cosine similarity | 4 |
| Hybrid RAG | NoeVera’s hybrid retrieval lanes and authority- and lifecycle-aware ranking over the raw files together with the Evidence Plane’s source representations and authority metadata, without the Synthesis and Agent Memory planes; single call | 12 |
| GraphRAG | Authors’ defaults; GPT-5.5-mini extraction; GPT-5.5 synthesis | 3 |
| HippoRAG 2 | Authors’ defaults | 3 |
| LightRAG | Authors’ defaults | 3 |
| Scenario | Model | Hardware | Workload | TTFT p95 limit | Memory |
|---|---|---|---|---|---|
| Sc1 | Llama-3-70B BF16, TP=4 | 4 A100-80GB pairwise | 512/128, Poisson 8 rps | 300 ms | 76 GB |
| Sc2 | Llama-3-8B BF16, TP=1 | 1 A100-80GB | 2048/256, Poisson 16 rps | 500 ms | 76 GB |
| Sc3 | Llama-3-70B BF16, TP=4 | 4 A100-80GB pairwise | 1024/512, burst arrivals | 800 ms | 76 GB |
| Sc4 | Llama-3-8B BF16, TP=1 | 1 A100-80GB | 4096/128, Poisson 4 rps | 1200 ms | 76 GB |
| Median calls-to-5% | among feasible | Feasible | |||
|---|---|---|---|---|---|
| Scenario | Vidur (+V) | GAUSS (+G) | Vidur (+V) | GAUSS (+G) | (+G) |
| Sc1 | 7 | 8 | 0.021 | 0.025 | 5/5 |
| Sc2 | 5 | 6 | 0.016 | 0.019 | 5/5 |
| Sc3 | 6 | 7 | 0.020 | 0.023 | 5/5 |
| Sc4 | 5 | 6 | 0.019 | 0.022 | 4/5 |
| Aggregate | 6 [4, 9] | 7 [5, 11] | 0.019 | 0.022 | 19/20 (95%) |
| Throughput ( ) | TTFT p95 (ms) | ||||
|---|---|---|---|---|---|
| Scenario | Vidur (+V) | GAUSS (+G) | Vidur (+V) | GAUSS (+G) | SLO (+G) |
| Sc1 | 1.30 | 1.28 | 287 | 291 | met |
| Sc2 | 1.34 | 1.33 | 326 | 330 | met |
| Sc3 | 1.31 | 1.30 | 438 | 442 | met |
| Sc4 | 1.29 | 1.27 | 342 | 346 | met |
| Mean | 1.31 | 1.30 | — | — | 4/4 |
| Intent | N | D | E | Total | Dev. | Held-out | Outside |
|---|---|---|---|---|---|---|---|
| Evidence update | 0 | 0 | 22 | 22 | 8 | 14 | 4 |
| Research discovery | 7 | 0 | 0 | 7 | 2 | 5 | 2 |
| Troubleshooting | 0 | 6 | 0 | 6 | 2 | 4 | 2 |
| Landscape update | 6 | 0 | 0 | 6 | 2 | 4 | 1 |
| Method comparison | 0 | 5 | 0 | 5 | 2 | 3 | 1 |
| Concept explanation | 6 | 0 | 0 | 6 | 2 | 4 | 1 |
| Axis | Breakdown |
|---|---|
| Workload realism | 44 tasks (61%) reference recognizable serving stacks: vLLM 25 (35%), TensorRT-LLM 10 (14%), Orca 5 (7%), Sarathi 4 (6%); 28 tasks (39%) are synthetic but mechanically grounded scenarios. |
| Hardware coverage | A100 24 (33%); A10 17 (24%); consumer GPU 10 (14%); CPU-only 4 (6%); hardware-agnostic 17 (24%). |
| Mechanism coverage | Scheduling 18, batching 15, prefix caching 14, chunked prefill 11, KV-cache management 10, speculative decoding 8 (a task may cover several mechanisms). |
| Evidence required | Paper 30 (42%); repository 17 (24%); documentation 13 (18%); benchmark report 8 (11%); telemetry 4 (6%). |
| Track | H–H | J–H | J ′ –J | |
|---|---|---|---|---|
| N | 0.79 | 0.78 | 0.88 | 0.18 |
| E | 0.81 | 0.80 | 0.89 | 0.15 |
| D (diagnostic) | 0.76 | 0.74 | 0.86 | 0.22 |
| All | 0.79 | 0.77 | 0.88 | 0.19 |
| Method | Sc1 | Sc2 | Sc3 | Sc4 | Total |
|---|---|---|---|---|---|
| Random search | 4/5 | 4/5 | 4/5 | 4/5 | 16/20 (80%) |
| Grid search (coarse) | 4/5 | 4/5 | 5/5 | 4/5 | 17/20 (85%) |
| Bayesian optimization | 5/5 | 4/5 | 5/5 | 4/5 | 18/20 (90%) |
| Vidur-Search-style | 4/5 | 4/5 | 5/5 | 4/5 | 17/20 (85%) |
| ReAct+V (no knowledge base) | 4/5 | 4/5 | 4/5 | 4/5 | 16/20 (80%) |
| NoeVera+V | 5/5 | 5/5 | 5/5 | 4/5 | 19/20 (95%) |
| System | Trbl. (4) | Opt. (4) | What-if (3) | Design (3) | Comp. (3) | D (17) |
|---|---|---|---|---|---|---|
| LLM-only | 0.32 | 0.31 | 0.28 | 0.30 | 0.47 | 0.33 |
| +V | 0.40 | 0.46 | 0.66 | 0.46 | 0.48 | 0.48 |
| Hybrid RAG | 0.44 | 0.46 | 0.36 | 0.40 | 0.62 | 0.46 |
| +V | 0.52 | 0.58 | 0.72 | 0.56 | 0.62 | 0.59 |
| ReAct | 0.45 | 0.47 | 0.36 | 0.42 | 0.63 | 0.47 |
| +V | 0.58 | 0.62 | 0.84 | 0.66 | 0.64 | 0.66 |
| System | N | D (diagnostic) | E | Overall |
|---|---|---|---|---|
| Without Vidur | ||||
| LLM-only | ||||
| Dense RAG | ||||
| Hybrid RAG | ||||
| GraphRAG | ||||
| HippoRAG 2 | ||||
| System | T1 | T2 | Revised | Retained | Reversed | Oracle |
|---|---|---|---|---|---|---|
| LLM-only | 0.37 | 0.32 | 21% (7) | 42% (14) | 36% (12) | 0.36 |
| Hybrid RAG | 0.43 | 0.42 | 33% (11) | 52% (17) | 27% (9) | 0.45 |
| GraphRAG | 0.45 | 0.46 | 39% (13) | 58% (19) | 24% (8) | 0.50 |
| ReAct | 0.47 | 0.47 | 42% (14) | 61% (20) | 18% (6) | 0.51 |
| Hybrid RAG-PM | 0.47 | 0.61 | 58% (19) | 70% (23) | 15% (5) | 0.61 |
| ReAct-PM | 0.49 | 0.63 | 61% (20) | 76% (25) | 9% (3) | 0.63 |
| Removed component | N | D | E | Overall | Calls |
|---|---|---|---|---|---|
| None (full system) | 0.86 | 0.73 | 0.73 | 0.80 | 1.6 |
| BM25 + exact lanes | 0.85 | 0.72 | 0.71 | 0.78 | 1.6 |
| Dense lane | 0.84 | 0.72 | 0.70 | 0.77 | 1.7 |
| Graph + hub lanes | 0.85 | 0.72 | 0.71 | 0.78 | 1.6 |
| Code + atom lanes | 0.84 | 0.71 | 0.70 | 0.77 | 1.7 |
| Authority ranking | 0.84 | 0.70 | 0.69 | 0.77 | 1.7 |
| Component | LLM tokens (M) | Embedding tokens (M) | Build cost | Wall-clock (h) |
|---|---|---|---|---|
| Hybrid RAG index (embeddings only) | — | 45 | $12 | 0.8 |
| GraphRAG index | 28 | 45 | $185 | 6.2 |
| HippoRAG 2 index | 22 | 45 | $142 | 4.8 |
| LightRAG index | 18 | 45 | $108 | 3.5 |
| NoeVera distillation and synthesis | 62 | — | $240 | 4.1 |
| NoeVera indexing (87,357 chunks) | — | 60 | $18 | 1.2 |
| # | Stage | Observable artifact |
|---|---|---|
| 1 | Query (Engineering persona) | “Under a 400 ms TTFT p95 SLO on a 4 A100-80GB pairwise node with Llama-3-70B BF16 (TP=4), should we prioritize chunked prefill, prefix caching, or batching changes to raise throughput?” |
| 2 | Query profile | Intent: quantitative what-if; exact terms: chunked prefill, prefix caching, continuous batching, TTFT p95 , A100; constraints: TTFT 400 ms, GB. |
| 3 | Evidence pack | 14 items (2,480 tokens); top sources: paper P-1842 (mechanism), doc vLLM-chunked-prefill (implementation), bench B-0031 (measured), bench B-0074 (measured). |
| 4 | Candidates | (chunk=512, prefix-cache=on, max_seqs=128); (chunk=1024, prefix-cache=on, max_seqs=96); (chunk=256, prefix-cache=off, max_seqs=192), each motivated by distinct evidence IDs. |
| 5 | Vidur invocations | 3 calls (1,180 tok/s, 388 ms, 41 GB/device); (1,290, 402, 44); (1,050, 362, 38). Peak memory of the first: 35 GB weights, 3.4 GB KV cache, and 2.6 GB activations per device. |
| 6 | Recommendation | chunk=512, prefix-cache=on, max_seqs=128 (TTFT p95 = 388 ms, below the 400 ms SLO; capacity 1,180 tok/s). Assumptions: the workload matches the observed 512/128 distribution and the prefix-cache hit rate is at least 0.3. Proposed validation: a vLLM A/B test. |
LLM Serving
Large language model serving studies how to deliver model responses with low latency, high throughput, and efficient use of compute and memory.
See all 255 papers