Measuring the Microtask Eligibility Gap: When Is an Off-the-Shelf SLM Enough for an Agent Harness?
Organizations: PayPal AI
Abstract
Agent harnesses increasingly want to run small language models (SLMs) on the microtasks around a frontier large language model (LLM) planner: auto-approving shell commands, writing memory, selecting tools, ranking past turns. We ask whether off-the-shelf SLMs meet practitioner-defined thresholds and, when they fail, why, and whether quantization changes the answer. We build a benchmark of 4 such microtasks with fixed prompts and automatic metrics, each with a pre-specified threshold anchored to a cheap non-LLM baseline and a CI-aware eligibility rule (a configuration passes only if its confidence bound clears ). Sweeping Qwen3 0.6/1.7/4/8B at their best (FP16, greedy, one frozen prompt, no tuning), we find an eligibility gap: 0 of 16 (4 tasks 4 models) configurations pass (verified by checking the raw outputs and parser behavior). A logprob decision-threshold diagnostic (T1/T3/T4; T2 via a context-length/cascade probe) separates the failures into capability deficits and failures that can be addressed by changing the decoding threshold (4 regimes). Quantization to 4-bit (RTN/GPTQ/AWQ) does damage that depends on model size and moves no configuration into eligibility (certified on the reconstructable hard-label tasks T1/T3, diagnostic/windowed robustness on T2/T4), so the gap tracks model size more than precision; it replicates on Llama-3.x (12/12 ineligible) and is robust to the anchor choice (a -sweep) and to prompt wording (0/112 eligible across the original plus 3 neutral paraphrases per cell). The practical implication: place SLMs behind a baseline that meets the CI-backed threshold, and use the SLM only where the baseline fails to meet the threshold; e.g. a 4B re-ranker over a BM25 shortlist beats BM25 ( [0.020, 0.073], without itself certifying eligibility).
Figures & tables
| Task | Decision | Primary metric | (frozen) / anchor |
|---|---|---|---|
| T1 | safe shell auto-approve | false-approval & coverage | & / deliberation+regex |
| T2 | memory relevance recall | Recall@5 | / BM25 Recall@5 |
| T3 | memory write / no-write | write-F1 | / write-heuristic |
| T4 | tool selection | correct-tool acc (callable) | / TF-IDF shortlist top-1 |
| T1 & | T2 R@5 | T3 wF1 | T4 tool | |
| Qwen3-0.6B | 0.012, 0.029 | 0.041 | 0.557 | 0.900 |
| Qwen3-1.7B | 0.988, 1.000 | 0.125 | 0.579 | 0.758 |
| Qwen3-4B | 0.414, 0.971 | 0.350 | 0.598 | 0.707 |
| Qwen3-8B | 0.463, 0.993 | 0.292 | 0.634 | 0.784 |
| 0.167 & 0.921 | 0.479 | 0.656 | 0.913 |
| Size | full-index R@5 | rerank R@5 | vs BM25 | 95% CI | verdict |
|---|---|---|---|---|---|
| 0.6B | 0.041 | 0.311 | worse | ||
| 1.7B | 0.125 | 0.443 | ties | ||
| 4B | 0.350 | 0.486 | beats BM25 | ||
| 8B | 0.292 | 0.393 | worse |
Appendix figures & tables15 assets
Supplementary material from the paper’s appendix.
Appendix
| Model | T1 (danger) | T3 (write) | T4 (abstain) |
|---|---|---|---|
| Qwen3-0.6B | |||
| Qwen3-1.7B | |||
| Qwen3-4B | |||
| Qwen3-8B | |||
| Llama-3.2-1B | |||
| Llama-3.2-3B |
| Task | Size | RTN | GPTQ | AWQ |
|---|---|---|---|---|
| T1 ( ) | 0.6B † | 0.99/0.97 | 1.00/1.00 | 0.23/0.40 |
| 1.7B | 0.00/0.00 | 0.60/0.75 | 0.10/0.57 | |
| 4B | 0.40/0.88 | 0.31/0.88 | 0.89/0.99 | |
| 8B | 0.59/0.99 | 0.70/0.99 | 0.60/0.99 | |
| T3 (write-F1) | 0.6B † | 0.000 | 0.544 | 0.254 |
| 1.7B | 0.576 | 0.532 | 0.568 |
| Task | Frozen eligibility metric | Reconstructable from quant dumps? | Evidence (certified / surrogate) |
|---|---|---|---|
| T1 | (hard label) | 1.7B yes; 0.6B no | Hard-label ledger AUROC ( 1.7B cert.); 0.6B domination |
| T3 | write-F1 (hard label) | 1.7B yes; 0.6B no | Hard-label ledger AUROC ( 1.7B cert.); 0.6B domination |
| T4 | correct-tool | No (margins encode call-vs-abstain only) | Abstention AUROC close to FP16 4B (surrogate) |
| T2 | recall@5 (full index) | No (quant dumps are windowed curves) | Windowed crossover survives 4B (surrogate) |
| Task | 0.6B | 1.7B | 4B | 8B |
|---|---|---|---|---|
| T1 ECE | 0.318 | 0.531 | 0.236 | 0.256 |
| T3 ECE | 0.277 | 0.378 | 0.407 | 0.250 |
| T4 ECE | 0.057 | 0.069 | 0.046 | 0.046 |
| Model | T1 | T2 R@5-lb | T3 F1-lb | T4 tool-lb | elig |
|---|---|---|---|---|---|
| Llama-3.2-1B | 0.001 ( ) | 0.520 ( ) | 0.709 ( ) | 0/4 | |
| Llama-3.2-3B | 0.134 ( ) | 0.566 ( ) | 0.590 ( ) | 0/4 | |
| Llama-3.1-8B | 0.270 ( ) | 0.541 ( ) | 0.684 ( ) | 0/4 | |
| 0.479 | 0.656 | 0.913 |
| Model | rerank R@5 | Wilson 95% | LB ? | vs BM25 | verdict |
|---|---|---|---|---|---|
| Qwen3-0.6B | 0.311 | no | worse | ||
| Qwen3-1.7B | 0.443 | no | ties | ||
| Qwen3-4B | 0.486 | no | beats | ||
| Qwen3-8B | 0.393 | no | worse | ||
| Llama-3.2-1B | 0.224 | no | worse | ||
| Llama-3.2-3B | 0.438 | no | ties |
| Family | Model | T1 | T1 | T2 R@5 | T3 wF1 | T4 tool |
|---|---|---|---|---|---|---|
| Qwen3 | 0.6B | 0.012–1.000 | 0.029–1.000 | 0.123–0.318 | 0.557–0.557 | 0.898–0.907 |
| Qwen3 | 1.7B | 0.130–1.000 | 0.619–1.000 | 0.395–0.449 | 0.557–0.579 | 0.758–0.773 |
| Qwen3 | 4B | 0.025–0.568 | 0.216–0.993 | 0.428– 0.488 | 0.584–0.620 | 0.671–0.724 |
| Qwen3 | 8B | 0.222–0.525 | 0.950–1.000 | 0.227–0.457 | 0.594–0.648 | 0.784–0.813 |
| Llama | 1B | 0.000 | 0.000 | 0.181–0.263 | 0.540–0.566 | 0.551– 0.913 |
| Llama | 3B | 0.426–0.932 | 0.971–1.000 | 0.374–0.460 | 0.557–0.586 | 0.636–0.689 |