[Paper Review] A Probabilistic Dependent Type System based on Non-Deterministic Beta Reduction
This paper introduces a Probabilistic Dependent Type System (PDTS) based on non-deterministic beta reduction in a dependent type theory extended with stochastic functions. By leveraging the Curry-Howard isomorphism, it derives a probabilistic logic that universally represents finite discrete distributions and establishes equivalence in expressive power with Markov Logic Networks through canonical translation.
We introduce Probabilistic Dependent Type Systems (PDTS) via a functional language based on a subsystem of intuitionistic type theory including dependent sums and products, which is expanded to include stochastic functions. We provide a sampling-based semantics for the language based on non-deterministic beta reduction. Further, we derive a probabilistic logic from the PDTS introduced as a direct result of the Curry-Howard isomorphism. The probabilistic logic derived is shown to provide a universal representation for finite discrete distributions.
Motivation & Objective
- To develop a probabilistic dependent type system (PDTS) that supports stochastic functions within intuitionistic type theory.
- To provide a sampling-based semantics for the language using non-deterministic beta reduction.
- To derive a novel probabilistic logic from the PDTS via the Curry-Howard isomorphism, distinct from prior weight-based or judgment-based approaches.
- To demonstrate that the derived logic can universally represent finite discrete probability distributions.
- To show expressive equivalence between the PDTS and Markov Logic Networks through a canonical translation.
Proposed method
- Extends a deterministic dependent type system ($\lambda P^{\Sigma\operatorname{bool}}$) to include non-deterministic functions via non-deterministic beta reduction.
- Defines a sampling-based semantics where reduction sequences correspond to probabilistic outcomes, with probabilities assigned via a distribution $\rho$.
- Applies the Curry-Howard isomorphism to derive a probabilistic logic from the type system, interpreting types as propositions and terms as proofs.
- Constructs a canonical translation between models in the PDTS and Markov Logic Networks (MLNs), showing that both can represent the same class of finite discrete distributions.
- Uses type derivability ($\tau_3 : \tau_2$) and normal form probabilities to estimate the distribution over types, with $\iota_{\tau_1}(\tau_2)$ defined as the sum of $\rho_{\tau_3}$ over normal forms $\tau_3$ that derive $\tau_2$.
- Employs a dependent type network with global assumptions $\Gamma_0, \Gamma_1$, and a probability distribution $P$ over function bindings to model probabilistic dependencies.
Experimental results
Research questions
- RQ1Can a probabilistic logic be naturally derived from a dependent type system using the Curry-Howard isomorphism, rather than through ad hoc probability assignment?
- RQ2How can non-deterministic beta reduction be used to provide a sampling-based semantics for stochastic functions in a dependent type system?
- RQ3What is the expressive power of the derived probabilistic logic, and can it represent all finite discrete probability distributions?
- RQ4Is there a canonical translation between the PDTS framework and existing probabilistic logic formalisms like Markov Logic Networks?
- RQ5Can the probability of a world in a probabilistic model be computed via type derivability and reduction probabilities in the PDTS?
Key findings
- The derived probabilistic logic provides a universal representation for finite discrete probability distributions, as shown by the canonical translation to Markov Logic Networks.
- The probability of a world $x_W$ given a PDTS model is proportional to the sum over subsets $H$ of formulae that are consistent with $x_W$, weighted by $\prod_{j\in H} p_j \cdot \prod_{j\notin H} (1-p_j)$.
- The probability $P(x_W|\Gamma_{0,1},P)$ is proportional to $P_2 = \sum_{H\in\mathcal{P}(\{1...N_F\})} (\prod_{j\in H} p_j)(\prod_{j\notin H} (1-p_j)) \cdot [\forall j\in H, \exists y \text{ s.t. } \Gamma',t:x_W \vdash y:F_j]$, with $P_1 = 2^{-N_D}$ absorbed into the normalization constant.
- The system supports decidable type checking, enabling the estimation of $\iota_{\tau_1}(\tau_2)$ as the sum of $\rho_{\tau_3}$ over normal forms $\tau_3$ that derive $\tau_2$, via sampling from reduction sequences.
- The PDTS and Markov Logic Networks are shown to be equivalent in expressive power, with a direct correspondence between type derivations and logical consistency in possible worlds.
- Non-deterministic beta reduction enables a natural semantics for stochastic functions, where each reduction path corresponds to a sample from the underlying distribution.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.