Top-Down or Bottom-Up? Complexity Analyses of Synchronous Multiparty Session Types
Thien Udomsrirungruang, Nobuko Yoshida

TL;DR
This paper compares the complexity of top-down and bottom-up approaches in multiparty session types, introducing new algorithms and analyzing their efficiency and computational costs.
Contribution
It provides detailed complexity analyses of both approaches, introduces new algorithms using graph representations, and demonstrates the efficiency differences through theoretical bounds.
Findings
Top-down approach generally more efficient than bottom-up in realistic scenarios.
Type inference in bottom-up approach has exponential complexity.
Liveness checking in bottom-up approach is PSPACE-hard.
Abstract
Multiparty session types provide a type discipline for ensuring communication safety, deadlock-freedom and liveness for multiple concurrently running participants. The original formulation of MPST takes the top-down approach, where a global type specifies a bird's eye view of the intended interactions between participants, and each distributed process is locally type-checked against its end-point projection. A more recent one takes the bottom-up approach, where a desired property of a set of participants is ensured if the same property is true for an ensemble of end-point types (a typing context) inferred from each participant. This paper compares these two main procedures of MPST, giving their detailed complexity analyses. To this aim, we build several new algorithms missing from the bottom-up or top-down workflows by using graph representation of session types.…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsParallel Computing and Optimization Techniques · Distributed systems and fault tolerance · Embedded Systems Design Techniques
