Skip to content

BrunoZell/DeSciNet

Repository files navigation

DeSciNet

Project Overview

DeSciNet is a crowd-sourced model-building network that leverages a general-purpose model selection algorithm centered around surprise quantification.

Its causal execution environment can evaluate arbitrary structured causal models that conform to the DeSciNet dynamic causal model framework.

The core value proposition of DeSciNet is to enable the community to collaboratively build, evaluate, and select the best causal models based on their ability to predict observed data.

For a mathematical background, see the DeSciNet Framework.md.

For examples of causal models, look through the examples directory.

To build this project, see the BUILD.md.

To try it out locally, see the DEMO.md.

Key Features

  1. Crowd-Sourced Model Building: Users can submit different structured causal models that specify assumptions about how data is generated.
  2. Surprise Quantification: Models are evaluated based on their ability to predict observations. The surprise is quantified as the difference between the predicted probability and the actual observation.
  3. Model Ranking: Models are ranked based on their total surprise, with the model having the minimum surprise being considered the best, becoming the consensus model.
  4. Assumption: Assumes consensus over a set of observations that are considered true.
  5. Networked Computation: Nodes in the network compute predictions through these models, and the results are aggregated to quantify the total surprise for each model.

How It Works

  1. Loading Observations: Observations are loaded into the system, and different models are applied to these observations.
  2. Prediction and Surprise Calculation: Each model predicts the probability of the actual observations. A low surprise indicates a good prediction, while a high surprise indicates a poor prediction.
  3. Summing Up Surprise: The surprise for all observations is summed up to get a total surprise for the model.
  4. Model Ranking: Models are ranked based on their total surprise, with the lowest surprise model being the best.

Future Directions

  1. Consensus on Observations: The assumption of consensus on observations is managed by a Constellation Network where all L0 data types have validation criteria attached to them.
  2. Intelligent Computation Distribution: Sampling tasks, such as KL divergence sampling, should be distributed across multiple nodes and merged back together in a networked data structure.
  3. Model Utilization: Authors of the best models should be rewarded with DESCI tokens if they submitted a model that lead to a more surprise-minimized consensus model.
  4. Token-Based Compute Access: The network will offer simulations and predictions through the consensus model to DESCI token holders. The more tokens you hold, the higher compute power you have, proportional to the total compute available in the network.

DeSciNet aims to create a collaborative environment for building and evaluating causal models, rewarding contributors, and providing valuable predictions and simulations to the community.