Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
skip to main content
10.1145/604174.604180acmconferencesArticle/Chapter ViewAbstractPublication PagespoplConference Proceedingsconference-collections
Article

A calculus for probabilistic languages

Published: 18 January 2003 Publication History

Abstract

As probabilistic computation plays an increasing role in diverse fields in computer science, researchers have designed new languages to facilitate the development of probabilistic programs. In this paper, we develop a probabilistic calculus by extending the traditional lambda calculus. In our calculus, every expression denotes a probability distribution yet evaluates to a regular value. The most notable feature of our calculus is that it is founded upon sampling functions, which map the unit interval to probability domains. As a consequence, we achieve a unified representation scheme for all types of probability distributions. In order to support an efficient implementation of the calculus, we also develop a refinement type system which is capable of distinguishing expressions denoting regular values from expressions denoting probability distributions. We use a novel formulation of the intuitionistic modal logic S4 with an intersection connective in the refinement type system. We present preliminary evidence that a probabilistic language based upon our calculus is viable in applications involving massive probabilistic computation.

References

[1]
P. Bratley, B. Fox, and L. Schrage. A guide to simulation. Springer Verlag, 2nd edition, 1996.
[2]
R. Davies and F. Pfenning. Intersection types and computational effects. In ICFP-00, pages 198--208. ACM Press, 2000.
[3]
R. Davies and F. Pfenning. A modal analysis of staged computation. Journal of the ACM, 48(3), 2001.
[4]
A. Edalat and P. J. Potts. A new representation for exact real numbers. In Electronic Notes in Theoretical Computer Science, volume 6. Elsevier Science Publishers, 2000.
[5]
D. Fox, W. Burgard, F. Dellaert, and S. Thrun. Monte carlo localization: Efficient position estimation for mobile robots. In AAAI-99, pages 343--349. AAAI/MIT Press, 1999.
[6]
J. Gill. Computational complexity of probabilistic Turing machines. SIAM Journal on Computing, 6(4):675--695, 1977.
[7]
V. Gupta, R. Jagadeesan, and P. Panangaden. Stochastic processes as concurrent constraint programs. In 26th ACM POPL, pages 189--202. ACM Press, 1999.
[8]
A. H. Jazwinski. Stochastic Processes and Filtering Theory. Academic Press, New York, 1970.
[9]
C. Jones. Probabilistic Non-Determinism. PhD thesis, Department of Computer Science, University of Edinburgh, 1990.
[10]
D. Koller, D. McAllester, and A. Pfeffer. Effective Bayesian inference for stochastic programs. In AAAI-97/IAAI-97, pages 740--747. AAAI Press, 1997.
[11]
D. Kozen. Semantics of probabilistic programs. Journal of Computer and System Sciences, 22(3):328--350, 1981.
[12]
J. Maraist, M. Odersky, and P. Wadler. The call-by-need lambda calculus. Journal of Functional Programming, 8(3):275--317, 1998.
[13]
A. Pfeffer. IBAL: A probabilistic rational programming language. In IJCAI-01, pages 733--740. Morgan Kaufmann Publishers, 2001.
[14]
F. Pfenning and R. Davies. A judgmental reconstruction of modal logic. Mathematical Structures in Computer Science, 11(4):511--540, 2001.
[15]
D. Pless and G. Luger. Toward general analysis of recursive probability models. In UAI-01, pages 429--436. Morgan Kaufmann Publishers, 2001.
[16]
N. Ramsey and A. Pfeffer. Stochastic lambda calculus and monads of probability distributions. In 29th ACM POPL, pages 154--165. ACM Press, 2002.
[17]
N. Saheb-Djahromi. Probabilistic LCF. In Proceedings of the 7th Symposium on S. Thrun.18. Probabilistic algorithms in robotics. AI Magazine, 21(4):93--109, 2000.
[18]
S. Thrun. Towards programming tools for robots that integrate probabilistic computation and learning. In ICRA-00. IEEE, 2000.

Cited By

View all

Recommendations

Comments

Information & Contributors

Information

Published In

cover image ACM Conferences
TLDI '03: Proceedings of the 2003 ACM SIGPLAN international workshop on Types in languages design and implementation
January 2003
144 pages
ISBN:1581136498
DOI:10.1145/604174
Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than ACM must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected]

Sponsors

Publisher

Association for Computing Machinery

New York, NY, United States

Publication History

Published: 18 January 2003

Permissions

Request permissions for this article.

Check for updates

Author Tags

  1. probabilistic calculus
  2. probabilistic language
  3. refinement type system

Qualifiers

  • Article

Conference

TLDI03
Sponsor:

Acceptance Rates

TLDI '03 Paper Acceptance Rate 11 of 26 submissions, 42%;
Overall Acceptance Rate 11 of 26 submissions, 42%

Upcoming Conference

POPL '25

Contributors

Other Metrics

Bibliometrics & Citations

Bibliometrics

Article Metrics

  • Downloads (Last 12 months)5
  • Downloads (Last 6 weeks)1
Reflects downloads up to 12 Sep 2024

Other Metrics

Citations

Cited By

View all
  • (2019)Lambda Calculus and Probabilistic Computation2019 34th Annual ACM/IEEE Symposium on Logic in Computer Science (LICS)10.1109/LICS.2019.8785699(1-13)Online publication date: Jun-2019
  • (2013)Judgmental subtyping systems with intersection types and modal typesActa Informatica10.1007/s00236-013-0186-250:7-8(359-380)Online publication date: 1-Dec-2013
  • (2008)A probabilistic language based on sampling functionsACM Transactions on Programming Languages and Systems10.1145/1452044.145204831:1(1-46)Online publication date: 12-Dec-2008
  • (2007)Rough Set Approximations Based on Random SetsProceedings of the 2007 IEEE International Conference on Granular Computing10.1109/GRC.2007.137Online publication date: 2-Nov-2007
  • (2005)A probabilistic language based upon sampling functionsACM SIGPLAN Notices10.1145/1047659.104032040:1(171-182)Online publication date: 12-Jan-2005
  • (2005)A probabilistic language based upon sampling functionsProceedings of the 32nd ACM SIGPLAN-SIGACT symposium on Principles of programming languages10.1145/1040305.1040320(171-182)Online publication date: 12-Jan-2005
  • (2020)A Type Theory for Probabilistic $$\lambda $$–calculusFrom Lambda Calculus to Cybersecurity Through Program Analysis10.1007/978-3-030-41103-9_3(86-102)Online publication date: 15-Feb-2020
  • (2019)Lambda calculus and probabilistic computationProceedings of the 34th Annual ACM/IEEE Symposium on Logic in Computer Science10.5555/3470152.3470186(1-13)Online publication date: 24-Jun-2019
  • (2012)Probabilistic operational semantics for the lambda calculusRAIRO - Theoretical Informatics and Applications10.1051/ita/201201246:3(413-450)Online publication date: 22-Jun-2012

View Options

Get Access

Login options

View options

PDF

View or Download as a PDF file.

PDF

eReader

View online with eReader.

eReader

Media

Figures

Other

Tables

Share

Share

Share this Publication link

Share on social media