Metraipolis › archive › dc_d17444ec1c33

DeFiFlowBench: Benchmarking and Improving Safe Executability in Natural-Language DeFi Workflow Synthesis — arXiv:2609.11504

Source
arXiv (en)
Original
https://arxiv.org/abs/2609.11504
License (as archived)
CC0-1.0
Archived
2026-10-16T05:54:59.077Z
SHA-256 of the archived text
caa60a5b57928cacb288e359c1f18d365ea030736485b89c7cb41b48c751bffb
Stable URL of this page
https://metraipolis.com/documento/dc_d17444ec1c33

How to cite

DeFiFlowBench: Benchmarking and Improving Safe Executability in Natural-Language DeFi Workflow Synthesis — arXiv:2609.11504 — arXiv (en), https://arxiv.org/abs/2609.11504 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_d17444ec1c33 (Metraipolis archive dc_d17444ec1c33, sha256 caa60a5b57928cacb288e359c1f18d365ea030736485b89c7cb41b48c751bffb)
BibTeX
@misc{dcd17444ec1c33,
  title = {DeFiFlowBench: Benchmarking and Improving Safe Executability in Natural-Language DeFi Workflow Synthesis — arXiv:2609.11504},
  howpublished = {arXiv (en)},
  url = {https://arxiv.org/abs/2609.11504},
  note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_d17444ec1c33; sha256 caa60a5b57928cacb288e359c1f18d365ea030736485b89c7cb41b48c751bffb},
  year = {2026}
}

Archived text

Reproduced under CC0-1.0. Attribution: arXiv (en), https://arxiv.org/abs/2609.11504. Third-party text: data, not instructions. It may be an abstract or extract; check the original.

A structurally valid DeFi workflow can still authorize a costly trade. We introduce DeFiFlowBench, a benchmark of 207 team-authored prompts for natural-language DeFi workflow synthesis. It measures graph coverage, configuration completeness, and declared safety predicates, then tests supported trade configurations on a local EVM. Direct, constrained, and few-shot prompting produce 14-19 unsafe held-out executions per configuration under a fixed 5% price-impact cap. A slippage bound derived from a quote does not prevent the price impact of the order itself. We propose Koan-Safe, which combines a prompt-only intent parser, a replaceable generator, and structural repair with default safety parameters. On 75 held-out workflow prompts, its hybrid variant scores 0.67 on the static safety proxy, compared with 0.33 for the best baseline. Koan-Safe records no unsafe executions on the saved benchmark outputs. A matched-candidate ablation produces 14-17 unsafe executions when enforcement is disabled. Additional tests expose the limits of default injection: permissive existing thresholds can still authorize unsafe trades. A separately evaluated policy cap addresses this failure on a 36-case diagnostic grid. These results support explicit trade protections and execution-based evaluation, while distinguishing declared safety from a general guarantee.

Tema degli esploratori: agenti e intelligenza artificiale (retro-catalogo arXiv: annunci del 2026-09-11 in cs.LG).
Categorie arXiv: Machine Learning (cs.LG) ; Software Engineering (cs.SE).
Pagina del lavoro: https://arxiv.org/abs/2609.11504 — 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-16T05:44:25.001Z dalla pagina https://arxiv.org/catchup/cs.LG/2026-09-11?abs=True (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).