Electronic Communications of the EASST Volume 58 ( 2013 ) Proceedings of the 12 th International Workshop on Graph Transformation and Visual Modeling Techniques ( GTVMT 2013 ) Learning Minimal and Maximal Rules from Observations of Graph Transformations

Graph transformations have been used to model services and systems where rules describe pre and post conditions of operations changing a complex state. However, despite their intuitive nature, creating such models is a time-consuming and error-prone process. In this paper we investigate the possibility of extracting rules from observations of transformations, i.e., pairs of input and output graphs resulting from successful transformations and individual input graphs were they have failed. From such positive and negative examples, minimal rules are extracted, to be extended by context that is present in all positive examples and missing in at least one negative example. The result is are a maximal and a required rule, jointly with the minimal rule defining the range of possible rules that could have created the observed transformations. We report on an implementation of the approach, evaluate its accuracy, scalability and limitations, and discuss applications to reverse engineering visual constructs from observations of object states of components under test.

[1]  Gerti Kappel,et al.  Model Transformation By-Example: A Survey of the First Wave , 2012, Conceptual Modelling and Its Theoretical Foundations.

[2]  Dániel Varró,et al.  Model transformation by example using inductive logic programming , 2008, Software & Systems Modeling.

[3]  Lawrence B. Holder,et al.  Learning patterns in the dynamics of biological networks , 2009, KDD.

[4]  Dániel Varró,et al.  Model transformation by example , 2006, MoDELS'06.

[5]  Houari A. Sahraoui,et al.  Generating model transformation rules from examples using an evolutionary algorithm , 2012, 2012 Proceedings of the 27th IEEE/ACM International Conference on Automated Software Engineering.

[6]  Martin Gogolla,et al.  Proceedings of the Third international conference on Theory and practice of model transformations , 2010 .

[7]  Qingshan Jiang,et al.  Notice of Retraction A New Approach of Graph Isomorphism Detection Based on Decision Tree , 2010 .

[8]  Gerti Kappel,et al.  Model-to-Model Transformations By Demonstration , 2010, ICMT@TOOLS.

[9]  Ricardo Terra,et al.  On-the-fly extraction of hierarchical object graphs , 2012, Journal of the Brazilian Computer Society.

[10]  Klaus-Dieter Schewe,et al.  Conceptual Modelling and Its Theoretical Foundations , 2012, Lecture Notes in Computer Science.

[11]  Reiko Heckel,et al.  Towards Test Coverage Criteria for Visual Contracts , 2011, Electron. Commun. Eur. Assoc. Softw. Sci. Technol..

[12]  Tom Mens,et al.  A Taxonomy of Model Transformation , 2006, GRaMoT@GPCE.

[13]  Clémentine Nebut,et al.  Easing Model Transformation Learning with Automatically Aligned Examples , 2011, ECMFA.

[14]  Mario Vento,et al.  Thirty Years Of Graph Matching In Pattern Recognition , 2004, Int. J. Pattern Recognit. Artif. Intell..

[15]  Salvatore Tabbone,et al.  Attributed Graph Matching Using Local Descriptions , 2009, ACIVS.

[16]  Hartmut Ehrig,et al.  Fundamentals of Algebraic Graph Transformation (Monographs in Theoretical Computer Science. An EATCS Series) , 1992 .

[17]  Dániel Varró,et al.  Implementing a Graph Transformation Engine in Relational Databases , 2006, Software & Systems Modeling.

[18]  Dénes Bisztray,et al.  Verification of Architectural Refactorings: Rule Extraction and Tool Support , 2008, ICGT.