FDY-CRNN
A CRNN for sound event detection whose convolution kernels adapt to each frequency of the input.
Audio and speech · 159 operations Checked
Click or tap a spot to read it up close. Scroll or drag inside the diagram to move through it. Zoom with + and − or Ctrl and scroll. Press 0 for the whole graph. Swipe inside the diagram to move through it. Use + and − to zoom.
At a glance
- Task
- Audio and speech
- Parameters
- 11.1M
- Operations
- 159
- Framework
- PyTorch
- Recurrent
- No
- Published
- Interspeech 2022
- Paper
- Frequency Dynamic Convolution: Frequency-Adaptive Pattern Recognition for Sound Event Detection
- Cited by
- 86 (as of 24 October 2026)
- Authors
- Hyeonuk Nam, Seong-Hu Kim, Byeong-Yun Ko, Yong-Hwa Park
- Source
- GitHub: frednam93/FDY-SED
- License
- MIT
- Checked
- Passed: the trace was replayed operation by operation and matched the model's own output for this input.
Files
The file opened in a new tab. Use your browser's Save command there to keep it.
The diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.
Details
- Stable ID
- m16548
- Graph hash
- 3276a83ad164c3bf54d63c4772fb87741f3955812204e56506272cdda52d494d
- Skeleton hash
- 1313f3708f4edbfb63faebfe52b624c46dd7494bee6596d005c49d89db6bff61
- Architecture hash
- e889c796af76f998ef74f608234a09605e542c45fc03ffb36c14f12c981b8dbe
- Diagram SHA-256
- f72d60b2ead403faa2a31a14d10e09cbce3973d50eaeb6de113867025471c2f2
- TorchLens version
- 2.36.0
- Renderer
- graphviz 2.43.0+pyvips 3.2.0+libvips 8.18.7+render-opts@06c1f0d3
- Check
- Forward pass replayed in PyTorch
What it is
FDY-CRNN is a convolutional recurrent network for sound event detection (SED), built around a convolution whose kernel adapts to the frequency content of its input. Ordinary 2D convolution enforces translation equivariance along both the time and the frequency axis, yet the paper points out that frequency is not a shift-invariant dimension. Frequency dynamic convolution keeps the equivariance along time and loosens it along frequency.
The layer first extracts attention weights for each frequency by average pooling over the time axis and applying two 1D convolution layers, followed by a softmax with a temperature of 31. The frequency-adaptive kernel is the weighted sum of trainable basis kernels under those weights. The official code reorders this to reduce computational cost: the outputs of each basis kernel are obtained first, then the weighted sum is applied. In FDY-CRNN these layers replace every convolution layer of the baseline CRNN except the first, with four basis kernels. The input is a log Mel spectrogram with 128 Mel bins, extracted from 10-second audio sampled at 16kHz.
The paper reports that frequency dynamic convolution outperforms the baseline by 6.3% on the DESED validation dataset in terms of polyphonic sound detection score (PSDS). In a class-wise comparison, the gain was largest on non-stationary sound events with intricate time-frequency patterns, and the method was less effective on quasi-stationary sounds such as blender, frying and vacuum cleaner.
Key idea. The paper proposed frequency dynamic convolution, a 2D convolution whose kernel adapts to the frequency components of its input, and showed it improves sound event detection over a CRNN baseline.
- fdy-crnn
- frequency dynamic convolution
- fdy-sed
- sound event detection
- sed
- frequency-adaptive kernel
- crnn
- desed
- dynamic convolution
- convolutional recurrent neural network
AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.
Cite the paper
@misc{nam2022frequencydynamicconvolutionfrequencyadaptive,
title={Frequency Dynamic Convolution: Frequency-Adaptive Pattern Recognition for Sound Event Detection},
author={Hyeonuk Nam and Seong-Hu Kim and Byeong-Yun Ko and Yong-Hwa Park},
year={2022},
eprint={2203.15296},
archivePrefix={arXiv},
primaryClass={eess.AS},
url={https://arxiv.org/abs/2203.15296},
}