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
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}
}