SandyTang commited on
Commit
d9d3533
·
verified ·
1 Parent(s): 747e6e5

Upload 6 files

Browse files
README.md CHANGED
@@ -1,3 +1,115 @@
1
  ---
2
  license: mit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3
  ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
  license: mit
3
+ language:
4
+ - en
5
+ pretty_name: Serving-Stack Confounds in Local Tool-Use Evaluation
6
+ size_categories:
7
+ - n<1K
8
+ task_categories:
9
+ - text-generation
10
+ tags:
11
+ - tool-calling
12
+ - function-calling
13
+ - llm-evaluation
14
+ - llm-agents
15
+ - ollama
16
+ - vllm
17
+ - sglang
18
+ - llama-cpp
19
+ configs:
20
+ - config_name: serving_modes
21
+ default: true
22
+ data_files: serving_modes.csv
23
+ - config_name: chain_compare
24
+ data_files: chain_compare.csv
25
+ - config_name: crossstack
26
+ data_files: crossstack.csv
27
+ - config_name: humaneval_probe
28
+ data_files: humaneval_probe.csv
29
  ---
30
+
31
+ # Serving-Stack Confounds in Local Tool-Use Evaluation
32
+
33
+ Result tables for **Measuring the Serving Stack Instead of the Model: Hidden Confounds in
34
+ Local Tool-Use Evaluation** (Lijuan Tang, Yuemeng Zheng; REALM Workshop @ EMNLP 2026).
35
+
36
+ - Paper: [ACL Anthology](https://aclanthology.org/2026.realm-1.7/) · [arXiv:2609.26693](https://arxiv.org/abs/2609.26693)
37
+ - Code, configs, and reproduction steps: [github.com/LijuanTang94/serving-confound-repo](https://github.com/LijuanTang94/serving-confound-repo)
38
+
39
+ ![Per-seed protocol fidelity under three serving conditions](serving_modes.png)
40
+
41
+ ## What this measures
42
+
43
+ **Protocol fidelity** = the rate of valid, in-schema tool calls over the turns the model
44
+ actually produced. Requests the server refused (for example Ollama's HTTP 400
45
+ `does not support tools` for Phi-3 and Gemma-3) are counted separately as rejected and
46
+ excluded from the denominator. A naive analysis that counts them as model non-calls
47
+ reports a capable model at 0% even though it never ran.
48
+
49
+ Serving conditions:
50
+
51
+ | condition | `tools=` sent | text tool list in prompt |
52
+ |---|---|---|
53
+ | `native` (default) | yes | no |
54
+ | `native_hint` | yes | yes |
55
+ | `text_tools` / `tt` | no | yes |
56
+
57
+ All local models run on Ollama 0.30.8 with default (Q4_K_M) quantization;
58
+ `deepseek-v4-flash` is a cloud anchor. A "seed" indexes a task instance; decoding is
59
+ sampled at T=1.0.
60
+
61
+ ## Configs
62
+
63
+ ### `serving_modes` (default): aggregation task, 8 seeds, three conditions
64
+
65
+ For each condition prefix (`native`, `native_hint`, `text_tools`):
66
+
67
+ | column | meaning |
68
+ |---|---|
69
+ | `<cond>_seed` | per-seed mean fidelity |
70
+ | `<cond>_lo`, `<cond>_hi` | seed-level bootstrap 95% CI |
71
+ | `<cond>_pooled` | turn-pooled fidelity |
72
+ | `<cond>_n` | model-produced turns in the pool |
73
+ | `<cond>_rej` | rejected requests (excluded from the denominator) |
74
+ | `<cond>_n_seeds` | seeds with at least one produced turn |
75
+
76
+ Empty cells mean the condition was not run or the rate is undefined (every request was
77
+ rejected).
78
+
79
+ ### `chain_compare`: dependency-chain task, 4 seeds
80
+
81
+ `native_*` and `tt_*` (text-tools) with `_seed` (per-seed mean), `_pool` (turn-pooled),
82
+ `_n` (turns), `_rej` (rejected requests).
83
+
84
+ ### `crossstack`: same `tools=` request on four serving stacks
85
+
86
+ One row per model; each cell is the outcome on that stack: `200_native` (native
87
+ `tool_calls`), `200_text` / `200_text_json_block` (call returned as text),
88
+ `200_runs_text` (request accepted, model runs), `200_prose_nocall` / `200_text_prose`
89
+ (prose, no call), `HTTP400_rejected` (Ollama per-model gating), `HTTP400_no_parser`
90
+ (vLLM without `--enable-auto-tool-choice --tool-call-parser`), `not_probed`, `n/a`.
91
+ `vllm_configured` is vLLM with tool parsing enabled. The vLLM and SGLang probes cover
92
+ only the models shown.
93
+
94
+ ### `humaneval_probe`: single-turn replication on 6 HumanEval problems
95
+
96
+ `native_gating` is the Ollama response to `tools=` (`-` = not probed), then
97
+ `text_tools_valid` of `n` problems produced a valid call under the text-tools protocol.
98
+
99
+ ## Citation
100
+
101
+ ```bibtex
102
+ @inproceedings{tang-zheng-2026-measuring,
103
+ title = "Measuring the Serving Stack Instead of the Model: Hidden Confounds in Local Tool-Use Evaluation",
104
+ author = "Tang, Lijuan and
105
+ Zheng, Yuemeng",
106
+ booktitle = "Proceedings of the Second Workshop for {RE}search on Agent Language Models ({REALM} 2026)",
107
+ month = oct,
108
+ year = "2026",
109
+ address = "Budapest, Hungary",
110
+ publisher = "Association for Computational Linguistics",
111
+ url = "https://aclanthology.org/2026.realm-1.7/",
112
+ doi = "10.18653/2026.realm-1.7",
113
+ pages = "86--94"
114
+ }
115
+ ```
chain_compare.csv ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ model,native_seed,native_pool,native_n,native_rej,tt_seed,tt_pool,tt_n,tt_rej
2
+ qwen2.5-coder:0.5b,0.0,0.0,542,0,0.438,0.8,15,1
3
+ qwen2.5-coder:1.5b,0.502,0.506,83,1,0.812,0.875,16,2
4
+ qwen2.5-coder:3b,,,,,0.867,0.833,12,0
5
+ qwen2.5-coder:7b,,,,,0.847,0.885,26,1
6
+ qwen2.5-coder:14b,,,,,1.0,1.0,29,3
7
+ llama3.2:latest,,,,,0.125,0.2,5,0
8
+ phi3:latest,,,,,0.5,0.5,4,0
9
+ gemma3:4b,,,,,1.0,1.0,4,4
10
+ gemma3:270m,,,,,0.0,0.0,4,0
crossstack.csv ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ model,ollama_tools,llamacpp_tools,vllm_default,vllm_configured,sglang_default
2
+ qwen2.5-coder:0.5b,200_text,200_text,HTTP400_no_parser,200_text_json_block,200_text_json_block
3
+ llama3.2,200_native,200_native,HTTP400_no_parser,not_probed,not_probed
4
+ phi3,HTTP400_rejected,200_runs_text,HTTP400_no_parser,200_prose_nocall,200_text_prose
5
+ gemma3:270m,HTTP400_rejected,200_runs_text,not_probed,not_probed,not_probed
6
+ gemma2:2b,n/a,n/a,HTTP400_no_parser,not_probed,not_probed
humaneval_probe.csv ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ model,native_gating,text_tools_valid,n,text_tools_rate
2
+ qwen2.5-coder:0.5b,200_text,4,6,0.667
3
+ qwen2.5-coder:1.5b,-,5,6,0.833
4
+ qwen2.5-coder:3b,-,6,6,1.000
5
+ llama3.2:latest,200_text,6,6,1.000
6
+ phi3:latest,HTTP400_rejected,4,6,0.667
7
+ gemma3:4b,-,2,6,0.333
8
+ gemma3:270m,HTTP400_rejected,0,6,0.000
serving_modes.csv ADDED
@@ -0,0 +1,11 @@
 
 
 
 
 
 
 
 
 
 
 
 
1
+ model,native_seed,native_lo,native_hi,native_pooled,native_n,native_rej,native_n_seeds,native_hint_seed,native_hint_lo,native_hint_hi,native_hint_pooled,native_hint_n,native_hint_rej,native_hint_n_seeds,text_tools_seed,text_tools_lo,text_tools_hi,text_tools_pooled,text_tools_n,text_tools_rej,text_tools_n_seeds
2
+ qwen2.5-coder:0.5b,0.0,0.0,0.0,0.0,9,0,8,0.346,0.067,0.659,0.287,317,2,8,0.344,0.094,0.594,0.852,54,1,8
3
+ qwen2.5-coder:1.5b,0.375,0.125,0.75,0.237,519,3,8,0.583,0.312,0.833,0.906,53,1,8,0.742,0.492,0.975,0.955,110,1,8
4
+ qwen2.5-coder:3b,0.228,0.0,0.549,0.786,42,0,8,0.823,0.575,0.979,0.96,176,3,8,0.837,0.702,0.958,0.896,77,1,8
5
+ qwen2.5-coder:7b,0.589,0.319,0.837,0.793,174,2,8,0.885,0.781,0.969,0.8,35,0,8,0.912,0.825,0.979,0.889,36,0,8
6
+ qwen2.5-coder:14b,0.595,0.383,0.772,0.737,57,0,8,0.796,0.625,0.944,0.708,89,0,8,0.915,0.856,0.979,0.882,34,0,8
7
+ llama3.2:latest,0.6,0.375,0.8,0.625,16,0,8,0.823,0.709,0.921,0.892,65,0,8,0.438,0.312,0.5,0.467,15,0,8
8
+ phi3:latest,,,,0.0,0,8,0,,,,,,,,0.375,0.125,0.75,0.3,10,0,8
9
+ gemma3:4b,,,,0.0,0,8,0,,,,,,,,1.0,1.0,1.0,1.0,8,8,8
10
+ gemma3:270m,,,,0.0,0,8,0,,,,,,,,0.375,0.125,0.75,0.375,8,4,8
11
+ deepseek-v4-flash,1.0,1.0,1.0,1.0,61,0,8,,,,,,,,1.0,1.0,1.0,1.0,57,0,8
serving_modes.png ADDED

Git LFS Details

  • SHA256: 20d1b7f373d4b38e03a41f1171982d8ecd443d3973070686a21eeef744ad97e6
  • Pointer size: 130 Bytes
  • Size of remote file: 79.4 kB