All models

OpenFLAM

A contrastive audio-text model that says when in a clip a described sound occurs, not only whether it occurs.

Audio and speech · 1,363 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
196.2M
Operations
1,363
Framework
PyTorch
Recurrent
No
Published
ICML 2025
Cited by
0 (as of 29 October 2026)
Authors
Yusong Wu, Christos Tsirigotis, Ke Chen 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
m18999
Graph hash
9c337deb5f94c2f72e91f0414ef8ea12de368cefe7b9298becf0f797bf3c3e24
Skeleton hash
0eb06b9bb20dc03ed8011b49aea452d4eeed603ae8e7ae6fd4000e502d9ace22
Architecture hash
e3f5aa0253d0331e87ac99a936245e730d8982826107b7e5902c11ac2a953b16
Diagram SHA-256
9163a1898145d9dc0c333a1820e98b38bd520d219ec9445cd1714875e87e6232
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

OpenFLAM is the code release of FLAM (Frame-Wise Language-Audio Modeling), a language-audio model that supports both zero-shot sound event detection and audio retrieval from free-form text. Earlier contrastive models such as CLAP align a whole clip with a caption, and the paper notes that these global embeddings cannot place the start and end of a sound. FLAM's audio encoder instead gives both one embedding for the clip and a sequence of frame embeddings, so matching each frame to a text embedding shows when the described event occurs.

The architecture follows the LAION-CLAP framework. The audio encoder is an HTSAT network that takes a 10-second clip and, after an MLP projection layer, outputs a sequence of 32 frame embeddings. Averaging those frame embeddings over time gives the embedding of the whole clip. The text encoder is a RoBERTa model, and both encoders start from pretrained checkpoints. Each frame is scored against the text with a logit scale and a bias that, in contrast to SigLIP, depend on the event description.

Frame-level labels for free text are scarce, so the authors built an augmentation pipeline that synthesizes 10-second mixtures from text-labeled sound events. The paper reports that FLAM outperforms prior self-supervised approaches on closed-set and open-set sound event detection while preserving retrieval and zero-shot classification performance. The released model requires audio sampled at 48 kHz.

Key idea. FLAM extends contrastive audio-language models to produce both sample-level and frame-level representations, so that sound events described in free text can be detected frame by frame.

  • openflam
  • flam
  • frame-wise language-audio modeling
  • audio-language model
  • sound event detection
  • open-vocabulary sound event detection
  • text-audio retrieval
  • zero-shot audio classification
  • sound event localization

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

Cite the paper

@misc{wu2025flamframewiselanguageaudiomodeling,
      title={FLAM: Frame-Wise Language-Audio Modeling}, 
      author={Yusong Wu and Christos Tsirigotis and Ke Chen and Cheng-Zhi Anna Huang and Aaron Courville and Oriol Nieto and Prem Seetharaman and Justin Salamon},
      year={2025},
      eprint={2505.05335},
      archivePrefix={arXiv},
      primaryClass={cs.SD},
      url={https://arxiv.org/abs/2505.05335}, 
}