Online Feb21
Meeting Information
This short online meeting was organised by the chair and secretary for members and observers to get in touch during the corona pandemic.
Date
Thursday 2021-02-25. 7-10pm GMT
Participants
Individual participation is not recorded.
We had 22 participants in Zoom.
Technical presentations in scheduled order
Sam Lindley, The Virtues of Semi-explicit Polymorphism
There are two standard ways of specifying a type system for ML: an orthogonal presentation and a syntax-directed presentation. The former allows implicit generalisation and instantiation anywhere in a program, and is thus not syntax-directed. The latter fuses generalisation with let-bindings and instantiation with variables, and is thus non-orthogonal. By introducing explicit syntax for generalisation and instantiation, that is, semi-explicit polymorphism, we obtain a presentation of Explicit ML, a mild variant of ML, which is both orthogonal and syntax-directed. Moreover, we recover the usual implicit version of ML as syntactic sugar. FreezeML is a small extension of ML providing first-class polymorphism and sound and complete type inference of principal types, whose typing rules are non-orthogonal. We show that Explicit ML extends naturally to Explicit FreezeML, an orthogonal presentation of an explicit variant of FreezeML. We recover the usual implicit version of FreezeML as syntactic sugar. Explicit FreezeML is a conservative extension of both Explicit ML and System F.
Tom Schrijvers, Deriving Automatic Differentiation, Forwards and Backwards
Automatic differentation (AD) is a class of algorithms computing the derivative of a given expression, that is more efficient than symbolic derivation and more accurate than numerical differentiation. It has recently gained much interest due to the growing number of applications of gradients in machine learning and elsewhere. The two variants of this technique are forward and reverse mode AD, both of which are often tersely explained as being two different instantiations of the well-known chain rule. While the former is quite intuitive to understand and implement, it seems much harder to give a satisfactory explanation for the latter. However, reverse mode is often more efficient. For a computation with m variables and n operations, the complexity can be brought down to O(n + m). This functional pearl takes a novel, functional programming approach to explaining both AD modes. It systematically derives them from symbolic differentiation by using a range of well-established principles from the algebra of programming. In so doing, we hope that this technique becomes more accessible to a wider audience.
Copy of Zoom Chat
nothing important to report
-- Main.PeterHoefner - 23 Feb 2021