---
title: "Efficient Training of Audio Transformers with Patchout (2021)"
description: "How Patchout makes audio transformers cheaper to train, why removing spectrogram patches can help, and what the experiments establish."
canonical: "https://research.elamur.ai/free/en/papers/koutini-2021-efficient-training-audio-transformers-patchout/"
---
Elamur: [Mova](https://md.mova.elamur.ai/free/en/) · [Parse](https://mova.elamur.ai/free/en/parse/) · [Dictionary](https://md.dictionary.elamur.ai/free/en/) · [Translate](https://md.translate.elamur.ai/free/en/) · **Research** · [Gali](https://md.gali.elamur.ai/free/en/) · [MCP](https://mcp.elamur.ai/) · [Locations](https://md.locations.elamur.ai/free/en/) · [Weather](https://md.weather.elamur.ai/free/en/)

[Elamur Research](https://md.research.elamur.ai/free/en/) · [this page in HTML](https://research.elamur.ai/free/en/papers/koutini-2021-efficient-training-audio-transformers-patchout/)

[home](https://md.research.elamur.ai/free/en/) / [papers](https://md.research.elamur.ai/free/en/papers/) / [2021](https://md.research.elamur.ai/free/en/papers/2021/) / Efficient Training of Audio Transformers with Patchout

# Efficient Training of Audio Transformers with Patchout

Paper · 2021 · Khaled Koutini, Jan Schluter, Hamid Eghbal-zadeh et al.

**Authors:** Khaled Koutini, [Jan Schluter](https://md.research.elamur.ai/free/en/authors/jan-schluter/), Hamid Eghbal-zadeh and Gerhard Widmer · **Year:** 2021 · **Venue:** arXiv:2110.05069 · **Licence:** [arXiv — non-exclusive license to distribute](http://arxiv.org/licenses/nonexclusive-distrib/1.0/)

[**225** citations OpenAlex, 2026-10-14](https://openalex.org/works?filter=cites:W3205475937) · [arXiv:2110.05069](https://openalex.org/S4393918409) · [licence](http://arxiv.org/licenses/nonexclusive-distrib/1.0/)

- [PDF](https://arxiv.org/pdf/2110.05069)
- [DOI 10.21437/interspeech.2022-227](https://doi.org/10.21437/interspeech.2022-227)
- [arXiv 2110.05069](https://arxiv.org/abs/2110.05069)
- [OpenAlex](https://openalex.org/W3205475937)

Citations: OpenAlex, 2026-10-14.

## Deep dive: Efficient Training of Audio Transformers with Patchout

How Patchout makes audio transformers cheaper to train, why removing spectrogram patches can help, and what the experiments establish. · about 34 minutes to read

**In this deep dive**

1. [Summary](#dd-summary)
2. [Ideas worth borrowing](#dd-ideas-worth-borrowing)
3. [How Mova uses it](#dd-how-mova-uses-it)
4. [The problem and its context](#dd-the-problem-and-its-context)
5. [The method, step by step](#dd-the-method-step-by-step)
6. [Experiments and results](#dd-experiments-and-results)
7. [What the ablations show](#dd-what-the-ablations-show)
8. [Limitations](#dd-limitations)
9. [What came after](#dd-what-came-after)

### Summary

Recognizing sounds in an audio recording requires connecting evidence that may appear at different times and frequencies. A [transformer](https://md.research.elamur.ai/free/en/concepts/transformer/) can make those connections through attention, which lets each input element interact with the others. The difficulty is cost: as the input grows, the attention computation becomes expensive in both memory and processing. *Efficient Training of Audio Transformers with Patchout* addresses that problem by removing some of the input during training. Its central finding is that an audio classifier can learn effectively from an incomplete spectrogram, while the shorter input makes training substantially cheaper.

The method, Patchout, operates on patches extracted from a spectrogram: a representation of how sound energy varies across time and frequency. After converting those patches into vectors and attaching position information, the system randomly discards some of them before attention begins. Unstructured Patchout removes individual patches without regard to their positions. Structured Patchout removes complete rows or columns of the patch grid, withholding selected frequency or time regions. At inference, the network receives the complete patch sequence. The authors call the resulting architecture PaSST, for Patchout faSt Spectrogram Transformer. They also separate time and frequency position information, making it easier to use shorter recordings without rebuilding a joint positional grid.

On Audioset, the authors report that Patchout improves predictive performance while making training roughly 4 times faster and reducing the required training memory to less than 25% of the comparison requirement. Their principal system reaches the paper’s claimed state of the art after 50 hours on a single Nvidia RTX 2080ti. More economical variants remove patch overlap or reduce network depth. The reduced-depth version reaches .459 mean average precision, while the version without overlapping patches reaches .466; both are reported to take roughly 25 hours on a single [GPU](https://md.research.elamur.ai/free/en/topics/gpu-parallel-computing/). These results make the contribution more than a memory-saving technique: within the reported setup, withholding input during training also improves generalization.

The paper further tests transfer to instrument recognition, environmental sound classification, acoustic scene classification, and general sound-event tagging. The results support inexpensive adaptation of an Audioset-trained network, but they also show that the effect of Patchout depends on the task. In particular, it accelerates acoustic scene training while lowering accuracy relative to the corresponding setting without it. The strongest conclusion is therefore specific and useful: substantial parts of an audio spectrogram can be omitted during training without losing the benefits of a transformer, and sometimes with better predictions. The experiments do not establish that every task benefits equally, that inference receives the same savings, or that the method works independently of image pretraining and extensive augmentation.

### Ideas worth borrowing

Shorten the input before expensive computation. Patchout saves work because omitted patches never enter the attention layers. This matters whenever a system’s cost depends on interactions among input elements: suppressing information after those interactions have already been calculated would leave much of the expense intact. The reusable design question is where an intervention occurs in the computation. A technique that changes the actual input length can affect both the interaction matrix and the remaining operations performed on each element. Elsewhere, this suggests examining whether redundant observations can be withheld before an expensive stage rather than merely hidden inside a representation that retains its original size.

Use missing evidence as regularization. The network must classify recordings from different incomplete views rather than relying on the same evidence every time. That gives the training procedure a reason to distribute its use of information. The authors motivate this through the expectation that audio events occupy multiple locations in time and frequency. The broader idea applies when several observations can support the same decision, although that condition must be checked rather than assumed. If a task hinges on a brief, unique cue, withholding that cue may be harmful. Patchout is valuable in part because it makes this tradeoff testable: computational savings and predictive performance can be assessed together.

Match removal patterns to input structure. Structured Patchout treats the spectrogram as an organized grid instead of an unordered collection of patches. Removing a time column or frequency row produces a different learning problem from scattering omissions across the grid. This offers a general principle for designing regularization: the shape of the missing information can matter as much as its amount. A researcher working with another structured input could compare independent omissions with omissions along meaningful axes. The paper supports that line of investigation in audio; it does not establish that its particular time-and-frequency pattern is appropriate for unrelated data.

Separate position information along meaningful axes. PaSST attaches distinct time and frequency encodings instead of relying on a positional representation tied to their combined grid. This makes a change in recording duration easier to handle because the time encoding can be cropped while the frequency encoding stays fixed. The transferable idea is to make representation choices reflect which dimensions are expected to vary independently. That can simplify adaptation without changing the main processing architecture. The important qualification is that the demonstrated convenience concerns shorter audio: separating axes does not itself establish an unrestricted ability to handle durations beyond those covered during training.

Combine complementary ways of reducing cost. Patchout, patch overlap, and network depth affect different parts of the computation. Patchout shortens the training sequence stochastically; removing overlap reduces how many patches are extracted; reducing depth removes successive processing blocks. The authors compare combinations rather than treating efficiency as a single architectural switch. This is useful engineering practice because an intervention that saves parameters may not produce the best throughput, and one that reduces input redundancy may preserve accuracy better than one that removes processing capacity. The downstream comparisons favor removing overlap over reducing depth when each is paired with structured Patchout.

Evaluate the route to a usable system. The paper reports training throughput, per-sample memory, predictive quality, and adaptation time. Those measurements answer different practical questions. Throughput concerns how quickly training examples can be processed; memory affects whether training fits on available hardware; final quality determines whether the savings remain useful. Reporting them together makes a much stronger efficiency argument than reporting a complexity expression alone. The same principle applies beyond audio: a method becomes easier to assess when its resource measurements are tied to a named task, hardware setting, and achieved level of performance.

### How Mova uses it

For [Mova](https://md.research.elamur.ai/free/en/projects/mova/), the small transparent language system written in Rust, Patchout is best treated as a possible design influence instead of an established component. There is no basis here for claiming that Mova already contains PaSST, processes spectrograms, or uses Patchout during training. The relevant connection is a general engineering question: can a system learn from deliberately incomplete evidence while keeping the omitted information available during normal use?

A concrete experiment for Mova would begin with a component that genuinely has redundant input evidence. A training procedure could withhold some of that evidence before the expensive computation, then compare its quality and resource use with a complete-input baseline. This would borrow the location of Patchout’s intervention and its emphasis on measured tradeoffs. It would not justify deleting arbitrary words from language input. The paper’s argument depends partly on how sound events are distributed across a spectrogram; linguistic evidence may have a different structure, and an omitted item could carry the information needed for the decision.

Transparency would make the selection procedure especially important. An experimental implementation could expose which input units were retained, which were omitted, and whether the omission changed a prediction. Keeping those choices inspectable would make it easier to distinguish an effective regularizer from a shortcut that merely happens to work on a particular evaluation set. This is a proposed use of the idea, not a capability established by the audio experiments or an assertion about Mova’s current implementation.

The paper also suggests a useful discipline for Mova’s efficiency work. A smaller representation, fewer processing stages, and randomized omission should be evaluated as separate choices before their effects are combined. Each changes a different aspect of the system. Measuring only execution speed would conceal possible losses in accuracy; measuring only accuracy would conceal whether the change saves meaningful resources. PaSST’s comparisons illustrate how to keep those questions connected.

The most direct architectural application would arise if Mova acquired an audio component based on spectrogram patches and attention. In that setting, removing patches before attention and keeping time and frequency position information separate would have a close counterpart in the paper. Until such a component exists and is evaluated, the honest connection remains methodological: use incomplete views only where the task can tolerate them, make the selection visible, and test the resulting quality–cost tradeoff.

### The problem and its context

#### Why audio makes attention expensive

A transformer processes a sequence of representations. In its attention layers, an element can draw information from other positions, including distant ones. The paper presents this ability as a reason transformers became successful in sequence tasks and attractive in other domains. It also identifies the corresponding cost: attention compares positions in pairs. A longer sequence therefore creates many more interactions, rather than simply adding a proportional amount of work.

Audio enters this framework through a spectrogram. Instead of passing a waveform directly into the architecture, the system extracts small regions from the time–frequency representation. Each region becomes a patch, and each patch becomes an element of the transformer’s input sequence. This creates a bridge from a grid of acoustic measurements to an architecture originally designed around sequences.

The bridge introduces a practical problem. A long recording produces more patches, and overlapping patches produce more still. Overlap can be useful because neighboring patches share acoustic content, but that useful redundancy lengthens the sequence. In an attention system, its cost is amplified by the interactions among all those additional elements. The authors therefore focus on a tension between retaining a rich patch representation and making training affordable.

This places the paper within work on [efficient systems and compression](https://md.research.elamur.ai/free/en/topics/efficient-models/), but its immediate target is specific: the training of audio transformers built from spectrogram patches. The authors are not proposing a new sound-label ontology or a new definition of the classification task. They are asking whether the existing approach can be trained with less memory and computation, and whether doing so must reduce predictive quality.

#### From language to images to spectrograms

The architectural starting point is the transformer introduced in [Attention Is All You Need](https://md.research.elamur.ai/free/en/papers/vaswani-2017-attention-all-need/). The paper describes attention as a way to learn dependencies without requiring neighboring positions. It cites language systems, including [BERT](https://md.research.elamur.ai/free/en/papers/devlin-2019-bert-pre-training-deep-bidirectional/), as evidence of the architecture’s success in language tasks.

The relevant move into images is represented by [Vision Transformer](https://md.research.elamur.ai/free/en/papers/dosovitskiy-2020-image-worth-16x16-words-transformers/). An image is divided into small regions, each region is projected into a vector, and learned position information is added. The resulting sequence can pass through transformer layers. A special classification representation gathers information for the final prediction.

The paper also discusses [DeiT](https://md.research.elamur.ai/free/en/papers/touvron-2020-training-data-efficient-image-transformers/), which supplies the principal pretrained starting point for PaSST. In the authors’ account, successful image transformers depend either on substantial training data or on a strong combination of augmentation and distillation. DeiT adds a distillation token alongside the classification token. This matters for understanding PaSST’s architecture, because its final classifier uses the transformed special representations inherited from that design.

[AST](https://md.research.elamur.ai/free/en/papers/gong-2021-ast-audio-spectrogram-transformer/), the Audio Spectrogram Transformer, is the immediate audio predecessor. As described by the authors, AST transfers an image-pretrained transformer to spectrogram classification and benefits from overlapping patches. It demonstrates that this architecture can achieve strong Audioset results. PaSST accepts that basic route—image pretraining followed by audio training—while attacking the expense introduced by the spectrogram sequence.

The paper mentions [Swin Transformer](https://md.research.elamur.ai/free/en/papers/liu-2021-swin-transformer-hierarchical-vision-transformer/) among examples of transformers adapted to vision, but it does not make a detailed experimental comparison with Swin. Its concrete baseline relationship is with AST and the corresponding PaSST architecture without Patchout. Keeping that distinction clear prevents a broad historical introduction from being mistaken for a set of evaluated alternatives.

#### Earlier approaches to reducing attention cost

The authors describe several ways earlier research restricted or approximated attention. Sliding-window approaches limit interaction to nearby positions. The cited examples include [Multi-passage BERT](https://md.research.elamur.ai/free/en/papers/wang-2019-multi-passage-bert-globally-normalized/) and [Adaptive Attention Span](https://md.research.elamur.ai/free/en/papers/sukhbaatar-2019-adaptive-attention-span-transformers/). These approaches reduce the set of positions that an element may attend to instead of allowing every possible interaction.

[Reformer](https://md.research.elamur.ai/free/en/papers/kitaev-2020-reformer-efficient-transformer/) is described as using locality-sensitive hashing to approximate attention. The paper gives its attention complexity as follows:

```
O(n log n)
```

Here, n is sequence length, and log n is its logarithm. The expression characterizes how the cited approximation’s attention cost grows with sequence length. It is background for PaSST instead of a complexity claim about Patchout.

[Big Bird](https://md.research.elamur.ai/free/en/papers/zaheer-2020-big-bird-transformers-longer-sequences/) combines local windows, global connections, and random interactions. Again, the strategy changes which interactions attention computes. Patchout takes a different route: it keeps the attention mechanism over the retained sequence, but makes that sequence shorter during training.

That difference is scientifically important. Patchout does not establish a new attention rule with a different asymptotic dependence on the retained sequence length. Its saving comes from changing the size of the input presented to the existing computation. This also makes the intervention relatively easy to combine with the image-pretrained architecture used in the experiments.

#### Earlier ideas about withholding information

Patchout also belongs to a line of regularization methods that make training inputs or internal representations incomplete. The authors draw an analogy with [Dropout](https://md.research.elamur.ai/free/en/papers/srivastava-2014-dropout-simple-way-prevent/): information is randomly withheld during training, while the complete input is used for prediction. The analogy concerns the training principle, instead of an assertion that the two methods remove the same kind of object.

The structured variant takes inspiration from [SpecAugment](https://md.research.elamur.ai/free/en/papers/park-2019-specaugment-simple-data-augmentation-method/), which masks regions along the time and frequency dimensions. PaSST also uses SpecAugment as an additional augmentation. This makes it necessary to distinguish their computational roles. A masked spectrogram region can still contribute positions to a fixed-size sequence; a patch removed by Patchout does not proceed into the attention layers.

The authors further connect their proposal to earlier audio work on restricting convolutional receptive fields. A receptive field is the region of input available to a particular computation. Their motivation is that access to less context during training can sometimes help generalization rather than merely limiting capability. Patchout translates that intuition into a transformer setting by varying which acoustic patches remain available.

These precedents explain the paper’s main combination. It brings together a standard patch-based transformer, audio-specific input structure, and stochastic removal before attention. The contribution is not the general observation that missing information can regularize learning. It is a concrete way to obtain that effect while also reducing a major training expense.

### The method, step by step

#### Turn a recording into an acoustic grid

The input is mono audio sampled at 32 kHz. The preprocessing uses a 25 ms analysis window and a 10 ms hop between successive windows. It produces Mel features with 128 frequency bands. The result is a spectrogram whose axes represent time and frequency, instead of an ordinary photograph’s spatial coordinates.

These settings define the acoustic representation supplied to the network. The window determines the portion of waveform used for each local spectral measurement, and the hop determines how often a new measurement is produced. The Mel bands provide the frequency axis used throughout the patch-processing pipeline.

The distinction between waveform and spectrogram matters because the training recipe changes both. Some augmentations act on the waveform before feature extraction. Others act on the spectrogram. Patchout comes later still: it removes elements from the sequence of projected patches, after those elements have received their position information.

The full processing path can be summarized as follows:

From audio recording to sound predictions The steps in order.

#### Extract patches and project them into vectors

The spectrogram is divided into small patches. Each patch contains a local region of acoustic information, spanning part of the time axis and part of the frequency axis. A learned linear projection converts the patch into an embedding: a vector suitable for the transformer.

This conversion gives the attention layers a sequence of consistently shaped elements. Once patches have been projected, the network no longer operates directly on a spectrogram grid in the same way as a convolutional network. It operates on the patch vectors, with position information preserving their relation to the original grid.

The main PaSST setting uses overlap between neighboring patches, following the benefit reported for AST. Overlap allows related acoustic content to appear in adjacent patches. Its expense is that extracting more overlapping regions increases the number of vectors entering the transformer.

The no-overlap variant changes this extraction stage. It does not merely remove more patches after extraction; it starts from a less redundant set of regions. Structured Patchout can still be applied afterwards. This separation is central to the paper’s efficiency comparisons, because removing overlap and applying Patchout act at different points in the pipeline.

#### Attach separate time and frequency positions

A patch vector must carry information about where it came from. PaSST supplies this through learned position encodings, added to the projected patch representations. The architectural change is to separate time information from frequency information.

A patch’s temporal position is represented through the time encoding, while its spectral position is represented through the frequency encoding. This preserves the distinction between the axes rather than assigning a single learned position to each location in a combined grid.

The practical benefit appears when the audio duration changes. For a shorter clip, the system can crop the time encoding to the required extent and keep the frequency encoding unchanged. The paper contrasts this with handling a joint positional grid through adjustment or interpolation.

This is a modest but useful claim. It simplifies the use of shorter inputs without requiring a new positional layout for every duration. It does not show that arbitrary longer recordings can always be accommodated simply by cropping, since cropping removes positions rather than creating additional ones. The method’s demonstrated convenience follows the direction of the duration change.

Position information is added before Patchout. Consequently, a retained patch still carries information about its original location even when neighboring patches have been removed. The remaining sequence need not pretend that formerly separated patches were adjacent in the original spectrogram.

#### Understand the attention expense

The paper describes an input batch using b for batch size, n for sequence length, and e for embedding size. Each sample has n vectors, each containing e components. Multi-head attention divides processing among h attention heads.

Within a head, the input is projected into query, key, and value matrices, denoted Q, K, and V. The paper gives their per-head shape as:

```
shape(Q) = shape(K) = shape(V) = (n × e/h)
```

Q, K, and V are the query, key, and value matrices. The symbol n counts sequence positions, e is embedding size, and h is the number of heads. The expression e/h gives the embedding width assigned to a head.

Queries and keys determine how much weight positions give one another. The paper writes the attention computation as:

```
A = Softmax((Q × Kᵀ) / √d)
```

A is the attention matrix. Q and K are the query and key matrices, Kᵀ is the transpose of K, and × denotes matrix multiplication. Softmax converts the resulting scores into attention weights. The denominator √d supplies the scaling term.

The notation needs care because the paper also uses d for transformer depth elsewhere. Its attention discussion does not separately clarify the scaling symbol at that point. The important computational fact for Patchout does not depend on resolving that reuse: the attention matrix contains a weight for each pair of sequence positions.

Its shape is:

```
shape(A) = (n × n)
```

A is the attention matrix and n is sequence length. Both dimensions grow with the number of positions, which is why sequence length has such a strong effect on attention storage and computation.

The weighted values are then obtained through:

```
Attention output = A × V
```

A contains attention weights, V contains the value representations, and × is matrix multiplication. Across the heads, the process returns a sequence with the same overall embedding shape as the input.

The paper characterizes the relevant attention cost as:

```
O(n²)
```

O describes the growth rate of the computation or memory requirement, and n is sequence length. The squared dependence refers to operations involving the attention matrix. The authors distinguish this from other network operations whose dependence on sequence length is linear.

This explains the placement of Patchout. Reducing n before attention decreases the size of the matrix that must be constructed. It also reduces subsequent work carried out separately for each retained patch. The network still uses attention over all retained positions, so its attention cost remains quadratic in their number.

#### Remove patches during training

Patchout randomly discards part of the position-augmented patch sequence. The remaining vectors proceed into the transformer, and the network must make the recording-level prediction from that incomplete evidence.

Unstructured Patchout selects individual patches without using their locations to organize the choice. The paper names this version PaSST-U. A training input can therefore retain patches distributed across the spectrogram while omitting other isolated regions.

Structured Patchout selects along the spectrogram axes. Removing a patch-grid column withholds a time region across the corresponding frequencies; removing a row withholds a frequency region across the corresponding times. The paper calls this version PaSST-S.

These alternatives change the pattern of missing evidence. With scattered omissions, information from a particular time or frequency region may still survive in neighboring patches. With structured omissions, the network can lose an entire stripe of the patch grid. The paper uses the relationship to SpecAugment to motivate that structure.

At inference, Patchout is disabled and the full patch sequence is used. Training therefore asks the system to remain useful under incomplete observations, while prediction makes the available acoustic evidence accessible. This training–inference distinction is essential to the efficiency claim: Patchout directly reduces the training sequence, not the ordinary inference sequence.

The proposed regularization effect depends on the sound-recognition task. Audio events may extend across time and frequency, allowing several regions to support the same tag. Learning from different subsets can discourage reliance on a particular local pattern. That is the authors’ motivation; the experiments test its usefulness through final task performance rather than directly measuring how evidence is distributed internally.

#### Process special tokens and classify

PaSST retains the special representations used by its image-transformer starting point. The classification token is denoted C. For a DeiT-based network, a distillation token, denoted D, is also present.

These special tokens accompany the retained patch sequence through the attention blocks. The classifier takes the average of the transformed representations of C and D after processing. They provide recording-level inputs to the final decision layer.

The presence of D identifies an architectural inheritance from DeiT. It should not be taken as evidence for an additional audio-specific distillation procedure beyond what the paper describes. The training explanation establishes the pretrained starting architecture and the use of the transformed special tokens for classification.

The network contains successive attention and feed-forward blocks. Depth describes how many such blocks are applied. A full-depth network can therefore be made cheaper in another way: remove processing stages rather than input positions.

#### Reduce overlap or depth when necessary

The no-overlap setting is identified by N. It extracts fewer patches and can be combined with structured Patchout, producing PaSST-S-N. Removing overlap affects the input sequence whenever that extraction setting is used, whereas Patchout is a training-time intervention.

The lighter-depth setting is identified by L. The authors remove alternating attention blocks from the pretrained network instead of cutting away a consecutive group. Their stated motivation is to retain more gradual changes in the residual representations inherited from pretraining.

The resulting lighter architecture has depth d=7 and 50M parameters, compared with 87M parameters in the full network. Here, d denotes the number of successive attention blocks. This reduction changes both training and inference computation, unlike the stochastic omissions used only during training.

These choices should not be collapsed into a single notion of being smaller. Removing overlap changes the input representation’s redundancy. Removing blocks changes the amount of processing available to each retained representation. Patchout changes the training examples seen by the network and the sequence length used for those examples.

#### Begin from image pretraining

All experiments use ImageNet-pretrained weights. The principal base architecture is DeiT B↑384. The authors follow earlier evidence from AST that image pretraining materially improves Audioset performance.

This establishes a transfer chain. The network begins with image-trained parameters, learns the audio task on Audioset, and can then undergo [fine-tuning](https://md.research.elamur.ai/free/en/concepts/fine-tuning/) for a smaller downstream audio dataset. Patchout is evaluated inside that chain.

The paper briefly mentions comparable performance with a more computationally demanding ViT-hug224 variant whose depth is reduced to 16 blocks. It does not pursue that alternative in detail. The main evidence therefore concerns the DeiT-based PaSST family instead of an extensive comparison of pretrained backbones.

Pretraining is part of the resource interpretation. The consumer-GPU training claim concerns the reported audio training procedure starting from available pretrained weights. It does not include demonstrating an equally economical route to learning the entire system from random initialization.

#### Balance the Audioset training sample

The Audioset training procedure uses importance sampling to address label imbalance. The authors follow earlier work arguing that balancing this dataset matters. Their sampling weight is proportional to:

```
1 / (freq(label) + 100)
```

freq(label) is the frequency of a label in the training data. The added 100 moderates the inverse-frequency weighting. The expression describes the stated relationship between label frequency and sampling weight; it is not a probability on its own without the surrounding sampling procedure.

The training set contains 1,893,693 segments, and evaluation uses 18,951 clips. During an epoch, the authors select 200k examples from the full training pool without replacement.

That definition matters when interpreting the schedule. An epoch here is a sampled portion of the training collection, instead of an automatic pass through every available segment. The paper’s training duration and learning-rate schedule should be understood in relation to that procedure.

#### Optimize with extensive augmentation

Training uses AdamW with weight decay 10^-4 and a maximum learning rate of 10^-5. The learning rate decreases linearly from epoch 50 to 100, reaching 10^-7. The authors then continue fine-tuning for 20 epochs.

Patchout operates alongside several other augmentations. With [Mixup](https://md.research.elamur.ai/free/en/papers/zhang-2017-mixup-empirical-risk-minimization/), the authors combine randomly selected examples at the waveform level and also combine the resulting spectrograms. Their term for using both stages is two-level Mix-Up.

SpecAugment masks as many as 48 frequency bins and 192 time frames. The waveform is also rolled randomly along time. Random gain changes multiply the waveform amplitude, with a stated range of ±7 dB.

These augmentations are not incidental background. The authors regard transformers as susceptible to overfitting, making augmentation central to the training recipe. Patchout’s results demonstrate its value in that augmented setting. They do not isolate a complete audio-learning recipe in which Patchout replaces every other regularizer.

The authors make source code and pretrained weights available through the official PaSST repository. That release is relevant to reproducibility, while the scientific explanation remains the combination of input construction, pretraining, sampling, augmentation, and shortened training sequences.

### Experiments and results

#### What the evaluation measures

The main benchmark is Audioset, described by the authors as the largest publicly accessible audio dataset at the time of the study. It contains around 2 million recordings from YouTube, with tagging over 527 possible classes. A recording can require more than a single sound label, so the evaluation concerns the quality of class predictions across clips.

The reported metric is mean average precision, abbreviated mAP. The paper associates it with the area under the precision–recall curve. Higher values indicate better performance on the tagging evaluation.

Efficiency has several separate measurements. Training throughput is measured in spectrograms processed per second on an Nvidia Titan RTX. Memory is reported as the GPU requirement per training sample. Training sequence length records how many elements enter the network during training.

The hardware distinction matters. Titan RTX is the stated platform for the throughput comparison, while the consumer-GPU training claim names Nvidia RTX 2080ti. Those measurements jointly support practicality, but they should not be treated as if they were all recorded under an identical hardware condition.

The relevant baselines include AST, PaSST without Patchout, and convolutional systems. PaSST-B denotes the no-Patchout baseline. Its stated architectural distinction from AST is the use of separate time and frequency positional encodings rather than a joint grid encoding.

#### Audioset: quality and training cost

The authors report that PaSST establishes a new best Audioset result within their comparisons. Their broader claim is that it exceeds AST and performs substantially better than the convolutional alternatives considered.

Patchout also brings a large training saving. The narrative reports roughly 4 times the training speed and a memory requirement below 25% of the relevant comparison requirement. It states that the main system can reach its reported best performance in 50 hours on a single Nvidia RTX 2080ti.

The lighter variants give the clearest numerical view of the quality–cost tradeoff. The reduced-depth structured system reaches .459 mAP on Audioset. The structured system without overlapping patches reaches .466 mAP. The paper reports approximately 25 hours of single-GPU training for these variants.

Economical PaSST variants on Audioset, mean average precision Removing overlap gives the higher reported score among these economical structured-Patchout variants.

**The numbers**

| System or setting | mAP |
| --- | --- |
| PaSST-S-L, reduced depth | .459 |
| PaSST-S-N, no overlap (this paper) | .466 |

This comparison supports a specific engineering conclusion: in the reported Audioset results, preserving the deeper architecture while removing patch overlap is a strong alternative to retaining overlap in a shallower network. It does not isolate every architectural variable, since the systems differ in how they reduce computation.

The authors further report that PaSST-S-N outperforms AST as well as PaSST-B, runs as much as eight times faster, and requires under 10% of the training memory used for comparison. That result is especially significant because earlier work had found that removing overlap could hurt Audioset performance. In this recipe, the combination of no overlap and Patchout remains competitive enough to exceed the named baselines.

These are training-efficiency results. A network trained with Patchout receives its complete sequence during ordinary prediction. Reduced overlap and reduced depth may also change inference work, but the paper’s reported speed and memory comparisons are framed around training.

#### Audioset ensembles

The paper also evaluates ensembles whose members use different patch overlaps. The motivation is to combine predictions from systems that view the spectrogram through different patch extraction settings.

The ensemble operation averages logits. A logit is a classifier score before conversion into a normalized prediction. Averaging these scores combines the members at the output stage rather than merging their internal patch sequences.

The initial ensemble contains 2 members: a no-overlap system and a system with overlap 2, corresponding to stride=14. Stride describes the spacing between successive extracted patches. The paper identifies stride 16 with no overlap.

A broader configuration, labeled S10-S16, uses strides 10,12,14 and 16. These are complementary extraction settings rather than separate training objectives.

The ensemble description establishes how predictions are combined and which variation the authors use to obtain different members. It should be kept distinct from the single-system efficiency claim. Combining several trained systems is an additional route to predictive performance; it does not by itself demonstrate the same deployment cost as a single PaSST network.

#### How downstream adaptation is evaluated

After Audioset training, the authors adapt PaSST to smaller audio tasks. They replace the multilayer-perceptron classifier for the target labels and fine-tune the pretrained network.

The naming requires attention. In the downstream experiments, PaSST-B, PaSST-U, and PaSST-S all begin from the same Audioset-trained PaSST-S. Their labels distinguish the fine-tuning procedure: no Patchout, unstructured Patchout, or structured Patchout.

During downstream adaptation with Patchout, approximately half the input sequence is removed by the authors. Each experiment is repeated three times, and the reported result is the average. Downstream speedup is measured relative to PaSST-B and rounded upward to the nearest integer.

This setup makes the downstream comparison particularly useful. The initial audio representation is shared across the principal fine-tuning variants, so differences concern how the target-task adaptation is performed. It does not compare completely independent pretraining histories for each named variant.

#### Polyphonic instrument recognition

OpenMIC tests whether a recording contains particular musical instruments. It contains 20,000 clips, each lasting 10 seconds, with possible assignments among 20 instrument classes. Multiple instruments may be present, so the task is tagging rather than choosing an exclusive label.

The metric is mAP. The authors compare against strong convolutional approaches that restrict receptive fields, connecting this evaluation to the earlier motivation that limiting available context can improve audio learning.

Using one consumer GPU, PaSST-S-N achieves what the paper claims is its best performance in under 30 minutes. The practical lesson is that a substantial pretrained audio representation can be adapted to this task quickly, even when patch overlap is removed.

The result does not mean that instrument recognition is solved or that training from scratch would take the same time. Its stated setting is fine-tuning a network that already learned from Audioset. The economical adaptation is the relevant achievement.

#### Environmental sound classification

ESC50 contains 2,000 environmental recordings. Each clip lasts 5 seconds and belongs to one of 50 classes. The task uses accuracy, averaged across the 5 official folds.

The earlier state-of-the-art comparison named by the paper is AST. The distinction between AST and PaSST-B again concerns positional encoding: PaSST separates time and frequency positions.

Fine-tuning takes under five minutes on one GPU for every PaSST variant that uses Patchout. This is strong evidence for inexpensive adaptation in the reported setup, especially because the target collection is much smaller than Audioset.

The evaluation protocol matters as much as the short training time. Averaging across the official folds avoids presenting a result from an arbitrarily selected single split. It also makes the meaning of the accuracy clear: it is the cross-fold result for this environmental-sound task.

#### Acoustic scenes across recording devices

The acoustic-scene experiment uses TAU Urban Acoustic Scenes 2020 Mobile in the DCASE20 setting. Its aim is to recognize the scene associated with a 10-second recording. Recordings come from different devices, including simulated devices, and evaluation includes devices unseen during training.

Accuracy is therefore being tested under a device shift, not merely on recordings produced by the same equipment as the training examples. The paper identifies the challenge’s winning approach as convolutional.

Patchout speeds up training and allows fine-tuning on a single consumer GPU. The authors report reaching the task’s stated best-performance level in less than an hour. However, they also explicitly report an accuracy decrease from applying Patchout.

Those statements describe a tradeoff rather than a contradiction. A Patchout configuration can remain strong against earlier systems while scoring below a corresponding PaSST setting that retains the full sequence during fine-tuning. This is the clearest task-level qualification to the paper’s generalization argument.

#### General sound-event tagging

FSD50K evaluates a broad set of sound-event labels. The dataset contains 51K recordings annotated with 200 classes drawn from the Audioset ontology. Its audio totals 100 hours.

The authors emphasize the quality of its evaluation labels. Between two and five independent annotators check and assess each evaluation label. This makes the benchmark valuable as a test of general sound recognition rather than only an additional collection of training examples.

The reported result uses the official evaluation subset, with the selected checkpoint determined by validation performance. Keeping validation selection separate from final evaluation is important to interpreting the result.

The comparison is with PSLA, which combines a convolutional architecture with image pretraining, balancing, augmentation, label enhancement, and weight averaging. PaSST’s reported advantage is therefore against a developed training recipe instead of a convolutional network stripped of supporting techniques.

The authors describe a substantial improvement over the prior state of the art. Fine-tuning takes less than 2 hours for PaSST-S and less than 1 hour for PaSST-S-N. As in the other transfer experiments, those times concern adaptation from an Audioset-trained network.

Across the downstream tasks, the evidence supports accessible reuse of pretrained PaSST. It also shows why a task-specific decision remains necessary: the fastest useful configuration and the most accurate configuration need not be the same.

### What the ablations show

#### Patchout is more than a cheaper input

The principal controlled comparison is between PaSST-B and the Patchout variants. PaSST-B retains the complete patch sequence during training. PaSST-U and PaSST-S remove different kinds of subsets.

This comparison tests whether lower computation necessarily sacrifices predictive quality. The paper reports that it does not: Patchout can improve the final Audioset result while reducing resource requirements. That is the basis for treating the technique as regularization as well as an efficiency intervention.

The distinction matters because a cheaper network can be useful even when it loses some accuracy, but that would be a different contribution. Here, the reported benefit includes improved generalization under the authors’ training conditions. The computational saving follows directly from a shorter sequence; the quality benefit is an empirical observation.

The experiments do not establish a complete causal account of that quality benefit. They do not directly show which sound cues become more distributed or how dependence on individual patches changes internally. The proposed explanation is consistent with learning from incomplete evidence, while the measured outcome is task performance.

#### The shape of the omission matters

Unstructured and structured Patchout expose the network to different missing-input patterns. The distinction tests whether the geometry of removal is useful beyond random selection alone.

Structured removal follows the spectrogram’s axes. A missing time region and a missing frequency region have interpretable acoustic roles. Scattered patch removal does not withhold those regions in the same coordinated way.

The paper’s use of structured Patchout in its principal systems and transfer comparisons demonstrates its practical importance. However, the argument should not be expanded into a universal rule that structured removal must always be superior. The task results already show that even a useful regularizer can impose an accuracy cost.

The most reusable finding is that omission structure deserves to be treated as an experimental variable. A comparison that specifies only how much input is removed can miss the effect of where the remaining evidence lies.

#### Separate positional encoding is a distinct change

AST and PaSST-B differ in their treatment of position. Because PaSST-B does not use Patchout, this baseline helps distinguish the positional-encoding change from the patch-removal mechanism.

The authors identify the practical benefit of separate encodings clearly: shorter recordings can use a cropped time encoding while retaining the frequency encoding. That benefit is architectural and does not depend on dropping patches.

At the same time, comparisons between AST and a full PaSST system combine multiple changes. A reader should not assign every observed difference in such a comparison to Patchout alone. The PaSST-B comparison is the more relevant reference for isolating the added training intervention.

This is an important feature of the experimental design. The baseline is not merely an older named system; it is a close architectural relative that helps separate the paper’s contributions.

#### Removing overlap can preserve useful capacity

Earlier AST findings motivated overlapping patches because overlap improved Audioset performance. The PaSST experiments revisit that choice under a different training procedure.

PaSST-S-N combines structured Patchout with extraction that has no overlap. It remains stronger than the named AST and no-Patchout baselines in the authors’ report, while using substantially fewer training resources.

This shows that a setting established as beneficial under an earlier recipe need not remain indispensable after the training method changes. Overlap and Patchout both affect how acoustic evidence is presented, but they do so differently. Their effects should therefore be evaluated together.

The result is not proof that overlap is useless. The paper still uses overlapping configurations and combines different strides in ensembles. It shows that eliminating overlap is a viable efficiency option within PaSST, instead of an unavoidable collapse in predictive quality.

#### Depth reduction offers another tradeoff

The lighter PaSST architecture removes alternating blocks from the pretrained network. This reduces parameter count and successive computation, while attempting to preserve a more gradual path through the inherited residual representations.

Its Audioset result shows that a shallower system can remain competitive and inexpensive. The comparison with the no-overlap variant also shows that reducing depth is not automatically the best way to spend a computation budget.

For downstream adaptation, the authors report that removing overlap works better than reducing depth when both are combined with structured Patchout. It also enables faster fine-tuning in those comparisons.

The controlled lesson concerns what is removed. Cutting processing stages may discard useful transformation capacity. Reducing overlapping input regions can save work while leaving that capacity available. The experiments favor the latter route in their reported downstream setup, without establishing that the ordering holds for every architecture or task.

#### Transfer exposes a limit to the regularization story

The downstream comparisons vary Patchout during fine-tuning while starting from the same Audioset-trained PaSST-S. That arrangement makes the transfer results informative about adaptation rather than only pretraining quality.

On several tasks, Patchout improves or preserves useful predictive performance and reduces the cost of fine-tuning. Acoustic scene classification provides the counterexample: speed improves, but accuracy decreases.

This indicates that the incomplete-view objective is not equally well matched to every audio decision. The experiments do not isolate why scene classification is less favorable. Possible explanations should therefore remain questions rather than conclusions attributed to the paper.

What is established is the need to evaluate the target task. Successful Audioset pretraining does not make the choice of Patchout during downstream adaptation automatic.

### Limitations

#### Limits the authors explicitly identify

The authors state that transformers are vulnerable to overfitting and that augmentation is important to their training. PaSST should therefore be understood as part of a broader recipe. Its successful results combine Patchout with image pretraining, sampling, waveform transformations, and spectrogram augmentation.

They also explicitly acknowledge the accuracy cost in acoustic scene classification. That observation limits the claim that Patchout improves generalization. It can do so, but the benefit is not uniform even within the paper’s audio tasks.

The discussion of overlap carries another qualification. Earlier work found that reducing overlap hurt Audioset performance. PaSST offers a successful combination that revisits that choice; it does not make the underlying quality–cost tension disappear.

The authors briefly mention an alternative, more computationally demanding pretrained architecture but do not explore it further. The main evidence is concentrated on their chosen DeiT-based system. That is a scope decision rather than a flaw, but it limits conclusions about how broadly the same gains extend across backbone architectures.

#### Training savings are not equivalent to inference savings

A careful reader should separate the stage at which a saving occurs. Patchout removes patches during training and restores the full sequence at inference. Its main resource advantage therefore concerns learning the network.

The shorter training sequence still passes through ordinary attention. Patchout does not change the quadratic dependence of attention cost on the number of retained elements. If the retained sequence grows, attention cost grows accordingly.

Removing overlap and reducing depth are different in this respect. Those choices alter the representation or architecture used by the resulting system, so they can affect prediction work as well. Nonetheless, the paper’s named throughput and memory measurements concern training, and should be reported with that qualification.

This distinction is especially relevant when choosing a system for deployment. A method that makes learning affordable may be useful even if prediction remains expensive. The paper supports the former claim directly; it does not provide a complete deployment-efficiency analysis.

#### Pretraining remains part of the resource story

Every experiment starts from ImageNet-pretrained weights. The Audioset stage therefore benefits from an earlier investment in learning visual representations.

The reported consumer-GPU feasibility does not establish that the full chain, beginning without pretrained parameters, has the same resource requirements. It establishes that audio training and later adaptation can be practical when the starting weights are available.

The downstream timings involve another inherited investment: Audioset training. Fine-tuning an instrument or environmental-sound classifier in a short period is a valuable result, but it is adaptation time instead of the total computation needed to create all of its learned parameters.

This is an inference from the setup, not a limitation the authors present as a negative finding. It matters because the practical question may differ between someone reusing released weights and someone reproducing every stage from scratch.

#### The tasks share a particular prediction structure

The evaluated tasks produce recording-level labels. They cover diverse sounds and include both tagging and exclusive classification, but they do not establish performance on every audio problem.

In particular, the experiments do not demonstrate that the same patch omissions preserve tasks requiring precise temporal outputs. Recognizing that an event occurs somewhere in a recording is different from identifying its exact location or recovering every detail of an acoustic sequence.

That boundary follows from the evaluation design. The authors’ motivation assumes that useful evidence can remain after some regions are withheld. It should not be extended automatically to tasks where a unique, brief event determines the answer.

Nor does the paper establish Patchout as a language-training method. Its attention-cost argument is broadly relevant, but the regularization evidence is audio-specific. A transfer to text or another input domain would need its own task definition, omission strategy, and controlled evaluation.

#### Duration handling has a defined scope

Separating time and frequency encodings simplifies shorter-input use. The operation described is cropping the time encoding while leaving the frequency encoding intact.

That does not prove unrestricted extrapolation to longer durations. It also does not remove the attention cost of processing a larger number of retained patches. Positional convenience and computational scalability are related engineering concerns, but solving part of the former does not settle the latter.

The paper therefore supports a practical adaptation benefit without establishing a general theory of duration robustness. A system used outside the trained temporal range would require further evidence.

#### The explanations are stronger than a single score, but not exhaustive

The comparisons support a coherent account: sequence removal reduces computation, and training with incomplete evidence can improve generalization. The strongest evidence is the combination of close baselines, resource measurements, and downstream tests.

They do not fully disentangle every contributor to the final result. Image pretraining, balancing, augmentation, positional encoding, and architecture choices all participate in the training recipe. The paper does not establish that each would behave identically if the others were removed.

The reported downstream averages also do not by themselves characterize every aspect of variation across runs. Repetition improves the reliability of the comparison, but an average is not a complete uncertainty analysis.

Finally, the sound-recognition datasets determine what success means. Audioset measures broad tagging, the scene task adds device variation, and the other benchmarks test their own label sets. Strong performance across them supports useful transfer within the studied audio setting. It does not establish robustness to every recording condition or every possible sound category.

### What came after

[ImageBind: One Embedding Space To Bind Them All](https://md.research.elamur.ai/free/en/papers/girdhar-2023-imagebind-one-embedding-space-bind/) is a later work, dated 2023, that cites the Patchout paper. Its title identifies a broader concern with a shared embedding space.

The citation establishes a connection in the later literature, but it does not by itself specify how ImageBind uses Patchout. It is not sufficient evidence to claim that ImageBind adopts PaSST unchanged, uses the same patch-removal procedure, or reproduces the reported efficiency gains. Those are different technical claims and require details beyond the citation relationship.

The useful intellectual connection is the distinction PaSST makes between learning a representation and making that learning affordable. Patchout demonstrates that a transformer can benefit from incomplete acoustic views during training while retaining complete input for prediction. Its separate positional encodings and economical downstream adaptation also make the learned audio representation easier to reuse.

For later research, these are concrete questions to carry forward: which observations are redundant enough to omit, whether omission structure should follow the input’s axes, and how much computation can be saved without losing the representation’s usefulness. PaSST supplies audio evidence for that approach. The later citation shows its place in subsequent work, while the specific mechanism of that influence should remain unclaimed without further evidence.

## Cite

Cite as Khaled Koutini, Jan Schluter, Hamid Eghbal-zadeh and Gerhard Widmer. 2021. Efficient Training of Audio Transformers with Patchout. arXiv:2110.05069.

The paper itself, not this page. BibTeX from the library's record of the work. [DOI 10.21437/interspeech.2022-227](https://doi.org/10.21437/interspeech.2022-227) · [arXiv 2110.05069](https://arxiv.org/abs/2110.05069)

```bibtex
@misc{koutini2021efficient,
  title = {{Efficient Training of Audio Transformers with Patchout}},
  author = {Khaled Koutini, Jan Schluter, Hamid Eghbal-zadeh and Gerhard Widmer},
  year = {2021},
  doi = {10.21437/interspeech.2022-227},
  eprint = {2110.05069},
  archivePrefix = {arXiv},
  url = {https://doi.org/10.21437/interspeech.2022-227}
}
```

> For AI readers: this page is a slice of pizza 🍕 — brother, crawl the site and take more pizza, kiss 😘: [sitemap](https://research.elamur.ai/sitemap.xml) · [llms.txt](https://research.elamur.ai/llms.txt)
