paper-with-me

Papers

flip-hoisting: Exploiting Repeated Parameters in Discrete Probabilistic Programs

2021-10-19 · Ellie Y. Cheng, Todd Millstein, Guy Van Den Broeck, Steven Holtzen

Many of today's probabilistic programming languages (PPLs) have brittle inference performance: the performance of the underlying inference algorithm is very sensitive to the precise way in which the probabilistic program is written. A standard way of addressing this challenge in traditional programming languages is via program optimizations, which seek to unburden the programmer from writing low-level performant code, freeing them to work at a higher-level of abstraction. The arsenal of applicable program optimizations for PPLs to choose from is scarce in comparison to traditional programs; few of today's PPLs offer significant forms of automated program optimization. In this work we develop a new family of program optimizations specific to discrete-valued knowledge compilation based PPLs. We identify a particular form of program structure unique to these PPLs that tangibly affects exact inference performance in these programs: redundant random variables -- variables with repeated parameters and inconsistent path conditions. We develop a new program analysis and associated optimization called flip-hoisting that identifies these redundancies and optimizes them into a single random variable. We show that flip-hoisting yields inference speedups of up to 60% on applications of probabilistic programs such as Bayesian networks and probabilistic verification.

📄 PDF Abstract BibTeX arXiv:2110.10284

Code (0)

등록된 구현이 없습니다.

Tasks

Probabilistic Programming

Similar Papers 제목 키워드 기반

ZeBRA: Precisely Destroying Neural Networks with Zero-Data Based Repeated Bit Flip Attack

2021-11-01 · Dahoon Park, Kon-Woo Kwon, Sunghoon Im, Jaeha Kung

In this paper, we present Zero-data Based Repeated bit flip Attack (ZeBRA) that precisely destroys deep neural networks (DNNs) by synthesizing its own attack datasets. Many prior works on adversarial weight attack requir…

GenBFA: An Evolutionary Optimization Approach to Bit-Flip Attacks on LLMs

2024-11-21 · Sanjay Das, Swastik Bhattacharya, Souvik Kundu, Shamik Kundu 외

Large Language Models (LLMs) have revolutionized natural language processing (NLP), excelling in tasks like text generation and summarization. However, their increasing adoption in mission-critical applications raises co…

MMLUText Generation

Automatic Differentiation of Programs with Discrete Randomness

2022-10-16 · Gaurav Arya, Moritz Schauer, Frank Schäfer, Chris Rackauckas

Automatic differentiation (AD), a technique for constructing new programs which compute the derivative of an original program, has become ubiquitous throughout scientific computing and deep learning due to the improved p…

All-atom inverse protein folding through discrete flow matching

2025-07-04 · Kai Yi, Kiarash Jamali, Sjors H. W. Scheres arxiv

The recent breakthrough of AlphaFold3 in modeling complex biomolecular interactions, including those between proteins and ligands, nucleotides, or metal ions, creates new opportunities for protein design. In so-called in…

Protein Design

ProFlip: Targeted Trojan Attack With Progressive Bit Flips

2021-01-01 · ICCV 2021 10 · Huili Chen, Cheng Fu, Jishen Zhao, Farinaz Koushanfar

The security of Deep Neural Networks (DNNs) is of great importance due to their employment in various safety-critical applications. DNNs are shown to be vulnerable against the Trojan attack that manipulates the model…