SlideShare a Scribd company logo
Speeding Up Resting
State Networks
Recognition
via a Hardware
Accelerator
Dipartimento di Elettronica,
Informazione e Bioingegneria,
Politecnico di Milano
Filippo Carloni filippo.carloni@mail.polimi.it
Giada Casagrande
Valentina Corbetta
Andrea Agostinelli
Luca Cerina
Emanuele Del Sozzo
Marco D. Santambrogio
NGCX, San Francisco – May 17-31, 2019
Context Definition
2
Long-term analysis of alterations
in brain functional connectivity
Identification of neurodegenerative diseases
and attention deficit disorders
Resting State Networks (RSNs)
3
Resting-State Networks (RSNs): synchronous
fluctuations between regions spatially distinct, occurring in the
absence of a task or stimulus.[1]
[1] [Bharat Biswal, F. Zerrin Yetkin, Victor M. Haughton, James S. Hyde, "Functional connectivity in the motor cortex using Echo-Planar MRI", Magn Reson Med, n.41 (1995), 34:537
Independent Component Analysis (ICA)
4
fMRI analysis using ICA requires a large
amount of matrix multiplications on big data
ICA
method
Resting-State NetworksBrain Signals
Iterative Fast Easy
FastICA
5
Technical Challenges
6
power consumptionexecution time
A standard software implementation on CPU would not be capable to
converge to a solution in a short amount of time and would need high
power consumption
Proposed Solution
7
Send to the remote service
Retrieve results
ElaborationPatient Images
Data Processing
Images
loading
Pre-
processing
FastICA
Post-
processing
Images
reconstructio
n and saving
8
Temporal Profile
9
Temporal Profile relative to the previous phases
Why FPGAs
10
Hardware Accelerations
In FastICA algorithm we used mainly two ILP techniques:
● Pipeline: We used pipeline on loops handling big vectors, since in FastICA the
iterations do not depend on the previous ones, so it’s very efficient to perform
loops iterations with partially overlapping.
11
In FastICA algorithm we used mainly two ILP techniques:
● Pipeline
● Unrolling: We have used in on loops handling smaller vectors, to enhance
performance with replicated hardware that performs so in parallel multiple loop
iterations.
int sum = 0;
for (int i = 0; i < 10; i++) {
sum += a[i];
}
with loop unrolling
int sum = 0;
for (int i = 0; i < 10; i += 2) {
sum += a[i];
sum += a[i +1];
}
12
Hardware Accelerations
Results: significant components
Image from: Storti, Silvia Francesca, et al. "Automatic selection of resting-state networks with functional magnetic resonance imaging." Frontiers in
neuroscience 7 (2013): 72.
13
Results: execution time
Implementations Execution time [s]
Our HW implementation 7.278
GIFT SW 38.116
Speed up of
5x
14
Conclusions and future works
● The main purpose of our work was to obtain a significant speed up with respects to
the state of the art, which has been reached (5x)
● As future works we aim to improve the design optimization
● We would also like to implement other filters to reduce movement artifacts and noise
● We would like to implement in hardware also the other steps of our code to reach a
real-time analysis
15
Thank you
for your attention
16
Filippo Carloni filippo.carloni@mail.polimi.it
Giada Casagrande
Valentina Corbetta
Andrea Agostinelli
Luca Cerina
Emanuele Del Sozzo
Marco D. Santambrogio

More Related Content

PDF
Binary Division Algorithms based on Vedic Mathematics: A Review
PDF
Fuzzy Logic Final Report
PPTX
Neural Network Research Projects Topics
PDF
IRJET- A Review Paper on Object Detection using Zynq-7000 FPGA for an Embedde...
PDF
Implementing Neural Networks Using VLSI for Image Processing (compression)
PPTX
【Machine Lewarning】 Paper Presentation
PDF
NEURAL NETWORK FOR THE RELIABILITY ANALYSIS OF A SERIES - PARALLEL SYSTEM SUB...
PDF
Neural Network Implementation Control Mobile Robot
Binary Division Algorithms based on Vedic Mathematics: A Review
Fuzzy Logic Final Report
Neural Network Research Projects Topics
IRJET- A Review Paper on Object Detection using Zynq-7000 FPGA for an Embedde...
Implementing Neural Networks Using VLSI for Image Processing (compression)
【Machine Lewarning】 Paper Presentation
NEURAL NETWORK FOR THE RELIABILITY ANALYSIS OF A SERIES - PARALLEL SYSTEM SUB...
Neural Network Implementation Control Mobile Robot

What's hot (19)

PPTX
Neural network
PDF
Machine Learning @ NECST
PDF
Dissertation character recognition - Report
DOC
PPTX
Artificial Intelligence, Machine Learning and Deep Learning with CNN
PDF
Computational decision making
DOCX
PhilipSamDavisResume
PPTX
Artificial neural network
PDF
E44082429
DOC
All optical circuits and for digital logic
PPTX
Anomaly Detection using Deep Auto-Encoders | Gianmario Spacagna
PDF
An Efficient VLSI Design of AES Cryptography Based on DNA TRNG Design
PDF
chandrashekar_resume1
PDF
Aparna Arya_Resume
PDF
PDF
KeithWiley_NeuromorphicComputing_and_CM1K_and_emulator_talk_wide
PPTX
Neural network
PDF
ACCELERATED DEEP LEARNING INFERENCE FROM CONSTRAINED EMBEDDED DEVICES
PDF
IRJET - Predicting the Maximum Computational Power of Microprocessors using M...
Neural network
Machine Learning @ NECST
Dissertation character recognition - Report
Artificial Intelligence, Machine Learning and Deep Learning with CNN
Computational decision making
PhilipSamDavisResume
Artificial neural network
E44082429
All optical circuits and for digital logic
Anomaly Detection using Deep Auto-Encoders | Gianmario Spacagna
An Efficient VLSI Design of AES Cryptography Based on DNA TRNG Design
chandrashekar_resume1
Aparna Arya_Resume
KeithWiley_NeuromorphicComputing_and_CM1K_and_emulator_talk_wide
Neural network
ACCELERATED DEEP LEARNING INFERENCE FROM CONSTRAINED EMBEDDED DEVICES
IRJET - Predicting the Maximum Computational Power of Microprocessors using M...
Ad

Similar to Speeding Up Resting State Networks Recognition via a Hardware Accelerator (20)

PDF
Reni_and_Sam_Poster_Final_449
PDF
Reservoir computing fast deep learning for sequences
PPTX
EEG Based BCI Applications with Deep Learning
PDF
MILA: Low-cost BCI framework for acquiring EEG data with IoT
PDF
40120140507007
PDF
40120140507007
PDF
International Refereed Journal of Engineering and Science (IRJES)
PDF
International Refereed Journal of Engineering and Science (IRJES)
PDF
J04302076081
PDF
Efficient And Improved Video Steganography using DCT and Neural Network
PDF
Brain Computer Interface & It's Applications | NeuroSky Minwave | Raspberry Pi
PDF
Overview of Machine Learning and Deep Learning Methods in Brain Computer Inte...
DOCX
Local area prediction based mobile target tracking in wireless sensor networks
PPTX
project_presentation
PDF
International Journal of Computational Engineering Research (IJCER)
PDF
BRAIN COMPUTER INTERFACES EMPLOYING MACHINE LEARNING METHODS : A SYSTEMATIC R...
PDF
IRJET- A Cloud based Virtual Brain Connectivity with EEG Sensor using Interne...
PPTX
Brain computer interface using machine learning
PDF
An overview on Advanced Research Works on Brain-Computer Interface
PDF
Enabling Transparent Hardware Acceleration on Zynq SoC for Python Data Scienc...
Reni_and_Sam_Poster_Final_449
Reservoir computing fast deep learning for sequences
EEG Based BCI Applications with Deep Learning
MILA: Low-cost BCI framework for acquiring EEG data with IoT
40120140507007
40120140507007
International Refereed Journal of Engineering and Science (IRJES)
International Refereed Journal of Engineering and Science (IRJES)
J04302076081
Efficient And Improved Video Steganography using DCT and Neural Network
Brain Computer Interface & It's Applications | NeuroSky Minwave | Raspberry Pi
Overview of Machine Learning and Deep Learning Methods in Brain Computer Inte...
Local area prediction based mobile target tracking in wireless sensor networks
project_presentation
International Journal of Computational Engineering Research (IJCER)
BRAIN COMPUTER INTERFACES EMPLOYING MACHINE LEARNING METHODS : A SYSTEMATIC R...
IRJET- A Cloud based Virtual Brain Connectivity with EEG Sensor using Interne...
Brain computer interface using machine learning
An overview on Advanced Research Works on Brain-Computer Interface
Enabling Transparent Hardware Acceleration on Zynq SoC for Python Data Scienc...
Ad

More from NECST Lab @ Politecnico di Milano (20)

PDF
Mesticheria Team - WiiReflex
PPTX
Punto e virgola Team - Stressometro
PDF
BitIt Team - Stay.straight
PDF
BabYodini Team - Talking Gloves
PDF
printf("Nome Squadra"); Team - NeoTon
PPTX
BlackBoard Team - Motion Tracking Platform
PDF
#include<brain.h> Team - HomeBeatHome
PDF
Flipflops Team - Wave U
PDF
Bug(atta) Team - Little Brother
PDF
#NECSTCamp: come partecipare
PDF
NECSTCamp101@2020.10.1
PDF
NECSTLab101 2020.2021
PDF
TreeHouse, nourish your community
PDF
TiReX: Tiled Regular eXpressionsmatching architecture
PDF
Embedding based knowledge graph link prediction for drug repurposing
PDF
PLASTER - PYNQ-based abandoned object detection using a map-reduce approach o...
PDF
EMPhASIS - An EMbedded Public Attention Stress Identification System
PDF
Luns - Automatic lungs segmentation through neural network
PDF
BlastFunction: How to combine Serverless and FPGAs
PDF
Maeve - Fast genome analysis leveraging exact string matching
Mesticheria Team - WiiReflex
Punto e virgola Team - Stressometro
BitIt Team - Stay.straight
BabYodini Team - Talking Gloves
printf("Nome Squadra"); Team - NeoTon
BlackBoard Team - Motion Tracking Platform
#include<brain.h> Team - HomeBeatHome
Flipflops Team - Wave U
Bug(atta) Team - Little Brother
#NECSTCamp: come partecipare
NECSTCamp101@2020.10.1
NECSTLab101 2020.2021
TreeHouse, nourish your community
TiReX: Tiled Regular eXpressionsmatching architecture
Embedding based knowledge graph link prediction for drug repurposing
PLASTER - PYNQ-based abandoned object detection using a map-reduce approach o...
EMPhASIS - An EMbedded Public Attention Stress Identification System
Luns - Automatic lungs segmentation through neural network
BlastFunction: How to combine Serverless and FPGAs
Maeve - Fast genome analysis leveraging exact string matching

Recently uploaded (20)

PDF
SM_6th-Sem__Cse_Internet-of-Things.pdf IOT
PDF
Human-AI Collaboration: Balancing Agentic AI and Autonomy in Hybrid Systems
PPTX
Internet of Things (IOT) - A guide to understanding
DOCX
ASol_English-Language-Literature-Set-1-27-02-2023-converted.docx
PPTX
additive manufacturing of ss316l using mig welding
PPTX
M Tech Sem 1 Civil Engineering Environmental Sciences.pptx
PPT
Project quality management in manufacturing
PDF
BIO-INSPIRED HORMONAL MODULATION AND ADAPTIVE ORCHESTRATION IN S-AI-GPT
PDF
Automation-in-Manufacturing-Chapter-Introduction.pdf
PPTX
bas. eng. economics group 4 presentation 1.pptx
PDF
R24 SURVEYING LAB MANUAL for civil enggi
PDF
TFEC-4-2020-Design-Guide-for-Timber-Roof-Trusses.pdf
PPTX
UNIT 4 Total Quality Management .pptx
PDF
Evaluating the Democratization of the Turkish Armed Forces from a Normative P...
PDF
Unit I ESSENTIAL OF DIGITAL MARKETING.pdf
PPTX
Sustainable Sites - Green Building Construction
PDF
Mitigating Risks through Effective Management for Enhancing Organizational Pe...
PDF
Enhancing Cyber Defense Against Zero-Day Attacks using Ensemble Neural Networks
PDF
Embodied AI: Ushering in the Next Era of Intelligent Systems
PDF
PREDICTION OF DIABETES FROM ELECTRONIC HEALTH RECORDS
SM_6th-Sem__Cse_Internet-of-Things.pdf IOT
Human-AI Collaboration: Balancing Agentic AI and Autonomy in Hybrid Systems
Internet of Things (IOT) - A guide to understanding
ASol_English-Language-Literature-Set-1-27-02-2023-converted.docx
additive manufacturing of ss316l using mig welding
M Tech Sem 1 Civil Engineering Environmental Sciences.pptx
Project quality management in manufacturing
BIO-INSPIRED HORMONAL MODULATION AND ADAPTIVE ORCHESTRATION IN S-AI-GPT
Automation-in-Manufacturing-Chapter-Introduction.pdf
bas. eng. economics group 4 presentation 1.pptx
R24 SURVEYING LAB MANUAL for civil enggi
TFEC-4-2020-Design-Guide-for-Timber-Roof-Trusses.pdf
UNIT 4 Total Quality Management .pptx
Evaluating the Democratization of the Turkish Armed Forces from a Normative P...
Unit I ESSENTIAL OF DIGITAL MARKETING.pdf
Sustainable Sites - Green Building Construction
Mitigating Risks through Effective Management for Enhancing Organizational Pe...
Enhancing Cyber Defense Against Zero-Day Attacks using Ensemble Neural Networks
Embodied AI: Ushering in the Next Era of Intelligent Systems
PREDICTION OF DIABETES FROM ELECTRONIC HEALTH RECORDS

Speeding Up Resting State Networks Recognition via a Hardware Accelerator

  • 1. Speeding Up Resting State Networks Recognition via a Hardware Accelerator Dipartimento di Elettronica, Informazione e Bioingegneria, Politecnico di Milano Filippo Carloni filippo.carloni@mail.polimi.it Giada Casagrande Valentina Corbetta Andrea Agostinelli Luca Cerina Emanuele Del Sozzo Marco D. Santambrogio NGCX, San Francisco – May 17-31, 2019
  • 2. Context Definition 2 Long-term analysis of alterations in brain functional connectivity Identification of neurodegenerative diseases and attention deficit disorders
  • 3. Resting State Networks (RSNs) 3 Resting-State Networks (RSNs): synchronous fluctuations between regions spatially distinct, occurring in the absence of a task or stimulus.[1] [1] [Bharat Biswal, F. Zerrin Yetkin, Victor M. Haughton, James S. Hyde, "Functional connectivity in the motor cortex using Echo-Planar MRI", Magn Reson Med, n.41 (1995), 34:537
  • 4. Independent Component Analysis (ICA) 4 fMRI analysis using ICA requires a large amount of matrix multiplications on big data ICA method Resting-State NetworksBrain Signals
  • 6. Technical Challenges 6 power consumptionexecution time A standard software implementation on CPU would not be capable to converge to a solution in a short amount of time and would need high power consumption
  • 7. Proposed Solution 7 Send to the remote service Retrieve results ElaborationPatient Images
  • 9. Temporal Profile 9 Temporal Profile relative to the previous phases
  • 11. Hardware Accelerations In FastICA algorithm we used mainly two ILP techniques: ● Pipeline: We used pipeline on loops handling big vectors, since in FastICA the iterations do not depend on the previous ones, so it’s very efficient to perform loops iterations with partially overlapping. 11
  • 12. In FastICA algorithm we used mainly two ILP techniques: ● Pipeline ● Unrolling: We have used in on loops handling smaller vectors, to enhance performance with replicated hardware that performs so in parallel multiple loop iterations. int sum = 0; for (int i = 0; i < 10; i++) { sum += a[i]; } with loop unrolling int sum = 0; for (int i = 0; i < 10; i += 2) { sum += a[i]; sum += a[i +1]; } 12 Hardware Accelerations
  • 13. Results: significant components Image from: Storti, Silvia Francesca, et al. "Automatic selection of resting-state networks with functional magnetic resonance imaging." Frontiers in neuroscience 7 (2013): 72. 13
  • 14. Results: execution time Implementations Execution time [s] Our HW implementation 7.278 GIFT SW 38.116 Speed up of 5x 14
  • 15. Conclusions and future works ● The main purpose of our work was to obtain a significant speed up with respects to the state of the art, which has been reached (5x) ● As future works we aim to improve the design optimization ● We would also like to implement other filters to reduce movement artifacts and noise ● We would like to implement in hardware also the other steps of our code to reach a real-time analysis 15
  • 16. Thank you for your attention 16 Filippo Carloni filippo.carloni@mail.polimi.it Giada Casagrande Valentina Corbetta Andrea Agostinelli Luca Cerina Emanuele Del Sozzo Marco D. Santambrogio