E-Banking, Payments & Commerce in the Mobile World
FINTECH LAW REPORT
March/April 2018 Volume 20 Issue 2
By Patrick Fong at 7:33 am, Apr 17, 2018
42023366
USE OF ARTIFICIAL INTELLIGENCE FOR SMART CONTRACTS AND BLOCKCHAINS
By Huu Nguyen and Scott Bailey
Huu Nguyen is a partner at the international law firm of Squire Patton Boggs (US) LLP, and Scott Bailey is global director of research services at the same firm. www.squirepattonbogg s.com
Overview of Smart Contracts and Blockchain
Currently, smart contracts are gaining prominence because of the emergence of blockchain technology and the popularity of cryptocurrency. In particular, there is more acceptance of the verification of transactions on a public or private blockchain. One notable legal change in corporate law related to blockchain which may therefore spur more use of smart contracts is the Delaware Blockchain Initiative and the amendments to the Delaware General Corporation Law, which among other things permits issuance of distributed ledger shares.i
A blockchain is a sophisticated technology for a distributed ledger, that in theory more securely records transactions. In essence, smart contracts are programs that execute based on parameters agreed to by two or more counter parties. Smart contracts may either be coded entirely in standalone software, coupled with a traditional agreement, or partially governed by rules agreed to by the parties. Their use has been limited due to the sophistication
of the program, but with wider acceptance and more use of AI, smart contracts may be able to encode and verify on a blockchain more complicated commercial relationships between parties.
Smart contract technology abounds, and includes the popular Ethereum platform, which permits smart contracts to execute on the nodes in the Ethereum network and also to operate with the Ether coins.ii Other players in the eco-system include the POA Network which enhances
IN THIS ISSUE:
Use of Artificial Intelligence for Smart Contracts and Blockchains
NYDFS Cybersecurity Regulations: One Year Later
A New Focus at the CFPB
FinTech Law Report: March/April 2018 Regulation and Litigation Update
Letter from the Editor
1 7 16
19 40
March/April 2018 | Volume 21 | Issue 2
FinTech Law Report
the Ethereum technologyiii, Etherparty, a smart contract creation systemiv, and the Agrello foundation which aims to provide legally binding smart contracts powered by AI.v Smart contracts have been used or are proposed to be used in various industriesvi; for example: (a) to automate sharing, payments and rentals; (b) to provide flight insurance; (c) in the insurance industryvii; (d) for bills of landingviii; (e) in the energy industryix; and (d) for selling real-estate.x
The potential for revolutionizing commerce and eliminating inefficiencies seems prevalent across media. A cursory survey of recent literaturexitouts a number of advantages, theories and claims:
E Elimination of Intermediaries (Financial, Legal, Professional Services, Humans)
E Reduction of Paperwork
E Cost Reduction
E Security & Speed
E Distributed Verification and Accuracy (Traceable & Scaleable)
Equally prevalent on is the discussion of fears
and doubts. Concerns include:
E Questionable Legal Status
E Obfuscated Structure to the Parties (Known Only to Coders)
E Difficult Implementation
E Hackable
E Inflexible
Legal Basis for Electronic Contracts
The electronic Signatures in Global and National Commerce Act (the "E-Sign Act")xii and the Uniform Electronic Transactions Act (the "UETA") xiii which has been enacted 47 statesxiv permit international electronic commerce, and not just smart contracts or blockchain in particular. The measures form the basis for the enforceability of smart contracts enabled by AI. As the Federal Trade Commission ("FTC") succinctly stated:xv
[The E-Sign Act] signed into law on June 30, 2000, provides a general rule of validity for electronic records and signatures for transactions in or affecting interstate or foreign commerce. The E-Sign Act allows the use of electronic re-
FinTech Law Report
West LegalEdcenter 610 Opperman Drive Eagan, MN 55123
K2018 Thomson Reuters
For authorization to photocopy, please contact the West's Copyright Clearance Center at 222 Rosewood Drive, Danvers, MA 01923, USA (978) 750-8400; fax (978) 646-8600 or West's Copyright Services at 610 Opperman Drive, Eagan, MN 55123, fax (651) 687-7551. Please outline the specific material involved, the number of copies you wish to distribute and the purpose or format of the use.
This publication was created to provide you with accurate and authoritative information concerning the subject matter covered; however, this publication was not necessarily prepared by persons licensed to practice law in a particular jurisdiction. The publisher is not engaged in rendering legal or other professional advice and this publication is not a substitute for the advice of an attorney. If you require legal or other expert advice, you should seek the services of a competent attorney or other professional.
Copyright is not claimed as to any part of the original work prepared by a United States Government officer or employee as part of the person's official duties.
One Year Subscription E 6 Issues E $ 1020.00
2 K 2018 Thomson Reuters
FinTech Law Report
March/April 2018 | Volume 21 | Issue 2
cords to satisfy any statute, regulation, or rule of law requiring that such information be provided in writing, if [a party] has affirmatively consent.
Moreover, Section 14 of the UETA permits automated transactions. Section 2(1) and (6) are relevant:
(2) "Automated transaction" means a transaction conducted or performed, in whole or in part, by electronic means or electronic records, in which the acts or records of one or both parties are not reviewed by an individual in the ordinary course in forming a contract, performing under an existing contract, or fulfilling an obligation required by the transaction.
(6) "Electronic agent" means a computer program or an electronic or other automated means used independently to initiate an action or respond to electronic records or performances in whole or in part, without review or action by an individual.
Also, Section 14 (1) and (2) describes the formation which can be thought of the meeting of the minds of the electronic agents:
(1) A contract may be formed by the interaction of electronic agents of the parties, even if no individual was aware of or reviewed the electronic agents' actions or the resulting terms and agreements.
(2) A contract may be formed by the interaction of an electronic agent and an individual, acting on the individual's own behalf or for another person, including by an interaction in which the individual performs actions that the individual is free to refuse to perform and which the individual knows or has reason to know will cause the electronic agent to complete the transaction or performance.
One open legal question related to using AI to
enter into a smart contract is whether actual consent has been provided by a party when an AI uses dynamic and arguably unforeseen behavior to act on the party's behalf. To the authors' knowledge, no court has yet ruled on this issue.
Artificial Intelligence
"Artificial Intelligence" is defined by MeriamWebsterxvi as:
E a branch of computer science dealing with the simulation of intelligent
E behavior
E in computers the capability of a machine to imitate intelligent human behavior
First Known Use: 1955
AI range from rule-based systems such as expert systems designed to make decisions based on rules and input, to more adaptive systems, such as neural networks, knowledge graphs, and logic. One area important for smart contract is natural language processing ("NLP").
As discussed below, AI could be used with smart contracts in at least two aspects (a) to negotiate and agree to terms with a counter party on behalf of a party, and/or (b) to control the selfexecuting nature of smart contracts.
NLP techniques useful for smart contract construction include shallow semantic parsing, named entity recognition, co-reference resolution, and a host of other techniques. For example, shallow semantic parsing seeks to find chunks of text that fill certain roles such as:
Text:
[On the first of every month], [John Smith,
K 2018 Thomson Reuters
3
March/April 2018 | Volume 21 | Issue 2
FinTech Law Report
lessee] shall [pay] [lessor] [U.S. $1000.00] =>
Roles:
Due-Date: [On the first of every month]
Payor: [John Smith, lessee]
Payee: [lessor]
Fee: [U.S. $1000.00]
Name entity recognition could recognize "John Smith" and "Mr. Smith" as a proper noun or a specific entity. Co-reference resolution could bind the term "John Smith" to "lessee" so that reference to either term means the same thing.
AI techniques useful for automatic negotiations and smart contract control include expert systems, search, neural networks, and the Minmax algorithm. If adequate consent has been given by the parties, AI could use these algorithms to negotiate as an electronic agent on behalf of the parties.
Potential Application of AI with Smart Contracts
Currently, the authors are not aware of AI being used in smart contracts. The challenges for contractual language, and language interpretation in general is the multi-faceted interpretation of language. For example, the same words may have many senses, and AI must interpret the language appropriately. For example, the term "execute" is used often to refer to agreements, but means to come to an agreement, and not to kill. This is referred to as the words sense disambiguation task. NLP requires solving many other tasks. But generally, language that refers to finite and definable things, such as dates, and times,
quantities such as monies or rates of changes of monies, such as consumer price index could be more easily converted into a smart contract.
For example, an AI may be programmed to negotiate terms for price and quality of certain goods using well known AI game playing algorithms, with parameters for certain gap filler terms such as ranges of price and range of quality that can be adjusted dynamically, and fixed inputs by users for the type of goods. The AI may use search, or even a supervised or unsupervised learning technique to mine the data for the best price to quality ratios over the next N months, and may trigger the purchase at an optimal time in the near future that maximizes some price to quality ratio. Moreover, the self-executing contract may vary delivery quality based on price changes negotiated by the AI.
Defining gap filler terms is not unusual in commercial agreements. For example, the Uniform Commercial Code 2, which has been adopted in 49 states, includes many gap filler terms such as 2-305 (Open Price Term), 2-306 (Output, Requirements and Exclusive Dealings); 2-307 (Delivery in Single Lot or Several Lots); 2-308 (Absence of Specified Place for Delivery); 2309 (Absence of Specific Time Provisions; Notice of Termination); and 2-310 ( Open Time for Payment or Running of Credit; Authority to Ship Under Reservation). The use of AI in smart contracts could be a natural extension of statutory gap fillers that may be more dynamic and specific to the parties' needs.
In Smart Contract Templates: Foundations, Design Landscape and Research Directions ,xvii Clark, et. al discuss an example of smart contract technology that combines the legal text, the parameters and the software code:
4 K 2018 Thomson Reuters
FinTech Law Report
March/April 2018 | Volume 21 | Issue 2
[An AI Researcher] presents the Ricardian Contract triple of "prose, parameters and code." The legal prose is linked via parameters (name-value pairs) to the smart contract code that provides automation. For example, a software agent might have been developed that will be instantiated on a shared ledger and, once initiated, will proceed to undertake various transfers of value in accordance with the legal prose. The parameters are a succinct way to inform the code of the final operational details. The code in this case would be suitable for a specific platform but we can imagine in the future that multiple platforms could be targeted from a single contract.
This is only one example of how a smart contract may be constructed.xviii However, AI researchers, especially in the natural language processing ("NLP") area, have been making great strides in automatic contract analysis and automatic contract drafting.xix It is conceivable that AI could be used to create at least partially, the self-executing code and parameterization based on parsing a traditional "human" contract in order to generate the smart contract. Techniques useful for such processing could include shallow semantic processing, named entity recognition, word sense disambiguation, and the like.
For example, Agrello describes their "beliefdesire-intention" model and smart contract construction tools, which uses a form of shallow semantic parser to create decision rules that could be executed by the smart contract. xx Based on parsing the text, the AI system could create a rule that is triggered if a lessee pays a lessor the appropriate rent on or before the due date.
Enforceability, Disputes and Arbitration
Much has been written about enforceability of smart contracts. Of interest here is when smart contracts technologies make more adaptive deci-
sions using AI or enter into agreements using more adaptive behaviors such as automatic negotiations of gap fillers, which may not have been anticipated by the user or the programmer of the smart contracts. To some extent, the UTEA contemplates such dynamic behavior. The commentators of the UTEA note:
An automated transaction is a transaction performed or conducted by electronic means in which machines are used without human intervention to form contracts and perform obligations under existing contracts. Such broad coverage is necessary because of the diversity of transactions to which this Act may apply.
As a practice, to the extent a jurisdiction or court may find that certain terms may not as a matter of law be capable of agreement via an electronic agent or AI which adapts to circumstances and does not act using exact inputs, it is advisable to include a severability clause, and a binding dispute resolution provision between the parties before arbitrators who are qualified to understand AI technology and smart contracts. Courts have routinely upheld severability clauses, and this is known legal territory.xxi The Federal Arbitration Act and the New York convention is well known to permit international enforcement, and these legal tools should be used in smart contracts enabled by AI.xxii
To prevent a user from arguing that there is no proper offer or acceptance because terms were either not agreed to by the user themselves or were indefinite (e.g., via time, quantity or price), a smart contract platform should disclose how an AI powered smart contract may behave and warn that the AI's behavior may be unexpected, because, for example, it may balance price and quality for example, and the quality of a purchased item may vary. A dispute resolution agree-
K 2018 Thomson Reuters
5
March/April 2018 | Volume 21 | Issue 2
FinTech Law Report
ment such as an arbitration clause (with potentially a class action waiver) may be advisable in this situation as well to avoid liability for the smart contract platform provider.
Conclusion
To prepare ourselves for the adoption of smart contracts in general and AI empowered smart contracts in particular, the smart lawyer must keep abreast of the current technology and understand its limitations. Clients may ask the lawyer to work with the clients' programmers to translate a smart contract into code that may very well execute on the blockchain for a long time to come. These pros and cons for the use of smart contracts and AI on the blockchain present legal challenges and opportunities, and with proper implementation and regulation, these arrangements could revolutionize business and the law.
ENDNOTES:
iDelaware Office of the Governor, Governor Markell Announces Delaware Blockchain Initiative, May 2, 2016, https://www.prnewswire.com/ news-releases/governor-markell-launches-delaw are-blockchain-initiative-300260672.html; see also Matthew O'Toole, Christopher Kelly and David Hahn, Delaware May Be the Right Jurisdiction For `Smart' Orgs (Law360), Feb. 16, 2018, https://www.law360.com/articles/ 1013208/delaware-may-be-the-right-jurisdictio n-for-smart-orgs.
iiEthereum, https://www.ethereum.org/. iiiPOA Network, https://poa.network/.
ivEtherparty, https://etherparty.com/.
vAgrello, https://www.agrello.org/.
viPolyswarm, 5 Companies Already Brilliantly Using smart contracts, https://medium.co m/swarmdotmarket/5-companies-already-brillia ntly-using-smart-contracts-ac49f3d5c431.
viiDaniel Marvin, 4 Ways Blockchain Will Transform The Insurance Industry (Law360), Feb. 14, 2018, https://www.law360.com/articles/ 1012591/4-ways-blockchain-will-transform-theinsurance-industry.
viiiChristopher McDermott, Jeffrey Nagle, Martin Horowitz and Stephen Johnson, From Bills of Lading to Blockchain Structures: Part 1 (Law360), Aug. 10, 2017, https://www.cadwalad er.com/uploads/books/85a389ea712b15e94fa5b 94fe3dcf892.pdf.
ixCaroline Stewart, How Blockchain Could Change The Energy Industry: Part 1 (Law360), Nov. 21, 2017, https://www.law360.com/articles/ 987354/how-blockchain-could-change-the-energ y-industry-part-1.
xFirst American Title Insurance, Blockchain Technology and Its Applicability to the Practice of Real Estate Law, Fall 2017, http://www.firsta m.com/assets/commercial/newsletters/asset-uplo ad-file29732-120961.pdf.
xiClifford Chance (Talking Tech), Are smart contracts Contracts?: Talking Tech looks at the concepts and realities of smart contracts, Dec. 6 2017, https://talkingtech.cliffordchance.com/en/t ech/are-smart-contracts-contracts.html; see also:
Christopher D. Clack, Vikram A. Bakshi, Lee Braine, Smart Contract Templates: foundations, design landscape and research directions, Mar. 15 2017, https://arxiv.org/abs/1608.00771,
Kevin Gidney, Intelligent Contracts-Is This the Way Forward for Enterprises?, Dec. 12, 2016, htt ps://www.law.com/corpcounsel/almID/ 1202774474477/Intelligent-ContractsIs-This-th e-Way-Forward-for-Enterprises-/,
Joseph C. Guagliardo and Brittany Birnbaum, Blockchain: Preparing For Disruption Like It's the 1990s, Mar. 14, 2016, http://www.pepperlaw. com/publications/blockchain-technology-prepari ng-for-disruption-like-its-the-1990s-2016-0314/,
Caitlin Long and Andrea Tinianow, With Blockchain, The Early Lawyer Gets the Worm, Oct. 4, 2017, https://www.law360.com/articles/ 970948/with-blockchain-the-early-lawyer-gets-t he-worm,
Jason A. Nagi, Blockchain: Coming to a CMBS
6 K 2018 Thomson Reuters
FinTech Law Report
March/April 2018 | Volume 21 | Issue 2
Near You, March 2018, https://sftp.polsinelli.co m/publications/fintech/resources/upd0318fin.pdf
Jeremy M. Sklaroff, Smart Contracts and the Cost of Inflexibility, Jan. 4, 2018, http://clsbluesk y.law.columbia.edu/2018/01/04/smart-contractsand-the-cost-of-inflexibility/.
xiiElectronic Signatures in Global and National Commerce Act (ESign Act), Pub. L. No. 106-229 (2000), https://www.gpo.gov/fdsys/pkg/ PLAW-106publ229/pdf/PLAW-106publ229.pdf.
xiiiNational Conference of Commissioners on Uniform State Laws, Uniform Electronic Transactions Act (UETA, 1999)
xivThe UTEA has not been adopted in New York, Washington, Illinois or Puerto Rico.
xvFDIC Compliance Examination Manual, January 2014, X3.1.
xvi Merriam-Webster.com. Merriam-Webster, n.d. Web. 20 Mar. 2018.
xviiChristopher D. Clark, Vikram A. Bakshi, Lee Braine, Smart Contract Templates: foundations, design landscape and research directions, Mar. 15, 2017, https://arxiv.org/pdf/1608.00771. pdf.
xviiiSee also Law360's discussion of How Blockchain Will Revolutionize Commercial Transactions. Marco A. Santori, Craig A. DeRidder, James M. Grosser, May 12, 2016, https://ww w.law360.com/articles/794611/how-blockchainwill-revolutionize-commercial-transactions.
xixGuiraude Lame, Using NLP Techniques to Identify Legal Ontology Components: Concepts and Relations, Artificial Intelligence and the Law (2003), https://www.semanticscholar.org/paper/ Using-NLP-Techniques-to-Identify-Legal-Ontol ogy-and-Lame/65e012020fec52ee9d387206b 09593c8b25fdb08; see also Matias GarciaConstantino, Katie Atkinson et al., CLIEL: context based information extraction from commercial law documents, ICAIL (2017), https://w ww.semanticscholar.org/paper/CLIEL%3A-cont ext-based-information-extraction-from-Garcia-C onstantino-Atkinson/4b6ebd72b7169409cde05d 6137e3ba743e30c3da; and Emile de Maat, Teaching the Computer to Read Legal Text, VOXPOPULII, Oct. 6, 2010, https://blog.law.cor
nell.edu/voxpop/tag/legal-natural-language-proc essing/.
xxAgrello, How to Make smart contracts Worthy of their Name Using Artificial Intelligence, May 4, 2017, https://blog.agrello.org/ho w-to-make-smart-contracts-worthy-of-their-nam e-using-artificial-intelligence-3a90e4dd3c47.
xxiRistine v. Hartford Ins. Co., 97 P.3d 1206, 195 Or. App. 226 (Or. App., 2004); Bodine v. Cook's Pest Control, Inc. (N.D. Ala., 2015); Penske Truck Leasing v. Republic Western Ins., 407 F.Supp.2d 741 (E.D.N.C., 2006).
xxiiThe United States Arbitration Act (Pub.L. 68-401, 43 Stat. 883, enacted February 12, 1925, codified at 9 U.S.C. ch. 1); see also New York Convention 330 UNTS 38; 21 UST 2517; 7 ILM 1046 (1968).
NYDFS CYBERSECURITY REGULATIONS: ONE YEAR LATER
By Michael Mancusi, Anthony Raglani, and Kevin Toomey
Michael A. Mancusi is a Partner and Anthony Raglani and Kevin Toomey are Associates in the Financial Services Practice Group of Arnold & Porter in Washington, DC. www.arnoldporter.co m/en/services/capabilities/practices/financial-se rvices
Background
In September 2016, New York Governor Andrew Cuomo and Superintendent of the New York State Department of Financial Services (the "DFS") Maria Vullo announced the proposal of cybersecurity regulations described as "groundbreaking" due to their specific applicability to banks, insurance companies, brokers and agents, and other financial services firms and professionals. The regulations were finalized in March 2017 and codified under Part 500 of the DFS's regulations ("Part 500").1 Roughly one
K 2018 Thomson Reuters
7