Manuscript Offprint

arXiv:2610.02142

Keyword Harnesses Fail Open: A Cheap Diagnostic Ladder for Tool-Use Claims in Small Language Models

Juan S. Santillana

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

Keyword-matching benchmark harnesses can credit a small model for tool use it never performs. We document such a false positive in a matched-architecture pair of Spanish security language models and follow it with a ladder of strict, cheap diagnostics. VECTRAYX-600M (661.6M parameters; single-phase pretraining whose realized mix is ≈65% code and technical text; no dedicated SFT; run frozen at 64% of schedule) and VECTRAYX-1B (1,109M; web-heavy multi-phase curriculum with a dedicated ≈6B-token tool-SFT phase) share decoder, tokenizer and special-token layout, and score almost identically on the series' lenient tool-use metric (B4: 0.660 vs. 0.650).

A verbatim-reproduction check on real training examples separates them completely: the 600M emits well-formed tool calls with generalized arguments on 6/6 examples; the 1B does so on 0/4–6 at every checkpoint tested. A first-token probe localizes the failure to a missing prior (probability 10−4−10−510^{-4}-10^{-5} on the <|tool_call|> token), and probes over 38 archived checkpoints show that the 1B's web-heavy phase erased an earlier, memorized prior. A targeted SFT recipe (diverse corpus, 5× higher learning rate, 2,202 steps, ≈3.3 GPU-hours) repairs the 1B, using roughly three orders of magnitude fewer tokens than the failed dedicated phase. On all 269 corpus rows, well-formed emission rises from 0.100 to 0.959 (600M: 0.926). On 238 prompts over unseen entities, the repaired 1B passes 0.536 against the 600M's 0.428 (paired p=0.004p = 0.004), although on its own corpus it mostly recites. An embedding-drift check shows that the repair did not move the trigger token's tied embedding: at this learning rate, 97.7% of the bf16 table is bit-identical after training, so the change lives in the surrounding network.

Both models over-trigger. On no-call prompts that mention a CVE or a shell command, they answer without a call on only 0.09 (600M) and 0.17 (repaired 1B) of items. A five-run factorial over the repair's corpus and learning rate finds every cell installing the call format; its largest contrast, better suppression from a diverse corpus at low learning rate, is not reproduced by a partial second seed, so we report it as a hypothesis. The pair is consistent with bootstrap composition deciding whether structured output arrives by default or must be engineered, but it is a natural experiment, not an ablation. The repaired checkpoint is a reproduction of a lost original, and all harness numbers are single-seed. The ladder costs minutes of CPU time, and we argue it should gate tool-use claims on small models.

Keywords

Small language models, Tool use, Pretraining data composition, Code pretraining, Structured output, Benchmark reliability, Model remediation, Mechanistic diagnosis, Cybersecurity, Spanish NLP, Model Context Protocol

References (26)