Using Large Language Models for Generating Smart Contracts for Health Insurance from Textual Policies
Inwon Kang, William Van Woensel, Oshani Seneviratne

TL;DR
This paper investigates the use of Large Language Models to automatically generate blockchain smart contracts for health insurance policies from textual descriptions, demonstrating promising results with some limitations.
Contribution
It introduces a multi-stage methodology for translating health insurance policies into smart contracts using LLMs, including summaries, decision logic, and code generation.
Findings
LLMs excel at generating textual summaries of policies
Generated smart contract code often requires human review for correctness
Performance varies with the complexity of scenarios and language popularity
Abstract
We explore using Large Language Models (LLMs) to generate application code that automates health insurance processes from text-based policies. We target blockchain-based smart contracts as they offer immutability, verifiability, scalability, and a trustless setting: any number of parties can use the smart contracts, and they need not have previously established trust relationships with each other. Our methodology generates outputs at increasing levels of technical detail: (1) textual summaries, (2) declarative decision logic, and (3) smart contract code with unit tests. We ascertain LLMs are good at the task (1), and the structured output is useful to validate tasks (2) and (3). Declarative languages (task 2) are often used to formalize healthcare policies, but their execution on blockchain is non-trivial. Hence, task (3) attempts to directly automate the process using smart contracts.…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsFinTech, Crowdfunding, Digital Finance
MethodsRefunds@Expedia|||How do I get a full refund from Expedia? · {Dispute@FaQ-s}How to file a dispute with Expedia? · 15 Ways to Contact How can i speak to someone at Delta Airlines · Linear Layer · Label Smoothing · Adam · Dropout · Dense Connections · Weight Decay · Absolute Position Encodings
