Published February 27, 2026 | Version v1
Preprint Open

ToolFormerMicro: Composable Tool Schema Compression via Gated Cross-Attention

Description

ToolFormerMicro is a ~428M parameter encoder-decoder model that compresses verbose tool schemas into compact 8-token gist vectors via gated cross-attention. Initialized from Qwen2.5-0.5B and trained with a three-stage curriculum (schema auto-encoding, contrastive discrimination, end-to-end tool calling), the model achieves 0.818 Tool Selection Accuracy with zero false positives across seen, held-out, and unseen tool splits. Three composability experiments verify order independence (delta=0.000), sub-linear scaling to 200 tools, and bit-identical cache invalidation on hot-swap — properties that make gist representations a drop-in composable primitive for tool-augmented LLM serving.

Files

toolformermicro.pdf

Files (286.3 kB)

Name Size Download all
md5:28991f4359ffb0808e584a15726b8223
286.3 kB Preview Download

Additional details

Dates

Submitted
2026-02-27

Software

Repository URL
https://github.com/spranab/toolformermicro
Development Status
Active