Search NASA⌕ Search

DOE OSTI · 1889196

POSTER: Automatic Differentiation of Parallel Loops with Formal Methods

Abstract

The accompanying poster to this short paper presents a combination of reverse mode AD and formal methods to enable efficient differentiation of (or backpropagation through) shared-memory parallel code. Compared to the state of the art, our approach can more often avoid the need for atomic updates or private data copies during the parallel derivative computation, even in the presence of unstructured or data-dependent data access patterns. This is achieved by gathering information about the memory access patterns from the input program, which is assumed to be correctly parallelized. This information is then used to build a model of assertions in a theorem prover, which can be used to check the safety of shared memory accesses during the parallel derivative computation

Explore related subjects

Keep this discovery

Explore connections, maps & timelines

BibTeXRIS

Huckelheim, Jan, Hascoet, Laurent. 2022-01-01. POSTER: Automatic Differentiation of Parallel Loops with Formal Methods. https://www.osti.gov/biblio/1889196

Cite the original work for its findings. Save a collection to share your selection of sources.