SVE-Loom: Improving Session-Level Reliability for Natural-Language-to-SVE Code Generation with Bounded Feedback

Haoyuan Gui, Hongjiao Sheng, Yifan Zhang, Huiyuan Li


Abstract
Architecture-specific vector programming remains a difficult frontier for language models: an implementation can satisfy surface syntax yet fail because of a hallucinated intrinsic, an invalid predicate shape, a sizeless-type misuse, or a subtle tail-handling error. This work studies NL2SVE, a function-level code generation problem that maps natural-language specifications and fixed C/C++ signatures to ARM Scalable Vector Extension (SVE) implementations. We introduce SVE-Loom, a model-agnostic generation-and-repair framework that operates within a bounded compile-and-run feedback session. SVE-Loom combines ACLE schema repair, execution feedback, and reference-assisted Regional Semantic Bootstrap when scalar semantics are available. From an initial prompt under a bounded feedback budget, wrapped models using SVE-Loom achieve higher success rates, producing more legal and correct SVE implementations across evaluation benchmarks. We further mitigate the scarcity of public SVE supervision by constructing a NL2SVE corpus from GitHub-mined SVE code, template-generated kernels, and SVE-Loom-guided API-model candidates. This third layer makes the corpus extensible: scalar references or capability gaps can be converted into NL-to-SVE examples, while candidate SVE implementations are retained only after schema checks, compilation, execution testing, speedup measurement, and human audit.
Anthology ID:
2026.findings-emnlp.1457
Volume:
Findings of the Association for Computational Linguistics: EMNLP 2026
Month:
October
Year:
2026
Address:
Budapest, Hungary
Editors:
Hung-Yi Lee, Sunipa Dev, Jessy Li, Desmond Elliott
Venue:
Findings
SIG:
SIGDAT
Publisher:
Association for Computational Linguistics
Note:
Pages:
31013–31029
Language:
URL:
https://aclanthology.org/2026.findings-emnlp.1457/
DOI:
Bibkey:
Cite (ACL):
Haoyuan Gui, Hongjiao Sheng, Yifan Zhang, and Huiyuan Li. 2026. SVE-Loom: Improving Session-Level Reliability for Natural-Language-to-SVE Code Generation with Bounded Feedback. In Findings of the Association for Computational Linguistics: EMNLP 2026, pages 31013–31029, Budapest, Hungary. Association for Computational Linguistics.
Cite (Informal):
SVE-Loom: Improving Session-Level Reliability for Natural-Language-to-SVE Code Generation with Bounded Feedback (Gui et al., Findings 2026)
Copy Citation:
PDF:
https://aclanthology.org/2026.findings-emnlp.1457.pdf