All models

SpeechFormer++

A four-stage hierarchical Transformer that classifies speech by following its frame, phone and word structure.

Audio and speech · 801 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 (27 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
17.8M
Operations
801
Framework
PyTorch
Recurrent
No
Published
IEEE/ACM Transactions on Audio, Speech, and Language Processing (arXiv 2023)
Cited by
92 (as of 28 October 2026)
Authors
Weidong Chen, Xiaofen Xing, Xiangmin Xu and others
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
m20551
Graph hash
a063efe4a0e6d95e396db8ed0225dc46bcf33c18090cb9ce9b952c2170766bb8
Skeleton hash
1e61fc9bee233a034f3ccf88ddcfac2f3a4e0611e81327aab1711525ce2869aa
Architecture hash
d51038def75af711a8e0bd7e31928fc79a820d2b4f1a6e881662d86b13cfe604
Diagram SHA-256
73c0441b3e9d2fbd2ab05843ff6063e5f489ebeb6f2e55910030504942241409
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

SpeechFormer++ is a Transformer-based framework for paralinguistic speech processing, which the paper describes as important for issues such as sentiment and neurocognitive disorder analyses. Its argument is that earlier work on Transformers for speech did not incorporate the properties of speech, in which a word consists of several consecutive phones and a phone of several consecutive frames.

The network follows that structure in four stages: frame, phone, word and utterance. Within a stage, a unit encoder applies local attention in windows sized from the statistical durations of phones and words, so that each window completely covers its central unit. Between stages, a merging block aggregates the feature tokens and feeds them into the next stage. A word encoder, working with several learnable word tokens, integrates word-grained features into each unit encoder to balance fine-grained and coarse-grained information.

The paper evaluates SpeechFormer++ on speech emotion recognition (IEMOCAP and MELD), depression classification (DAIC-WOZ) and Alzheimer's disease detection (Pitt). It reports that SpeechFormer++ outperforms the standard Transformer while reducing the computational cost. The paper extends a preliminary conference version of the same work.

Key idea. The paper built a hierarchical Transformer whose unit encoders, merging blocks and word encoder follow the frame, phone and word structure of speech, reducing computation relative to a standard Transformer.

  • SpeechFormer++
  • SpeechFormer2
  • SpeechFormer_v2
  • paralinguistic speech processing
  • speech emotion recognition
  • hierarchical transformer
  • depression classification
  • Alzheimer's disease detection

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

Cite the paper

@misc{chen2023speechformerhierarchicalefficientframework,
      title={SpeechFormer++: A Hierarchical Efficient Framework for Paralinguistic Speech Processing}, 
      author={Weidong Chen and Xiaofen Xing and Xiangmin Xu and Jianxin Pang and Lan Du},
      year={2023},
      eprint={2302.14638},
      archivePrefix={arXiv},
      primaryClass={eess.AS},
      doi={https://doi.org/10.1109/TASLP.2023.3235194},
      url={https://arxiv.org/abs/2302.14638}, 
}