Study finds AI agents lose intent in smart contract synthesis
A new arXiv paper examines the gap between what AI agents are asked to build and what they actually produce, focusing on smart contracts for Web3 applications. The researchers argue that executable code is not the same as correct code, especially for blockchain programs that cannot be fixed after deployment. They designed an evaluation method that replays transactions on AI-written contracts and…
Key points
- AI judges and standard tools miss obvious mistakes in AI-written smart contracts.
- Asking clients questions before coding works better than fixing code afterwards.
- Researchers released 600 tasks and tools for evaluating agentic smart contract synthesis.
The study found that common grading methods, such as AI judges and standard analysis tools, often miss obvious mistakes. It also showed that checking only standard functions hid about half the performance differences between different AI pipelines. The authors propose an "elicitation-first" architecture where the agent asks the client a short checklist of questions before writing code. This approach, combined with checking against an independently written answer key, was more effective than reviewing or patching code afterwards across three AI models tested.
The paper claims this is the first study in smart contract synthesis to gather missing requirements before generation and verify results against an executable model. The authors release their tools, 600 tasks, and all results, noting that the lessons apply to any setting where AI agents turn requests into programs.
The headline, key points and digest above were generated by Digest AI's editorial model from the linked sources. Automated summaries can contain errors: the sources are the record. Spotted a mistake? Tell us. Published by Martin K., who runs Digest AI and handles corrections.
More in Research
All →- AI startups aim to automate formal software verification with $365M funding · 2 src
- Researchers find instruction exposure unlocks rhetorical patterns in LLMs · 1 src
- New guide introduces LLMs for scientists and professionals · 1 src
- Researchers introduce Seq@K to test language models with sequential feedback · 6 src
- Researchers propose rank-aware method for private listwise LLM alignment · 1 src
Comments
via GitHub Discussions