Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Blockchain and AI

017286889e25c87cb44b20ceca2d1d79?s=47 Daron Yondem
September 13, 2018

Blockchain and AI

This is my presentation from Microsoft Future Summit in Cape Town, South Africa. It is mainly a Blockchain presentation with AI flavor and a final implementation focus on Azure Blockchain Workbench.

017286889e25c87cb44b20ceca2d1d79?s=128

Daron Yondem

September 13, 2018
Tweet

Transcript

  1. 2 Microsoft Cloud Society Future Summit Blockchain and Artificial Intelligence

    Daron Yöndem CTO, XOGO Inc. Microsoft Regional Director, Azure MVP
  2. How to get rich?

  3. 4

  4. 5

  5. Blockchain Introduction

  6. What is Blockchain? Blockchain is a secure, shared, distributed ledger

    Secure Shared Distributed Ledger DLT
  7. General Propose Chain General Propose Chain Blockchain | Multiple Chain

    Types Blockchains Alternative blockchains (altchains) (Decentralized Transport) (cryptocurrency) (cross-industry collaborative) (cross-industry collaborative) (FSI consortium) open platform for developers and devops to build blockchain apps (banking industry collaborative) (Social News Blockchain DB) (IBM Open Blockchain )
  8. Consortium Woodgrove Financial Contoso Bank Northwind Traders Bank b Insurance

    c Investment consortium c Bank A Blockchain Location 1 Location 2 Location 3 Location 4 Department A Department B Public Consortium Private • Many, unknown participants • Writes by all participants • Reads by all participants • Consensus by Proof of Work • Known participants from one organization • Write permissions centralized • Reads may be public or restricted • Multiple algorithms for consensus • Known participants from multiple organizations • Writes require consensus of several participants • Reads may be public or restricted • Multiple algorithms for consensus Public blockchain Persona Woodgrove Financial Person B Northwind Traders Bank 6 Bank 1 Consortium 6 Source: Ethereum blog by Vitalik Buterin https://blog.ethereum.org/author/vitalik-buterin/ Blockchain | Network Types
  9. Artificial Intelligence Infuse

  10. Who should I trust? • Trusted single source? • Distributed

    trust? • Trust in the system? • Trust in the ledger?
  11. Intelligent Apps Leverage AI to create the future of business

    applications Conversational Agents Transform your engagements with customers and employees Business Processes Transform critical business processes with AI 95% Of customer interactions powered by AI bots by 2025 75% Applications to include AI by the end of this year 85% Of enterprises using AI by 2020 Enterprise scenarios for AI
  12. None
  13. General Propose Chain General Propose Chain Blockchain and AI |

    Distributed Intelligence Perfect Storm Alternative Posibilities • AI and encryption work very well together • Blockchain can help us track, understand and explain decisions made by AI • AI can manage blockchains more efficiently than humans Sources: Forbes , Francesco Corea • Having a clear audit trail for AI: improve the trustworthiness of the data as well as of the models • Increase AI effectiveness: Secure data sharing means more training data), and then better models • Increase artificial trust: Bots to trust each other and increase machine-to-machine interaction • Scalability: AI can introduce new decentralized learning systems such as federated learning • Security: AI can bring security to blockchain via incredible progress made by machine learning • Reduce Network Latency: Better efficiency and a lower energy consumption
  14. How does Blockchain work?

  15. 16

  16. 17

  17. 18

  18. 19

  19. 20

  20. 21

  21. 22

  22. 23

  23. 24

  24. 25

  25. 26

  26. 27

  27. 28

  28. 29

  29. 30

  30. 31

  31. 32

  32. 33

  33. 34

  34. 35

  35. 36

  36. 37

  37. 1 Company A wants to transfer a value to Company

    B (i.e. digital currentcy, a digital asset, a certificate, etc.). 3 Company A transaction is stored in the ledger as a block with other transaction. The block has an unique ID, the transition time and the ID of the previous block in the chain. 2 Company A uses a digital app to transfer the value to Company B. The app stamps the transaction with Company A digital signature, and now needs to be verified by blockchain. 4 The block containing Company A transaction is then broadcast to the entire network to be verified in each node. 5 After the verification process, Company B receives the value, and all the transaction history remains permanent and transparent available for all the blockchain participants.
  38. Financial Institution Security Layer Data – Center of Gravity Database

  39. Buying Broker Typical Finance Services Transaction Database Selling Broker Database

    Clearing House (Intermediary) Reconciliation Database Trust Boundary Trust Boundary Challenges Slow Processing High risk of errors Security High Compliance Overhead Everyone has their own database
  40. Peer to Peer Secure Distributed Network TRUST What if? Everyone

    could have a ‘Single Version of the Truth’ - Blockchain Clearing House (Intermediary) Blockchain Buying Broker Blockchain Selling Broker Blockchain
  41. Evolution of Blockchain Blockchain 1.0 – A simple ledger

  42. That decentralizes data in a trustless environment Centralized system with

    stored ledger Distributed system with distributed ledger Traditional ledgers are centralized and use 3rd parties and middlemen to approve and record transactions Blockchain safely distributes ledgers across the entire network and does not require any middleman Traditional System Blockchain System
  43. Data is stored in a ledger FROM TO PROPERTY VALUE

    Alex Katie Payment $500 Jim Sally Payment $300 Alex Garth Asset Car Katie Tony Payment $100 Molly Paula Message I love you Example ledger Entire network has same ledger
  44. Evolution of Blockchain Smart Contracts are unable to access external

    data or events based on time or market conditions. Calling code or data outside of a Smart Contract or blockchain breaks the general trust barrier and authenticity of transactions. Cryptlets will allow the blockchain to access external data securely, while maintaining the integrity of the blockchain. Blockchain 2.0 – Introducing Smart Contracts
  45. 46

  46. Traditional Contract Deployed to Nodes Blockchain 2.0 | Smart Contracts

  47. 48

  48. 49

  49. 50

  50. 51

  51. Evolution of Blockchain Smart Contracts are unable to access external

    data or events based on time or market conditions. Calling code or data outside of a Smart Contract or blockchain breaks the general trust barrier and authenticity of transactions. Cryptlets will allow the blockchain to access external data securely, while maintaining the integrity of the blockchain. Blockchain 3.0 – Microsoft evolving the ledger to address the big problem
  52. Blockchain 3.0 | State-of-the-art cryptlets innovation  Blockchain 2.0 introduced

    the power of Smart Contracts…  …but Smart Contracts are unable to access external data or events based on time or market conditions ₋ Calling code or data outside of a Smart Contract or blockchain breaks the general trust barrier and authenticity of transactions  Cryptlets will allow the blockchain to access external data securely, while maintaining the integrity of the blockchain  Cryptlets are a Microsoft innovation and solve a significant hurdle to enterprise blockchain adoption Property 0x117292138928 edc23dc21323c Value 0x893423022ef8s92d1 223412dds321ac Property 0x117292138928 edc23dc21323c Value 0x893423022ef8s92d1 223412dds321ac Code Contract accountRegistry(mapping (string=> address) accountMap; function accountRegistry()(… Property 0x117292138928 edc23dc21323c Value 0x893423022ef8s92d1 223412dds321ac Code Contract accountRegistry(mapping (string=> address) accountMap; function accountRegistry()(… Interest Rate 0x132945934528 asf0439dsa3x
  53. None
  54. Blockchain shows tremendous potential across industries Asset Transfer Cross-Organizational Workflow

    High-Assurance Audit Manufacturing Asset tracking Real time auction for supplier contracts Supply chain transparency Retail Loyalty tracking Product provenance Logistics management Insurance Claims Management MBS/Property Payments Fraud detection Automated underwriting Banking and Capital Markets Bond Issuance Trade Finance Loan Syndication Post Trade Settlement Cross Border Payments Derivatives Trading KYC/AML Government Licensing and ID Benefits distribution Aid tracking Military security Health Personalized medicine Records sharing Compliance
  55. None
  56. Bad Blockchain Bad

  57. When your project meets certain criteria Answering a few questions

    can determine if blockchain is appropriate Does the process involve low-value, manual verification steps? Are there any intermediaries that control the single source of the truth? Do multiple parties manipulate the same data? Is this a business process that crosses trust boundaries?
  58. None
  59. Manually deploy ledger Write business logic Orchestrate signing, hashing and

    routing Store smart contract reference data Synchronize data with off- chain DB Ingest messages and events Build web client API management Manage keys Customize integrations Extend capabilities Integrate with existing business apps Configure consortium network Link to federated identity systems
  60. Populated preconfigured networks Integrated relevant cloud services Built a simple

    interface 1 2 3
  61. None
  62. None
  63. None
  64. Horizontal SaaS & adapters Data Platform (ML/BI) Off-Chain Storage Monitoring

    & Security 3rd Party Services Enterprise Integration Identity & Key Management Client apps & devices Enterprise ledger Workflow execution Identity & key management Ledger-neutral approach Auto-generate starter apps Integration APIs & events Workflow/user admin Azure data integration Azure Blockchain Workbench
  65. Dev/Test: Enable developers to get started Single node (virtual machine)

    1 Single Member: Simulate production for multiple divisions within a single organization Multi-node across single region 2 Multi-member: Collaborate between multiple divisions and organizations Multi-node across multiple regions, Azure subscriptions, and/or organizations 3
  66. None
  67. Configurable constitution to govern membership Richer and more flexible confidentiality

    models Database-like speeds for transaction throughput and latency Scalability Confidentiality Consortium Governance
  68. None
  69. None
  70. Manually deploy ledger Write business logic Orchestrate signing, hashing and

    routing Store smart contract reference data Synchronize data with off- chain DB Ingest messages and events Build web client API management Manage keys Customize integrations Extend capabilities Integrate with existing business apps Configure consortium network Link to federated identity systems
  71. Traditional Contract Mortgage Variable Items % Rate Payment Amount Static

    Items Payment Date | Late Date | Term Assets or Security | Amount Financed Total Sale Date Payment Late Fee 12/1/16 $500.00 $0 1/1/17 $500.00 $0 Payments & Fees Recorded in Ledger
  72. Storing business logic on-chain means that it has to be

    re-written for each chain, limiting scaling Security Scale Traditional Contract Mortgage Variable Items % Rate Payment Amount Static Items Payment Date | Late Date | Term Assets or Security | Amount Financed Total Sale Date Payment Late Fee 12/1/16 $500.00 $0 1/1/17 $500.00 $0 Payments & Fees Recorded in Ledger Proprietary code stored in shared data layer. Unable to call off-chain data
  73. Blockchain + Cryptlets Cryptlets (Business Logic) Business Logic Traditional 3-Tier

    Software Architecture Presentation Layer Presentation Layer Presentation Layer Early blockchain Dapp architecture Blockchain (Data Layer) Smart Contracts (Data Handling) Data Layer Stored Procedures (Data Handling) Blockchain (Data Layer) Smart Contracts (Business Logic)
  74. None
  75. Do we still have time for a demo?

  76. None
  77. 78

  78. 79

  79. 80

  80. 81

  81. 82

  82. Visit our Azure Blockchain Page Visit the Azure Blockchain Blog

    and our Blockchain User Voice Connect with the Microsoft Tech Community Sign up for an Azure account and join our Blockchain Preview Program
  83. Microsoft Cloud Society Future Summit Thanks! Daron Yöndem CTO, XOGO

    Inc. Microsoft Regional Director, Azure MVP