# LaCo-SENet Latency-configurable streaming speech enhancement via asymmetric temporal padding. Paper: [arXiv:2606.19688](https://arxiv.org/abs/2606.19688) (accepted for presentation at Interspeech 2026) LaCo-SENet exposes a single padding-ratio hyperparameter that trades algorithmic latency for enhancement quality while keeping the backbone architecture and parameter budget fixed. The streaming implementation uses state buffers for past context, lookahead buffers for future context, and selective state updates to avoid future-frame leakage across chunks. This repository contains the model, training pipeline, streaming wrappers, ONNX export utilities, and evaluation entry points used for the LaCo-SENet experiments. Paper-writing materials, local datasets, checkpoints, generated results, and local utility scripts are not tracked in this code repository. ## VoiceBank+DEMAND Results The table below summarizes the VoiceBank+DEMAND comparison reported in the paper. Best verified-causal results are shown in bold. Latency is marked `unverified` when the reported unidirectional model still uses non-causal symmetric encoder padding. For LaCo-SENet, `L` abbreviates `L_enc=L_dec`; the `L=15` row is a symmetric-padding upper bound excluded from the causal ranking. | Model | Year | Latency | Params | PESQ | STOI | CSIG | CBAK | COVL | |---|---:|---|---:|---:|---:|---:|---:|---:| | Noisy | - | - | - | 1.97 | .921 | 3.35 | 2.44 | 2.63 | | RNNoise | 2018 | 10 ms | 0.06M | 2.33 | .922 | 3.40 | 2.51 | 2.84 | | GaGNet | 2022 | ~10 ms | 5.94M | 2.94 | - | 4.26 | 3.45 | 3.59 | | DFNet3 | 2023 | 40 ms | 2.13M | 3.17 | .944 | 4.34 | 3.61 | 3.77 | | aTENNuate | 2025 | 46.5 ms | 0.84M | 3.27 | - | 4.57 | 2.85 | 3.96 | | xLSTM-SENet | 2025 | unverified | ~2.2M | 3.26 | .950 | 4.57 | 3.79 | 4.00 | | SEMamba | 2024 | unverified | 1.41M | 3.29 | .950 | - | - | - | | LaCo-SENet (`L=0`) | 2026 | 12.5 ms | 1.37M | 3.35 | .952 | 4.61 | 3.71 | 4.05 | | LaCo-SENet (`L=1`) | 2026 | 25.0 ms | 1.37M | 3.36 | .953 | 4.62 | 3.72 | 4.07 | | LaCo-SENet (`L=3`) | 2026 | 50.0 ms | 1.37M | 3.40 | .953 | 4.63 | 3.72 | 4.09 | | LaCo-SENet (`L=5`) | 2026 | 75.0 ms | 1.37M | **3.43** | **.954** | **4.66** | **3.78** | **4.12** | | LaCo-SENet (`L=15`, upper bound) | 2026 | 200.0 ms | 1.37M | 3.47 | .957 | 4.69 | 3.79 | 4.17 | | PrimeK-Net | 2025 | non-causal | 1.41M | 3.61 | - | 4.81 | 3.98 | 4.35 | ## Pretrained Checkpoints The VoiceBank+DEMAND checkpoints used for the reported LaCo-SENet results are available on Hugging Face: [yskim3271/lacosenet-voicebank-demand](https://huggingface.co/yskim3271/lacosenet-voicebank-demand). The release includes the best-validation checkpoints for 9 latency configurations and 3 random seeds. Each checkpoint directory contains the PyTorch weights and the corresponding Hydra config required by the loader. See the Hugging Face `manifest.json` for all checkpoint paths, SHA256 checksums, latency settings, seeds, and test metrics. ```bash python - <<'PY' from huggingface_hub import snapshot_download snapshot_download( repo_id="yskim3271/lacosenet-voicebank-demand", local_dir="checkpoints/lacosenet-voicebank-demand", ) PY ``` Example evaluation: ```bash python -m src.evaluate \ --chkpt_dir checkpoints/lacosenet-voicebank-demand/M6_75.0ms/s2039 \ --chkpt_file model_163000.th \ --device cuda ``` Example streaming RTF measurement: ```bash python -m src.measure_rtf \ --chkpt_dir checkpoints/lacosenet-voicebank-demand/M6_75.0ms/s2039 \ --chkpt_file model_163000.th \ --chunk_size 8 \ --use_onnx ``` ## Repository Layout | Path | Purpose | |------|---------| | `src/` | Training, evaluation, STFT, metrics, and model implementation. | | `src/models/streaming/` | Chunk-wise LaCo-SENet streaming modules and stateful layers. | | `src/models/onnx_export/` | Exportable streaming core and ONNX Runtime wrapper. | | `conf/config.yaml` | Default Hydra configuration for VoiceBank+DEMAND training. | | `requirements.txt` | Python dependencies. | ## Setup ```bash python -m venv .venv source .venv/bin/activate pip install -r requirements.txt ``` The default training configuration uses the Hugging Face `JacobLinCool/VoiceBank-DEMAND-16k` dataset. ## Training ```bash python src/train.py ``` Hydra writes each run under `results/experiments/...` by default. Generated checkpoints and result directories are intentionally ignored by Git. To train a specific latency configuration, override the encoder and decoder padding ratios: ```bash python src/train.py \ model.encoder_padding_ratio='[1.0,0.0]' \ model.decoder_padding_ratio='[1.0,0.0]' ``` ## Streaming RTF Measurement ```bash python src/measure_rtf.py \ --chkpt_dir /path/to/run \ --chkpt_file auto \ --chunk_size 8 \ --use_onnx \ --num_threads 1 ``` `--chkpt_file auto` resolves the best model from the run metadata. ## Citation ```bibtex @inproceedings{kim2026lacosenet, title = {Latency-Configurable Streaming Speech Enhancement via Asymmetric Temporal Padding}, author = {Kim, Yunsik and Chung, Yoonyoung}, booktitle = {Proc. Interspeech}, year = {2026} } ```