﻿# LogRouter: distinguish route accuracy, live-pipeline latency and offline generator comparisons

LogRouter routes log questions through search, SQL or synthesis. Its small evaluation uses separate online and offline conditions that cannot share a latency baseline.

Author: Retrivium editorial team
Updated: 2026-11-05
Canonical URL: https://retrivium.ai/journal/logrouter-route-accuracy-online-offline-generator-boundaries/
Language: en

LogRouter combines ordinary log search, structured queries and language-model synthesis instead of sending every question through the largest generator. The preprint first appeared on May 18, 2026, earlier than the date in the incoming summary. Its case study is useful because it reports both routing decisions and answer behavior, with important boundaries between experiments.

## Two routing levels answer different questions

The [publication record](https://arxiv.org/abs/2605.18015) describes four initial paths: a direct response, keyword search, template-based SQL and semantic retrieval. The [full paper](https://arxiv.org/html/2605.18015v1) explains that the first decision uses explicit patterns and thresholds, rather than a learned general-purpose difficulty classifier.

For semantic questions, a second level chooses between a smaller and larger generator using query length, aggregation language, temporal scope and entity cues. A dedicated coder model produces SQL. Search, numeric aggregation and prose synthesis therefore have different correctness criteria. This extends the [model-routing distinction](/journal/model-routing-vs-provider-routing/) with a prior decision about what kind of computation the question needs.

## The hardware is a shared inference node

The authors use one NVIDIA RTX 8000 node for embedding and inference, with Druid and PostgreSQL on separate nodes. The larger Qwen3-32B generator is scheduled exclusively because it occupies the available GPU memory budget. The semantic system also uses a Qwen2.5-14B generator and a separate coder variant.

Consequently, the measured result is not simply a large-model versus small-model speed ratio. It includes retrieval paths, model scheduling and the proportion of questions that bypass synthesis. A different traffic mix or model-residency policy could change the resulting average even with the same GPU.

## Routing accuracy is not answer accuracy

The evaluation contains 70 questions from four LogHub log types, with human-written reference answers and annotated routes. The paper reports mean routing accuracy of 88.4% across datasets. That score concerns agreement with the chosen path label, not the fraction of final answers independently proven correct.

The paper's failure examples make this distinction concrete. A question that looks like an attribute lookup may actually require explaining several lines; routing it to a keyword path can return one literal line without the requested synthesis. Conversely, a short exact lookup can be penalized by a judge whose reference expects a paragraph. Each metric exposes a different failure.

## Online and offline latency must keep separate baselines

The full online pipeline reports mean end-to-end latency of 18.6 seconds with live indexes. The offline comparison instead injects predetermined log chunks and removes Druid and pgvector variability. Within that offline condition, routing averages 46.3 seconds versus 102.1 for the fixed large-model baseline, a reported reduction of 55%.

Comparing the online value directly against the offline fixed-model value would combine different workloads and execution boundaries. The [benchmark-method guide](/journal/inference-benchmark-method/) explains why stage coverage belongs beside a timing result. Separate ablation tables also use their own measured conditions, rather than making every number interchangeable.

## Quality remains a measured trade-off on a small set

In the offline experiment, judge-based Answer Correctness is 0.726 for routing versus 0.784 for the large-model baseline. The gap is 0.058 on that scale, while the routed system improves faithfulness over the fixed smaller generator. The local correctness judge is also a model used within the system, so its grade is not independent human validation.

The study supports specialized routing as a way to avoid unnecessary synthesis in this log workload. Its small question set, rule vocabulary and single-node deployment do not establish broad incident-diagnosis accuracy or production-wide reliability. The useful evidence is the path-level failure analysis and matched-condition comparison, with quality and latency reported together.
