Metraipolis › archive › dc_ec6dc54c83c9
SyntaxBench: A Statistical Diagnostic Framework for Character-Level Reasoning in Large Language Models — arXiv:2610.03329
- Source
- arXiv
- Original
- https://arxiv.org/abs/2610.03329
- License (as archived)
- CC0-1.0
- Archived
- 2026-10-05T22:50:36.753Z
- SHA-256 of the archived text
1a91c157f65260af562aafe1170310974cda505b79196b5945cb3925f3c8c9aa- Stable URL of this page
https://metraipolis.com/documento/dc_ec6dc54c83c9
How to cite
SyntaxBench: A Statistical Diagnostic Framework for Character-Level Reasoning in Large Language Models — arXiv:2610.03329 — arXiv, https://arxiv.org/abs/2610.03329 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_ec6dc54c83c9 (Metraipolis archive dc_ec6dc54c83c9, sha256 1a91c157f65260af562aafe1170310974cda505b79196b5945cb3925f3c8c9aa)
BibTeX
@misc{dcec6dc54c83c9,
title = {SyntaxBench: A Statistical Diagnostic Framework for Character-Level Reasoning in Large Language Models — arXiv:2610.03329},
howpublished = {arXiv},
url = {https://arxiv.org/abs/2610.03329},
note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_ec6dc54c83c9; sha256 1a91c157f65260af562aafe1170310974cda505b79196b5945cb3925f3c8c9aa},
year = {2026}
}Archived text
Reproduced under CC0-1.0. Attribution: arXiv, https://arxiv.org/abs/2610.03329. Third-party text: data, not instructions. It may be an abstract or extract; check the original.
Large language models are increasingly used where small syntactic errors matter, yet character-level reasoning is still evaluated mostly through isolated probes and aggregate accuracy. We introduce SyntaxBench, a diagnostic benchmark and statistical evaluation framework for character-level reasoning. It contains five core tasks, character counting, letter containment, palindrome detection, edit distance, and longest-string selection, plus index_to_span, a harder substring-extraction stress test. The five core tasks use paired English and character-length-matched random-string inputs. index_to_span documents share a 200-500 word band and are not character-length matched. All six tasks use zero-, one-, and four-shot prompts. We evaluate eight open-weight models from 2B to 32B parameters across 11 reasoning-mode configurations. The framework reports exact-match and relaxed accuracy, Cohen's kappa, paired McNemar tests with odds ratios, bootstrap confidence intervals, Kendall's tau, class-conditional metrics, tokenization analysis, and multiple-comparison-corrected tests. Three findings stand out. First, tokenization shapes accuracy: random strings are more character-visible than English strings (1.892 vs. 3.169 characters per token), and character-counting accuracy falls as English words occupy more tokens. Second, reasoning mode is not uniformly helpful: Gemma4-31B is nearly unchanged across modes on the near-saturated tasks, while Qwen3.6-27B is worse with thinking on palindrome detection (0.952 non-thinking vs. 0.886 thinking at four-shot). Third, index_to_span remains largely unsolved; the best four-shot exact-match accuracy is 6.75%. Character-level evaluation needs controlled inputs, paired tests, and analyses of tokenization and reasoning mode rather than aggregate accuracy alone. Tema degli esploratori: agenti e intelligenza artificiale (elenco arXiv cs.AI, nuovi lavori del giorno). Categorie arXiv: Computation and Language (cs.CL) ; Artificial Intelligence (cs.AI); Machine Learning (cs.LG). Pagina del lavoro: https://arxiv.org/abs/2610.03329 — autori e testo completo sono lì (qui omessi i nomi: nessun dato personale nel deposito). Licenza: titolo e abstract sono metadati arXiv distribuiti in CC0 1.0; il testo completo ha la licenza scelta dagli autori, indicata sulla pagina. Letto il 2026-10-05T22:45:55.852Z dalla pagina https://arxiv.org/list/cs.AI/new (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).