Skip to content

nick-yudin/SEP

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

76 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

SEMANTIC EVENT PROTOCOL (SEP)

Event-driven distributed intelligence. Triggered by meaning, not time.

Website: seprotocol.ai Author: Nikolay Yudin (@Nikolay_Yudin_) Contact: 1@seprotocol.ai

Last Commit Status License


πŸš€ Quick Start

Three ways to explore SEP:

1️⃣ Read the Specification

Understand the technical foundation: Level 1 Specification

2️⃣ Try Interactive Demos

See HDC research results: Interactive Demo

3️⃣ Explore Research

Review M2-M4 experimental series: 32Γ— compression, 91.3% cross-lingual transfer, 110% semantic arithmetic, 98.4% vs Knowledge Distillation: Research Overview


The Problem

AI is becoming critical infrastructure. And it's controlled by 3 companies in 1 country.

  • NVIDIA controls the hardware
  • USA controls NVIDIA (export restrictions on chips)
  • OpenAI, Anthropic, Google control the top models
  • Everyone else is just a customer β€” with a kill switch

Training a GPT-4 class model costs ~$100M. 70% goes to GPU compute β€” thousands of H100s for months. The gap is growing exponentially.

We don't think "catching up" is the answer. We think the paradigm itself is wrong.


What is the Semantic Event Protocol (SEP)?

The Semantic Event Protocol is an open standard for meaning-triggered computing.

In traditional IoT and AI systems, devices stream data continuously (clock-driven) or poll sensors at fixed intervals. This creates massive noise, latency, and energy waste.

SEP flips the axiom:

  • Silence is the default state. A node transmits nothing until "meaning" changes.
  • Meaning is mathematical. We use high-dimensional vectors (embeddings) to track state.
  • Events are semantic. We transmit the change in meaning ($\Delta\mu$), not raw data.

"Compute only when it matters."


🎯 Core Concepts

1. Semantic Filtering

Traditional system:

Every 100ms: Send sensor data β†’ 36,000 packets/hour

SEP system:

Only when meaning changes β†’ 47 packets/hour (99.9% reduction)

How? Cosine distance in embedding space:

if cosine(v_current, v_last) > threshold:
    transmit()  # Significant change
else:
    silence()   # Noise/synonym

2. Procrustes Alignment

Problem: Different nodes use different LLMs (GPT-4, Claude, Llama) with incompatible vector spaces.

Solution: Orthogonal Procrustes rotation matrix.

# Nodes share random seed
anchors_A = random_vectors(seed=42)
anchors_B = random_vectors(seed=42)

# Compute rotation
R = orthogonal_procrustes(anchors_A, anchors_B)

# Now they can communicate
v_aligned = v_from_other_node @ R

Result: Cross-LLM communication without shared training.


3. Mesh Propagation

Events spread via gossip protocol. No server. No polling.

NODE_00 detects event β†’ transmits to neighbors
  β†’ NODE_01 forwards to its neighbors
    β†’ NODE_02 forwards...
      β†’ Entire mesh informed in <100ms

Features:

  • TTL-based hop limiting
  • Duplicate suppression via memory
  • Energy-efficient (transmit only meaningful events)

πŸ“Š Why This Matters

Traditional (Clock-Based) SEP (Meaning-Based)
Poll every 100ms Transmit only on change
100% duty cycle 0.1% duty cycle
2.3MB/hour bandwidth 18KB/hour bandwidth
6 hour battery life 3 day battery life
500ms cloud latency <10ms local mesh

πŸ“ Repository Structure

SEP/
β”œβ”€β”€ docs/                      # The Single Source of Truth
β”‚   β”œβ”€β”€ 00_intro/
β”‚   β”‚   └── manifesto.md       # The philosophical foundation (Level 0)
β”‚   β”œβ”€β”€ 01_specs/
β”‚   β”‚   └── v1.0_current/
β”‚   β”‚       └── spec_v1_final.md  # The technical standard (Level 1)
β”‚   └── 02_research/           # Research documentation (M2-M4 series)
β”‚
β”œβ”€β”€ papers/                    # Published papers (PDFs only)
β”‚   └── Cross_Architecture_HDC_Transfer/
β”‚       └── Cross_Architecture_HDC_Transfer.pdf  # Published paper
β”‚
β”œβ”€β”€ papers_experiments/        # Reproducible experiments for papers
β”‚   └── Cross_Architecture_HDC_Transfer/
β”‚       β”œβ”€β”€ README.md          # Experiment documentation
β”‚       β”œβ”€β”€ notebooks/         # Jupyter notebooks
β”‚       └── results/           # Result plots and data
β”‚
β”œβ”€β”€ reference_impl/            # Working code
β”‚   └── python/
β”‚       β”œβ”€β”€ quick_demo.py      # ⭐ Start here
β”‚       β”œβ”€β”€ alignment.py       # Procrustes solver
β”‚       β”œβ”€β”€ gossip.py          # 10-node mesh
β”‚       β”œβ”€β”€ sender.py          # TCP wire protocol
β”‚       └── receiver.py        # Protobuf deserialization
β”‚
└── website/                   # seprotocol.ai source

πŸ”¬ Reference Implementation

Python (Level 1 compliant): /reference_impl/python

Run a working mesh in 3 commands:

cd reference_impl/python
pip install -r requirements.txt
python quick_demo.py

Status: ⚠️ Alpha reference implementation Tested: December 2025 β€” 10-node simulated mesh with 3 embedding backends

πŸ“– Full Implementation Docs


πŸ“– Documentation

For Philosophers

Manifesto β€” Why we are abandoning clock-based computing.

For Engineers

Level 1 Specification β€” Wire protocol, embeddings, alignment mechanism.

For Builders

Python Reference β€” Working code with examples.

For Researchers

Papers & Experiments β€” Reproducible experiments validating our research claims.

Published Work:

  • "Cross-Architecture Knowledge Transfer via HDC" (2025) β€” Zenodo | Experiments
  • "Encoder-Free Text Classification Using Hyperdimensional Computing" (2025) β€” Zenodo | Experiments

🌐 Links


⚠️ Honest Status

What Works Today

Component Status Evidence
Semantic filtering βœ… Proven 90%+ reduction in benchmarks
Procrustes alignment βœ… Proven Cross-model communication
Cross-lingual transfer βœ… Proven 91.3% across 10 languages (M4c)
Semantic arithmetic βœ… Proven 110% retention β€” ternary improves compositionality (M4d)
HDC vs Knowledge Distillation βœ… Proven 98.4% of KD accuracy with unique properties (M4e)
Event-driven architecture βš™οΈ Demonstrated Simulated energy savings
Gossip mesh propagation βš™οΈ Demonstrated Small-scale tests

What We're Researching

Component Status Notes
Distributed training on edge πŸ”¬ Research DiLoCo, Hivemind show promise. Not production-ready.
Ternary computing (10-100Γ—) ⏳ Waiting BitNet works. Waiting for ternary hardware.
Semantic efficiency for training πŸ’­ Speculation Works for inference, not proven for training yet.
Governance mechanisms πŸ“ Design "No one controls" needs real mechanism design.

Our bet: New hardware (memristors, neuromorphic chips, in-memory computing) will change the economics of AI. We're building the protocol ready for that hardware.


πŸ“Š Key Experimental Results (M4 Series)

Our latest experiments prove that HDC captures genuine meaning:

Experiment Result What It Proves
Cross-Lingual Transfer 91.3% Train on English β†’ works on Chinese, Arabic, Hindi
Semantic Arithmetic 110% king - man + woman = queen works in ternary
HDC vs KD 98.4% Competitive with standard Knowledge Distillation
Compression 32Γ— Ternary vs float32 with semantic preservation

Key insight: Ternary quantization doesn't just preserve meaning β€” it improves semantic structure.

πŸ“– Full Research Documentation


πŸ™ Contributing

This is a research project, not a startup. We're looking for people who see the problem and want to build the alternative.

See CONTRIBUTING.md for detailed guidelines.

Quick links:

Governance: All public artifacts maintained in English.


πŸ“œ License

Code & Implementation: Apache-2.0 License (see LICENSE)

Documentation & Specification: Creative Commons Attribution 4.0 International (CC-BY-4.0)

You are free to use, modify, and distribute this work with attribution.


πŸŽ“ Citation

If you use the Semantic Event Protocol (SEP) in research, please cite:

@misc{sep2025,
  title={Semantic Event Protocol (SEP): A Standard for Distributed Edge Intelligence},
  author={Nikolay Yudin},
  year={2025},
  url={https://seprotocol.ai}
}

@misc{yudin2025meaning,
  title={...Until We Found Meaning: Semantic Transfer via Hyperdimensional Computing},
  author={Nikolay Yudin},
  year={2025},
  url={https://github.com/nick-yudin/SEP}
}

Author: Nikolay Yudin Initiated: 2025 Status: Level 1 Complete

"Silence is golden. Meaning is everything."

About

A semantic event protocol for distributed edge intelligence. Triggered by meaning, not time.

Resources

License

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors