Research on bidirectional model transformations for round-trip engineering
Model transformations constitute a key technology for model-driven software engineering. Languages for model transformations rely on different computational paradigms, support batch or incremental, in-place or out-place transformations, etc. Model transformations may also be classified with respect to their direction. A unidirectional transformation receives a source model as input and returns a target model. In contrast, a bidirectional transformation may be executed in both directions.
In software engineering, a strict forward engineering process requires a chain of unidirectional transformations, which transform requirements eventually into code. In contrast, roundtrip engineering calls for bidirectional transformations that propagate changes back and forth. Bidirectional transformations have been studied also in a wide range of other application domains, including e.g. view-update problems in databases or bidirectional data exchange.
Developing bidirectional transformations in a conventional programming language is awkward and error-prone: Both transformation directions have to be programmed explicitly at a low level of abstraction, taking algorithmic details of change propagation into account. Therefore, domain-specific languages (DSLs) and theoretical approaches tailored towards bidirectional transformations have been developed.
Research on bidirectional transformations has often focused on the development of declarative approaches that guarantee consistent behavior of forward and backward transformations. Consistency has been formalized by a number of bidirectional transformation laws of different kinds.
However, these approaches have a major drawback which is shared by all of them: While they guarantee certain bidirectional transformation laws, they lack expressiveness: Certain bidirectional transformation problems cannot be solved at all, or they can be solved only partially, or they can be solved but with a considerably higher specification effort than expected. In previous work, this claim was substantiated by a number of benchmarks and case studies (see publications below).
(Anjorin et al., 2024) — Benchmarx 2.0: A Benchmark for Concurrent Model Synchronisation Approaches (MODELS 2024)
(Buchmann, 2024) — Prompting Bidirectional Model Transformations - The Good, The Bad and The Ugly (MODELS 2024)
(Anjorin et al., 2020) — Benchmarking bidirectional transformations: theory, implementation, application, and assessment (Software and Systems Modeling 2020)
(Westfechtel & Buchmann, 2018) — Incremental Bidirectional Transformations: Comparing Declarative and Procedural Approaches Using the Families to Persons Benchmark (ENASE 2018)
(Buchmann & Westfechtel, 2016) — Using triple graph grammars to realise incremental round-trip engineering (IET Software 2016)
(Greiner & Buchmann, 2016) — Round-trip Engineering UML Class Models and Java Models: A Real-world Use Case for Bidirectional Transformations with QVT-R (IJISMD 2016)
(Greiner et al., 2016) — Bidirectional Transformations with QVT-R: A Case Study in Round-trip Engineering UML Class Models and Java Source Code (MODELSWARD 2016)
(Buchmann et al., 2008) — Triple Graph Grammars or Triple Graph Transformation Systems? (MODELS 2008 Workshop)
The results from our case studies motivated us to set up a project dedicated to creating a light-weight framework for assisting developers in programming bidirectional transformations using an imperative programming language: BXtend.
In a later project, we added a declarative language on top of the BXtend framework, to support the declarative specification of model correspondences and automatic code generation for transformation code from this declarative specification: BXtendDSL. Most recently, BXAgent explores LLM-driven code generation for bidirectional transformations.
References
2026
STAF Workshops
The Families to Persons Case — Revisited
Anthony Anjorin and Thomas Buchmann
In Joint Proceedings of the STAF 2026 Workshops: AgileMDE, GCM, ICMM, LLM4SE, TTC, 2026
@inproceedings{AnjorinTTC26,author={Anjorin, Anthony and Buchmann, Thomas},editor={Khelladi, Djamel Eddine and Challita, Stéphane and Messe, Nan and Tehrani, Sobhan Yassipour and Hussein, Shirin and Rahimi, Shekoufeh and Behr, Nicolas and Dumbrava, Sefania and Atkinson, Colin and Kaushik, Minakshi and Lange, Arne and Weber, Thomas and Chen, Boqi and Cicchetti, Antonio and Clarisó, Robert and Rubei, Riccardo and Greiner, Sandra and Hinkel, Georg and Calvar, Théo Le},title={The Families to Persons Case --- Revisited},booktitle={{Joint Proceedings of the STAF 2026 Workshops: AgileMDE, GCM, ICMM, LLM4SE, TTC}},series={{CEUR} Workshop Proceedings},volume={},publisher={CEUR-WS.org},year={2026},url={}}
@inproceedings{Anjorin2026,author={Anjorin, Anthony and Buchmann, Thomas},editor={Bordeleau, Francis and Ciccozzi, Federico and Pires, Luis Ferreira},title={On the Practical Expressiveness of Triple Graph Grammars},booktitle={Proceedings of the 14th International Conference on Model-Based Software and Systems Engineering},pages={410--417},publisher={{SCITEPRESS}},year={2026},url={},isbn={9789897587986},issn={2184-4348}}
@inproceedings{Anjorin2024,author={Anjorin, Anthony and Buchmann, Thomas and Fritsche, Lars},title={Benchmarx 2.0: A Benchmark for Concurrent Model Synchronisation Approaches},year={2024},isbn={9798400706226},publisher={Association for Computing Machinery},address={New York, NY, USA},url={https://doi.org/10.1145/3652620.3688217},doi={10.1145/3652620.3688217},booktitle={Proceedings of the ACM/IEEE 27th International Conference on Model Driven Engineering Languages and Systems},pages={950959},numpages={10},keywords={model transformations, model management, bidirectional transformations, benchmarx},location={Linz, Austria},series={MODELS Companion '24}}
@inproceedings{Buchmann2024,author={Buchmann, Thomas},title={Prompting Bidirectional Model Transformations - The Good, The Bad and The Ugly},year={2024},isbn={9798400706226},publisher={Association for Computing Machinery},address={New York, NY, USA},url={https://doi.org/10.1145/3652620.3687802},doi={10.1145/3652620.3687802},booktitle={Proceedings of the ACM/IEEE 27th International Conference on Model Driven Engineering Languages and Systems},pages={550555},numpages={6},keywords={modeling, LLM, MDE, AI, modeltransformation, Bx},location={Linz, Austria},series={MODELS Companion '24}}
@article{AnjorinBWDKEHSZ20,author={Anjorin, Anthony and Buchmann, Thomas and Westfechtel, Bernhard and Diskin, Zinovy and Ko, Hsiang{-}Shang and Eramo, Romina and Hinkel, Georg and Samimi{-}Dehkordi, Leila and Z{\"{u}}ndorf, Albert},title={Benchmarking bidirectional transformations: theory, implementation, application, and assessment},journal={Software and Systems Modeling (SoSym)},volume={19},number={3},pages={647--691},year={2020},url={https://doi.org/10.1007/s10270-019-00752-x},doi={10.1007/s10270-019-00752-x},timestamp={Tue, 29 Dec 2020 18:23:04 +0100},biburl={https://dblp.org/rec/journals/sosym/AnjorinBWDKEHSZ20.bib},bibsource={dblp computer science bibliography, https://dblp.org}}
Incremental Bidirectional Transformations: Comparing Declarative and Procedural Approaches Using the Families to Persons Benchmark
Bernhard Westfechtel and Thomas Buchmann
In Evaluation of Novel Approaches to Software Engineering - 13th International Conference, ENASE 2018, Funchal, Madeira, Portugal, March 23-24, 2018, Revised Selected Papers, 2018
@inproceedings{WestfechtelB18,author={Westfechtel, Bernhard and Buchmann, Thomas},editor={Damiani, Ernesto and Spanoudakis, George and Maciaszek, Leszek A.},title={Incremental Bidirectional Transformations: Comparing Declarative and Procedural Approaches Using the Families to Persons Benchmark},booktitle={Evaluation of Novel Approaches to Software Engineering - 13th International Conference, {ENASE} 2018, Funchal, Madeira, Portugal, March 23-24, 2018, Revised Selected Papers},series={Communications in Computer and Information Science},volume={1023},pages={98--118},publisher={Springer},year={2018},url={https://doi.org/10.1007/978-3-030-22559-9\_5},doi={10.1007/978-3-030-22559-9\_5},timestamp={Tue, 02 Jul 2019 14:43:24 +0200},biburl={https://dblp.org/rec/conf/enase/WestfechtelB18.bib},bibsource={dblp computer science bibliography, https://dblp.org}}
Anthony Anjorin, Thomas Buchmann, and Bernhard Westfechtel
In Proceedings of the 10th Transformation Tool Contest (TTC 2017), co-located with the 2017 Software Technologies: Applications and Foundations (STAF 2017), Marburg, Germany, July 21, 2017, 2017
@inproceedings{AnjorinBW17,author={Anjorin, Anthony and Buchmann, Thomas and Westfechtel, Bernhard},editor={Garc{\'{\i}}a{-}Dom{\'{\i}}nguez, Antonio and Hinkel, Georg and Krikava, Filip},title={The Families to Persons Case},booktitle={Proceedings of the 10th Transformation Tool Contest {(TTC} 2017), co-located with the 2017 Software Technologies: Applications and Foundations {(STAF} 2017), Marburg, Germany, July 21, 2017},series={{CEUR} Workshop Proceedings},volume={2026},pages={27--34},publisher={CEUR-WS.org},year={2017},url={http://ceur-ws.org/Vol-2026/paper2.pdf},timestamp={Wed, 12 Feb 2020 16:44:59 +0100},biburl={https://dblp.org/rec/conf/staf/AnjorinBW17.bib},bibsource={dblp computer science bibliography, https://dblp.org}}
@article{GreinerB16,author={Greiner, Sandra and Buchmann, Thomas},title={Round-trip Engineering {UML} Class Models and Java Models: {A} Real-world Use Case for Bidirectional Transformations with {QVT-R}},journal={International Journal of Information System Modeling and Design},volume={7},number={3},pages={72--92},year={2016},url={https://doi.org/10.4018/IJISMD.2016070104},doi={10.4018/IJISMD.2016070104},timestamp={Thu, 16 Jul 2020 16:37:21 +0200},biburl={https://dblp.org/rec/journals/ijismd/GreinerB16.bib},bibsource={dblp computer science bibliography, https://dblp.org}}
Bidirectional Transformations with QVT-R: A Case Study in Round-trip Engineering UML Class Models and Java Source Code
Sandra Greiner, Thomas Buchmann, and Bernhard Westfechtel
In MODELSWARD 2016 - Proceedings of the 4rd International Conference on Model-Driven Engineering and Software Development, Rome, Italy, 19-21 February, 2016, 2016
@inproceedings{GreinerBW16,author={Greiner, Sandra and Buchmann, Thomas and Westfechtel, Bernhard},editor={Hammoudi, Slimane and Pires, Lu{\'{\i}}s Ferreira and Selic, Bran and Desfray, Philippe},title={Bidirectional Transformations with {QVT-R:} {A} Case Study in Round-trip Engineering {UML} Class Models and Java Source Code},booktitle={{MODELSWARD} 2016 - Proceedings of the 4rd International Conference on Model-Driven Engineering and Software Development, Rome, Italy, 19-21 February, 2016},pages={15--27},publisher={SciTePress},year={2016},url={https://doi.org/10.5220/0005644700150027},doi={10.5220/0005644700150027},timestamp={Wed, 11 Aug 2021 17:02:31 +0200},biburl={https://dblp.org/rec/conf/modelsward/GreinerBW16.bib},bibsource={dblp computer science bibliography, https://dblp.org}}
2013
SEAA
Towards Incremental Round-Trip Engineering Using Model Transformations
Thomas Buchmann and Bernhard Westfechtel
In 39th Euromicro Conference on Software Engineering and Advanced Applications, SEAA 2013, Santander, Spain, September 4-6, 2013, 2013
@inproceedings{BuchmannW13,author={Buchmann, Thomas and Westfechtel, Bernhard},editor={Demir{\"{o}}rs, Onur and T{\"{u}}retken, Oktay},title={Towards Incremental Round-Trip Engineering Using Model Transformations},booktitle={39th Euromicro Conference on Software Engineering and Advanced Applications, {SEAA} 2013, Santander, Spain, September 4-6, 2013},pages={130--133},publisher={{IEEE} Computer Society},year={2013},url={https://doi.org/10.1109/SEAA.2013.19},doi={10.1109/SEAA.2013.19},timestamp={Wed, 16 Oct 2019 14:14:56 +0200},biburl={https://dblp.org/rec/conf/euromicro/BuchmannW13.bib},bibsource={dblp computer science bibliography, https://dblp.org}}
Triple Graph Grammars or Triple Graph Transformation Systems?
Thomas Buchmann, Alexander Dotor, and Bernhard Westfechtel
In Models in Software Engineering, Workshops and Symposia at MODELS 2008, Toulouse, France, September 28 - October 3, 2008. Reports and Revised Selected Papers, 2008
@inproceedings{BuchmannDW08,author={Buchmann, Thomas and Dotor, Alexander and Westfechtel, Bernhard},editor={Chaudron, Michel R. V.},title={Triple Graph Grammars or Triple Graph Transformation Systems?},booktitle={Models in Software Engineering, Workshops and Symposia at {MODELS} 2008, Toulouse, France, September 28 - October 3, 2008. Reports and Revised Selected Papers},series={Lecture Notes in Computer Science},volume={5421},pages={138--150},publisher={Springer},year={2008},url={https://doi.org/10.1007/978-3-642-01648-6\_15},doi={10.1007/978-3-642-01648-6\_15},timestamp={Wed, 23 Feb 2022 12:58:05 +0100},biburl={https://dblp.org/rec/conf/models/BuchmannDW08.bib},bibsource={dblp computer science bibliography, https://dblp.org}}