{
  "experiment": "EXP-B2",
  "title": "A2 Canonical Prefix Identity & Live F4 Volatile-Trailer Split Across 5 Models and 2 Engines (llama.cpp + vLLM 0.34.0)",
  "date": "2026-11-28",
  "matrix": {
    "engines": [
      "llama.cpp (llama-server, RTX 3090)",
      "vLLM 0.34.0 (Colab G4 Blackwell)"
    ],
    "models_count": 5,
    "variants_per_arm": 11,
    "kv_bytes_written": 0,
    "extra_llm_turns": 0
  },
  "models": [
    {
      "engine": "llama.cpp (RTX 3090)",
      "model": "Qwen3.5-9B-Q4_K_M",
      "family": "Hybrid DeltaNet+GQA",
      "baseline_tokens_raw_vs_a2": [
        4961,
        3596
      ],
      "token_reduction_pct": 27.5,
      "syntactic_hit_pct_raw_a2_split": [
        0.3,
        99.9,
        99.9
      ],
      "syntactic_prefill_ms_raw_a2_split": [
        1486.89,
        39.39,
        36.81
      ],
      "syntactic_prefill_speedup_split_vs_raw_x": 40.39,
      "volatile_ts_hit_pct_raw_a2_split": [
        89.3,
        0.5,
        85.1
      ],
      "volatile_ts_ms_raw_a2_split": [
        284.28,
        965.9,
        170.32
      ],
      "type_boundary_hit_pct_raw_a2_split": [
        0.3,
        0.5,
        0.5
      ],
      "semantic_synonym_hit_pct_raw_a2_split": [
        0.3,
        0.5,
        0.5
      ]
    },
    {
      "engine": "llama.cpp (RTX 3090)",
      "model": "Kev-4B-Q4_K_M",
      "family": "Qwen3-4B Pure GQA",
      "baseline_tokens_raw_vs_a2": [
        4961,
        3596
      ],
      "token_reduction_pct": 27.5,
      "syntactic_hit_pct_raw_a2_split": [
        0.3,
        99.9,
        99.9
      ],
      "syntactic_prefill_ms_raw_a2_split": [
        986.14,
        33.95,
        33.57
      ],
      "syntactic_prefill_speedup_split_vs_raw_x": 29.38,
      "volatile_ts_hit_pct_raw_a2_split": [
        89.4,
        0.5,
        85.2
      ],
      "volatile_ts_ms_raw_a2_split": [
        169.91,
        647.2,
        126.42
      ],
      "type_boundary_hit_pct_raw_a2_split": [
        0.3,
        0.5,
        0.5
      ],
      "semantic_synonym_hit_pct_raw_a2_split": [
        0.3,
        0.5,
        0.5
      ]
    },
    {
      "engine": "llama.cpp (RTX 3090)",
      "model": "Qwen2.5-7B-Instruct-Q4_K_M",
      "family": "Qwen2.5-7B Pure GQA",
      "baseline_tokens_raw_vs_a2": [
        4956,
        3591
      ],
      "token_reduction_pct": 27.5,
      "syntactic_hit_pct_raw_a2_split": [
        0.4,
        100.0,
        100.0
      ],
      "syntactic_prefill_ms_raw_a2_split": [
        1103.41,
        7.9,
        7.43
      ],
      "syntactic_prefill_speedup_split_vs_raw_x": 148.51,
      "volatile_ts_hit_pct_raw_a2_split": [
        99.5,
        0.6,
        99.1
      ],
      "volatile_ts_ms_raw_a2_split": [
        27.56,
        682.89,
        36.29
      ],
      "type_boundary_hit_pct_raw_a2_split": [
        0.7,
        0.6,
        0.6
      ],
      "semantic_synonym_hit_pct_raw_a2_split": [
        0.5,
        0.6,
        0.6
      ]
    },
    {
      "engine": "vLLM 0.34.0 (Colab G4 Blackwell)",
      "model": "RedHatAI/Meta-Llama-3.1-8B-Instruct-FP8",
      "family": "Meta Llama 3.1 Pure GQA",
      "baseline_tokens_raw_vs_a2": [
        4496,
        3130
      ],
      "token_reduction_pct": 30.4,
      "syntactic_hit_pct_raw_a2_split": [
        0.4,
        98.1,
        98.2
      ],
      "syntactic_prefill_ms_raw_a2_split": [
        147.08,
        23.69,
        23.8
      ],
      "syntactic_prefill_speedup_split_vs_raw_x": 6.18,
      "volatile_ts_hit_pct_raw_a2_split": [
        99.5,
        0.0,
        97.7
      ],
      "volatile_ts_ms_raw_a2_split": [
        24.66,
        88.31,
        25.88
      ],
      "type_boundary_hit_pct_raw_a2_split": [
        0.0,
        0.0,
        0.0
      ],
      "semantic_synonym_hit_pct_raw_a2_split": [
        0.0,
        0.0,
        0.0
      ]
    },
    {
      "engine": "vLLM 0.34.0 (Colab G4 Blackwell)",
      "model": "cyankiwi/GLM-4.7-Flash-AWQ-4bit",
      "family": "GLM-4.7 31B MoE MLA",
      "baseline_tokens_raw_vs_a2": [
        4516,
        3150
      ],
      "token_reduction_pct": 30.2,
      "syntactic_hit_pct_raw_a2_split": [
        0.0,
        99.6,
        99.6
      ],
      "syntactic_prefill_ms_raw_a2_split": [
        203.26,
        47.23,
        47.55
      ],
      "syntactic_prefill_speedup_split_vs_raw_x": 4.27,
      "volatile_ts_hit_pct_raw_a2_split": [
        99.0,
        0.0,
        99.1
      ],
      "volatile_ts_ms_raw_a2_split": [
        51.41,
        119.52,
        48.78
      ],
      "type_boundary_hit_pct_raw_a2_split": [
        0.0,
        0.0,
        0.0
      ],
      "semantic_synonym_hit_pct_raw_a2_split": [
        0.0,
        0.0,
        0.0
      ]
    }
  ],
  "verdict": [
    "UNANIMOUS 5/5 MODEL, 2-ENGINE WIN FOR A2-SPLIT (F4): Syntactic KV prefix hit jumped from 0.0%-0.4% (Raw JSON) to 98.2%-100.0% (A2-Split) across all 5 models (4.27x-40.4x faster syntactic prefill while cutting prompt tokens 27.5%-30.3%, 0 B KV written, 0 extra LLM turns).",
    "VOLATILE-FIELD INVERSION COMPLETELY RESOLVED LIVE: Unfixed A2 collapsed volatile trailing request_ts hit rate to 0.0%-0.6% on all 5 models (vs Raw JSON 89.3%-99.5%), reproducing EXP-A3 across both engines. Live A2-Split (separating volatile keys into an unhashed trailer + removing whole-object leading @handle) recovered hit rate to 85.1%-99.1% on all 5 models (beating or matching Raw JSON wall time on every model).",
    "Honest boundaries preserved across both engines: Int-vs-Float type drift (100 vs 100.0) and semantic key synonyms still miss (0.0%-0.6%) on all 5 models."
  ]
}
