mgos-pluralism-demo

MG-OS Demo

Related resources

Repository:https://github.com/GhostDriftTheory/mgos-pluralism-demo

Paper (preprint):https://zenodo.org/records/17712891

Project page:https://www.ghostdriftresearch.com/

Minimal theory-side demonstration of **Meaning-Generation OS (MG-OS).**

This repository visualizes two core ideas from the MG-OS preprint:

  1. Minority-mode preservation in long-tail classification
  2. Barrier-driven escape suppression in a double-well Langevin system

The goal is not benchmark performance. The goal is to make the theory visible in a small, self-contained form.


What this demo shows

Exp-A: Long-tail classification

A 3-class long-tail toy problem compares:

The app displays:

This is the visual side of minority-mode preservation.

Exp-B: Double-well Langevin dynamics

A 1D double-well system visualizes how increasing the barrier scale Gamma suppresses escape events. In the paper notation, the certified margin is:

Gamma := B* - C0 f_hat(pdel, rho, delta) > 0

In this demo, B* is tied to the visible barrier scale and f_hat is represented by observable toy-side proxy terms.

The app displays:

This is the visual side of barrier-certified stability.


Paper-aligned certificate view

For visual alignment with the MG-OS preprint, the app exposes a demo-side quantity in the same notation as the theoretical certificate:

Gamma_demo = B* - C0 * f_hat(pdel, rho, delta)

This is a theory-aligned visualization layer. It is not the full outward-rounded rational / Sigma1 certificate from the paper.


Repository structure


Run locally

pip install -r requirements.txt
streamlit run app.py

Interpretation

This repository is a minimal theory demo, not a production implementation.

It is designed to make the following points visible:


Scope

This demo is intentionally small.

It does not include:

It is a compact visualization layer for the theory.