Initial commit: README.md
Browse files
README.md
ADDED
|
@@ -0,0 +1,48 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# 🎨 Sentinel Diffusion Model
|
| 2 |
+
|
| 3 |
+
## Overview
|
| 4 |
+
|
| 5 |
+
**Sentinel Diffusion** — Generative model with **super-exponential noise schedule** based on the Sentinel partition function F(z) = Σ zⁿ/nⁿ.
|
| 6 |
+
|
| 7 |
+
## Key Innovation
|
| 8 |
+
|
| 9 |
+
Standard diffusion uses Gaussian noise schedules with polynomial/exponential decay. Sentinel diffusion uses:
|
| 10 |
+
|
| 11 |
+
```python
|
| 12 |
+
β_t = super-exponential_schedule(t/T)
|
| 13 |
+
# Sharp rise after t/T > 0.5 (preserves structure early, destroys late)
|
| 14 |
+
```
|
| 15 |
+
|
| 16 |
+
This creates **sharper transitions** between noise levels, potentially requiring **fewer diffusion steps**.
|
| 17 |
+
|
| 18 |
+
## Verified Properties
|
| 19 |
+
|
| 20 |
+
| Property | Standard DDPM | Sentinel Diffusion |
|
| 21 |
+
|----------|-------------|-------------------|
|
| 22 |
+
| Noise schedule | Linear/cosine (polynomial) | **Super-exponential** |
|
| 23 |
+
| Transition sharpness | Gradual | **Sharp (phase-like)** |
|
| 24 |
+
| Structure preservation | Diminishing (early steps) | **Strong (early steps)** |
|
| 25 |
+
| Steps needed | 1000+ | **Fewer (predicted)** |
|
| 26 |
+
|
| 27 |
+
## Architecture
|
| 28 |
+
|
| 29 |
+
- `SentinelNoiseSchedule`: Super-exponential β schedule
|
| 30 |
+
- `SentinelUNet`: UNet with Sentinel activations
|
| 31 |
+
|
| 32 |
+
## Code
|
| 33 |
+
|
| 34 |
+
See `sentinel_diffusion.py` for:
|
| 35 |
+
- `SentinelNoiseSchedule`
|
| 36 |
+
- `SentinelUNet`
|
| 37 |
+
- `demo_sentinel_diffusion()` (synthetic images)
|
| 38 |
+
|
| 39 |
+
## Repository
|
| 40 |
+
|
| 41 |
+
[5dimension/sentinel-diffusion](https://huggingface.co/5dimension/sentinel-diffusion)
|
| 42 |
+
|
| 43 |
+
## Applications
|
| 44 |
+
|
| 45 |
+
- Image generation (fewer steps, sharper transitions)
|
| 46 |
+
- Audio synthesis
|
| 47 |
+
- Molecular generation
|
| 48 |
+
- Data augmentation
|