Paul Wilson - Data Parallel Algorithms for String Diagrams @appliedcategorytheory5517
Paul Wilson - Data Parallel Algorithms for String Diagrams  @appliedcategorytheory5517
Uploaded October 2023 | Updated November 2026, 3 hours ago
Talk at Applied Category Theory 2023

We give parallel algorithms for string diagrams represented as structured cospans of ACSets. Specifically, we give linear (sequential) and logarithmic (parallel) time algorithms for composition, tensor product, construction of diagrams from arbitrary Σ-terms, and application of functors to diagrams.

Our datastructure can represent morphisms of both the free symmetric monoidal category over an arbitrary signature as well as those with a chosen Special Frobenius structure. We show how this additional (hypergraph) structure can be used to map diagrams to diagrams of optics. This leads to a case study in which we define an algorithm for efficiently computing symbolic representations of gradient-based learners based on reverse derivatives.

The work we present here is intended to be useful as a general purpose datastructure. Implementation requires only integer arrays and well-known algorithms, and is data-parallel by constuction. We therefore expect it to be applicable to a wide variety of settings, including embedded and parallel hardware and low-level languages.

act2023.github.io/papers/paper32.pdf
act2023.github.io
Paul Wilson - Data Parallel Algorithms for String DiagramsKonstantinos Meichanetzidis: Quantum Natural Language ProcessingGioele Zardini: A Compositional Sheaf-Theoretic Framework for Event-Based SystemsACT 2021 - Day 4, Sessions 3 - 4ACT 2020 Tutorial: Introduction to Applied Category Theory (David Spivak)Joachim Kock: Whole-grain Petri nets and processesACT 2021 - Day 3, Session 1Chiara Sarti - Posetal Diagrams for Logically Structured Semistrict Higher CategoriesACT 2021 - Day 5, Session 3David Jaz Myers: Double Categories of Open Dynamical SystemsJohn Baez: Coarse-graining open Markov processesACT 2021 - Day 5, Session 2
Applied Category Theory |

Paul Wilson - Data Parallel Algorithms for String Diagrams

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER