paperbot · PL 论文追踪

全部论文 待读 收藏

P2 iSyn: Semi-automated Smart Contract Synthesis from Legal Financial Agreements

iSyn:从法律金融协议半自动合成智能合约
ISSTA Proceedings of the 32nd ACM SIGSOFT International Symposium on Software Testing and Analysis2023匹配度 3/10 · 论文属于从自然语言法律协议到智能合约的程序合成与验证,虽涉及 PL 与 AI 结合、DSL 和验证,但与用户核心关注的静态分析×ML/Agentic、LLM 改进静态分析/形式化验证、浮点或贝叶斯程序分析均无直接关联。其 NLP 流水线并非基于 LLM/Agent 的当前强模型路线,因此匹配度较低。引用 13 inbox
Pengcheng Fang, Zhenhua Zou, Xusheng Xiao, Zhuotao Liu
crossref: 2026-09-12dblp: 2026-09-12

AI 速览

一句话:提出端到端系统 iSyn,用 SmartIR 中间表示和 NLP 流水线,从金融法律协议半自动合成并验证智能合约。

针对现有工作仅将智能合约视为法律协议的简单附加组件、难以实现复杂法律语义的问题,本文提出首个端到端系统 iSyn,目标是以最少人工干预从金融法律协议合成智能合约。其核心是中间表示 SmartIR,弥合自然语言句子与合约语句之间的差距;系统协同多种 NLP 技术从协议构建 SmartIR 实例,再基于模板合成智能合约,并设计验证框架检查正确性与已知漏洞。作者用金融交易相关法律协议评估,结果显示 iSyn 合成的合约与人工开发的 ground truth 在语法上相似、语义正确或仅需少量编辑。

问题
现有方法未利用智能合约的可编程性来落实法律协议的复杂语义,难以以最少人工干预从金融法律协议自动合成正确智能合约。
方法
设计中间表示 SmartIR,用多种 NLP 技术从法律协议构建 SmartIR 实例,并基于模板合成智能合约,辅以正确性与已知漏洞验证框架。
评估
在围绕金融交易的法律协议上评估,将合成合约与人工检查协议开发的 ground truth 对比,显示语法相似、语义正确或仅需少量编辑。
原文摘要(Abstract)

Embracing software-driven smart contracts to fulfill legal agreements is a promising direction for digital transformation in the legal sector. Existing solutions mostly consider smart contracts as simple add-ons, without leveraging the programmability of smart contracts to realize complex semantics of legal agreements. In this paper, we propose iSyn, the first end-to-end system that synthesizes smart contracts to fulfill the semantics of financial legal agreements, with minimal human interventions. The design of iSyn centers around a novel intermediate representation (SmartIR) that closes the gap between the natural language sentences and smart contract statements. Specifically, iSyn includes a synergistic pipeline that unifies multiple NLP-techniques to accurately construct SmartIR instances given legal agreements, and performs template-based synthesis based on the SmartIR instances to synthesize smart contracts. We also design a validation framework to verify the correctness and detect known vulnerabilities of the synthesized smart contracts.We evaluate iSyn using legal agreements centering around financial transactions. The results show that iSyn-synthesized smart contracts are syntactically similar and semantically correct (or within a few edits), compared with the “ground truth” smart contracts manually developed by inspecting the legal agreements.

链接与引用

DOI 原文 · PDF(开放获取) · DBLP

BibTeX
@inproceedings{FangZXL23,
  title = {iSyn: Semi-automated Smart Contract Synthesis from Legal Financial Agreements},
  author = {Pengcheng Fang and Zhenhua Zou and Xusheng Xiao and Zhuotao Liu},
  booktitle = {ISSTA},
  year = {2023},
  doi = {10.1145/3597926.3598091}
}