52
Evolutionary Machine Intelligence Stefan Ianta @v_ianta

Evolutionary Machine Intelligence in Smart Markets of microservices

Embed Size (px)

Citation preview

Page 1: Evolutionary Machine Intelligence in Smart Markets of microservices

Evolutionary

Machine Intelligence

Stefan Ianta

@v_ianta

Page 2: Evolutionary Machine Intelligence in Smart Markets of microservices

Evolutionary

Machine IntelligenceSmart Markets for microServices

Stefan Ianta MBA PMP CSM

Cofounder Servi.ca / Ianta Labs

Page 3: Evolutionary Machine Intelligence in Smart Markets of microservices

Summary

Two Worlds

References

Reverse Game Theory of Smart Markets

Service Compilers

Memoization

Building the portal

Q & A

Page 4: Evolutionary Machine Intelligence in Smart Markets of microservices

Machine City vs Zion

• 100M Internet servers

• Billions of processors

• 37 Trillion cells

• Quadrillions processes

• Computational Universe

Page 5: Evolutionary Machine Intelligence in Smart Markets of microservices

Summary

Two Worlds

References

Reverse Game Theory of Smart Markets

Service Compilers

Memoization

Building the portal

Q & A

Page 6: Evolutionary Machine Intelligence in Smart Markets of microservices

In the memory of MIT Prof. Marvin Minsky 1927-2016

References

Plans and the Structure of BehaviorGeorge Miller, Eugene Galanter, Karl PribramUniversal planning grammar

The Emotion MachineMarvin Minsky

Increase Complexity to solve Big problems

Godel Escher BachDouglas HofstadterRules, Quines, Theorem provers

Language Implementation PatternsTerrence Parr – The Antlr Guy – antlr.orgGenerating parse trees from dynamic grammars

Graph DatabasesIan Robinson, Jim Webber and Emil Eifrem

Neo4j.org

A New Kind of ScienceStephen Wolfram

Automatons, Turing Machines

Page 7: Evolutionary Machine Intelligence in Smart Markets of microservices

Link Grammar

• http://www.link.cs.cmu.edu/link/

Page 8: Evolutionary Machine Intelligence in Smart Markets of microservices

Link Grammar

• http://www.cs.cmu.edu/afs/cs.cmu.edu/

project/link/pub/www/papers/ps/tr91-

196.pdf

Page 9: Evolutionary Machine Intelligence in Smart Markets of microservices

Quine

Willard Van Orman Quine

Douglas Hofstadter

Page 10: Evolutionary Machine Intelligence in Smart Markets of microservices

Cypher Query Language

Neo4j – Graph Database

neo4j.com

Neo Technologies

Page 11: Evolutionary Machine Intelligence in Smart Markets of microservices

EngineSearch

Page 12: Evolutionary Machine Intelligence in Smart Markets of microservices

MarketSmart

Page 13: Evolutionary Machine Intelligence in Smart Markets of microservices

Summary

Two Worlds

References

Reverse Game Theory of Smart Markets

Service Compilers

Memoization

Building the portal

Q & A

Page 14: Evolutionary Machine Intelligence in Smart Markets of microservices

Smart Markets

• Periodic auctions

• Mathematical optimization

• Knapsack problem

• Combinatorial auctions

• Parties are generally anonymous

• Market algorithm enforces regulation,

fairness and transparency

Page 15: Evolutionary Machine Intelligence in Smart Markets of microservices

Solution Design

• engineering approach to designing

economic mechanisms or incentives,

toward desired objectives, in strategic

settings,

• Reverse Game Theory

• broad applications, from economics and

politics (markets, auctions, voting

procedures) to networked-systems

(internet interdomain routing, sponsored

search auctions).

• The 2007 Nobel Memorial Prize in

Economic Sciences was awarded to Leonid

Hurwicz, Eric Maskin, and Roger Myerson

"for having laid the foundations of

mechanism design theory".[

Page 16: Evolutionary Machine Intelligence in Smart Markets of microservices

Summary

Two Worlds

References

Reverse Game Theory of Smart Markets

Service Compilers

Memoization

Building the portal

Q & A

Page 17: Evolutionary Machine Intelligence in Smart Markets of microservices

Service Compilers

Business Models

Contexts

Change

Service

Microservices, APIs, Web Services

Solutions

Innovations

Services as Rules

Language

Antlr

Neo4j

Business Transformation

Google Model

Smart Market of Services

Extending the Google Business Model into a

Smart Service Compiler

Page 18: Evolutionary Machine Intelligence in Smart Markets of microservices

Graph Reactor / Ianta Labs

Initial Business Context – Data & Code

ClientsRulesRivals

Code

MetaData

Plans

Data Team

Sales

Bank

Skills

CONTEXT

Page 19: Evolutionary Machine Intelligence in Smart Markets of microservices

Graph Reactor / Ianta Labs

Final Business Context – Data & Code

ClientsRules

Rivals

Codes

Meta-Data

Plan

DataTeam

Sales

Money

Skills

CONTEXT

Page 20: Evolutionary Machine Intelligence in Smart Markets of microservices

Graph Reactor / Ianta Labs

Change = Triple (Initial Context, Services, Final Context)

Change

Service = Triple (Initial Context Pattern, Microservices, Final Context Pattern)

Microservice = Triple (Input Cypher Query, Function, Output Cypher Query)

Page 21: Evolutionary Machine Intelligence in Smart Markets of microservices

Graph Reactor / Ianta Labs

Project = Sum (Services)

Service 1

Service 2

Service n

Page 22: Evolutionary Machine Intelligence in Smart Markets of microservices

Graph Reactor / Ianta Labs

Solution = Sequence (Services)

Service nService 1

Page 23: Evolutionary Machine Intelligence in Smart Markets of microservices

Graph Reactor / Ianta Labs

Innovation = Agile Search (Solution) + Novelty Test

Service n

Service 1

Page 24: Evolutionary Machine Intelligence in Smart Markets of microservices

Graph Reactor / Ianta Labs24

Microservice = Coding Service

Integer dimX = 3;

Antlr4 View Neo4j View

Page 25: Evolutionary Machine Intelligence in Smart Markets of microservices

Graph Reactor / Ianta Labs25

Iterator Microservicefor (int i = 0; i < dimX; i++) {

p[i] = db.createNode(pixel);}

Antlr4 View Neo4j View

Page 26: Evolutionary Machine Intelligence in Smart Markets of microservices

Graph Reactor / Ianta Labs

CRUD Solution Expansion

Page 27: Evolutionary Machine Intelligence in Smart Markets of microservices

Graph Reactor / Ianta Labs27

What Investors Expect

ModelBusiness

CodeSolution

ValidateSolution

PrintMoney

UpdateProcess

Page 28: Evolutionary Machine Intelligence in Smart Markets of microservices

Graph Reactor / Ianta Labs28

The Real Speed of Projects

ModelBusiness

CodeSolution

ValidateSolution

PrintMoney

UpdateProcess

Page 29: Evolutionary Machine Intelligence in Smart Markets of microservices

Graph Reactor / Ianta Labs29

Solution=

Path

Target Context

Metadata

Big data

Software

Initial Context

Metadata

Big Data

Software

Big Data Solution Search Process

Initial Context / Code Target Context / CodeChanges

Transformation

Page 30: Evolutionary Machine Intelligence in Smart Markets of microservices

Graph Reactor / Ianta Labs30

Search Engine Business Model

AdWordsAdvertisersPay Per ClickAdSense

Web MastersPay Per Click

Internet Pages SearchQuestion WordsOne question/search

Search Engines Do NOT Build Solutions

Internet Pages are Contributed by Millions of People

Page 31: Evolutionary Machine Intelligence in Smart Markets of microservices

Graph Reactor / Ianta Labs31

Expanding Search Engine Model into an Innovation Engine

AdWordsAdvertisersPay Per Click

AdSenseWeb MastersPay Per Click

Internet Pages SearchInternet UsersOne question/search

MicroservicesProgrammers

Pay Per Use

Cypher AnnotationsBusiness AnalystsPay Per Use

Budgeted ProjectsProduct ManagersPay Per Use

Page 32: Evolutionary Machine Intelligence in Smart Markets of microservices

Graph Reactor / Ianta Labs32

Budgeted ProjectsProduct ManagersPay for solutions

MicroservicesProgrammers

Get paid

Cypher AnnotationsAnalysts / StudentsGet paid

Investment DecisionsExecutives / Investors

Pay for services

Tw

ee

t S

ma

rt 4

Pro

gre

ss

Microservices Search Engine

Page 33: Evolutionary Machine Intelligence in Smart Markets of microservices

Graph Reactor / Ianta Labs33

Solution=

Path

Target Context

Metadata

Big data

Target Code

Initial Context

Metadata

Big Data

Initial code

Big Data Solution Search Process

Initial Code Target Code

Page 34: Evolutionary Machine Intelligence in Smart Markets of microservices

Graph Reactor / Ianta Labs34

Page 35: Evolutionary Machine Intelligence in Smart Markets of microservices

Graph Reactor / Ianta Labs35

Implementation Steps

• Translate existing APIs into Microservices / Coders + DevOps

• Annotate microservices with Cypher queries / BAs

• Define projects including test queries / Product Managers

• Graph Reactor• neo4j.com/blog/cypher-microservices-part-1• neo4j.com/blog/cypher-microservices-part-2• neo4j.com/blog/cypher-microservices-part-3• neo4j.com/blog/cypher-microservices-part-4

Page 36: Evolutionary Machine Intelligence in Smart Markets of microservices

Summary

Two Worlds

References

Reverse Game Theory of Smart Markets

Service Compilers

Memoization

Building the portal

Q & A

Page 37: Evolutionary Machine Intelligence in Smart Markets of microservices

Memoization

How Smart Markets of services can

implement Evolutionary Machine Learning

Page 38: Evolutionary Machine Intelligence in Smart Markets of microservices

Summary

Two Worlds

References

Reverse Game Theory of Smart Markets

Service Compilers

Memoization

Building the portal

Q & A

Page 39: Evolutionary Machine Intelligence in Smart Markets of microservices

Building the Portal

Smart Markets of Services

Page 40: Evolutionary Machine Intelligence in Smart Markets of microservices

A mix of services

PwC

Page 41: Evolutionary Machine Intelligence in Smart Markets of microservices

Graph Reactor / Ianta Labs41

Project Managers

Programmers

Analysts

Entrepreneurs

Investors

Fastest, Cheapest, Top Quality Solutions Generator

Multisided Market Platform

Marketers

Page 42: Evolutionary Machine Intelligence in Smart Markets of microservices

Graph Reactor / Ianta Labs42

$50B Market Opportunity

Critical Thinking Decomposed to Logic Rules

30M Coders & IT

~100M Managers

7B Brains

10M x 50w x 40h = 20Bh x $50 = $1T

100M x 50w x 40h = 200Bh x $50 = $10T

1000M x 50w x 40h = 2000Bh x $5 = $10T

Page 43: Evolutionary Machine Intelligence in Smart Markets of microservices

Graph Reactor / Ianta Labs43

Reactor Ignition Timeline

Prototype01

Trading & Payments Platform 4 Microservices 02

Loading Services & Annotations03

Ignite Reactor04

Looking for:- Developers- Partners- Investors

Q1 2016 Q2 2016 Q3 2016 Q4 2016 Q1 2017 Q2 2017

Page 44: Evolutionary Machine Intelligence in Smart Markets of microservices

Summary

Cypher ~ Universal context description language

Annotated microservices/smart contracts ~ Genes

Microservices smart markets ~ Genetic algorithms

Internet of services ~ Genetic pool

Search engine for services ~ Gene ranking/selection

Progressive computational economy ~ Evolutionary genetic pool

Optimal decisions in current context

Page 45: Evolutionary Machine Intelligence in Smart Markets of microservices

Civilization advances by extending

the number of important

operations which we can perform

without thinking of them.

Alfred North Whitehead

Interested to join building a smart automated market of services?

Page 46: Evolutionary Machine Intelligence in Smart Markets of microservices

Q & AStefan Ianta

@v_ianta

servi.ca

https://ca.linkedin.com/in/stefanianta

Page 47: Evolutionary Machine Intelligence in Smart Markets of microservices

Two Worlds

Consciousness and all behavior is computed

by trillions of processes of live cells

BBC documentary:

"All Watched Over By

Machines of Loving Grace“

Page 48: Evolutionary Machine Intelligence in Smart Markets of microservices

The Architect

Alfred North Whitehead

Process philosophy

Trinity College, Cambridge

https://www.infoq.com/presentations/

Are-We-There-Yet-Rich-Hickey

Page 49: Evolutionary Machine Intelligence in Smart Markets of microservices

Best practices

Engineered

Labour Standards

MTM Methods-Time Measurement

http://mtm-international.org/

Page 50: Evolutionary Machine Intelligence in Smart Markets of microservices

Engineered

Labour Standards

Observing the sequence of

labour actions

of human computers

Page 51: Evolutionary Machine Intelligence in Smart Markets of microservices

The Market

The invisible hand

The Solution Search Engine

Self-assembling wires

Stanford Complexity Group

www.youtube.com/watch?v=PeHWqr9dz3c

Page 52: Evolutionary Machine Intelligence in Smart Markets of microservices

Cell Reproduction

DNA replication

www.youtube.com/watch?v=TNKWgcFPHqw