View Item 
        •   Utrecht University Student Theses Repository Home
        • UU Theses Repository
        • Theses
        • View Item
        •   Utrecht University Student Theses Repository Home
        • UU Theses Repository
        • Theses
        • View Item
        JavaScript is disabled for your browser. Some features of this site may not work without it.

        Browse

        All of UU Student Theses RepositoryBy Issue DateAuthorsTitlesSubjectsThis CollectionBy Issue DateAuthorsTitlesSubjects

        Maintaining parallelism in reverse-mode automatic differentiation on functional parallel array languages

        Thumbnail
        View/Open
        Simon van Hus - Thesis - 6147879 - Maintaining parallelism in reverse-mode automatic differentiation on functional parallel array langauges.pdf (575.8Kb)
        Publication date
        2023
        Author
        Hus, Simon van
        Metadata
        Show full item record
        Summary
        n this paper we set out to make a simple reverse-mode automatic differentiation (AD) algorithm, that uses tracing for the forward pass, and preserves data parallelism in the reverse pass. To do this, we first try to formalize the notion of tracing somewhat. We find that while some flexibility in the definition of is needed for it to work well, we can also boil it down to picking a subset of data types to keep in the trace. We also define a couple of logical assertions that further help us in showing whether a trace does really contain the information that we need. Having defined tracing, in theory, but also over a Haskell DSL, we continue to automatic differentiation. Here we expand the tracing function into a forward-pass function by adding reference counting and intermediate values. Using this forward-pass trace as a map, we then show how we can do the reverse-pass. We also show that we can keep data-parallelism intact for the map and fold (reduce) operations. Finally, we also highlight how task parallelism can be used in the reverse-pass to possibly unlock even more efficiency.
        URI
        https://studenttheses.uu.nl/handle/20.500.12932/45401
        Collections
        • Theses

        Related items

        Showing items related by title, author, creator and subject.

        • Design of Radio Frequency Pulses for Parallel Transmit Systems at High-Field MRI 

          Sbrizzi, A. (2011)
        • Parallel Construction of Orthogonal Arrays 

          Brouérius van Nidek, V. (2011)
        • Blessing in Action. A study into the verbal forms of the Priestly Blessing with special attention to its genre, structure and to parallel texts mainly from a syntactical perspective. 

          Pater, J.A.J. (2012)
          In this thesis the meaning of the verbs in the Priestly Blessing, as found in Numbers 6:24-26, is studied. These verbs are considered in their mutual coherence, within their textual context and in relation to the genre of ...
        Utrecht university logo