All models

EEND

A self-attention encoder that outputs each speaker's speech activity per frame, replacing EEND's BLSTM.

Audio and speech · 59 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 (43 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
2.7M
Operations
59
Framework
PyTorch
Recurrent
No
Published
ASRU 2019
Cited by
221 (as of 16 October 2026)
Authors
Yusuke Fujita, Naoyuki Kanda, Shota Horiguchi 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
m837
Graph hash
ff1e779706b5173c36058798814cc0f46846166963aaef08ff9e721499192c3d
Skeleton hash
8c631c0abfd634aa266435b3f18d379c3a77355c2b4aa0ea0e112bdbc2d02cc6
Architecture hash
ddc472cbd87d3079d29c546ebc5028cbc7711819e2304205daea59662af0d201
Diagram SHA-256
7029b299faac38589f835217871394c9900dee719c9ed949e66013a31daa4f36
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

SA-EEND, Self-Attentive End-to-End Neural Diarization, is a speaker diarization model: given a multi-talker recording it answers who spoke when. A self-attention network directly outputs the joint speech activities of all speakers for each time frame. It replaces the bidirectional LSTM blocks of the earlier EEND model with self-attention blocks. Where a BLSTM is conditioned only on its previous and next hidden states, self-attention is conditioned directly on all other frames.

Because each speaker gets its own output, overlapping speech is handled naturally through a multi-label classification framework. The encoder block is almost the same as the Speech-Transformer's, but without positional encoding. The paper's model uses two encoder blocks with 256 attention units and four heads. The two-speaker model is trained with a permutation-free loss.

The captured member is a PyTorch implementation of EEND that is largely based on the original Chainer code by Hitachi. Only the Transformer model with the PIT loss is implemented in that port. On the evaluated data the method performed significantly better than the BLSTM-based EEND and better than the x-vector clustering baseline. Visualizing the latent representation, the authors found that some attention heads capture speaker-dependent global characteristics while others represent temporal features.

Key idea. SA-EEND swaps the BLSTM blocks of end-to-end neural diarization for self-attention blocks, and the authors found the self-attention was the key to its performance.

  • SA-EEND
  • EEND
  • self-attentive end-to-end neural diarization
  • speaker diarization
  • who spoke when
  • Hitachi
  • PIT

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

Cite the paper

@misc{fujita2019endtoendneuralspeakerdiarization,
      title={End-to-End Neural Speaker Diarization with Self-attention}, 
      author={Yusuke Fujita and Naoyuki Kanda and Shota Horiguchi and Yawen Xue and Kenji Nagamatsu and Shinji Watanabe},
      year={2019},
      eprint={1909.06247},
      archivePrefix={arXiv},
      primaryClass={eess.AS},
      url={https://arxiv.org/abs/1909.06247}, 
}