Native Margin Gradients for Tool-Call Initiation in Qwen and Granite: Held-out causal interventions and decomposition of contrast directions
A residual-stream intervention can alter whether a language model emits a tool-call opener at its first generated token. We test whether the effects of independently constructed contrast directions can be predicted and causally decomposed using a fit-only mean gradient of the opener’s logit margin over its strongest competitor. In Qwen3-4B, the gradient exceeds seven equal-norm contrasts on five held-out distributions, and its projections predict 35 mean effects (r = 0.912). In four contrasts, components containing 1.7–3.4% of squared norm recover 97–115% of the respective cross-set mean margin effects. The official Qwen outcome carries a coherence reservation (minimum 0.597). In a prespecified held-out RunPod test on Granite 4.1-3B, using the architecture’s native gradient and a dose selected in calibration, the gradient exceeds two native contrasts and the strongest of 20 sampled random controls in both primary induction cohorts. It induces 116/130 verb-free cases and 152/166 reserved pairs at the first token. The global predictor reaches r = 0.975 over 44 qualifying cells, with r = 0.829 on the random-only subset. The Granite native natural-direction projection contains 6.64% of squared norm and recovers 91–93% of its mean margin effect in the two primary cohorts. Separate Qwen generation tests find 387/391 induced calls structurally valid and 365/391 token-identical to matched opener prefill. The evidence supports a recurring local mechanism for the tool-call opener in the two tested checkpoints and identifies limits set by dose, request context and output endpoint.
Authors
- Anmol Srivastava (ORCID: https://orcid.org/0000-0001-5264-6979)
- Federico Alessandro
- Angelo Erik Scontrino
Institutions
- Mindray (China) (CN)
Publication Details
- Journal
- Zenodo (CERN European Organization for Nuclear Research)
- Published
- 2026-12-03
- DOI
- https://doi.org/10.5281/zenodo.24785214
- Primary Topic
- Explainable Artificial Intelligence (XAI)
- Type
- preprint