Unknown

Dataset Information

0

GPU-Accelerated Adjoint Algorithmic Differentiation.


ABSTRACT: Many scientific problems such as classifier training or medical image reconstruction can be expressed as minimization of differentiable real-valued cost functions and solved with iterative gradient-based methods. Adjoint algorithmic differentiation (AAD) enables automated computation of gradients of such cost functions implemented as computer programs. To backpropagate adjoint derivatives, excessive memory is potentially required to store the intermediate partial derivatives on a dedicated data structure, referred to as the "tape". Parallelization is difficult because threads need to synchronize their accesses during taping and backpropagation. This situation is aggravated for many-core architectures, such as Graphics Processing Units (GPUs), because of the large number of light-weight threads and the limited memory size in general as well as per thread. We show how these limitations can be mediated if the cost function is expressed using GPU-accelerated vector and matrix operations which are recognized as intrinsic functions by our AAD software. We compare this approach with naive and vectorized implementations for CPUs. We use four increasingly complex cost functions to evaluate the performance with respect to memory consumption and gradient computation times. Using vectorization, CPU and GPU memory consumption could be substantially reduced compared to the naive reference implementation, in some cases even by an order of complexity. The vectorization allowed usage of optimized parallel libraries during forward and reverse passes which resulted in high speedups for the vectorized CPU version compared to the naive reference implementation. The GPU version achieved an additional speedup of 7.5 ± 4.4, showing that the processing power of GPUs can be utilized for AAD using this concept. Furthermore, we show how this software can be systematically extended for more complex problems such as nonlinear absorption reconstruction for fluorescence-mediated tomography.

SUBMITTER: Gremse F 

PROVIDER: S-EPMC4772124 | biostudies-literature | 2016 Mar

REPOSITORIES: biostudies-literature

altmetric image

Publications

GPU-Accelerated Adjoint Algorithmic Differentiation.

Gremse Felix F   Höfter Andreas A   Razik Lukas L   Kiessling Fabian F   Naumann Uwe U  

Computer physics communications 20160301


Many scientific problems such as classifier training or medical image reconstruction can be expressed as minimization of differentiable real-valued cost functions and solved with iterative gradient-based methods. Adjoint algorithmic differentiation (AAD) enables automated computation of gradients of such cost functions implemented as computer programs. To backpropagate adjoint derivatives, excessive memory is potentially required to store the intermediate partial derivatives on a dedicated data  ...[more]

Similar Datasets

| S-EPMC3051321 | biostudies-literature
| S-EPMC5602814 | biostudies-other
| S-EPMC6092242 | biostudies-literature
| S-EPMC3449322 | biostudies-literature
| S-EPMC9757827 | biostudies-literature
| S-EPMC8896630 | biostudies-literature
| S-EPMC3413391 | biostudies-literature
| S-EPMC7267824 | biostudies-literature
| S-EPMC4699916 | biostudies-literature
| S-EPMC6459549 | biostudies-literature