SlideShare a Scribd company logo
1 of 18
Download to read offline
!1
Full Human-Level Artificial Intelligence
and … Data Stream Processing
Heh, I got this!
Paris Carbone
▪ There is one known runtime for human-level intelligence
▪ What is so special about the human brain structure?
!3
Neurobiological Foundations of Action Planning and Execution - Human Action Control — B.Hommel et al.
▪ Diverse functionality/workloads
▪ Common runtime (neurons)
▪ The Brain Neural Network Runtime
!4
▪ Distributed
▪ Organised in Logical Units
▪ Embedded State with Computation
▪ Shared Network
▪ Configured Data Dependencies
▪ Messages (signals)
▪ Supports Low latency Serving
▪ Supports Incremental Updates
▪ Supports Iterative Tasks
▪ Asynchronous Processing
▪ 100% Organic
▪ Distributed
▪ Organised in Logical Units
▪ Embedded State with Computation
▪ Shared Network
▪ Configured Data Dependencies
▪ Messages (signals)
▪ Supports Low latency Serving
▪ Supports Incremental Updates
▪ Supports Iterative Tasks
▪ Asynchronous Processing
▪ 100% Organic
▪ The Data Stream Processing Runtime
!5
!6
▪ Compilers - Our first and best “super-human” invention
▪ Instead, compilers can understand instructions…
▪ explained by humans in a high-level declarative language
▪ and then optimise them
▪ and translate to stupid machines to execute them reliably
“A revolutionary technology
that does NOT require you to throw tons of data
to your problem to be able to solve it”
!7
▪ Our ‘Continuous Deep Analytics’ Project
Compilers
+
Data Streams
▪ Modern Data Pipelines need to combine diverse workloads!
(ML Training & Serving, Relational Algebra, Streams, Tensors, Graphs)
!8
⋈
⋈
⋈
σθ
σθ
σθ
σθ
π
π
Relational Data Streams
Feature Learning
Tensor Programming Dynamic
Graphs
!9
Arc Compiler
▪ diverse workloads
▪ common runtime
!10
Intelligence: Smart Choice / Responce Time
Pipeline (CPU) - Optimised
Pipeline (GPU/TPU)
- Optimised
time until decision
Pipeline (CPU)
Pipeline (GPU/TPU)
critical decision
making
!11
▪ It will be able to solve complex Climate Science problems, fast
val rawStreams = streams("models/*/ts*.nc").
withType[LabelledTensor[Inf x Int x Int -> Double,
Float x (Float, Float) x (Float, Float)]].
dimensionLabels('time x 'lat x 'lon);
val averageStreams = rawStreams.map { raw =>
val timeSliced = raw.sliceBy('time);
val aligned = timeSlices.tile(360 x 720).
map(grid => average(grid));
val gridSlices = aligned.sliceBy('lat, 'lon);
val agg12h = gridSlices.window('time, t => t.between(TimeOfDay(6.h), TimeOfDay(18.h))).
average;
val agg1d = gridSlices.window('time, t => Day(t)).average;
val agg1month = gridSlices.window('time, t => Month(t)).average;
val agg1Season = gridSlices.window('time, t => Month(t).in(
Set(Dec, Jan, Feb),
Set(Mar, Apr, May),
Set(Jun, Jul, Aug),
Set(Sep, Oct, Nov)).average;
(agg12h, agg1d, agg1month, agg1season)
}.unzip4;
val diffs = averageStreams.map { inv =>
val merged = inv.mergeOn('time, 'lat, 'lon);
val averageModels = merged.map(models => (models, average(models)));
averageModels.map {
case (models, avg) => models.map(t => t-avg)
};
}
!12
equi-join time slices then map:
average then diff
sink:
12h
sink:
1d
sink:
month
sink:
season
src20 window:
12h
aggregate with
shared tree of
partials:
average
window:
1d
window:
month
window:
season
src1 tile
map:
average window:
12h
aggregate with
shared tree of
partials:
average
window:
1d
window:
month
window:
season
equi-join time slices then map:
average then diff
equi-join time slices then map:
average then diff
equi-join time slices then map:
average then diff
▪ And generate an optimised stream process graph (program)
!13
Using an Intermediate Representation (IR)
f f’…. ….Data knowledge
f+f’
IR IR
IR
f f’
!14
Weld IR (Stanford DAWN Project)
+ supports large number of existing libraries
- currently limited to short-lived local task execution
Matei Zaharia (Spark architect) et. al.
!14
The Arc Compilation Stack
Available Resources
Stream Metadata
Intermediate
Representation (IR)
Frontends
Logically Optimised
IR
Physically Optimised
IR
Binaries
Arc: Weld for Streams
!16
JIT - Live Rewiring of Continuous Programs
Physically Optimised
IR
Binaries
Change in Resources
Change in Load Distribution
Monitoring
Discovered better Plan
!17
The Current CDA Team (RISE SICS + KTH)
Computer
Systems
Machine
Learning
Lars
Kroll
Paris
Carbone
Christian
Schulte
Seif
Haridi
Theodore
Vasiloudis
Daniel
Gillblad
MSc Students
• Klas Segeljakt
• Oscar Bjuhr
• Johan Mickos
▪ The Brain Neural Network Runtime
!18
▪ Distributed
▪ Organised in Logical Units
▪ Embedded State with Computation
▪ Shared Network
▪ Configured Data Dependencies
▪ Messages (signals)
▪ Supports Low latency Serving
▪ Supports Incremental Updates
▪ Supports Iterative Tasks
▪ Asynchronous Processing
▪ 100% Organic
▪ Just in Time Reconfiguration
▪ Executes Declarative Instructions Reliably

More Related Content

Similar to A Future Look of Data Stream Processing as an Architecture for AI

ACM DEBS 2015: Realtime Streaming Analytics Patterns
ACM DEBS 2015: Realtime Streaming Analytics PatternsACM DEBS 2015: Realtime Streaming Analytics Patterns
ACM DEBS 2015: Realtime Streaming Analytics PatternsSrinath Perera
 
DEBS 2015 Tutorial : Patterns for Realtime Streaming Analytics
DEBS 2015 Tutorial : Patterns for Realtime Streaming AnalyticsDEBS 2015 Tutorial : Patterns for Realtime Streaming Analytics
DEBS 2015 Tutorial : Patterns for Realtime Streaming AnalyticsSriskandarajah Suhothayan
 
Fast and Scalable Python
Fast and Scalable PythonFast and Scalable Python
Fast and Scalable PythonTravis Oliphant
 
Integrate Solr with real-time stream processing applications
Integrate Solr with real-time stream processing applicationsIntegrate Solr with real-time stream processing applications
Integrate Solr with real-time stream processing applicationsthelabdude
 
MRT 2018: reflecting on the past and the present with temporal graph models
MRT 2018: reflecting on the past and the present with temporal graph modelsMRT 2018: reflecting on the past and the present with temporal graph models
MRT 2018: reflecting on the past and the present with temporal graph modelsAntonio García-Domínguez
 
R for Pirates. ESCCONF October 27, 2011
R for Pirates. ESCCONF October 27, 2011R for Pirates. ESCCONF October 27, 2011
R for Pirates. ESCCONF October 27, 2011Mandi Walls
 
Using Graph Analysis and Fraud Detection in the Fintech Industry
Using Graph Analysis and Fraud Detection in the Fintech IndustryUsing Graph Analysis and Fraud Detection in the Fintech Industry
Using Graph Analysis and Fraud Detection in the Fintech IndustryStanka Dalekova
 
Using Graph Analysis and Fraud Detection in the Fintech Industry
Using Graph Analysis and Fraud Detection in the Fintech IndustryUsing Graph Analysis and Fraud Detection in the Fintech Industry
Using Graph Analysis and Fraud Detection in the Fintech IndustryStanka Dalekova
 
The Tidyverse and the Future of the Monitoring Toolchain
The Tidyverse and the Future of the Monitoring ToolchainThe Tidyverse and the Future of the Monitoring Toolchain
The Tidyverse and the Future of the Monitoring ToolchainJohn Rauser
 
Interpreting the data parallel analysis with sawzall
Interpreting the data  parallel analysis with sawzallInterpreting the data  parallel analysis with sawzall
Interpreting the data parallel analysis with sawzallLee David
 
10 Billion a Day, 100 Milliseconds Per: Monitoring Real-Time Bidding at AdRoll
10 Billion a Day, 100 Milliseconds Per: Monitoring Real-Time Bidding at AdRoll10 Billion a Day, 100 Milliseconds Per: Monitoring Real-Time Bidding at AdRoll
10 Billion a Day, 100 Milliseconds Per: Monitoring Real-Time Bidding at AdRollBrian Troutwine
 
Visualizing Systems with Statemaps
Visualizing Systems with StatemapsVisualizing Systems with Statemaps
Visualizing Systems with Statemapsbcantrill
 
Big datascienceh2oandr
Big datascienceh2oandrBig datascienceh2oandr
Big datascienceh2oandrSri Ambati
 
Big Data Science with H2O in R
Big Data Science with H2O in RBig Data Science with H2O in R
Big Data Science with H2O in RAnqi Fu
 
introduction to data processing using Hadoop and Pig
introduction to data processing using Hadoop and Pigintroduction to data processing using Hadoop and Pig
introduction to data processing using Hadoop and PigRicardo Varela
 

Similar to A Future Look of Data Stream Processing as an Architecture for AI (20)

ACM DEBS 2015: Realtime Streaming Analytics Patterns
ACM DEBS 2015: Realtime Streaming Analytics PatternsACM DEBS 2015: Realtime Streaming Analytics Patterns
ACM DEBS 2015: Realtime Streaming Analytics Patterns
 
DEBS 2015 Tutorial : Patterns for Realtime Streaming Analytics
DEBS 2015 Tutorial : Patterns for Realtime Streaming AnalyticsDEBS 2015 Tutorial : Patterns for Realtime Streaming Analytics
DEBS 2015 Tutorial : Patterns for Realtime Streaming Analytics
 
Fast and Scalable Python
Fast and Scalable PythonFast and Scalable Python
Fast and Scalable Python
 
Vaex pygrunn
Vaex pygrunnVaex pygrunn
Vaex pygrunn
 
Integrate Solr with real-time stream processing applications
Integrate Solr with real-time stream processing applicationsIntegrate Solr with real-time stream processing applications
Integrate Solr with real-time stream processing applications
 
Storm Anatomy
Storm AnatomyStorm Anatomy
Storm Anatomy
 
Data science
Data scienceData science
Data science
 
MRT 2018: reflecting on the past and the present with temporal graph models
MRT 2018: reflecting on the past and the present with temporal graph modelsMRT 2018: reflecting on the past and the present with temporal graph models
MRT 2018: reflecting on the past and the present with temporal graph models
 
Temporal Data
Temporal DataTemporal Data
Temporal Data
 
Is this normal?
Is this normal?Is this normal?
Is this normal?
 
R for Pirates. ESCCONF October 27, 2011
R for Pirates. ESCCONF October 27, 2011R for Pirates. ESCCONF October 27, 2011
R for Pirates. ESCCONF October 27, 2011
 
Using Graph Analysis and Fraud Detection in the Fintech Industry
Using Graph Analysis and Fraud Detection in the Fintech IndustryUsing Graph Analysis and Fraud Detection in the Fintech Industry
Using Graph Analysis and Fraud Detection in the Fintech Industry
 
Using Graph Analysis and Fraud Detection in the Fintech Industry
Using Graph Analysis and Fraud Detection in the Fintech IndustryUsing Graph Analysis and Fraud Detection in the Fintech Industry
Using Graph Analysis and Fraud Detection in the Fintech Industry
 
The Tidyverse and the Future of the Monitoring Toolchain
The Tidyverse and the Future of the Monitoring ToolchainThe Tidyverse and the Future of the Monitoring Toolchain
The Tidyverse and the Future of the Monitoring Toolchain
 
Interpreting the data parallel analysis with sawzall
Interpreting the data  parallel analysis with sawzallInterpreting the data  parallel analysis with sawzall
Interpreting the data parallel analysis with sawzall
 
10 Billion a Day, 100 Milliseconds Per: Monitoring Real-Time Bidding at AdRoll
10 Billion a Day, 100 Milliseconds Per: Monitoring Real-Time Bidding at AdRoll10 Billion a Day, 100 Milliseconds Per: Monitoring Real-Time Bidding at AdRoll
10 Billion a Day, 100 Milliseconds Per: Monitoring Real-Time Bidding at AdRoll
 
Visualizing Systems with Statemaps
Visualizing Systems with StatemapsVisualizing Systems with Statemaps
Visualizing Systems with Statemaps
 
Big datascienceh2oandr
Big datascienceh2oandrBig datascienceh2oandr
Big datascienceh2oandr
 
Big Data Science with H2O in R
Big Data Science with H2O in RBig Data Science with H2O in R
Big Data Science with H2O in R
 
introduction to data processing using Hadoop and Pig
introduction to data processing using Hadoop and Pigintroduction to data processing using Hadoop and Pig
introduction to data processing using Hadoop and Pig
 

More from Paris Carbone

Continuous Intelligence - Intersecting Event-Based Business Logic and ML
Continuous Intelligence - Intersecting Event-Based Business Logic and MLContinuous Intelligence - Intersecting Event-Based Business Logic and ML
Continuous Intelligence - Intersecting Event-Based Business Logic and MLParis Carbone
 
Scalable and Reliable Data Stream Processing - Doctorate Seminar
Scalable and Reliable Data Stream Processing - Doctorate SeminarScalable and Reliable Data Stream Processing - Doctorate Seminar
Scalable and Reliable Data Stream Processing - Doctorate SeminarParis Carbone
 
Stream Loops on Flink - Reinventing the wheel for the streaming era
Stream Loops on Flink - Reinventing the wheel for the streaming eraStream Loops on Flink - Reinventing the wheel for the streaming era
Stream Loops on Flink - Reinventing the wheel for the streaming eraParis Carbone
 
Asynchronous Epoch Commits for Fast and Reliable Data Stream Execution in Apa...
Asynchronous Epoch Commits for Fast and Reliable Data Stream Execution in Apa...Asynchronous Epoch Commits for Fast and Reliable Data Stream Execution in Apa...
Asynchronous Epoch Commits for Fast and Reliable Data Stream Execution in Apa...Paris Carbone
 
Continuous Deep Analytics
Continuous Deep AnalyticsContinuous Deep Analytics
Continuous Deep AnalyticsParis Carbone
 
State Management in Apache Flink : Consistent Stateful Distributed Stream Pro...
State Management in Apache Flink : Consistent Stateful Distributed Stream Pro...State Management in Apache Flink : Consistent Stateful Distributed Stream Pro...
State Management in Apache Flink : Consistent Stateful Distributed Stream Pro...Paris Carbone
 
Reintroducing the Stream Processor: A universal tool for continuous data anal...
Reintroducing the Stream Processor: A universal tool for continuous data anal...Reintroducing the Stream Processor: A universal tool for continuous data anal...
Reintroducing the Stream Processor: A universal tool for continuous data anal...Paris Carbone
 
Not Less, Not More: Exactly Once, Large-Scale Stream Processing in Action
Not Less, Not More: Exactly Once, Large-Scale Stream Processing in ActionNot Less, Not More: Exactly Once, Large-Scale Stream Processing in Action
Not Less, Not More: Exactly Once, Large-Scale Stream Processing in ActionParis Carbone
 
Graph Stream Processing : spinning fast, large scale, complex analytics
Graph Stream Processing : spinning fast, large scale, complex analyticsGraph Stream Processing : spinning fast, large scale, complex analytics
Graph Stream Processing : spinning fast, large scale, complex analyticsParis Carbone
 
Data Stream Analytics - Why they are important
Data Stream Analytics - Why they are importantData Stream Analytics - Why they are important
Data Stream Analytics - Why they are importantParis Carbone
 
Single-Pass Graph Stream Analytics with Apache Flink
Single-Pass Graph Stream Analytics with Apache FlinkSingle-Pass Graph Stream Analytics with Apache Flink
Single-Pass Graph Stream Analytics with Apache FlinkParis Carbone
 
Aggregate Sharing for User-Define Data Stream Windows
Aggregate Sharing for User-Define Data Stream WindowsAggregate Sharing for User-Define Data Stream Windows
Aggregate Sharing for User-Define Data Stream WindowsParis Carbone
 
An Introduction to Distributed Data Streaming
An Introduction to Distributed Data StreamingAn Introduction to Distributed Data Streaming
An Introduction to Distributed Data StreamingParis Carbone
 
Tech Talk @ Google on Flink Fault Tolerance and HA
Tech Talk @ Google on Flink Fault Tolerance and HATech Talk @ Google on Flink Fault Tolerance and HA
Tech Talk @ Google on Flink Fault Tolerance and HAParis Carbone
 

More from Paris Carbone (14)

Continuous Intelligence - Intersecting Event-Based Business Logic and ML
Continuous Intelligence - Intersecting Event-Based Business Logic and MLContinuous Intelligence - Intersecting Event-Based Business Logic and ML
Continuous Intelligence - Intersecting Event-Based Business Logic and ML
 
Scalable and Reliable Data Stream Processing - Doctorate Seminar
Scalable and Reliable Data Stream Processing - Doctorate SeminarScalable and Reliable Data Stream Processing - Doctorate Seminar
Scalable and Reliable Data Stream Processing - Doctorate Seminar
 
Stream Loops on Flink - Reinventing the wheel for the streaming era
Stream Loops on Flink - Reinventing the wheel for the streaming eraStream Loops on Flink - Reinventing the wheel for the streaming era
Stream Loops on Flink - Reinventing the wheel for the streaming era
 
Asynchronous Epoch Commits for Fast and Reliable Data Stream Execution in Apa...
Asynchronous Epoch Commits for Fast and Reliable Data Stream Execution in Apa...Asynchronous Epoch Commits for Fast and Reliable Data Stream Execution in Apa...
Asynchronous Epoch Commits for Fast and Reliable Data Stream Execution in Apa...
 
Continuous Deep Analytics
Continuous Deep AnalyticsContinuous Deep Analytics
Continuous Deep Analytics
 
State Management in Apache Flink : Consistent Stateful Distributed Stream Pro...
State Management in Apache Flink : Consistent Stateful Distributed Stream Pro...State Management in Apache Flink : Consistent Stateful Distributed Stream Pro...
State Management in Apache Flink : Consistent Stateful Distributed Stream Pro...
 
Reintroducing the Stream Processor: A universal tool for continuous data anal...
Reintroducing the Stream Processor: A universal tool for continuous data anal...Reintroducing the Stream Processor: A universal tool for continuous data anal...
Reintroducing the Stream Processor: A universal tool for continuous data anal...
 
Not Less, Not More: Exactly Once, Large-Scale Stream Processing in Action
Not Less, Not More: Exactly Once, Large-Scale Stream Processing in ActionNot Less, Not More: Exactly Once, Large-Scale Stream Processing in Action
Not Less, Not More: Exactly Once, Large-Scale Stream Processing in Action
 
Graph Stream Processing : spinning fast, large scale, complex analytics
Graph Stream Processing : spinning fast, large scale, complex analyticsGraph Stream Processing : spinning fast, large scale, complex analytics
Graph Stream Processing : spinning fast, large scale, complex analytics
 
Data Stream Analytics - Why they are important
Data Stream Analytics - Why they are importantData Stream Analytics - Why they are important
Data Stream Analytics - Why they are important
 
Single-Pass Graph Stream Analytics with Apache Flink
Single-Pass Graph Stream Analytics with Apache FlinkSingle-Pass Graph Stream Analytics with Apache Flink
Single-Pass Graph Stream Analytics with Apache Flink
 
Aggregate Sharing for User-Define Data Stream Windows
Aggregate Sharing for User-Define Data Stream WindowsAggregate Sharing for User-Define Data Stream Windows
Aggregate Sharing for User-Define Data Stream Windows
 
An Introduction to Distributed Data Streaming
An Introduction to Distributed Data StreamingAn Introduction to Distributed Data Streaming
An Introduction to Distributed Data Streaming
 
Tech Talk @ Google on Flink Fault Tolerance and HA
Tech Talk @ Google on Flink Fault Tolerance and HATech Talk @ Google on Flink Fault Tolerance and HA
Tech Talk @ Google on Flink Fault Tolerance and HA
 

Recently uploaded

April 2024 - Crypto Market Report's Analysis
April 2024 - Crypto Market Report's AnalysisApril 2024 - Crypto Market Report's Analysis
April 2024 - Crypto Market Report's Analysismanisha194592
 
Capstone Project on IBM Data Analytics Program
Capstone Project on IBM Data Analytics ProgramCapstone Project on IBM Data Analytics Program
Capstone Project on IBM Data Analytics ProgramMoniSankarHazra
 
Mature dropshipping via API with DroFx.pptx
Mature dropshipping via API with DroFx.pptxMature dropshipping via API with DroFx.pptx
Mature dropshipping via API with DroFx.pptxolyaivanovalion
 
Al Barsha Escorts $#$ O565212860 $#$ Escort Service In Al Barsha
Al Barsha Escorts $#$ O565212860 $#$ Escort Service In Al BarshaAl Barsha Escorts $#$ O565212860 $#$ Escort Service In Al Barsha
Al Barsha Escorts $#$ O565212860 $#$ Escort Service In Al BarshaAroojKhan71
 
Halmar dropshipping via API with DroFx
Halmar  dropshipping  via API with DroFxHalmar  dropshipping  via API with DroFx
Halmar dropshipping via API with DroFxolyaivanovalion
 
Call me @ 9892124323 Cheap Rate Call Girls in Vashi with Real Photo 100% Secure
Call me @ 9892124323  Cheap Rate Call Girls in Vashi with Real Photo 100% SecureCall me @ 9892124323  Cheap Rate Call Girls in Vashi with Real Photo 100% Secure
Call me @ 9892124323 Cheap Rate Call Girls in Vashi with Real Photo 100% SecurePooja Nehwal
 
Smarteg dropshipping via API with DroFx.pptx
Smarteg dropshipping via API with DroFx.pptxSmarteg dropshipping via API with DroFx.pptx
Smarteg dropshipping via API with DroFx.pptxolyaivanovalion
 
100-Concepts-of-AI by Anupama Kate .pptx
100-Concepts-of-AI by Anupama Kate .pptx100-Concepts-of-AI by Anupama Kate .pptx
100-Concepts-of-AI by Anupama Kate .pptxAnupama Kate
 
{Pooja: 9892124323 } Call Girl in Mumbai | Jas Kaur Rate 4500 Free Hotel Del...
{Pooja:  9892124323 } Call Girl in Mumbai | Jas Kaur Rate 4500 Free Hotel Del...{Pooja:  9892124323 } Call Girl in Mumbai | Jas Kaur Rate 4500 Free Hotel Del...
{Pooja: 9892124323 } Call Girl in Mumbai | Jas Kaur Rate 4500 Free Hotel Del...Pooja Nehwal
 
Introduction-to-Machine-Learning (1).pptx
Introduction-to-Machine-Learning (1).pptxIntroduction-to-Machine-Learning (1).pptx
Introduction-to-Machine-Learning (1).pptxfirstjob4
 
Data-Analysis for Chicago Crime Data 2023
Data-Analysis for Chicago Crime Data  2023Data-Analysis for Chicago Crime Data  2023
Data-Analysis for Chicago Crime Data 2023ymrp368
 
BabyOno dropshipping via API with DroFx.pptx
BabyOno dropshipping via API with DroFx.pptxBabyOno dropshipping via API with DroFx.pptx
BabyOno dropshipping via API with DroFx.pptxolyaivanovalion
 
Schema on read is obsolete. Welcome metaprogramming..pdf
Schema on read is obsolete. Welcome metaprogramming..pdfSchema on read is obsolete. Welcome metaprogramming..pdf
Schema on read is obsolete. Welcome metaprogramming..pdfLars Albertsson
 
Chintamani Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore ...
Chintamani Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore ...Chintamani Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore ...
Chintamani Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore ...amitlee9823
 
Zuja dropshipping via API with DroFx.pptx
Zuja dropshipping via API with DroFx.pptxZuja dropshipping via API with DroFx.pptx
Zuja dropshipping via API with DroFx.pptxolyaivanovalion
 
Determinants of health, dimensions of health, positive health and spectrum of...
Determinants of health, dimensions of health, positive health and spectrum of...Determinants of health, dimensions of health, positive health and spectrum of...
Determinants of health, dimensions of health, positive health and spectrum of...shambhavirathore45
 

Recently uploaded (20)

April 2024 - Crypto Market Report's Analysis
April 2024 - Crypto Market Report's AnalysisApril 2024 - Crypto Market Report's Analysis
April 2024 - Crypto Market Report's Analysis
 
Capstone Project on IBM Data Analytics Program
Capstone Project on IBM Data Analytics ProgramCapstone Project on IBM Data Analytics Program
Capstone Project on IBM Data Analytics Program
 
Mature dropshipping via API with DroFx.pptx
Mature dropshipping via API with DroFx.pptxMature dropshipping via API with DroFx.pptx
Mature dropshipping via API with DroFx.pptx
 
Al Barsha Escorts $#$ O565212860 $#$ Escort Service In Al Barsha
Al Barsha Escorts $#$ O565212860 $#$ Escort Service In Al BarshaAl Barsha Escorts $#$ O565212860 $#$ Escort Service In Al Barsha
Al Barsha Escorts $#$ O565212860 $#$ Escort Service In Al Barsha
 
Delhi 99530 vip 56974 Genuine Escort Service Call Girls in Kishangarh
Delhi 99530 vip 56974 Genuine Escort Service Call Girls in  KishangarhDelhi 99530 vip 56974 Genuine Escort Service Call Girls in  Kishangarh
Delhi 99530 vip 56974 Genuine Escort Service Call Girls in Kishangarh
 
Halmar dropshipping via API with DroFx
Halmar  dropshipping  via API with DroFxHalmar  dropshipping  via API with DroFx
Halmar dropshipping via API with DroFx
 
Sampling (random) method and Non random.ppt
Sampling (random) method and Non random.pptSampling (random) method and Non random.ppt
Sampling (random) method and Non random.ppt
 
Call me @ 9892124323 Cheap Rate Call Girls in Vashi with Real Photo 100% Secure
Call me @ 9892124323  Cheap Rate Call Girls in Vashi with Real Photo 100% SecureCall me @ 9892124323  Cheap Rate Call Girls in Vashi with Real Photo 100% Secure
Call me @ 9892124323 Cheap Rate Call Girls in Vashi with Real Photo 100% Secure
 
Smarteg dropshipping via API with DroFx.pptx
Smarteg dropshipping via API with DroFx.pptxSmarteg dropshipping via API with DroFx.pptx
Smarteg dropshipping via API with DroFx.pptx
 
100-Concepts-of-AI by Anupama Kate .pptx
100-Concepts-of-AI by Anupama Kate .pptx100-Concepts-of-AI by Anupama Kate .pptx
100-Concepts-of-AI by Anupama Kate .pptx
 
{Pooja: 9892124323 } Call Girl in Mumbai | Jas Kaur Rate 4500 Free Hotel Del...
{Pooja:  9892124323 } Call Girl in Mumbai | Jas Kaur Rate 4500 Free Hotel Del...{Pooja:  9892124323 } Call Girl in Mumbai | Jas Kaur Rate 4500 Free Hotel Del...
{Pooja: 9892124323 } Call Girl in Mumbai | Jas Kaur Rate 4500 Free Hotel Del...
 
Introduction-to-Machine-Learning (1).pptx
Introduction-to-Machine-Learning (1).pptxIntroduction-to-Machine-Learning (1).pptx
Introduction-to-Machine-Learning (1).pptx
 
Data-Analysis for Chicago Crime Data 2023
Data-Analysis for Chicago Crime Data  2023Data-Analysis for Chicago Crime Data  2023
Data-Analysis for Chicago Crime Data 2023
 
BabyOno dropshipping via API with DroFx.pptx
BabyOno dropshipping via API with DroFx.pptxBabyOno dropshipping via API with DroFx.pptx
BabyOno dropshipping via API with DroFx.pptx
 
Schema on read is obsolete. Welcome metaprogramming..pdf
Schema on read is obsolete. Welcome metaprogramming..pdfSchema on read is obsolete. Welcome metaprogramming..pdf
Schema on read is obsolete. Welcome metaprogramming..pdf
 
Chintamani Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore ...
Chintamani Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore ...Chintamani Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore ...
Chintamani Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore ...
 
Zuja dropshipping via API with DroFx.pptx
Zuja dropshipping via API with DroFx.pptxZuja dropshipping via API with DroFx.pptx
Zuja dropshipping via API with DroFx.pptx
 
꧁❤ Aerocity Call Girls Service Aerocity Delhi ❤꧂ 9999965857 ☎️ Hard And Sexy ...
꧁❤ Aerocity Call Girls Service Aerocity Delhi ❤꧂ 9999965857 ☎️ Hard And Sexy ...꧁❤ Aerocity Call Girls Service Aerocity Delhi ❤꧂ 9999965857 ☎️ Hard And Sexy ...
꧁❤ Aerocity Call Girls Service Aerocity Delhi ❤꧂ 9999965857 ☎️ Hard And Sexy ...
 
Abortion pills in Doha Qatar (+966572737505 ! Get Cytotec
Abortion pills in Doha Qatar (+966572737505 ! Get CytotecAbortion pills in Doha Qatar (+966572737505 ! Get Cytotec
Abortion pills in Doha Qatar (+966572737505 ! Get Cytotec
 
Determinants of health, dimensions of health, positive health and spectrum of...
Determinants of health, dimensions of health, positive health and spectrum of...Determinants of health, dimensions of health, positive health and spectrum of...
Determinants of health, dimensions of health, positive health and spectrum of...
 

A Future Look of Data Stream Processing as an Architecture for AI

  • 1. !1 Full Human-Level Artificial Intelligence and … Data Stream Processing Heh, I got this! Paris Carbone
  • 2. ▪ There is one known runtime for human-level intelligence
  • 3. ▪ What is so special about the human brain structure? !3 Neurobiological Foundations of Action Planning and Execution - Human Action Control — B.Hommel et al. ▪ Diverse functionality/workloads ▪ Common runtime (neurons)
  • 4. ▪ The Brain Neural Network Runtime !4 ▪ Distributed ▪ Organised in Logical Units ▪ Embedded State with Computation ▪ Shared Network ▪ Configured Data Dependencies ▪ Messages (signals) ▪ Supports Low latency Serving ▪ Supports Incremental Updates ▪ Supports Iterative Tasks ▪ Asynchronous Processing ▪ 100% Organic
  • 5. ▪ Distributed ▪ Organised in Logical Units ▪ Embedded State with Computation ▪ Shared Network ▪ Configured Data Dependencies ▪ Messages (signals) ▪ Supports Low latency Serving ▪ Supports Incremental Updates ▪ Supports Iterative Tasks ▪ Asynchronous Processing ▪ 100% Organic ▪ The Data Stream Processing Runtime !5
  • 6. !6 ▪ Compilers - Our first and best “super-human” invention ▪ Instead, compilers can understand instructions… ▪ explained by humans in a high-level declarative language ▪ and then optimise them ▪ and translate to stupid machines to execute them reliably “A revolutionary technology that does NOT require you to throw tons of data to your problem to be able to solve it”
  • 7. !7 ▪ Our ‘Continuous Deep Analytics’ Project Compilers + Data Streams
  • 8. ▪ Modern Data Pipelines need to combine diverse workloads! (ML Training & Serving, Relational Algebra, Streams, Tensors, Graphs) !8 ⋈ ⋈ ⋈ σθ σθ σθ σθ π π Relational Data Streams Feature Learning Tensor Programming Dynamic Graphs
  • 9. !9 Arc Compiler ▪ diverse workloads ▪ common runtime
  • 10. !10 Intelligence: Smart Choice / Responce Time Pipeline (CPU) - Optimised Pipeline (GPU/TPU) - Optimised time until decision Pipeline (CPU) Pipeline (GPU/TPU) critical decision making
  • 11. !11 ▪ It will be able to solve complex Climate Science problems, fast val rawStreams = streams("models/*/ts*.nc"). withType[LabelledTensor[Inf x Int x Int -> Double, Float x (Float, Float) x (Float, Float)]]. dimensionLabels('time x 'lat x 'lon); val averageStreams = rawStreams.map { raw => val timeSliced = raw.sliceBy('time); val aligned = timeSlices.tile(360 x 720). map(grid => average(grid)); val gridSlices = aligned.sliceBy('lat, 'lon); val agg12h = gridSlices.window('time, t => t.between(TimeOfDay(6.h), TimeOfDay(18.h))). average; val agg1d = gridSlices.window('time, t => Day(t)).average; val agg1month = gridSlices.window('time, t => Month(t)).average; val agg1Season = gridSlices.window('time, t => Month(t).in( Set(Dec, Jan, Feb), Set(Mar, Apr, May), Set(Jun, Jul, Aug), Set(Sep, Oct, Nov)).average; (agg12h, agg1d, agg1month, agg1season) }.unzip4; val diffs = averageStreams.map { inv => val merged = inv.mergeOn('time, 'lat, 'lon); val averageModels = merged.map(models => (models, average(models))); averageModels.map { case (models, avg) => models.map(t => t-avg) }; }
  • 12. !12 equi-join time slices then map: average then diff sink: 12h sink: 1d sink: month sink: season src20 window: 12h aggregate with shared tree of partials: average window: 1d window: month window: season src1 tile map: average window: 12h aggregate with shared tree of partials: average window: 1d window: month window: season equi-join time slices then map: average then diff equi-join time slices then map: average then diff equi-join time slices then map: average then diff ▪ And generate an optimised stream process graph (program)
  • 13. !13 Using an Intermediate Representation (IR) f f’…. ….Data knowledge f+f’ IR IR IR f f’
  • 14. !14 Weld IR (Stanford DAWN Project) + supports large number of existing libraries - currently limited to short-lived local task execution Matei Zaharia (Spark architect) et. al. !14
  • 15. The Arc Compilation Stack Available Resources Stream Metadata Intermediate Representation (IR) Frontends Logically Optimised IR Physically Optimised IR Binaries Arc: Weld for Streams
  • 16. !16 JIT - Live Rewiring of Continuous Programs Physically Optimised IR Binaries Change in Resources Change in Load Distribution Monitoring Discovered better Plan
  • 17. !17 The Current CDA Team (RISE SICS + KTH) Computer Systems Machine Learning Lars Kroll Paris Carbone Christian Schulte Seif Haridi Theodore Vasiloudis Daniel Gillblad MSc Students • Klas Segeljakt • Oscar Bjuhr • Johan Mickos
  • 18. ▪ The Brain Neural Network Runtime !18 ▪ Distributed ▪ Organised in Logical Units ▪ Embedded State with Computation ▪ Shared Network ▪ Configured Data Dependencies ▪ Messages (signals) ▪ Supports Low latency Serving ▪ Supports Incremental Updates ▪ Supports Iterative Tasks ▪ Asynchronous Processing ▪ 100% Organic ▪ Just in Time Reconfiguration ▪ Executes Declarative Instructions Reliably