Venture: A higher-order probabilistic programming platform with programmable inference. Mansinghka, V. K., Selsam, D., & Perov, Y. arXiv preprint, 2014.
Paper
Link abstract bibtex 5 downloads We describe Venture, an interactive virtual machine for probabilistic programming that aims to be sufficiently expressive, extensible, and efficient for general-purpose use. Like Church, probabilistic models and inference problems in Venture are specified via a Turing-complete, higher-order probabilistic language descended from Lisp. Unlike Church, Venture also provides a compositional language for custom inference strategies, assembled from scalable implementations of several exact and approximate techniques. Venture is thus applicable to problems involving widely varying model families, dataset sizes and runtime/accuracy constraints. We also describe four key aspects of Venture’s implementation that build on ideas from probabilistic graphical models. First, we describe the stochastic procedure interface (SPI) that specifies and encapsulates primitive random variables, analogously to conditional probability tables in a Bayesian network. The SPI supports custom control flow, higher-order probabilistic procedures, partially exchangeable sequences and “likelihood-free” stochastic simulators, all with custom proposals. It also supports the integration of external models that dynamically create, destroy and perform inference over latent variables hidden from Venture. Second, we describe probabilistic execution traces (PETs), which represent execution histories of Venture programs. Like Bayesian networks, PETs capture conditional dependencies, but PETs also represent existential dependencies and exchangeable coupling. Third, we describe partitions of execution histories called scaffolds that can be efficiently constructed from PETs and that factor global inference problems into coherent sub-problems. Finally, we describe a family of stochastic regeneration algorithms for efficiently modifying PET fragments contained within scaffolds without visiting conditionally independent random choices. Stochastic regeneration insulates inference algorithms from the complexities introduced by changes in execution structure, with runtime that scales linearly in cases where previous approaches often scaled quadratically and were therefore impractical. We show how to use stochastic regeneration and the SPI to implement general-purpose inference strategies such as Metropolis-Hastings, Gibbs sampling, and blocked proposals based on hybrids with both particle Markov chain Monte Carlo and mean-field variational inference techniques.
@article{mansinghka2014venture,
title = {Venture: A higher-order probabilistic programming platform with programmable inference},
author = {Mansinghka, Vikash K. and Selsam, Daniel and Perov, Yura},
year = 2014,
journal = {arXiv preprint},
volume = {arXiv:1404.0099},
url_paper = {https://arxiv.org/pdf/1404.0099.pdf},
url_link = {https://arxiv.org/abs/1404.0099},
abstract = {We describe Venture, an interactive virtual machine for probabilistic programming that aims to be sufficiently expressive, extensible, and efficient for general-purpose use. Like Church, probabilistic models and inference problems in Venture are specified via a Turing-complete, higher-order probabilistic language descended from Lisp. Unlike Church, Venture also provides a compositional language for custom inference strategies, assembled from scalable implementations of several exact and approximate techniques. Venture is thus applicable to problems involving widely varying model families, dataset sizes and runtime/accuracy constraints. We also describe four key aspects of Venture’s implementation that build on ideas from probabilistic graphical models. First, we describe the stochastic procedure interface (SPI) that specifies and encapsulates primitive random variables, analogously to conditional probability tables in a Bayesian network. The SPI supports custom control flow, higher-order probabilistic procedures, partially exchangeable sequences and “likelihood-free” stochastic simulators, all with custom proposals. It also supports the integration of external models that dynamically create, destroy and perform inference over latent variables hidden from Venture. Second, we describe probabilistic execution traces (PETs), which represent execution histories of Venture programs. Like Bayesian networks, PETs capture conditional dependencies, but PETs also represent existential dependencies and exchangeable coupling. Third, we describe partitions of execution histories called scaffolds that can be efficiently constructed from PETs and that factor global inference problems into coherent sub-problems. Finally, we describe a family of stochastic regeneration algorithms for efficiently modifying PET fragments contained within scaffolds without visiting conditionally independent random choices. Stochastic regeneration insulates inference algorithms from the complexities introduced by changes in execution structure, with runtime that scales linearly in cases where previous approaches often scaled quadratically and were therefore impractical. We show how to use stochastic regeneration and the SPI to implement general-purpose inference strategies such as Metropolis-Hastings, Gibbs sampling, and blocked proposals based on hybrids with both particle Markov chain Monte Carlo and mean-field variational inference techniques.},
}
Downloads: 5
{"_id":"aEeTGTBQfmZiDgmXs","bibbaseid":"mansinghka-selsam-perov-ventureahigherorderprobabilisticprogrammingplatformwithprogrammableinference-2014","downloads":5,"creationDate":"2017-02-12T22:29:18.234Z","title":"Venture: A higher-order probabilistic programming platform with programmable inference","author_short":["Mansinghka, V. K.","Selsam, D.","Perov, Y."],"year":2014,"bibtype":"article","biburl":"probcomp.csail.mit.edu/papers.bib","bibdata":{"bibtype":"article","type":"article","title":"Venture: A higher-order probabilistic programming platform with programmable inference","author":[{"propositions":[],"lastnames":["Mansinghka"],"firstnames":["Vikash","K."],"suffixes":[]},{"propositions":[],"lastnames":["Selsam"],"firstnames":["Daniel"],"suffixes":[]},{"propositions":[],"lastnames":["Perov"],"firstnames":["Yura"],"suffixes":[]}],"year":"2014","journal":"arXiv preprint","volume":"arXiv:1404.0099","url_paper":"https://arxiv.org/pdf/1404.0099.pdf","url_link":"https://arxiv.org/abs/1404.0099","abstract":"We describe Venture, an interactive virtual machine for probabilistic programming that aims to be sufficiently expressive, extensible, and efficient for general-purpose use. Like Church, probabilistic models and inference problems in Venture are specified via a Turing-complete, higher-order probabilistic language descended from Lisp. Unlike Church, Venture also provides a compositional language for custom inference strategies, assembled from scalable implementations of several exact and approximate techniques. Venture is thus applicable to problems involving widely varying model families, dataset sizes and runtime/accuracy constraints. We also describe four key aspects of Venture’s implementation that build on ideas from probabilistic graphical models. First, we describe the stochastic procedure interface (SPI) that specifies and encapsulates primitive random variables, analogously to conditional probability tables in a Bayesian network. The SPI supports custom control flow, higher-order probabilistic procedures, partially exchangeable sequences and “likelihood-free” stochastic simulators, all with custom proposals. It also supports the integration of external models that dynamically create, destroy and perform inference over latent variables hidden from Venture. Second, we describe probabilistic execution traces (PETs), which represent execution histories of Venture programs. Like Bayesian networks, PETs capture conditional dependencies, but PETs also represent existential dependencies and exchangeable coupling. Third, we describe partitions of execution histories called scaffolds that can be efficiently constructed from PETs and that factor global inference problems into coherent sub-problems. Finally, we describe a family of stochastic regeneration algorithms for efficiently modifying PET fragments contained within scaffolds without visiting conditionally independent random choices. Stochastic regeneration insulates inference algorithms from the complexities introduced by changes in execution structure, with runtime that scales linearly in cases where previous approaches often scaled quadratically and were therefore impractical. We show how to use stochastic regeneration and the SPI to implement general-purpose inference strategies such as Metropolis-Hastings, Gibbs sampling, and blocked proposals based on hybrids with both particle Markov chain Monte Carlo and mean-field variational inference techniques.","bibtex":"@article{mansinghka2014venture,\ntitle = {Venture: A higher-order probabilistic programming platform with programmable inference},\nauthor = {Mansinghka, Vikash K. and Selsam, Daniel and Perov, Yura},\nyear = 2014,\njournal = {arXiv preprint},\nvolume = {arXiv:1404.0099},\nurl_paper = {https://arxiv.org/pdf/1404.0099.pdf},\nurl_link = {https://arxiv.org/abs/1404.0099},\nabstract = {We describe Venture, an interactive virtual machine for probabilistic programming that aims to be sufficiently expressive, extensible, and efficient for general-purpose use. Like Church, probabilistic models and inference problems in Venture are specified via a Turing-complete, higher-order probabilistic language descended from Lisp. Unlike Church, Venture also provides a compositional language for custom inference strategies, assembled from scalable implementations of several exact and approximate techniques. Venture is thus applicable to problems involving widely varying model families, dataset sizes and runtime/accuracy constraints. We also describe four key aspects of Venture’s implementation that build on ideas from probabilistic graphical models. First, we describe the stochastic procedure interface (SPI) that specifies and encapsulates primitive random variables, analogously to conditional probability tables in a Bayesian network. The SPI supports custom control flow, higher-order probabilistic procedures, partially exchangeable sequences and “likelihood-free” stochastic simulators, all with custom proposals. It also supports the integration of external models that dynamically create, destroy and perform inference over latent variables hidden from Venture. Second, we describe probabilistic execution traces (PETs), which represent execution histories of Venture programs. Like Bayesian networks, PETs capture conditional dependencies, but PETs also represent existential dependencies and exchangeable coupling. Third, we describe partitions of execution histories called scaffolds that can be efficiently constructed from PETs and that factor global inference problems into coherent sub-problems. Finally, we describe a family of stochastic regeneration algorithms for efficiently modifying PET fragments contained within scaffolds without visiting conditionally independent random choices. Stochastic regeneration insulates inference algorithms from the complexities introduced by changes in execution structure, with runtime that scales linearly in cases where previous approaches often scaled quadratically and were therefore impractical. We show how to use stochastic regeneration and the SPI to implement general-purpose inference strategies such as Metropolis-Hastings, Gibbs sampling, and blocked proposals based on hybrids with both particle Markov chain Monte Carlo and mean-field variational inference techniques.},\n}\n\n","author_short":["Mansinghka, V. K.","Selsam, D.","Perov, Y."],"key":"mansinghka2014venture","id":"mansinghka2014venture","bibbaseid":"mansinghka-selsam-perov-ventureahigherorderprobabilisticprogrammingplatformwithprogrammableinference-2014","role":"author","urls":{" paper":"https://arxiv.org/pdf/1404.0099.pdf"," link":"https://arxiv.org/abs/1404.0099"},"metadata":{"authorlinks":{"mansinghka, v":"http://probcomp.csail.mit.edu/"}},"downloads":5},"search_terms":["venture","higher","order","probabilistic","programming","platform","programmable","inference","mansinghka","selsam","perov"],"keywords":[],"authorIDs":["3BTqPkyp87F3LdfbT","3aLDT4CEdr9WQpBic","3h44YL555EzhtTyov","3sWyAGovNzzFZeFzb","464Mzt2HES7jktmMC","4QwQPXfYWxAfrqD3x","4YcH7NwtDKS68uEYh","585Ntjij9LqzHgJec","58e5112f03d5065b4a0000a9","5GyX8nSxnzPXAAriL","5XYQacne4xXLAyusX","5defe8db14db5cdf01000055","5deff4d314db5cdf0100012e","5df1cf751070c8ef010000ac","5df1d5751070c8ef010000fc","5df2c3bc79c00ade01000032","5df2e966b91ab0de010000b9","5df3ba9bec6029de010001ff","5df41f6d9d2522de010000b6","5df6ad3a31a37ade0100013e","5df6ca73f9318fdf01000177","5df76ca5952c76df0100011e","5df7b1c892a8e4df01000005","5df7bbc092a8e4df0100008a","5df7e63edc100cde010001c1","5df86547b99bcff30100005e","5df92329d04b27df0100004c","5dfbb80bf6f0aede010000ec","5dfbd8534705b7de01000164","5dfbff4fb371afde0100004b","5e0429e6c51eb3de01000070","5e053342709177de01000196","5e095d9572022bde010000af","5e0b6a25e73cd6de0100009a","5e0df6ae45d2fdde010000c4","5e0f3a572c4a31df01000054","5e11ba8b2af340df010000ab","5e12af1b3f181ade01000090","5e1352de697554de010000ea","5e135a70697554de0100016f","5e13adfa0d0b99de01000133","5e14863808c265de010000d3","5e159116f1f31adf01000135","5e15aa3ee8bfcff20100016d","5e162fc6df1bb4de01000184","5e16ee965e8bcfdf010000be","5e175ca74df69dde010000a9","5e18969f779abfdf010000ef","5e18a2b8779abfdf010001ee","5e1a11a2cde53bde01000116","5e1aed275f3d2cdf01000123","5e1b8a407c0fe1df01000077","5e1ba2c361cb16df01000032","5e1c5c86e556c6de01000176","5e1cdc1dabed9bde010000bf","5e1dde194986afdf0100015b","5e1e26c2407a20de01000019","5e1e5c672e41a7de01000166","5e1f2d8107379ade010000b6","5e1f7f8008195af301000090","5e20acde5c2065de0100000d","5e20ba3d5c2065de010000db","5e24b9fb1a6264de0100011c","5e251a51b55b9edf01000074","5e25cf83f299d4de010001cc","5e2639f624c8a6de010000cb","5e2666dd581147f201000031","5e270ca3f51e02de0100001f","5e2778b858994fde01000224","5e28a71d88416fde01000173","5e28e19ca3df5bdf010000ff","5e2c8658ce5606de01000102","5e2de707133023de0100009b","5e2e2f1ecc9e90e401000118","5e2ea7efb84405df0100007c","5e2ec219c2015cde01000055","5e2effa8e374eede01000104","5e2f5fa326e5cadf01000312","5e31c760b5384fde01000176","5e31c93cb5384fde01000193","5e329a80e17accde01000069","5e3433c641f782de01000167","5e3495dc53b794de010000b4","5e34be67ed2109df010000b7","5e353ab3ba591ddf0100000f","5e36a8d77b975dde01000016","5e36e37db26a0fde0100003c","5e382c240691b8de010001ee","5e3880661f8af9e0010001d9","5e388c7d030bcadf010000a3","5e397ce6346d7cde010001fd","5e3991c6d14579de010001db","5e39cc6dd6538cdf0100015e","5e39d34cd6538cdf010001d1","5e39f362aa2adade01000038","5e3ad4901b85fadf01000033","5e3ae1bc1b85fadf01000133","5e3b098555f0f2df010001b9","5e3b2960255dcade01000047","5e3b3442255dcade0100011b","5e3c2ec634cd37de010000e9","5e3c6e9d67788ede01000110","5e3c9dcdf99721de01000076","5e3cdde75cd237de010000a4","5e3d2557c405ecde01000034","5e3d7fc696e576de010000c4","5e3ecf0086a596de01000058","5e3f47c777baf5df0100009f","5e3f9974cecf86de0100017a","5e40136f17f17dde0100019b","5e4041f7668183de0100008a","5e420517ebe241de010000ff","5e428bc75ea111df010000bd","5e42c7eee7fe39df010000e7","5e436014a37866de01000174","5e43f473547b4cdf0100004c","5e4418e1fdc393de010000de","5e445a86df3c2af301000191","5e4487f5ec14b3de01000094","5e44ce167759a7df0100013e","5e44ec83ab9cedde0100011d","5e453154605639de01000088","5e46bd088573d1de010000e5","5e49612b16841dde01000076","5e49c95eb63120f201000048","5e4abc2c15f6c7df010001ef","5e4b94db2d0ef5de010000aa","5e4e0047cc196bde0100014c","5e4ea27764b624de010000a8","5e4f42208a3535f301000013","5e50afb4e3d144df01000002","5e50b11be3d144df01000013","5e54502988d190df01000016","5e553b5dca58a8df010000e3","5e557e89e11ab9df0100010f","5e55aa627d0846de01000096","5e55f822819fabdf01000028","5e56c16a96127bde010000ac","5e57501b18f14bdf01000058","5e5c1fcb15d8f5de01000029","5e5cada2a9598ddf01000029","5e5d3b9b73eb2edf0100008b","5e5d5e1ead47bcde010000d8","5e5d676cad47bcde01000156","5e5fb8c519c3fade01000205","5e6008bb13e3aede01000165","5e6108ef31c7d3de010001ef","5e6177a5417d19de010001ca","5e61c964abaeaede0100010d","5e62a99408ebcade01000152","5e63c4ac74499adf01000108","5e659b015dd5c8de01000086","5e676de810be53de0100000a","5e67ef260e29d3de01000223","5e69a3dc23ebccde01000062","5e6b9b4138517edf0100000b","5kT7ojhuB22wGn6pt","5x3AEdxLnChwvZa8g","69vAtG6YtnrsSoazH","6Ffmir77DS8x3E6sx","6JEETkGR6ZRiAfczM","6TLgrWa44XWGyNXgP","6e2XFy229hLbFR99A","6huhEvSXfaqHXmkc3","75bFNvjwbxXRG4yCg","7PnbdWfd9vxcGEmqs","7RXMsKBr98X9uDG4u","7qwQRtBSKxFLoshsT","8eeAa2j6MpLZi53zn","9x6sTTNqAw2FaeeWG","9yWXZ5ebx92nLDhL2","A7MG4bLJGjd3nScQN","ANKFWzBqWy9E3pEaZ","BSch39FbG778QEiy5","BaD4cmvBYjC63mtCM","BkX37EvGx8eMaKWi2","Bv3Zb4Heu6oao7LnR","CLPkk3fjJiHBM3Y8f","CqY7Kc6gRRDohbtu9","D8TuWoWXbPtuvvx2B","DY9xcsoTYxu4PcDug","DzywbfM9RtjEziNni","E3FPR2oSan5tuHkyw","E7NDYosNnpGkNTzcR","EEpw2vd5BnZwztHEi","EcbrbYRcyh2MnmkHB","Edfq2hw3azcDSTkEs","EtCE2kkfYCoWt2Ejw","G2XSrL9u7Zo4p75tM","GQFnFjkwarniwEv3W","HJLuNjpriEJ9QwHXT","J7d7XjpSZNthLLmzm","JK4SPS2cSvf3cPQDP","KCHLdJic3Xti28ycM","KtCvweD8r92ANqQ9s","Lny2nNi3DiKEBXHpH","MpjduyZMdMMeTCQar","MtTEKC4XxAQntH2m9","MzrNu3MqSeatEHDuB","N2AiqindFhfTWwzG9","NFGnmR7f5ZLhR3Y83","NjsqzFAPLtjHWDutm","NuNFTPoNEJsvXiAdw","PEv4bHqvu98SoC7Nr","PGr3aYEWEcRsJTTMM","PbKBaE9nWH4yrgQsn","PyejnXwfbytABY8Ss","QcgXmZjQQehLf48uz","R9CzgnpThCKSYQYQJ","RPDNs66wjvQvGCnmW","RX4f9LrmJvdsJgGNq","SCDCkFXictWDuwRnP","SDQcntjjZvnPFcWuS","ScZRPZu5ALEREpZNG","SvAeHjtw8uYu3ihPg","TGjnzins6tGHL8EPq","TRnXA3ibpxC4vKmBA","W7GKJMGm3FPMm8wN3","W8ge27yKHbWdSnoWv","W93qCNzi5rc6NmKjR","WCiQS7jgbNPDayDoD","WEbj6a2uMBxmTmCZd","WK33EBjTc5HFEx9LY","Wza44JooxKS6dBCSY","XE66B9odchJ462xqj","XJAj2ncSnpwZq3Zuv","XQj7AQR5JurFtAY2c","YLFYg6mMNR3TckeMp","YhFgPXemga3EjrY4C","ZqkHZRiLR5QK4FFqt","aBumSK6KzzzLcQCcD","aWmEXD5Bd2HATh5f9","azzu48Y9BFosGy6pT","bgWkatnia6jr5xayi","bnEjdLAA8CEAzfpS8","borKKcT3xxBpudQ64","bsgRA4rZFfBc8QYoc","cCeCRM6h4ucLQPJ4d","cFdSiDByk4WjY8CAq","ccbF82t7WawnKZ4Rn","cdFMvAfHGmZgC2mf5","d8wXTv3AWGbjzpBHg","dH287JHPXSQxmbkaY","dXWXguojmFwXfC343","dcS3nv4fRYtjWdi2q","dmuH2prrwszZRG4Gy","evFHRXtQiNy2Rbex6","fGznKFztBFTWKbXcC","fT5agwbbQsrQvHwjr","fxAe3pLLGAQzMiXtf","h7nTPA8M5zbg5J7xG","hFXd3NHqjqjt6EYoc","hPyxgq8atsySd5xn2","hd3fRad58ComrShen","hfdKshgYhSgxvHWPG","hnRkpQqfbxyJ3tkn9","hskMGaWwn79efdrq5","iR3L6GjNhtwHoEoFy","iRYtDaK9r3m8jN2Sn","iRiXZZjhB3zha5oX9","iiCzWFNEcEPqwcKvw","iqMpMab3yd9vLzPYB","jAL37CjxprJspwLaH","jSeZSdTc7fKqYKPus","jsDXue2QRhPNtXGQ4","kRND6owHip8yssCor","kyq6KHQpzZAdmThEk","mQFywaq3wPjebF2eL","n7WdrYhwgBQCu5kr8","nT3poDttXANjYSX6e","nqnh7MctWtHu9Eeri","o5tJCNRb3b7NvZM5q","oLh7xWSFokQyudb2P","pd36XDsh7HiCEHrnM","pjdBNzfX6Fg3iNg3R","q2LtMHAiQoMT8Xchg","qWaJKLfpRcauovktX","qZzTbPCMTYnccLMQF","qcv8BfuqP46w5TCgm","qid5XCfkD2WwgLS8R","rM5SKh2zyNfWuFtQq","rPbeYkxxnMztRpYJN","rTokX5ZPqXH7AW8Q3","rjMjv9Zs6uN62LBCw","rosk3uCrKbm4zsN9c","snzsZS4ZoQsssH7jo","t59nTA2vifvAL62fu","tEzfQHo2dSBAcxkST","tGstYCAK9uNSeBdMr","tPh5GGfDKphEBoZQh","tf3aDwmjr4hxPxPhj","uZtecZgDRcNbzjRrS","ukjxjyKEfh7uZAsio","uyux8pktYF6ssDoZf","v7a3d8AxWiyo9n8Fn","vj7jDESLnfMknrEuB","vsMXhpr8ETj9TD5z9","wBP9jvakyv829nNA4","xNSyGLEfPK8b9jsnn","xkufTn8vsJ3BtChuK","xmw7Z7X9BxL2T4TXF","yQFLKvbmphB4J32Ju","yY2QrRhTF3HZGJMSj","yY6GA8DJonrxgDYB7","yjrJ3sgEPED7nwj9d","yjvi3LGSByST2m4p6","ynu4jgHH2ccNtszqw","zRWju2ET6AQ8fCBJD","zsfGvcy74bAeDKAiM"],"dataSources":["KjwPBikSY3GLxsjaT","PGvySWpKSvwM9TdfF"]}