Skip to main content

Showing 1–15 of 15 results for author: Huot, M

  1. arXiv:2406.15742  [pdf, other

    cs.PL cs.AI cs.LG

    Probabilistic Programming with Programmable Variational Inference

    Authors: McCoy R. Becker, Alexander K. Lew, Xiaoyan Wang, Matin Ghavami, Mathieu Huot, Martin C. Rinard, Vikash K. Mansinghka

    Abstract: Compared to the wide array of advanced Monte Carlo methods supported by modern probabilistic programming languages (PPLs), PPL support for variational inference (VI) is less developed: users are typically limited to a predefined selection of variational objectives and gradient estimators, which are implemented monolithically (and without formal correctness arguments) in PPL backends. In this paper… ▽ More

    Submitted 22 June, 2024; originally announced June 2024.

    Journal ref: PLDI 2024

  2. GenSQL: A Probabilistic Programming System for Querying Generative Models of Database Tables

    Authors: Mathieu Huot, Matin Ghavami, Alexander K. Lew, Ulrich Schaechtle, Cameron E. Freer, Zane Shelby, Martin C. Rinard, Feras A. Saad, Vikash K. Mansinghka

    Abstract: This article presents GenSQL, a probabilistic programming system for querying probabilistic generative models of database tables. By augmenting SQL with only a few key primitives for querying probabilistic models, GenSQL enables complex Bayesian inference workflows to be concisely implemented. GenSQL's query planner rests on a unified programmatic interface for interacting with probabilistic model… ▽ More

    Submitted 21 June, 2024; originally announced June 2024.

    Comments: 54 pages, 30 figures, 1 table, published at PLDI 2024

  3. arXiv:2306.07961  [pdf, other

    stat.ML cs.LG stat.CO stat.ME

    Differentiating Metropolis-Hastings to Optimize Intractable Densities

    Authors: Gaurav Arya, Ruben Seyer, Frank Schäfer, Kartik Chandra, Alexander K. Lew, Mathieu Huot, Vikash K. Mansinghka, Jonathan Ragan-Kelley, Christopher Rackauckas, Moritz Schauer

    Abstract: We develop an algorithm for automatic differentiation of Metropolis-Hastings samplers, allowing us to differentiate through probabilistic inference, even if the model has discrete components within it. Our approach fuses recent advances in stochastic automatic differentiation with traditional Markov chain coupling schemes, providing an unbiased and low-variance gradient estimator. This allows us t… ▽ More

    Submitted 30 June, 2023; v1 submitted 13 June, 2023; originally announced June 2023.

    Comments: 6 pages, 6 figures; accepted at Differentiable Almost Everything Workshop of ICML 2023

  4. arXiv:2303.07030  [pdf, other

    cs.PL cs.LG cs.MS

    $\nabla$SD: Differentiable Programming for Sparse Tensors

    Authors: Amir Shaikhha, Mathieu Huot, Shideh Hashemian

    Abstract: Sparse tensors are prevalent in many data-intensive applications, yet existing differentiable programming frameworks are tailored towards dense tensors. This presents a significant challenge for efficiently computing gradients through sparse tensor operations, as their irregular sparsity patterns can result in substantial memory and computational overheads. In this work, we introduce a novel frame… ▽ More

    Submitted 13 March, 2023; originally announced March 2023.

  5. arXiv:2302.10636  [pdf, ps, other

    cs.PL cs.LG cs.LO

    $ω$PAP Spaces: Reasoning Denotationally About Higher-Order, Recursive Probabilistic and Differentiable Programs

    Authors: Mathieu Huot, Alexander K. Lew, Vikash K. Mansinghka, Sam Staton

    Abstract: We introduce a new setting, the category of $ω$PAP spaces, for reasoning denotationally about expressive differentiable and probabilistic programming languages. Our semantics is general enough to assign meanings to most practical probabilistic and differentiable programs, including those that use general recursion, higher-order functions, discontinuous primitives, and both discrete and continuous… ▽ More

    Submitted 25 May, 2023; v1 submitted 21 February, 2023; originally announced February 2023.

    Comments: 11 figures, 10 pages main paper + 13 pages of appendices

  6. arXiv:2212.10307  [pdf, other

    cs.PL cs.LG cs.MS

    Efficient and Sound Differentiable Programming in a Functional Array-Processing Language

    Authors: Amir Shaikhha, Mathieu Huot, Shabnam Ghasemirad, Andrew Fitzgibbon, Simon Peyton Jones, Dimitrios Vytiniotis

    Abstract: Automatic differentiation (AD) is a technique for computing the derivative of a function represented by a program. This technique is considered as the de-facto standard for computing the differentiation in many machine learning and optimisation software tools. Despite the practicality of this technique, the performance of the differentiated programs, especially for functional languages and in the… ▽ More

    Submitted 20 December, 2022; originally announced December 2022.

    Comments: arXiv admin note: substantial text overlap with arXiv:1806.02136

  7. arXiv:2212.09801  [pdf, ps, other

    cs.PL

    Denotationally Correct, Purely Functional, Efficient Reverse-mode Automatic Differentiation

    Authors: Mathieu Huot, Amir Shaikhha

    Abstract: Reverse-mode differentiation is used for optimization, but it introduces references, which break the purity of the underlying programs, making them notoriously harder to optimize. We present a reverse-mode differentiation on a purely functional language with array operations. It is the first one to deliver a provably efficient, purely functional, and denotationally correct reverse-mode differentia… ▽ More

    Submitted 26 April, 2023; v1 submitted 19 December, 2022; originally announced December 2022.

    Comments: 34 pages, 17 figures

  8. arXiv:2212.06386  [pdf, other

    cs.PL cs.MS stat.CO

    ADEV: Sound Automatic Differentiation of Expected Values of Probabilistic Programs

    Authors: Alexander K. Lew, Mathieu Huot, Sam Staton, Vikash K. Mansinghka

    Abstract: Optimizing the expected values of probabilistic processes is a central problem in computer science and its applications, arising in fields ranging from artificial intelligence to operations research to statistical computing. Unfortunately, automatic differentiation techniques developed for deterministic programs do not in general compute the correct gradients needed for widely used solutions based… ▽ More

    Submitted 13 December, 2022; originally announced December 2022.

    Comments: to appear at POPL 2023

    Journal ref: POPL 2023

  9. arXiv:2211.10482  [pdf, other

    cs.PL cs.MS cs.SC

    Compiling Structured Tensor Algebra

    Authors: Mahdi Ghorbani, Mathieu Huot, Shideh Hashemian, Amir Shaikhha

    Abstract: Tensor algebra is essential for data-intensive workloads in various computational domains. Computational scientists face a trade-off between the specialization degree provided by dense tensor algebra and the algorithmic efficiency that leverages the structure provided by sparse tensors. This paper presents StructTensor, a framework that symbolically computes structure at compilation time. This is… ▽ More

    Submitted 18 November, 2022; originally announced November 2022.

  10. arXiv:2111.15456  [pdf, other

    cs.PL

    Towards Denotational Semantics of AD for Higher-Order, Recursive, Probabilistic Languages

    Authors: Alexander K. Lew, Mathieu Huot, Vikash K. Mansinghka

    Abstract: Automatic differentiation (AD) aims to compute derivatives of user-defined functions, but in Turing-complete languages, this simple specification does not fully capture AD's behavior: AD sometimes disagrees with the true derivative of a differentiable program, and when AD is applied to non-differentiable or effectful programs, it is unclear what guarantees (if any) hold of the resulting code. We s… ▽ More

    Submitted 6 December, 2021; v1 submitted 30 November, 2021; originally announced November 2021.

    Comments: Presented at the NeurIPS 2021 differentiable programming workshop

  11. arXiv:2103.06376  [pdf, other

    cs.PL cs.DB cs.LG

    Functional Collection Programming with Semi-Ring Dictionaries

    Authors: Amir Shaikhha, Mathieu Huot, Jaclyn Smith, Dan Olteanu

    Abstract: This paper introduces semi-ring dictionaries, a powerful class of compositional and purely functional collections that subsume other collection types such as sets, multisets, arrays, vectors, and matrices. We developed SDQL, a statically typed language that can express relational algebra with aggregations, linear algebra, and functional collections over data such as relations and matrices using se… ▽ More

    Submitted 22 March, 2022; v1 submitted 10 March, 2021; originally announced March 2021.

  12. Higher Order Automatic Differentiation of Higher Order Functions

    Authors: Mathieu Huot, Sam Staton, Matthijs Vákár

    Abstract: We present semantic correctness proofs of automatic differentiation (AD). We consider a forward-mode AD method on a higher order language with algebraic data types, and we characterise it as the unique structure preserving macro given a choice of derivatives for basic operations. We describe a rich semantics for differentiable programming, based on diffeological spaces. We show that it interprets… ▽ More

    Submitted 21 March, 2022; v1 submitted 17 January, 2021; originally announced January 2021.

    Comments: arXiv admin note: substantial text overlap with arXiv:2001.02209

    Journal ref: Logical Methods in Computer Science, Volume 18, Issue 1 (March 22, 2022) lmcs:7106

  13. arXiv:2001.02209  [pdf, ps, other

    cs.PL cs.LO

    Correctness of Automatic Differentiation via Diffeologies and Categorical Gluing

    Authors: Mathieu Huot, Sam Staton, Matthijs Vákár

    Abstract: We present semantic correctness proofs of Automatic Differentiation (AD). We consider a forward-mode AD method on a higher order language with algebraic data types, and we characterise it as the unique structure preserving macro given a choice of derivatives for basic operations. We describe a rich semantics for differentiable programming, based on diffeological spaces. We show that it interprets… ▽ More

    Submitted 1 April, 2020; v1 submitted 7 January, 2020; originally announced January 2020.

    Comments: Proceedings of FoSSaCS 2020

  14. arXiv:1904.09600  [pdf, other

    cs.LO math.CT quant-ph

    Quantum channels as a categorical completion

    Authors: Mathieu Huot, Sam Staton

    Abstract: We propose a categorical foundation for the connection between pure and mixed states in quantum information and quantum computation. The foundation is based on distributive monoidal categories. First, we prove that the category of all quantum channels is a canonical completion of the category of pure quantum operations (with ancilla preparations). More precisely, we prove that the category of co… ▽ More

    Submitted 24 April, 2019; v1 submitted 21 April, 2019; originally announced April 2019.

    Comments: 12 pages + ref, accepted at LICS 2019

  15. arXiv:1901.10117  [pdf, ps, other

    quant-ph cs.LO math.CT

    Universal Properties in Quantum Theory

    Authors: Mathieu Huot, Sam Staton

    Abstract: We argue that notions in quantum theory should have universal properties in the sense of category theory. We consider the completely positive trace preserving (CPTP) maps, the basic notion of quantum channel. Physically, quantum channels are derived from pure quantum theory by allowing discarding. We phrase this in category theoretic terms by showing that the category of CPTP maps is the univer… ▽ More

    Submitted 29 January, 2019; originally announced January 2019.

    Comments: In Proceedings QPL 2018, arXiv:1901.09476

    Journal ref: EPTCS 287, 2019, pp. 213-223