Blang : Bayesian Declarative Modeling of General Data Structures and Inference via Algorithms Based on Distribution Continua
Consider a Bayesian inference problem where a variable of interest does not take values in a Euclidean space. These "non-standard" data structures are in reality fairly common. They are frequently used in problems involving latent discrete factor models, networks, and domain specific probl...
        Saved in:
      
    
          | Published in | Journal of statistical software Vol. 103; no. 11; pp. 1 - 98 | 
|---|---|
| Main Authors | , , , , , , , | 
| Format | Journal Article | 
| Language | English | 
| Published | 
            Foundation for Open Access Statistics
    
        01.08.2022
     | 
| Subjects | |
| Online Access | Get full text | 
| ISSN | 1548-7660 1548-7660  | 
| DOI | 10.18637/jss.v103.i11 | 
Cover
| Abstract | Consider a Bayesian inference problem where a variable of interest does not take values in a Euclidean space. These "non-standard" data structures are in reality fairly common. They are frequently used in problems involving latent discrete factor models, networks, and domain specific problems such as sequence alignments and reconstructions, pedigrees, and phylogenies. In principle, Bayesian inference should be particularly wellsuited in such scenarios, as the Bayesian paradigm provides a principled way to obtain confidence assessment for random variables of any type. However, much of the recent work on making Bayesian analysis more accessible and computationally efficient has focused on inference in Euclidean spaces. In this paper, we introduce Blang, a domain specific language and library aimed at bridging this gap. Blang allows users to perform Bayesian analysis on arbitrary data types while using a declarative syntax similar to the popular family of probabilistic programming languages, BUGS. Blang is augmented with intuitive language additions to create data types of the user's choosing. To perform inference at scale on such arbitrary state spaces, Blang leverages recent advances in sequential Monte Carlo and non-reversible Markov chain Monte Carlo methods. | 
    
|---|---|
| AbstractList | Consider a Bayesian inference problem where a variable of interest does not take values in a Euclidean space. These "non-standard" data structures are in reality fairly common. They are frequently used in problems involving latent discrete factor models, networks, and domain specific problems such as sequence alignments and reconstructions, pedigrees, and phylogenies. In principle, Bayesian inference should be particularly wellsuited in such scenarios, as the Bayesian paradigm provides a principled way to obtain confidence assessment for random variables of any type. However, much of the recent work on making Bayesian analysis more accessible and computationally efficient has focused on inference in Euclidean spaces. In this paper, we introduce Blang, a domain specific language and library aimed at bridging this gap. Blang allows users to perform Bayesian analysis on arbitrary data types while using a declarative syntax similar to the popular family of probabilistic programming languages, BUGS. Blang is augmented with intuitive language additions to create data types of the user's choosing. To perform inference at scale on such arbitrary state spaces, Blang leverages recent advances in sequential Monte Carlo and non-reversible Markov chain Monte Carlo methods. | 
    
| Author | Hume, Justin Lepur, Matteo Sgarbi, Giorgio Chern, Kevin Hosseini, Sahand Bouchard-Côté, Alexandre Cubranic, Davor Ouyang, Zihui  | 
    
| Author_xml | – sequence: 1 givenname: Alexandre surname: Bouchard-Côté fullname: Bouchard-Côté, Alexandre – sequence: 2 givenname: Kevin surname: Chern fullname: Chern, Kevin – sequence: 3 givenname: Davor surname: Cubranic fullname: Cubranic, Davor – sequence: 4 givenname: Sahand surname: Hosseini fullname: Hosseini, Sahand – sequence: 5 givenname: Justin surname: Hume fullname: Hume, Justin – sequence: 6 givenname: Matteo surname: Lepur fullname: Lepur, Matteo – sequence: 7 givenname: Zihui surname: Ouyang fullname: Ouyang, Zihui – sequence: 8 givenname: Giorgio surname: Sgarbi fullname: Sgarbi, Giorgio  | 
    
| BookMark | eNp9kU1v1DAQhiNUJNrCkbv_QBZ_bhxu7RbKSkUc6N2aTCaLV65d2c6ilfjxpF2EEBKcZsbW84w070VzFlOkpnkr-ErYtere7UtZHQRXKy_Ei-ZcGG3bbr3mZ3_0r5qLUvacS657c978uA4Qd-w9u4YjFQ-R3RAGyFD9gdjnNFLwy3-a2C1FyhDYDVRgX2uesc6ZCoM4sm2cKFNEYgcP7CrsUvb120NZrIVGlharLzX7Ya5-GTYpVh9neN28nCAUevOrXjb3Hz_cbz61d19ut5uruxaVlrVFAf0AUnGJWqJUve4IVaeFElZMGm3fmb4TZAcxjIa4nfpuMhrQoDEW1GWzPWnHBHv3mP0D5KNL4N3zQ8o7B7l6DOQQrJDKrCVH0MJKO3GtyQJiN-hR2MW1Ornm-AjH7xDCb6Hg7jkGt8TgnmJwSwwLoE4A5lRKpsmhr_B0hprBh39S7V_U_7f8BFbWn24 | 
    
| CitedBy_id | crossref_primary_10_24072_pcjournal_292 crossref_primary_10_1093_sysbio_syad044 crossref_primary_10_1093_sysbio_syad045 crossref_primary_10_1214_23_STS907  | 
    
| ContentType | Journal Article | 
    
| DBID | AAYXX CITATION ADTOC UNPAY DOA  | 
    
| DOI | 10.18637/jss.v103.i11 | 
    
| DatabaseName | CrossRef Unpaywall for CDI: Periodical Content Unpaywall DOAJ Directory of Open Access Journals  | 
    
| DatabaseTitle | CrossRef | 
    
| DatabaseTitleList | |
| Database_xml | – sequence: 1 dbid: DOA name: DOAJ Directory of Open Access Journals url: https://www.doaj.org/ sourceTypes: Open Website – sequence: 2 dbid: UNPAY name: Unpaywall url: https://proxy.k.utb.cz/login?url=https://unpaywall.org/ sourceTypes: Open Access Repository  | 
    
| DeliveryMethod | fulltext_linktorsrc | 
    
| Discipline | Mathematics | 
    
| EISSN | 1548-7660 | 
    
| EndPage | 98 | 
    
| ExternalDocumentID | oai_doaj_org_article_ca81235620ca41828f044e8acc7b4d18 10.18637/jss.v103.i11 10_18637_jss_v103_i11  | 
    
| GroupedDBID | 29L 2WC 5GY 5VS AAFWJ AAKPC AAYXX ACGFO ACIPV ADBBV AENEX AFPKN ALMA_UNASSIGNED_HOLDINGS BCNDV C1A CITATION E3Z EBS EJD F5P GROUPED_DOAJ GX1 IPNFZ KQ8 M~E OK1 OVT P2P RIG RNS TR2 XSB ADTOC UNPAY  | 
    
| ID | FETCH-LOGICAL-c342t-c1a9ba2302c42c23947ec37413181f4c8975971e8b1bd5e08f97f54ac5c558a3 | 
    
| IEDL.DBID | DOA | 
    
| ISSN | 1548-7660 | 
    
| IngestDate | Fri Oct 03 12:41:41 EDT 2025 Tue Aug 19 20:30:59 EDT 2025 Tue Jul 01 03:06:30 EDT 2025 Thu Apr 24 22:50:23 EDT 2025  | 
    
| IsDoiOpenAccess | true | 
    
| IsOpenAccess | true | 
    
| IsPeerReviewed | true | 
    
| IsScholarly | true | 
    
| Issue | 11 | 
    
| Language | English | 
    
| License | cc-by | 
    
| LinkModel | DirectLink | 
    
| MergedId | FETCHMERGED-LOGICAL-c342t-c1a9ba2302c42c23947ec37413181f4c8975971e8b1bd5e08f97f54ac5c558a3 | 
    
| ORCID | 0000-0003-2319-9676 0000-0003-4281-5999 0000-0001-7402-8506 0000-0003-3769-2613  | 
    
| OpenAccessLink | https://doaj.org/article/ca81235620ca41828f044e8acc7b4d18 | 
    
| PageCount | 98 | 
    
| ParticipantIDs | doaj_primary_oai_doaj_org_article_ca81235620ca41828f044e8acc7b4d18 unpaywall_primary_10_18637_jss_v103_i11 crossref_citationtrail_10_18637_jss_v103_i11 crossref_primary_10_18637_jss_v103_i11  | 
    
| ProviderPackageCode | CITATION AAYXX  | 
    
| PublicationCentury | 2000 | 
    
| PublicationDate | 2022-08-01 | 
    
| PublicationDateYYYYMMDD | 2022-08-01 | 
    
| PublicationDate_xml | – month: 08 year: 2022 text: 2022-08-01 day: 01  | 
    
| PublicationDecade | 2020 | 
    
| PublicationTitle | Journal of statistical software | 
    
| PublicationYear | 2022 | 
    
| Publisher | Foundation for Open Access Statistics | 
    
| Publisher_xml | – name: Foundation for Open Access Statistics | 
    
| SSID | ssj0020495 | 
    
| Score | 2.3977318 | 
    
| Snippet | Consider a Bayesian inference problem where a variable of interest does not take values in a Euclidean space. These "non-standard" data structures are in... | 
    
| SourceID | doaj unpaywall crossref  | 
    
| SourceType | Open Website Open Access Repository Enrichment Source Index Database  | 
    
| StartPage | 1 | 
    
| SubjectTerms | bayesian inference bayesian modelling language blang non-standard data structures  | 
    
| SummonAdditionalLinks | – databaseName: Unpaywall dbid: UNPAY link: http://utb.summon.serialssolutions.com/2.0.0/link/0/eLvHCXMwpZ3db9QwDMCjcXuAPfCNOL6UBwQv9Nq0aZrydsc2DaRNSGzSeKpcJ4WO0k60NzT454l7uRMggZB4rdxUta3Ebu2fGXuag1BlbnRgqE9Z2hID-toWiBxSTCsw8ThF4fBIHZzIN6fp6RbbW_fCUFnlGfXS9G4XGv_kj9RAQkWEZ30fen2GhlDyHZjwQkRJLUQoEyWvsG2VupB8wrZPjt7O34-sVKmDTKnI8zW1SjJaaEb3zWohfjmPRmz_Dru6bM_h8is0zU9nzf6NVU1IPyIKqcTk02w5lDP89hvA8b9f4ya77qNRPl_J3WJbtr3Ndg43KNf-Dvu-oE-aL_kCLi01XPJdi43nhXOapEb97LyruAdY810YgL8bsbRLl8tzaA1_vW4r5Bc18HnzoftSDx8_927V3hreuVUJ4Otnb3FCZtXtEu6y4_2941cHgZ_YEGAi4yFAAXkJLquJUcZIU9czi4kLWtzOISqJOs9cAiOsLkVpUhvpKs-qVAI6v0g1JPfYpO1ae59x5yYCBMo8zlIpQGlUscsDjElNprEUU_ZibbYCPc2chmo0BWU1ZOXC6bkgtRZOr1P2bCN-vsJ4_ElwQT6wESL69njB2bDwVisQNLUYqzhCkC5B01UkpdWAmJXSCD1lzzce9PfHPfhnyYfsWkydF2Pt4SM2cWa0j108NJRPvLf_AIrUEAA priority: 102 providerName: Unpaywall  | 
    
| Title | Blang : Bayesian Declarative Modeling of General Data Structures and Inference via Algorithms Based on Distribution Continua | 
    
| URI | https://www.jstatsoft.org/index.php/jss/article/download/v103i11/4364 https://doaj.org/article/ca81235620ca41828f044e8acc7b4d18  | 
    
| UnpaywallVersion | publishedVersion | 
    
| Volume | 103 | 
    
| hasFullText | 1 | 
    
| inHoldings | 1 | 
    
| isFullTextHit | |
| isPrint | |
| journalDatabaseRights | – providerCode: PRVAFT databaseName: Open Access Digital Library customDbUrl: eissn: 1548-7660 dateEnd: 99991231 omitProxy: true ssIdentifier: ssj0020495 issn: 1548-7660 databaseCode: KQ8 dateStart: 19960101 isFulltext: true titleUrlDefault: http://grweb.coalliance.org/oadl/oadl.html providerName: Colorado Alliance of Research Libraries – providerCode: PRVAON databaseName: DOAJ Directory of Open Access Journals customDbUrl: eissn: 1548-7660 dateEnd: 99991231 omitProxy: true ssIdentifier: ssj0020495 issn: 1548-7660 databaseCode: DOA dateStart: 19960101 isFulltext: true titleUrlDefault: https://www.doaj.org/ providerName: Directory of Open Access Journals – providerCode: PRVFQY databaseName: GFMER Free Medical Journals customDbUrl: eissn: 1548-7660 dateEnd: 99991231 omitProxy: true ssIdentifier: ssj0020495 issn: 1548-7660 databaseCode: GX1 dateStart: 19960101 isFulltext: true titleUrlDefault: http://www.gfmer.ch/Medical_journals/Free_medical.php providerName: Geneva Foundation for Medical Education and Research – providerCode: PRVHPJ databaseName: ROAD: Directory of Open Access Scholarly Resources customDbUrl: eissn: 1548-7660 dateEnd: 99991231 omitProxy: true ssIdentifier: ssj0020495 issn: 1548-7660 databaseCode: M~E dateStart: 19960101 isFulltext: true titleUrlDefault: https://road.issn.org providerName: ISSN International Centre  | 
    
| link | http://utb.summon.serialssolutions.com/2.0.0/link/0/eLvHCXMwrV1Nb9QwELVQOZQeqlJAbL_kA4ILaePEThxuu5RSkFoh0UrLKZqMHVgUslWzW1Tx5zuT9a7KAbhwySGy7GhmIr-x_N4T4kUBKqsKZyPHPGXtK4z4tC1SBRg0Nbikd1E4O89OL_XHsRnfs_riO2ELeeBF4I4QLNM5syRG0ASGbR1r7S0g5pV2qqf5xrZYNlOh1SLca4Kips3S_Oh71x3eqDg9nCj12w7UC_VviPV5ewW3P6Fp7u0uJ1tiM8BCOVx8zmPxwLfbYuNspanaPRG_Rny2-EaO4NYz81Eee2yCcLdkSzMmlstpLYOStDyGGcjPvT7snJpqCa2TH5b8PnkzATlsvk6vJ7NvPzqatfNOTmlWVtINJliStasm7RyeiouTdxdvT6NgnRBhqpNZhAqKCqi9SFAnyPbnuceU0AP9wqrWaIucOgnlbaUqZ3xs6yKvjQakBBkL6TOx1k5b_1xIypcChbpIcqMVZBazhAC5c8blFis1EK-X0SwxyIqzu0VTcnvBwS8p-CUHv6TgD8TL1fCrhZ7GnwaOODWrQSyD3b-g4ihDcZT_Ko6BeLVK7N-X2_kfy-2KRwmzI_r7gXtijTLs9wmzzKqDvjzp-X6sDsTDy_NPwy93VXvuYA | 
    
| linkProvider | Directory of Open Access Journals | 
    
| linkToUnpaywall | http://utb.summon.serialssolutions.com/2.0.0/link/0/eLvHCXMwpZ3db9QwDMCjcXuAPfCNOL6UBwQv9Nq0aZrydsc2DaRNSGzSeKpcJ4WO0k60NzT454l7uRMggZB4rdxUta3Ebu2fGXuag1BlbnRgqE9Z2hID-toWiBxSTCsw8ThF4fBIHZzIN6fp6RbbW_fCUFnlGfXS9G4XGv_kj9RAQkWEZ30fen2GhlDyHZjwQkRJLUQoEyWvsG2VupB8wrZPjt7O34-sVKmDTKnI8zW1SjJaaEb3zWohfjmPRmz_Dru6bM_h8is0zU9nzf6NVU1IPyIKqcTk02w5lDP89hvA8b9f4ya77qNRPl_J3WJbtr3Ndg43KNf-Dvu-oE-aL_kCLi01XPJdi43nhXOapEb97LyruAdY810YgL8bsbRLl8tzaA1_vW4r5Bc18HnzoftSDx8_927V3hreuVUJ4Otnb3FCZtXtEu6y4_2941cHgZ_YEGAi4yFAAXkJLquJUcZIU9czi4kLWtzOISqJOs9cAiOsLkVpUhvpKs-qVAI6v0g1JPfYpO1ae59x5yYCBMo8zlIpQGlUscsDjElNprEUU_ZibbYCPc2chmo0BWU1ZOXC6bkgtRZOr1P2bCN-vsJ4_ElwQT6wESL69njB2bDwVisQNLUYqzhCkC5B01UkpdWAmJXSCD1lzzce9PfHPfhnyYfsWkydF2Pt4SM2cWa0j108NJRPvLf_AIrUEAA | 
    
| openUrl | ctx_ver=Z39.88-2004&ctx_enc=info%3Aofi%2Fenc%3AUTF-8&rfr_id=info%3Asid%2Fsummon.serialssolutions.com&rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Ajournal&rft.genre=article&rft.atitle=Blang+%3A+Bayesian+Declarative+Modeling+of+General+Data+Structures+and+Inference+via+Algorithms+Based+on+Distribution+Continua&rft.jtitle=Journal+of+statistical+software&rft.au=Bouchard-C%C3%B4t%C3%A9%2C+Alexandre&rft.au=Chern%2C+Kevin&rft.au=Cubranic%2C+Davor&rft.au=Hosseini%2C+Sahand&rft.date=2022-08-01&rft.issn=1548-7660&rft.eissn=1548-7660&rft.volume=103&rft.issue=11&rft_id=info:doi/10.18637%2Fjss.v103.i11&rft.externalDBID=n%2Fa&rft.externalDocID=10_18637_jss_v103_i11 | 
    
| thumbnail_l | http://covers-cdn.summon.serialssolutions.com/index.aspx?isbn=/lc.gif&issn=1548-7660&client=summon | 
    
| thumbnail_m | http://covers-cdn.summon.serialssolutions.com/index.aspx?isbn=/mc.gif&issn=1548-7660&client=summon | 
    
| thumbnail_s | http://covers-cdn.summon.serialssolutions.com/index.aspx?isbn=/sc.gif&issn=1548-7660&client=summon |