ACT
A convolution-free Transformer encoder-decoder that writes a text caption for an audio clip.
Audio and speech · 612 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
- 108M
- Operations
- 612
- Framework
- PyTorch
- Recurrent
- No
- Published
- DCASE 2021 Workshop
- Cited by
- 44 (as of 27 October 2026)
- Authors
- Xinhao Mei, Xubo Liu, Qiushi Huang and others
- Source
- GitHub: XinhaoMei/ACT
- 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
- m14496
- Graph hash
- 650220beae44fdfaa489bf7da71fbf8ba2bc784e076b5570502fe7ac90fef9c0
- Skeleton hash
- dd5f53bc6ea04a8165a6f19200c403f26bb47c65d87044273acf91834db54652
- Architecture hash
- 9340421cb50ad59d3b96acf01181acdeb57984073603f943db9094b683359377
- Diagram SHA-256
- 22ae8bb3d278aeda15f9b23ae7748f2b862d833451ff5646f53cddc5a53f79f6
- 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
ACT, the Audio Captioning Transformer, generates a natural language description of an audio clip. Most captioning models follow an encoder-decoder design in which the decoder predicts words from audio features extracted by the encoder, and the encoder is often a convolutional or recurrent network. The paper argues that CNNs can be limited in modeling temporal relationships among the time frames of an audio signal, and RNNs in modeling long-range dependencies among them.
ACT replaces both with a full Transformer network: it keeps the encoder-decoder architecture and uses no convolutions at all. The authors state that this gives a better ability to model the global information within an audio signal and to capture temporal relationships between audio events.
The model is evaluated on AudioCaps, where the paper reports competitive performance compared with other approaches of its time. The released code offers two pretrained encoders, a pretrained DeiT model and a DeiT model pretrained on AudioSet, and three pretrained captioning models named ACT_s, ACT_m and ACT_l. Its README notes that the code was refactored after the workshop, so the reproducible results differ a little from those in the paper, with higher metrics and the same conclusions.
Key idea. The paper proposes ACT, a convolution-free audio captioning model built as a full Transformer encoder-decoder network.
- ACT
- Audio Captioning Transformer
- audio captioning
- automated audio captioning
- AudioCaps
- audio to text
- audio transformer
AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.
Cite the paper
@misc{mei2021audiocaptioningtransformer,
title={Audio Captioning Transformer},
author={Xinhao Mei and Xubo Liu and Qiushi Huang and Mark D. Plumbley and Wenwu Wang},
year={2021},
eprint={2107.09817},
archivePrefix={arXiv},
primaryClass={eess.AS},
url={https://arxiv.org/abs/2107.09817},
}