SlideShare a Scribd company logo
An LSTM-Based Neural Network
Architecture for
Model Transformations
Loli Burgueño1,2, Jordi Cabot1, Sébastien Gérard2
1 Open University of Catalonia, Barcelona, Spain
2 CEA LIST, Paris, France
MODELS’19
Munich, September 20th, 2019
2
Artificial Intelligence
• Machine Learning - Supervised Learning:
Input
Output
Training Transforming
ML Input OutputML
Artificial Intelligence
Machine Learning
Artificial Neural Networks
Deep Artificial
Neural Networks
3
Artificial Neural Networks
• Graph structure: Neurons + directed weighted connections
• Neurons are mathematical functions
• Connections have associated weights
• Adjusted during the learning process to increase/decrease the strength of the
connection
4
Artificial Neural Networks
• The learning process basically means to find the right weights
• Supervised learning methods. Training phase:
• Example input-output pairs are used (Dataset)
Dataset
Training Validation Test
5
Artificial Neural Networks
• Combine two LSTM for better results
• Avoids fixed size input and output constraints
• MTs ≈ sequence-to-sequence arch
6
Architecture
• Encoder-decoder architecture
+
• Long short-term memory neural networks
Encoder
LSTM network
Decoder
LSTM network
InputModel
OutputModel
7
Architecture
• Sequence-to-Sequence transformations
• Tree-to-tree transformations
• Input layer to embed the input tree to a numeric vector
+
• Output layer to obtain the output model from the numeric vectors produced by the decoderInputTree
EmbeddingLayer
Encoder
LSTM network
OutputTree
ExtractionLayer
Decoder
LSTM network
InputModel
OutputModel
8
• Attention mechanism
• To pay more attention (remember better) to specific parts
• It automatically detects to which parts are more important
Architecture
InputTree
EmbeddingLayer
Encoder
LSTM network
OutputTree
ExtractionLayer
Decoder
LSTM network
AttentionLayer
InputModel
OutputModel
9
• Pre- and post-processing required to…
• represent models as trees
• reduce the size of the training dataset by using a canonical form
• rename variables to avoid the “dictionary problem”
Model pre- and post-processing
InputModel
(preprocessed)
InputTree
EmbeddingLayer
Encoder
LSTM network
OutputTree
ExtractionLayer
OutputModel
(non-postprocessed)
Decoder
LSTM network
AttentionLayer
InputModel
OutputModel
Preprocessing
Postprocessing
10
Preliminary results
• Class to Relational
11
Preliminary results
• Correctness
• Measured through the accuracy and validation loss
12
Preliminary results
• Performance
1. How long does it take for the
training phase to complete?
13
Preliminary results
• Performance
1. How long does it take for the
training phase to complete?
2. How long it takes to transform an
input model when the network is
trained?
14
Limitations/Discussion
• Size of the training dataset
• Diversity in the training set
• Computational limitations of ANNs
• i.e., mathematical operations
• Generalization problem
• predicting output solutions for input models very different from the training
distribution it has learn from
• Social acceptance
15

More Related Content

What's hot (20)

PDF
Convolutional Neural Networks (CNN)
Gaurav Mittal
 
PPTX
Deep learning with keras
MOHITKUMAR1379
 
PPTX
Machine learning seminar presentation
sweety seth
 
PPTX
Real time Operating System
Tech_MX
 
PPT
Game Playing in Artificial Intelligence
lordmwesh
 
PDF
Vx works RTOS
Sai Malleswar
 
PPTX
Cat and dog classification
omaraldabash
 
PPTX
Brain tumor detection using image segmentation ppt
Roshini Vijayakumar
 
PPTX
Deep Learning - A Literature survey
Akshay Hegde
 
PPT
Screenless Display PPT
Vikas Kumar
 
PPT
KERNAL ARCHITECTURE
lakshmipanat
 
PPT
Heuristc Search Techniques
Jismy .K.Jose
 
PPTX
Operating system 02 os as an extended machine
Vaibhav Khanna
 
PPTX
New Technology Presentation
kmn3973
 
PPTX
Commonly used Approaches to Real Time Scheduling
Raaz Karkee
 
PPTX
Edge Computing.pptx
PriyaMaurya52
 
PPTX
Clock and clock cycle in processor architecture
gogii6789
 
DOCX
Computer science seminar topics
123seminarsonly
 
PDF
Deep learning - A Visual Introduction
Lukas Masuch
 
PPTX
Superscalar Processor
Manash Kumar Mondal
 
Convolutional Neural Networks (CNN)
Gaurav Mittal
 
Deep learning with keras
MOHITKUMAR1379
 
Machine learning seminar presentation
sweety seth
 
Real time Operating System
Tech_MX
 
Game Playing in Artificial Intelligence
lordmwesh
 
Vx works RTOS
Sai Malleswar
 
Cat and dog classification
omaraldabash
 
Brain tumor detection using image segmentation ppt
Roshini Vijayakumar
 
Deep Learning - A Literature survey
Akshay Hegde
 
Screenless Display PPT
Vikas Kumar
 
KERNAL ARCHITECTURE
lakshmipanat
 
Heuristc Search Techniques
Jismy .K.Jose
 
Operating system 02 os as an extended machine
Vaibhav Khanna
 
New Technology Presentation
kmn3973
 
Commonly used Approaches to Real Time Scheduling
Raaz Karkee
 
Edge Computing.pptx
PriyaMaurya52
 
Clock and clock cycle in processor architecture
gogii6789
 
Computer science seminar topics
123seminarsonly
 
Deep learning - A Visual Introduction
Lukas Masuch
 
Superscalar Processor
Manash Kumar Mondal
 

Similar to An LSTM-Based Neural Network Architecture for Model Transformations (20)

PPTX
An LSTM-Based Neural Network Architecture for Model Transformations
Jordi Cabot
 
PPTX
A Generic Neural Network Architecture to Infer Heterogeneous Model Transforma...
Lola Burgueño
 
PPTX
Towards a Comprehensive Machine Learning Benchmark
Turi, Inc.
 
PDF
Startup.Ml: Using neon for NLP and Localization Applications
Intel Nervana
 
PDF
BSSML17 - Deepnets
BigML, Inc
 
PPTX
Unsupervised Feature Learning
Amgad Muhammad
 
PPTX
Deep learning summary
ankit_ppt
 
PDF
Vertex Perspectives | AI Optimized Chipsets | Part II
Vertex Holdings
 
PDF
Automated product categorization
Warply
 
PDF
Automated product categorization
Andreas Loupasakis
 
PPTX
Deep Learning Made Easy with Deep Features
Turi, Inc.
 
PPTX
2018 03 25 system ml ai and openpower meetup
Ganesan Narayanasamy
 
PDF
The Power of Auto ML and How Does it Work
Ivo Andreev
 
PPTX
Natural Language Query to SQL conversion using Machine Learning Approach
Minhazul Arefin
 
PDF
Guiding through a typical Machine Learning Pipeline
Michael Gerke
 
PPTX
Enhancing IoT network security through deep learning-powered.pptx
shadowshasha
 
PPTX
Cognitive Toolkit - Deep Learning framework from Microsoft
Łukasz Grala
 
PDF
Preparing Codes for Intel Knights Landing (KNL)
AllineaSoftware
 
PDF
COBOL to Apache Spark
Rakuten Group, Inc.
 
PPT
Neural Networks in Data Mining - “An Overview”
Dr.(Mrs).Gethsiyal Augasta
 
An LSTM-Based Neural Network Architecture for Model Transformations
Jordi Cabot
 
A Generic Neural Network Architecture to Infer Heterogeneous Model Transforma...
Lola Burgueño
 
Towards a Comprehensive Machine Learning Benchmark
Turi, Inc.
 
Startup.Ml: Using neon for NLP and Localization Applications
Intel Nervana
 
BSSML17 - Deepnets
BigML, Inc
 
Unsupervised Feature Learning
Amgad Muhammad
 
Deep learning summary
ankit_ppt
 
Vertex Perspectives | AI Optimized Chipsets | Part II
Vertex Holdings
 
Automated product categorization
Warply
 
Automated product categorization
Andreas Loupasakis
 
Deep Learning Made Easy with Deep Features
Turi, Inc.
 
2018 03 25 system ml ai and openpower meetup
Ganesan Narayanasamy
 
The Power of Auto ML and How Does it Work
Ivo Andreev
 
Natural Language Query to SQL conversion using Machine Learning Approach
Minhazul Arefin
 
Guiding through a typical Machine Learning Pipeline
Michael Gerke
 
Enhancing IoT network security through deep learning-powered.pptx
shadowshasha
 
Cognitive Toolkit - Deep Learning framework from Microsoft
Łukasz Grala
 
Preparing Codes for Intel Knights Landing (KNL)
AllineaSoftware
 
COBOL to Apache Spark
Rakuten Group, Inc.
 
Neural Networks in Data Mining - “An Overview”
Dr.(Mrs).Gethsiyal Augasta
 
Ad

More from Lola Burgueño (6)

PDF
An NLP-based architecture for the autocompletion of partial domain models
Lola Burgueño
 
PDF
ECMFA 2021 Opening
Lola Burgueño
 
PPTX
PhD Thesis Presentation
Lola Burgueño
 
PDF
A Systematic Approach to Generate Diverse Instantiations for Conceptual Schemas
Lola Burgueño
 
PDF
Towards the intelligent generation of software modeling components
Lola Burgueño
 
PDF
Expressing Confidence in Model and Model Transformation Elements
Lola Burgueño
 
An NLP-based architecture for the autocompletion of partial domain models
Lola Burgueño
 
ECMFA 2021 Opening
Lola Burgueño
 
PhD Thesis Presentation
Lola Burgueño
 
A Systematic Approach to Generate Diverse Instantiations for Conceptual Schemas
Lola Burgueño
 
Towards the intelligent generation of software modeling components
Lola Burgueño
 
Expressing Confidence in Model and Model Transformation Elements
Lola Burgueño
 
Ad

Recently uploaded (20)

PDF
67243-Cooling and Heating & Calculation.pdf
DHAKA POLYTECHNIC
 
PPTX
Chapter_Seven_Construction_Reliability_Elective_III_Msc CM
SubashKumarBhattarai
 
PDF
Air -Powered Car PPT by ER. SHRESTH SUDHIR KOKNE.pdf
SHRESTHKOKNE
 
PPTX
Precedence and Associativity in C prog. language
Mahendra Dheer
 
PDF
Construction of a Thermal Vacuum Chamber for Environment Test of Triple CubeS...
2208441
 
PPTX
Module2 Data Base Design- ER and NF.pptx
gomathisankariv2
 
PPTX
business incubation centre aaaaaaaaaaaaaa
hodeeesite4
 
PDF
67243-Cooling and Heating & Calculation.pdf
DHAKA POLYTECHNIC
 
PDF
67243-Cooling and Heating & Calculation.pdf
DHAKA POLYTECHNIC
 
PPTX
ENSA_Module_7.pptx_wide_area_network_concepts
RanaMukherjee24
 
PDF
2025 Laurence Sigler - Advancing Decision Support. Content Management Ecommer...
Francisco Javier Mora Serrano
 
PPTX
filteration _ pre.pptx 11111110001.pptx
awasthivaibhav825
 
PPTX
Water resources Engineering GIS KRT.pptx
Krunal Thanki
 
PPTX
MT Chapter 1.pptx- Magnetic particle testing
ABCAnyBodyCanRelax
 
PDF
20ME702-Mechatronics-UNIT-1,UNIT-2,UNIT-3,UNIT-4,UNIT-5, 2025-2026
Mohanumar S
 
PPTX
IoT_Smart_Agriculture_Presentations.pptx
poojakumari696707
 
PPTX
FUNDAMENTALS OF ELECTRIC VEHICLES UNIT-1
MikkiliSuresh
 
PDF
Natural_Language_processing_Unit_I_notes.pdf
sanguleumeshit
 
PPTX
Introduction to Fluid and Thermal Engineering
Avesahemad Husainy
 
DOCX
SAR - EEEfdfdsdasdsdasdasdasdasdasdasdasda.docx
Kanimozhi676285
 
67243-Cooling and Heating & Calculation.pdf
DHAKA POLYTECHNIC
 
Chapter_Seven_Construction_Reliability_Elective_III_Msc CM
SubashKumarBhattarai
 
Air -Powered Car PPT by ER. SHRESTH SUDHIR KOKNE.pdf
SHRESTHKOKNE
 
Precedence and Associativity in C prog. language
Mahendra Dheer
 
Construction of a Thermal Vacuum Chamber for Environment Test of Triple CubeS...
2208441
 
Module2 Data Base Design- ER and NF.pptx
gomathisankariv2
 
business incubation centre aaaaaaaaaaaaaa
hodeeesite4
 
67243-Cooling and Heating & Calculation.pdf
DHAKA POLYTECHNIC
 
67243-Cooling and Heating & Calculation.pdf
DHAKA POLYTECHNIC
 
ENSA_Module_7.pptx_wide_area_network_concepts
RanaMukherjee24
 
2025 Laurence Sigler - Advancing Decision Support. Content Management Ecommer...
Francisco Javier Mora Serrano
 
filteration _ pre.pptx 11111110001.pptx
awasthivaibhav825
 
Water resources Engineering GIS KRT.pptx
Krunal Thanki
 
MT Chapter 1.pptx- Magnetic particle testing
ABCAnyBodyCanRelax
 
20ME702-Mechatronics-UNIT-1,UNIT-2,UNIT-3,UNIT-4,UNIT-5, 2025-2026
Mohanumar S
 
IoT_Smart_Agriculture_Presentations.pptx
poojakumari696707
 
FUNDAMENTALS OF ELECTRIC VEHICLES UNIT-1
MikkiliSuresh
 
Natural_Language_processing_Unit_I_notes.pdf
sanguleumeshit
 
Introduction to Fluid and Thermal Engineering
Avesahemad Husainy
 
SAR - EEEfdfdsdasdsdasdasdasdasdasdasdasda.docx
Kanimozhi676285
 

An LSTM-Based Neural Network Architecture for Model Transformations

  • 1. An LSTM-Based Neural Network Architecture for Model Transformations Loli Burgueño1,2, Jordi Cabot1, Sébastien Gérard2 1 Open University of Catalonia, Barcelona, Spain 2 CEA LIST, Paris, France MODELS’19 Munich, September 20th, 2019
  • 2. 2
  • 3. Artificial Intelligence • Machine Learning - Supervised Learning: Input Output Training Transforming ML Input OutputML Artificial Intelligence Machine Learning Artificial Neural Networks Deep Artificial Neural Networks 3
  • 4. Artificial Neural Networks • Graph structure: Neurons + directed weighted connections • Neurons are mathematical functions • Connections have associated weights • Adjusted during the learning process to increase/decrease the strength of the connection 4
  • 5. Artificial Neural Networks • The learning process basically means to find the right weights • Supervised learning methods. Training phase: • Example input-output pairs are used (Dataset) Dataset Training Validation Test 5
  • 6. Artificial Neural Networks • Combine two LSTM for better results • Avoids fixed size input and output constraints • MTs ≈ sequence-to-sequence arch 6
  • 7. Architecture • Encoder-decoder architecture + • Long short-term memory neural networks Encoder LSTM network Decoder LSTM network InputModel OutputModel 7
  • 8. Architecture • Sequence-to-Sequence transformations • Tree-to-tree transformations • Input layer to embed the input tree to a numeric vector + • Output layer to obtain the output model from the numeric vectors produced by the decoderInputTree EmbeddingLayer Encoder LSTM network OutputTree ExtractionLayer Decoder LSTM network InputModel OutputModel 8
  • 9. • Attention mechanism • To pay more attention (remember better) to specific parts • It automatically detects to which parts are more important Architecture InputTree EmbeddingLayer Encoder LSTM network OutputTree ExtractionLayer Decoder LSTM network AttentionLayer InputModel OutputModel 9
  • 10. • Pre- and post-processing required to… • represent models as trees • reduce the size of the training dataset by using a canonical form • rename variables to avoid the “dictionary problem” Model pre- and post-processing InputModel (preprocessed) InputTree EmbeddingLayer Encoder LSTM network OutputTree ExtractionLayer OutputModel (non-postprocessed) Decoder LSTM network AttentionLayer InputModel OutputModel Preprocessing Postprocessing 10
  • 11. Preliminary results • Class to Relational 11
  • 12. Preliminary results • Correctness • Measured through the accuracy and validation loss 12
  • 13. Preliminary results • Performance 1. How long does it take for the training phase to complete? 13
  • 14. Preliminary results • Performance 1. How long does it take for the training phase to complete? 2. How long it takes to transform an input model when the network is trained? 14
  • 15. Limitations/Discussion • Size of the training dataset • Diversity in the training set • Computational limitations of ANNs • i.e., mathematical operations • Generalization problem • predicting output solutions for input models very different from the training distribution it has learn from • Social acceptance 15