All models

AttAlign-AEC

An echo cancellation network that aligns the far end signal to the microphone signal with a built-in attention block.

Audio and speech · 114 operations Checked

100%

Showing the top corner; full diagram not loaded yetShowing a small copy; full diagram not loaded yetLarge diagram, not loaded yet

Open SVG

Loading diagram (57 KB)

Open in a new tab

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

Parameters
710.5K
Operations
114
Framework
PyTorch
Recurrent
No
Published
2022
Cited by
21 (as of 18 November 2026)
Authors
Evgenii Indenbom, Nicolae-Cătălin Ristea, Ando Saabas and others
License
MIT
Checked
Passed: the trace was replayed operation by operation and matched the model's own output for this input.

Files

The diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.

Details
Stable ID
m14735
Graph hash
f4768874836b0fed591fa76cdf34225f305b30fb75eeb32a6a4942c88f731c57
Skeleton hash
3388aa30668daf0d845c2a85142af3c60dd6930534a4cacfefdffb7d44516e4f
Architecture hash
56814a9a2b293b46febc507bdde6d6e0d3d2d0b3830bea64d4375df68981958d
Diagram SHA-256
e497b2250d4547f2818e28885d22ed6827216d83bbb12332953c23e47c6e19e7
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

Align-CRUSE is a real-time acoustic echo cancellation network that accepts microphone and far end signals that have not been aligned with each other. Echo cancellers usually rely on a separate alignment block, typically built on cross-correlation, to synchronize the two signals. This model replaces that block with a cross-attention module that synchronizes them in the feature space.

The network structure is derived from CRUSE, a noise suppression model based on a U-Net architecture with a middle recurrent block. The encoder has two branches, one for far end features and one for microphone features. After two conv blocks the far end branch passes through the align block, and the aligned far end maps are concatenated to the mic branch. A GRU layer sits between the encoder and the decoder. The output is a suppression magnitude mask, which is multiplied by the microphone's magnitude spectrum.

The align block projects pooled mic and far end features into queries and keys, takes a dot product along the time axis for each candidate delay, and applies a softmax to predict the most likely delay distribution. The aligned far end features are a weighted sum over those delays. The authors observed that a weighted sum is more robust to wrong delay estimates than a hard selection. The paper states that the model was deployed in Microsoft Teams.

Key idea. Align-CRUSE builds signal alignment into an echo cancellation network with a cross-attention block that predicts a delay distribution and soft-aligns the far end features.

  • align-cruse
  • attalign-aec
  • acoustic echo cancellation
  • aec
  • cross-attention alignment
  • self-attention alignment
  • echo cancellation
  • delay estimation
  • far end alignment

AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.

Cite the paper

@misc{indenbom2023deepmodelbuiltincrossattention,
      title={Deep model with built-in cross-attention alignment for acoustic echo cancellation}, 
      author={Evgenii Indenbom and Nicolae-Cătălin Ristea and Ando Saabas and Tanel Pärnamaa and Jegor Gužvin},
      year={2023},
      eprint={2208.11308},
      archivePrefix={arXiv},
      primaryClass={cs.SD},
      url={https://arxiv.org/abs/2208.11308}, 
}