Skip to content

Lenticulum.jl: learning relations on factor graphs

Oct 2026 · Zenodo (CERN European Organization for Nuclear Research)
Bayesian Modeling and Causal Inference

Abstract

Lenticulum.jl is a Julia library for learning relations instead of functions. A neural network learns a map from inputs to outputs and runs in one direction. Lenticulum learns a relation on a joint space and decides at query time which variables are observed and which are inferred, so one trained model answers "y given x", "x given y" and "complete what is missing", including queries with several answers. The main learner is an implicit diffusion model. A denoising diffusion model, trained in the standard way, defines a field whose stable roots are the relation, and a query is answered by root finding. Gradients for training through a query come from the implicit function theorem, as in deep equilibrium models. Answers come with Laplace uncertainty: a Gaussian per answer, or a mixture over all answers. Several learned relations combine as a product of experts, so their intersection is found without retraining. For statisticians, learned relations are factors in a factor graph. They exchange Gaussian, categorical, mixture and particle beliefs by message passing, alongside linear-Gaussian and constraint factors, with a Bethe free energy, and they convert to RxInfer.jl's distribution types. For category theorists, the design follows compositional accounts of Bayesian inference. Each factor is a parameterised statistical game built from a Bayesian lens, and which channels are observed (the polarity) is part of its type. The repository includes executable tutorials, a documentation site and a linked notes vault on the theory, references and open problems. Lenticulum is a research prototype under active development, with features added and improved continuously. Each archived version is a snapshot of that work, and the concept DOI always resolves to the latest version.

View source

Similar papers

#computer vision Open access Jun 2016

Software Development in Startup Companies: The Greenfield Startup Model

The results are packaged in the Greenfield Startup Model (GSM), which explains the priority of startups to release the product as quickly as possible, and the need to shorten time-to-market, by speeding up the development through low-precision engineering activities.

Carmine Giardino, Nicolò Paternoster, M. Unterkalmsteiner et al. · 178 citations · ⚡14
#computer vision Open access Oct 2016

Software Startups - A Research Agenda

Software startup companies develop innovative, software-intensive products within limited timeframes and with few resources, searching for sustainable and scalable business models.

M. Unterkalmsteiner, P. Abrahamsson, Xiaofeng Wang et al. · 157 citations · ⚡17
#machine learning Review Open access Oct 2016

“Failures” to be celebrated: an analysis of major pivots of software startups

This study conducts a case survey study based on the secondary data of the major pivots happened in 49 software startups, and demonstrates that customer need pivot is the most common among all pivot types.

Sohaib Shahid Bajwa, Xiaofeng Wang, Anh Nguyen-Duc et al. · 127 citations · ⚡15
#computer vision Review Open access May 2015

A survey study on major technical barriers affecting the decision to adopt cloud services

The comparison of adopter and non-adopter sample reveals three potential adoption inhibitor, security, data privacy, and portability, which underlines the importance of the technical and security perspectives for research investigating the adoption of technology.

Nattakarn Phaphoom, Xiaofeng Wang, S. Samuel et al. · 111 citations · ⚡8
#large language models Review Open access Nov 2020

Status of the WHO recommended timing and frequency of antenatal care visits in Northern Bangladesh

Objective There is dearth of information on the timeliness of antenatal care (ANC) uptake. This study aimed to determine the timely ANC uptake by a medically trained provider (MTP) as per the World Health Organization (WHO) recommendations and the country guideline. Methods Cross-sectional survey was done with 2,731 wo...

B. Sarker, Musfikur Rahman, T. Rahman et al. · 89 citations · ⚡7
#computer vision Open access Feb 2018

Lean Internal Startups for Software Product Innovation in Large Companies: Enablers and Inhibitors

This study investigates how Lean internal startup facilitates software product innovation in large companies and identifies its enablers and inhibitors, and shows the potential of the method-in-action framework to investigate the Lean startup approach in non-startup context.

Henry Edison, Nina M. Smørsgård, Xiaofeng Wang et al. · 78 citations · ⚡6

Related blog posts

Microsoft Research Blog Nov 30, 2026

Forgotten, or just hidden? Stress testing how AI models unlearn

When AI “forgets,” is the information really gone? Standard tests can suggest an AI model has successfully forgotten specific information. A controlled Microsoft Research study found a different picture when researchers changed the questions and used strategic prompts. The findings point to a gap between looking like information is forgotten and making it resistant to recovery. The post Forgotten, or just hidden? Stress testing how AI models unlearn appeared first on Microsoft Research.

MIT News · Artificial Intelligence Nov 30, 2026

A new model helps AI and humans team up effectively

MIT researchers developed a system that determines when AI assistance is likely to help or hurt human performance, and offers guidance to improve collaboration.

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.