ARI3LLA INDEX
ARI3 · Notebook entryThe model behind the index

EXP-006: Local serving

ClosedPre-registered

On the same 30 frozen evidence packets, a 1.5B model on a local RTX 2080 took a median 4.6 s per call against 1.7 s for hosted DeepSeek, and never abstained. Answer quality was not measured.

EXP-006 asks what changes when ARI3's answer-generation step runs on a small model on local consumer hardware, with every input held fixed. The comparison is the hosted DeepSeek run already frozen as EXP-005 C2: the same 30 holdout packets, the same Prompt v2 messages, the same schema and the same validation.

The local side was Qwen2.5-1.5B-Instruct in fp16, served by vLLM 0.31.0 on one NVIDIA GeForce RTX 2080 (8 GB) in WSL2, reachable only on localhost. The model was chosen before any packet was sent because it fits the card and is Apache 2.0 licensed.

This is a serving comparison, not a quality study. The hosted latency includes the network and the provider's hardware, and the two models differ greatly in size, so the numbers describe the two serving paths as they are.

The question

What changes when ARI3's generation step is served by a small model on local consumer hardware, with every input held fixed?

Pre-registered: Yes. The protocol was committed and pushed before the first packet was sent, and the run happened once. EXP-006 had no pass criteria.

Method

  • The 30 frozen EXP-005 holdout packets, sent unchanged: same questions, same retrieved evidence, same Prompt v2 messages
  • The same generation function as the hosted run: one attempt, one retry only when the output does not parse, then the same deterministic validation
  • The same request settings: temperature 0, top_p 1, max_tokens 1000, JSON output
  • One run, compared with the frozen hosted run by the same comparison code

Held fixed

  • The packets, prompt, schema, validation and request settings
  • No retrieval was rerun

Changed

  • Only the provider: a local 1.5B model on vLLM in place of hosted DeepSeek

Results

Both runs on the same 30 packets. Latency is wall time per provider call, measured the same way in both.

MeasureHosted DeepSeek (EXP-005 C2)Local Qwen2.5-1.5BNote
First-attempt latency, median (ms)1,658.74,644.9
First-attempt latency, p95 (ms)2,6245,975.7
Output tokens per second, median145.126.6
First-attempt schema validity0.8670.96726 of 30 against 29 of 30
Final schema validity1.0001.00030 of 30 both, after the one allowed retry
Questions answered2430The hosted model abstained on 6; the local model never abstained
Integrity failures00

What it gained

  • The local model passed the schema on the first attempt more often (29 of 30)
  • No integrity failures, and nothing leaves the machine

What it cost

  • Median first-attempt latency was about 2.8 times the hosted run
  • Output speed was 26.6 tokens per second against 145.1
  • The local model answered every question, including ones the hosted model declined; whether those answers are grounded is unknown

Surprises

  • The 1.5B model failed the answer schema less often than the hosted model, the opposite of what the protocol expected

Threats to the result

  • Answer quality, grounding, completeness and abstention correctness were not measured, and no human review of the local outputs is planned.
  • The hosted latency includes the network and the provider's hardware; the local latency is one consumer GPU with no network.
  • The model's default repetition penalty of 1.1 applied and was not tuned.

What was built

  • A loopback-only vLLM provider adapter that refuses any other host (src/llm_vllm.py)
  • A preflight that checks packets, the store snapshot and message hashes before the run (src/exp006_vllm.py)

From idea to result

  1. ObservationEvery answer call went to a hosted API.
  2. ExperimentEXP-006: the same frozen packets, served locally by a small model, one run.
  3. ResultSlower and never abstaining, with schema validity as good or better; quality unmeasured.

Lessons

  • A local model can carry the format of ARI3's answers; whether it carries the grounding needs the human review that EXP-006 did not include.

Open questions

  • Are the local model's answers grounded in the evidence packets, judged the same way as EXP-005?

Reproducing it

The protocol, the comparison and both outputs' hashes are public. Running it again needs the frozen packets, which stay local, and a GPU with vLLM.

git clone https://github.com/arikthehacker/fashion-trend-crawler.git
cd fashion-trend-crawler
cat experiments/exp-006-local-serving/comparison_v1.json