News

ELFI: Engine for Likelihood-Free Inference facilitates more effective simulation

The Engine for Likelihood-Free Inference is open to everyone, and it can help significantly reduce the number of simulator runs.
SysBio: Example of a simulator which models spreading of an infectious disease (SysBio).

Researchers have succeeded in building an engine for likelihood-free inference, which can be used to model reality as accurately as possible in a simulator. The engine may revolutionise the many fields in which computational simulation is utilised. This development work is resulting in the creation of ELFI, an engine for likelihood-free inference, which will significantly reduce the number of exhausting simulation runs necessary for the estimation of unknown parameters and to which it will be easy to add new inference methods.

'Computational research is based in large part on simulation, and fitting simulator parameters to data is of key importance, in order for the simulator to describe reality as accurately as possible. The ELFI inference software we have developed makes this previously extremely difficult task as easy as possible: software developers can spread their new inference methods to widespread use, with minimal effort, and researchers from other fields can utilise the newest and most effective methods. Open software advances replicability and open science,' says Samuel Kaski, professor at the Department of Computer Science and head of the Finnish Centre of Excellence in Computational Inference Research (COIN).

Software that is openly available to everyone is based on likelihood-free Bayesian inference, which is regarded as one of the most important innovations in statistics in the past decades. The simulator's output is compared to actual observations, and due to their random nature simulation runs must be carried out multiple times. The inference software will improve estimation of unknown parameters with e.g. Bayesian optimisation, which will significantly reduce the number of necessary simulation runs.

Applications from medicine to environmental science

ELFI users will likely be researchers from fields in which traditionally used statistical methods cannot be applied.

'Simulators can be applied in many fields. For example, a simulation of a disease can take into account how the disease is transmitted to another person, how long it will take for a person to recuperate or not recuperate, how a virus mutates or how many unique virus mutations exist. A number of simulation runs will therefore produce a realistic distribution describing the actual situation,' Professor Aki Vehtari explains.

The ELFI inference engine is easy to use and scalable, and the inference problem can be easily defined with a graphical model.

'Environmental sciences and applied ecology utilise simulators to study the impact of human activities on the environment. For example, the Finnish Environment Institute (SYKE) is developing an ecosystem model, which will be used for the research of nutrient cycles in the Archipelago Sea and e.g. the impacts of loading caused by agriculture and fisheries to algal blooming. The parametrisation of these models and the assessment of the uncertainties related to their predictions is challenging from a computational standpoint. We will test the ELFI inference engine in these analyses. We hope that parametrisation of the models can be sped up and improved with ELFI, meaning that conclusions are better reasoned,' says Assistant Professor Jarno Vanhatalo about environmental statistics research at the University of Helsinki.

ELFI was developed by Antti Kangasrääsiö, Jarno Lintusaari, Kusti Skytén, Marko Järvenpää, Henri Vuollekoski, Aki Vehtari and Samuel Kaski of Aalto University, at the Helsinki Institute for Information Technology (HIIT) and the Finnish Centre of Excellence in Computational Inference Research (COIN), which are jointly run by Aalto University and the University of Helsinki; Michael Gutmann from the University of Edinburgh; and Jukka Corander, who represents both the Department of Mathematics and Statistics at the University of Helsinki and the University of Oslo. The Academy of Finland is funding the research project. ELFI can be found online at http://elfi.readthedocs.io

More information:

The article (SysBio): Fundamentals and Recent Developments in Approximate Bayesian Computation

Aki Vehtari
Professor
Aalto University, Department of Computer Science
aki.vehtari@aalto.fi
t. +358 40 533 3747

Henri Vuollekoski
Researcher
Aalto University, Department of Computer Science
henri.vuollekoski@aalto.fi
t. +358 (0)50 599 1024

  • Updated:
  • Published:
Share
URL copied!

Read more news

City street with benches, trees, and bushes. Cars parked along the road. Sunny day.
Press releases, Research & Art Published:

Measuring urban nature: new habitat types and criteria support the prevention of biodiversity loss

A recent report introduces an anthropogenic habitat classification and assessment criteria that make it possible to visualize, measure, and compare nature in the built environment. These tools enable the assessment of ecological condition and support the development of green infrastructure and the prevention of biodiversity loss in cities.
The image shows the presence of dark matter in the same region of sky, created using data from NASA’s Webb telescope in 2026 (right) and from the Hubble Space Telescope in 2007 (left). Credit: NASA/STScI/A. Pagan
Press releases Published:

NASA Reveals New Details About Dark Matter’s Influence on the Universe

With the Webb telescope’s unprecedented sensitivity, scientists are learning more about dark matter’s influence on stars, galaxies, and even planets like Earth.
Two people presenting data on Nordic markets. One holds a microphone, the other gestures towards a screen.
Cooperation, Press releases, University Published:

Aalto University to host the INNOVA Europe Summit 2026 in Espoo

Aalto University to host the INNOVA Europe Summit 2026 in Espoo, bringing together Europe’s next generation of student entrepreneurs.
Silhouette of a person thinking, overlaid with colourful digital data and graphics on the right side.
Cooperation, Press releases Published:

Finnish AI Region Secures Second Term with Top Marks from EU

Finnish AI Region (FAIR) EDIH has been selected to continue operations for a second term with excellent ratings. European Union continuation funding enables service expansion from the beginning of 2026. Aalto University is one of 10 partners in FAIR.