Update (arXiv v3 & v1.0.8): Updated with 10-seed real-data benchmarks verified via
--strict-real-dataacross PhysioNet Challenge 2012, ETH/UCY + JAAD, and live MuJoCoWalker2d-v5(arXiv:2611.30025 v3 |pip install dawin==1.0.8).
Key Benchmark Highlights (v1.0.8 / arXiv v3, NVIDIA B200 BF16)
- Universal Accuracy Across 11 Parameter-Matched Tasks: Outperforms Neural CDE on 11/11 tasks and ReLU-MLP on 9/11 tasks; ranks 1st on PhysioNet-12 (Dense) (
0.9126 ± 0.0007NRMSE, 10/10 seed wins) and 2nd on PhysioNet-12 (Mortality) (0.7800 ± 0.0104AUROC). - Verified Physical Δt Causality: Batch-shuffling Δt degrades physical-dynamics error by +36.6% to +77.4% versus +0.06% on the Δt-irrelevant control.
- O(log L) Triton Parallel Scan Speedup: Up to 2,620× faster than serial wave recurrence and up to 21.7×, 58.3×, and 802.1× faster than S5, Mamba, and Neural CDE, with up to 97.6% lower peak VRAM.
Damped Atomic Wave Integration Neurons (DAWIN)
Damped Atomic Wave Integration Neurons (DAWIN) is an architecture-agnostic, continuous-time neural primitive designed for spatiotemporal learning over irregularly sampled data. Introduced in Damped Atomic Wave Integration Neurons (DAWIN): A Universal Primitive for Continuous-Time Spatiotemporal Learning, DAWIN models internal neuron states as damped spatiotemporal wave packets governed by closed-form exponential damper evolution over arbitrary elapsed time intervals Δt.
- Interactive Quickstart: Open
DAWIN_Quickstart.ipynbin Google Colab - Paper: arXiv:2611.30025
- PyPI Package: pypi.org/project/dawin (
pip install dawin) - Official Code Repository: github.com/yumakemore/DAWIN
- Software Archive: doi.org/10.5281/zenodo.24485896
- Authors: Byunggu Yu, Justin Kim (University of the District of Columbia)
Key Features
- Native Irregular-Time Support: Propagates continuous wave states across arbitrary, non-uniform time steps Δt ≥ 0 without requiring interpolation or fixed-grid discretization.
- Exact Closed-Form Evolution: Uses analytical damped harmonic wave integration rather than iterative numerical ODE solvers, avoiding step-size truncation errors.
- Parallel Associative Scans: Formulates state propagation as an exact associative monoid recurrence, enabling O(log L) parallel execution across sequence length L with a fused Triton kernel.
- Provable Stability: Guarantees uniform BIBO stability (γm > 0) and unit-modulus phase invariance to spatial input outliers.
- Architecture Agnostic: Serves as a drop-in neural primitive across MLPs (
DAWINMLP), Transformers (DAWINTransformer), and temporal GNNs (DAWINGNN).
Quickstart & Usage
Install the official package directly from PyPI:
pip install dawin
Or clone the official reference implementation and 11-task benchmark suite from GitHub:
git clone https://github.com/yumakemore/DAWIN.git
cd DAWIN
pip install -r requirements.txt
tar -xzf data/dawin_external_data.tar.gz
Example Integration (PyTorch)
import torch
from dawin import DAWINLinear
batch_size, seq_len, in_features, num_waves = 8, 64, 128, 128
# Input features and elapsed time intervals (dt >= 0, with dt[:, 0] = 0)
x = torch.randn(batch_size, seq_len, in_features)
dt = torch.rand(batch_size, seq_len) * 0.5 + 0.01
dt[:, 0] = 0.0
# Outputs paired real/imaginary wave quadratures of shape (B, L, 2 * num_waves)
layer = DAWINLinear(in_features, num_waves)
output = layer(x, dt)
Load Pretrained Checkpoint (dawin_oscillator.pt)
import torch
from huggingface_hub import hf_hub_download
from dawin import DAWINMLP
ckpt_path = hf_hub_download(repo_id="yumakemore/DAWIN", filename="dawin_oscillator.pt")
ckpt = torch.load(ckpt_path, map_location="cpu", weights_only=True)
model = DAWINMLP(**ckpt["config"])
model.load_state_dict(ckpt["model_state_dict"])
model.eval()
Citation
If you use DAWIN in your research or applications, please cite:
@article{yu2026dawin,
title = {Damped Atomic Wave Integration Neurons (DAWIN): A Universal Primitive for Continuous-Time Spatiotemporal Learning},
author = {Yu, Byunggu and Kim, Justin},
year = {2026},
eprint = {2611.30025},
archivePrefix = {arXiv},
primaryClass = {cs.LG},
doi = {10.48550/arXiv.2611.30025},
url = {https://arxiv.org/abs/2611.30025}
}