TU Darmstadt / ULB / TUbiblio

Source Transformation for the Optimized Utilization of the Matlab Runtime System for Automatic Differentiation

Hück, Alexander ; Willkomm, J. ; Bischof, Christian
eds.: Mehl, Miriam ; Bischoff, Manfred ; Schäfer, Michael (2015)
Source Transformation for the Optimized Utilization of the Matlab Runtime System for Automatic Differentiation.
In: Recent Trends in Computational Engineering - CE2014
doi: 10.1007/978-3-319-22997-3_7
Book Section, Bibliographie

Abstract

Operator overloading in Matlab allows for user-defined types to semantically augment existing Matlab codes without changes. However, given sufficient knowledge about types and operand semantics, operator overloading can be replaced by equivalent function calls. The ADiMat software tool provides automatic differentiation of Matlab functions using a hybrid approach that combines source transformation and operator overloading. It can also be used as a general framework for user-defined transformations of Matlab codes. Tests showed the potential for performance improvement in a derivative class providing essential linear algebra functionality for ADiMat. The Matlab runtime environment was benchmarked regarding function and method call overheads as well as property access overhead with Matlab's objects. These tests identify the cell class property access as the main performance culprit. Hence, an automatic method, transforming the XML based abstract syntax tree created with ADiMat's toolchain through a set of stylesheets, was developed. This process completely removes the derivative object usage and hence the opreator overloading and the property access overhead from any derivative function created with ADiMat. Experimental results show that performance is improved considerably depending on the data container storing the derivative directions.

Item Type: Book Section
Erschienen: 2015
Editors: Mehl, Miriam ; Bischoff, Manfred ; Schäfer, Michael
Creators: Hück, Alexander ; Willkomm, J. ; Bischof, Christian
Type of entry: Bibliographie
Title: Source Transformation for the Optimized Utilization of the Matlab Runtime System for Automatic Differentiation
Language: English
Date: 2015
Publisher: Springer
Journal or Publication Title: Recent Trends in Computational Engineering - CE2014
Book Title: Recent Trends in Computational Engineering - CE2014
Series: Lecture Notes in Computational Science and Engineering
Series Volume: 105
DOI: 10.1007/978-3-319-22997-3_7
URL / URN: https://www.springer.com/de/book/9783319229966#
Abstract:

Operator overloading in Matlab allows for user-defined types to semantically augment existing Matlab codes without changes. However, given sufficient knowledge about types and operand semantics, operator overloading can be replaced by equivalent function calls. The ADiMat software tool provides automatic differentiation of Matlab functions using a hybrid approach that combines source transformation and operator overloading. It can also be used as a general framework for user-defined transformations of Matlab codes. Tests showed the potential for performance improvement in a derivative class providing essential linear algebra functionality for ADiMat. The Matlab runtime environment was benchmarked regarding function and method call overheads as well as property access overhead with Matlab's objects. These tests identify the cell class property access as the main performance culprit. Hence, an automatic method, transforming the XML based abstract syntax tree created with ADiMat's toolchain through a set of stylesheets, was developed. This process completely removes the derivative object usage and hence the opreator overloading and the property access overhead from any derivative function created with ADiMat. Experimental results show that performance is improved considerably depending on the data container storing the derivative directions.

Uncontrolled Keywords: Source Transformation, Automatic Differentiation, ADiMat, Matlab, Performance Measurement, XSLT, XML AST
Divisions: 20 Department of Computer Science
20 Department of Computer Science > Scientific Computing
Zentrale Einrichtungen
Zentrale Einrichtungen > University IT-Service and Computing Centre (HRZ)
Zentrale Einrichtungen > University IT-Service and Computing Centre (HRZ) > Hochleistungsrechner
Date Deposited: 14 Jul 2015 08:29
Last Modified: 07 Jan 2021 10:05
PPN:
Export:
Suche nach Titel in: TUfind oder in Google
Send an inquiry Send an inquiry

Options (only for editors)
Show editorial Details Show editorial Details