Skip to main content

Showing 1–21 of 21 results for author: Broman, D

.
  1. arXiv:2407.00695  [pdf, other

    cs.AI cs.LO

    Learning Formal Mathematics From Intrinsic Motivation

    Authors: Gabriel Poesia, David Broman, Nick Haber, Noah D. Goodman

    Abstract: How did humanity coax mathematics from the aether? We explore the Platonic view that mathematics can be discovered from its axioms - a game of conjecture and proof. We describe Minimo (Mathematics from Intrinsic Motivation): an agent that jointly learns to pose challenging problems for itself (conjecturing) and solve them (theorem proving). Given a mathematical domain axiomatized in dependent type… ▽ More

    Submitted 30 June, 2024; originally announced July 2024.

  2. arXiv:2406.18111  [pdf, other

    cs.DC

    Automatic Tracing in Task-Based Runtime Systems

    Authors: Rohan Yadav, Michael Bauer, David Broman, Michael Garland, Alex Aiken, Fredrik Kjolstad

    Abstract: Implicitly parallel task-based runtime systems often perform dynamic analysis to discover dependencies in and extract parallelism from sequential programs. Dependence analysis becomes expensive as task granularity drops below a threshold. Tracing techniques have been developed where programmers annotate repeated program fragments (traces) issued by the application, and the runtime system memoizes… ▽ More

    Submitted 26 June, 2024; originally announced June 2024.

  3. arXiv:2406.11695  [pdf, other

    cs.CL cs.AI cs.LG

    Optimizing Instructions and Demonstrations for Multi-Stage Language Model Programs

    Authors: Krista Opsahl-Ong, Michael J Ryan, Josh Purtell, David Broman, Christopher Potts, Matei Zaharia, Omar Khattab

    Abstract: Language Model Programs, i.e. sophisticated pipelines of modular language model (LM) calls, are increasingly advancing NLP tasks, but they require crafting prompts that are jointly effective for all modules. We study prompt optimization for LM programs, i.e. how to update these prompts to maximize a downstream metric without access to module-level labels or gradients. To make this tractable, we fa… ▽ More

    Submitted 17 June, 2024; originally announced June 2024.

    Comments: Krista and Michael contributed equally to this work

  4. arXiv:2405.16883  [pdf, other

    cs.LG cs.AI cs.MS cs.PL

    Scorch: A Library for Sparse Deep Learning

    Authors: Bobby Yan, Alexander J. Root, Trevor Gale, David Broman, Fredrik Kjolstad

    Abstract: The rapid growth in the size of deep learning models strains the capabilities of traditional dense computation paradigms. Leveraging sparse computation has become increasingly popular for training and deploying large-scale models, but existing deep learning frameworks lack extensive support for sparse operations. To bridge this gap, we introduce Scorch, a library that seamlessly integrates efficie… ▽ More

    Submitted 20 June, 2024; v1 submitted 27 May, 2024; originally announced May 2024.

    Comments: 25 pages, 8 figures

  5. arXiv:2311.06788  [pdf, other

    cs.PL

    Real-Time Probabilistic Programming

    Authors: Lars Hummelgren, Matthias Becker, David Broman

    Abstract: Complex cyber-physical systems interact in real-time and must consider both timing and uncertainty. Develo** software for such systems is expensive and difficult, especially when modeling, inference, and real-time behavior must be developed from scratch. Recently, a new kind of language has emerged -- called probabilistic programming languages (PPLs) -- that simplify modeling and inference by se… ▽ More

    Submitted 8 July, 2024; v1 submitted 12 November, 2023; originally announced November 2023.

  6. arXiv:2304.11576  [pdf, other

    eess.SY cs.SE

    Exact Worst-Case Execution-Time Analysis for Implicit Model Predictive Control

    Authors: Daniel Arnström, David Broman, Daniel Axehill

    Abstract: We propose the first method that determines the exact worst-case execution time (WCET) for implicit linear model predictive control (MPC). Such WCET bounds are imperative when MPC is used in real time to control safety-critical systems. The proposed method applies when the quadratic programming solver in the MPC controller belongs to a family of well-established active-set solvers. For such solver… ▽ More

    Submitted 23 April, 2023; originally announced April 2023.

  7. Suspension Analysis and Selective Continuation-Passing Style for Universal Probabilistic Programming Languages

    Authors: Daniel Lundén, Lars Hummelgren, Jan Kudlicka, Oscar Eriksson, David Broman

    Abstract: Universal probabilistic programming languages (PPLs) make it relatively easy to encode and automatically solve statistical inference problems. To solve inference problems, PPL implementations often apply Monte Carlo inference algorithms that rely on execution suspension. State-of-the-art solutions enable execution suspension either through (i) continuation-passing style (CPS) transformations or (i… ▽ More

    Submitted 5 April, 2024; v1 submitted 25 February, 2023; originally announced February 2023.

    Journal ref: Programming Languages and Systems. ESOP 2024. Lecture Notes in Computer Science, volume 14577

  8. Automatic Alignment in Higher-Order Probabilistic Programming Languages

    Authors: Daniel Lundén, Gizem Çaylak, Fredrik Ronquist, David Broman

    Abstract: Probabilistic Programming Languages (PPLs) allow users to encode statistical inference problems and automatically apply an inference algorithm to solve them. Popular inference algorithms for PPLs, such as sequential Monte Carlo (SMC) and Markov chain Monte Carlo (MCMC), are built around checkpoints -- relevant events for the inference algorithm during the execution of a probabilistic program. Deci… ▽ More

    Submitted 3 May, 2023; v1 submitted 27 January, 2023; originally announced January 2023.

    Journal ref: Programming Languages and Systems. ESOP 2023. Lecture Notes in Computer Science, volume 13990

  9. arXiv:2211.00621  [pdf, other

    cs.PL

    Expression Acceleration: Seamless Parallelization of Typed High-Level Languages

    Authors: Lars Hummelgren, John Wikman, Oscar Eriksson, Philipp Haller, David Broman

    Abstract: Efficient parallelization of algorithms on general-purpose GPUs is essential in many areas today. However, it is a non-trivial task for software engineers to utilize GPUs to improve the performance of high-level programs in general. Although many domain-specific approaches are available for GPU acceleration, it is difficult to accelerate existing high-level programs without rewriting parts of the… ▽ More

    Submitted 8 July, 2024; v1 submitted 1 November, 2022; originally announced November 2022.

  10. arXiv:2209.01000  [pdf, other

    cs.PL cs.PF

    Programming with Context-Sensitive Holes using Dependency-Aware Tuning

    Authors: Linnea Stjerna, David Broman

    Abstract: Develo** efficient and maintainable software systems is both hard and time consuming. In particular, non-functional performance requirements involve many design and implementation decisions that can be difficult to take early during system development. Choices -- such as selection of data structures or where and how to parallelize code -- typically require extensive manual tuning that is both ti… ▽ More

    Submitted 2 September, 2022; originally announced September 2022.

    Comments: 27 pages, 5 figures

    ACM Class: C.4; D.3.3

  11. Compiling Universal Probabilistic Programming Languages with Efficient Parallel Sequential Monte Carlo Inference

    Authors: Daniel Lundén, Joey Öhman, Jan Kudlicka, Viktor Senderov, Fredrik Ronquist, David Broman

    Abstract: Probabilistic programming languages (PPLs) allow users to encode arbitrary inference problems, and PPL implementations provide general-purpose automatic inference for these problems. However, constructing inference implementations that are efficient enough is challenging for many real-world problems. Often, this is due to PPLs not fully exploiting available parallelization and optimization opportu… ▽ More

    Submitted 3 May, 2023; v1 submitted 1 December, 2021; originally announced December 2021.

    Journal ref: Programming Languages and Systems. ESOP 2022. Lecture Notes in Computer Science, volume 13240

  12. arXiv:2111.03154  [pdf, other

    cs.SE

    Automatic Diversity in the Software Supply Chain

    Authors: Nicolas Harrand, Thomas Durieux, David Broman, Benoit Baudry

    Abstract: Despite its obvious benefits, the increased adoption of package managers to automate the reuse of libraries has opened the door to a new class of hazards: supply chain attacks. By injecting malicious code in one library, an attacker may compromise all instances of all applications that depend on the library. To mitigate the impact of supply chain attacks, we propose the concept of Library Substitu… ▽ More

    Submitted 4 November, 2021; originally announced November 2021.

    Comments: 18 pages, 7 figures, 5 listings, 5 tables

  13. arXiv:2104.14323  [pdf, other

    cs.SE

    The Behavioral Diversity of Java JSON Libraries

    Authors: Nicolas Harrand, Thomas Durieux, David Broman, Benoit Baudry

    Abstract: JSON is an essential file and data format in do-mains that span scientific computing, web APIs or configuration management. Its popularity has motivated significant software development effort to build multiple libraries to process JSON data. Previous studies focus on performance comparison among these libraries and lack a software engineering perspective.We present the first systematic analysis a… ▽ More

    Submitted 27 August, 2021; v1 submitted 29 April, 2021; originally announced April 2021.

    Journal ref: The 32nd International Symposium on Software Reliability Engineering (ISSRE 2021)

  14. Correctness of Sequential Monte Carlo Inference for Probabilistic Programming Languages

    Authors: Daniel Lundén, Johannes Borgström, David Broman

    Abstract: Probabilistic programming is an approach to reasoning under uncertainty by encoding inference problems as programs. In order to solve these inference problems, probabilistic programming languages (PPLs) employ different inference algorithms, such as sequential Monte Carlo (SMC), Markov chain Monte Carlo (MCMC), or variational methods. Existing research on such algorithms mainly concerns their impl… ▽ More

    Submitted 3 May, 2023; v1 submitted 11 March, 2020; originally announced March 2020.

    Journal ref: Programming Languages and Systems. ESOP 2021. Lecture Notes in Computer Science, volume 12648

  15. arXiv:1911.05672  [pdf, other

    cs.FL

    Resolvable Ambiguity

    Authors: Viktor Palmkvist, Elias Castegren, Philipp Haller, David Broman

    Abstract: A common standpoint when designing the syntax of programming languages is that the grammar definition has to be unambiguous. However, requiring up front unambiguous grammars can force language designers to make more or less arbitrary choices to disambiguate the language. In this paper, we depart from the traditional view of unambiguous grammar design, and enable the detection of ambiguities to be… ▽ More

    Submitted 4 February, 2020; v1 submitted 13 November, 2019; originally announced November 2019.

    Comments: 25 pages

  16. arXiv:1812.07439  [pdf, ps, other

    cs.PL

    Automatic Alignment of Sequential Monte Carlo Inference in Higher-Order Probabilistic Programs

    Authors: Daniel Lundén, David Broman, Fredrik Ronquist, Lawrence M. Murray

    Abstract: Probabilistic programming is a programming paradigm for expressing flexible probabilistic models. Implementations of probabilistic programming languages employ a variety of inference algorithms, where sequential Monte Carlo methods are commonly used. A problem with current state-of-the-art implementations using sequential Monte Carlo inference is the alignment of program synchronization points. We… ▽ More

    Submitted 18 December, 2018; originally announced December 2018.

    Comments: 19 pages, 10 figures

  17. arXiv:1712.05264  [pdf, other

    cs.SE

    A Brief Overview of the KTA WCET Tool

    Authors: David Broman

    Abstract: KTA (KTH's timing analyzer) is a research tool for performing timing analysis of program code. The currently available toolchain can perform two different kinds of analyses: i) exhaustive fine-grained timing analysis, where timing information can be provided between arbitrary timing program points within a function, and ii) abstract search-based timing analysis, where the tool can perform optimal… ▽ More

    Submitted 14 December, 2017; originally announced December 2017.

  18. arXiv:1710.06516  [pdf, other

    cs.CY

    Hybrid Simulation Safety: Limbos and Zero Crossings

    Authors: David Broman

    Abstract: Physical systems can be naturally modeled by combining continuous and discrete models. Such hybrid models may simplify the modeling task of complex system, as well as increase simulation performance. Moreover, modern simulation engines can often efficiently generate simulation traces, but how do we know that the simulation results are correct? If we detect an error, is the error in the model or in… ▽ More

    Submitted 17 October, 2017; originally announced October 2017.

  19. arXiv:1708.07787  [pdf, other

    stat.ML stat.CO

    Delayed Sampling and Automatic Rao-Blackwellization of Probabilistic Programs

    Authors: Lawrence M. Murray, Daniel Lundén, Jan Kudlicka, David Broman, Thomas B. Schön

    Abstract: We introduce a dynamic mechanism for the solution of analytically-tractable substructure in probabilistic programs, using conjugate priors and affine transformations to reduce variance in Monte Carlo estimators. For inference with Sequential Monte Carlo, this automatically yields improvements such as locally-optimal proposals and Rao-Blackwellization. The mechanism maintains a directed graph along… ▽ More

    Submitted 21 March, 2018; v1 submitted 25 August, 2017; originally announced August 2017.

    Comments: 13 pages, 4 figures

    Journal ref: Proceedings of the 21st International Conference on Artificial Intelligence and Statistics (AISTATS) 2018

  20. arXiv:1702.00686  [pdf, other

    eess.SY

    Co-simulation: State of the art

    Authors: Cláudio Gomes, Casper Thule, David Broman, Peter Gorm Larsen, Hans Vangheluwe

    Abstract: It is essential to find new ways of enabling experts in different disciplines to collaborate more efficient in the development of ever more complex systems, under increasing market pressures. One possible solution for this challenge is to use a heterogeneous model-based approach where different teams can produce their conventional models and carry out their usual mono-disciplinary analysis, but in… ▽ More

    Submitted 1 February, 2017; originally announced February 2017.

    Comments: 157 pages, about 30 figures

    MSC Class: 65Y10 ACM Class: I.6.1; I.6.7

  21. arXiv:1506.03784  [pdf, other

    stat.ML stat.ME

    Sparse Partially Collapsed MCMC for Parallel Inference in Topic Models

    Authors: Måns Magnusson, Leif Jonsson, Mattias Villani, David Broman

    Abstract: Topic models, and more specifically the class of Latent Dirichlet Allocation (LDA), are widely used for probabilistic modeling of text. MCMC sampling from the posterior distribution is typically performed using a collapsed Gibbs sampler. We propose a parallel sparse partially collapsed Gibbs sampler and compare its speed and efficiency to state-of-the-art samplers for topic models on five well-kno… ▽ More

    Submitted 15 August, 2017; v1 submitted 11 June, 2015; originally announced June 2015.

    Comments: Accepted for publication in Journal of Computational and Graphical Statistics