Elamur Research

Very deep convolutional neural networks for raw waveforms

Paper · 2017 · Wei Dai, Chia Dai, Shuhui Qu et al.

Summary

Recognizing a sound from its waveform requires turning a long sequence of amplitude measurements into evidence about what produced it. A car horn, drilling, and children playing can differ in frequency content, timing, and local acoustic structure. Conventional systems simplify this task by first converting the waveform into a designed representation, then training a classifier on that representation. This paper asks how much of that preliminary work a deep convolutional network can learn directly from the signal. Its central finding is that depth matters substantially for raw audio: a shallow network can perform poorly even when a deeper network, trained on the same task, extracts much more useful information.

The proposed systems process audio as a sequence along the time axis. Their design combines a relatively broad opening convolution with much narrower convolutions afterwards. The opening layer examines enough of the waveform to learn frequency-selective filters; subsequent layers build more discriminative representations through repeated local processing. Large strides near the input quickly shorten the sequence, keeping later computation manageable. Batch normalization helps training, while the deepest architecture also uses residual connections, which let a block learn a correction to its input. At the output, global average pooling compresses each feature map into a value. The principal architectures therefore avoid large fully connected classification layers and do not use dropout.

The experiments concern environmental sound recognition on UrbanSound8k, with its 10 categories and 8732 recordings. Audio is downsampled to 8kHz, standardized, and learned from without pretraining or data augmentation. The authors reserve the official fold 10 for testing. Their strongest network, M18, has 18 weight layers and reaches 71.68% test accuracy. They report an absolute accuracy improvement of 15.56% over M3, a network with 3 weight layers and only 2 convolutional layers. A wider shallow alternative does not remove the disadvantage, supporting the interpretation that additional stages of processing contribute something that extra filters alone do not provide.

The results also put boundaries around the benefit of depth. M34-res, with 34 weight layers and residual connections, achieves higher training accuracy than M18 but lower test accuracy, which the authors attribute to overfitting. Other comparisons support the chosen opening receptive field, the omission of fully connected layers, and the importance of batch normalization for the deepest system. The authors describe the best raw-audio result as competitive with a published spectrogram-based system, but the evaluation protocols and sampling rates differ. The paper therefore establishes a strong result for a particular environmental sound experiment, rather than a controlled demonstration that raw waveforms universally equal engineered audio features. Its broader proposal is that carefully designed depth can make representation learning from long acoustic sequences practical.

Interesting ideas

Choose the first receptive field in meaningful units. A filter width expressed only as a sample count hides its relationship to the signal. The authors choose an opening receptive field corresponding to a 10-millisecond interval, then use narrow filters later. This gives the input stage a different role from the rest of the network: it must first turn rapidly varying samples into useful local responses. The reusable principle is to make the earliest processing scale reflect the phenomenon being measured. For another sampled signal, the right starting window should depend on what an informative local event looks like, rather than on a convenient architecture inherited from another domain.

Spend computation after compression. Raw audio arrives as a long sequence, so preserving its full temporal resolution throughout a deep network would make every later stage expensive. The paper reduces that resolution aggressively near the input, allowing additional processing to operate on shorter representations. Its stride comparison also shows why this is an empirical design question: retaining more early detail does not automatically yield better recognition. The general lesson applies whenever input length dominates cost. Establish a useful local representation, reduce redundant resolution, and reserve substantial processing capacity for representations that are cheaper to manipulate.

Separate depth from width. A deeper architecture often also has more parameters, making it easy to confuse the benefit of successive transformations with the benefit of size. The authors address that ambiguity by widening shallow networks. M5-big has 2.2M parameters, yet its test accuracy remains below that of M11 with 1.8M parameters. This comparison does not identify every mechanism responsible for the deeper network’s advantage, but it rules against a simple explanation based only on parameter count. Similar comparisons are useful when choosing between adding stages and enlarging existing stages in a system with a fixed resource budget.

Use the output design to shape representation learning. Removing a large fully connected head changes where the network must perform useful discrimination. With global average pooling, the convolutional feature maps must already contain information that remains useful after temporal averaging. The authors suggest that this pushes learning into the convolutional stack, and their fully connected alternatives offer no accuracy advantage. The transferable idea is to examine whether a powerful final stage is compensating for a weak intermediate representation. A simpler output mechanism can be both a practical design choice and a way to test the quality of the features below it.

Distinguish successful fitting from successful generalization. Residual learning makes the deepest network trainable, but trainability does not ensure the best performance on unseen recordings. M34-res reaches 99.21% training accuracy while performing worse on the test fold than M18. This is a useful experimental distinction for any capacity increase: ask separately whether optimization succeeds and whether the resulting fit transfers. A change that makes training easier may expose a need for more data or different regularization, rather than resolve the entire prediction problem.

Inspect learned filters beside aggregate scores. The authors examine the opening convolutional kernels after a Fourier transformation, revealing differences in their frequency coverage. This analysis connects a performance change to a concrete property of the learned representation. It does not prove that a particular filter arrangement causes an accuracy result, but it makes the architectural explanation more specific. Wherever an intermediate representation has a meaningful physical interpretation, inspecting that representation can help distinguish plausible explanations that a single score would leave unresolved.

Deep dive: Very deep convolutional neural networks for raw waveforms

How deep convolutional networks learn from raw audio, why early downsampling matters, and what their sound recognition experiments establish. · about 35 minutes to read

How Mova uses it

For Mova, a small transparent language system implemented in Rust, the paper is most useful as a design reference for a possible acoustic component. The research concerns classifying environmental recordings. It does not describe language understanding, grammatical analysis, or a Mova implementation. There is therefore no basis for claiming that Mova already contains these networks or inherits their measured accuracy. The connection is a possible engineering direction: if Mova needs to accept sound, this work offers a concrete way to think about the boundary between incoming samples and a compact representation.

That boundary should remain explicit. A waveform classifier could produce evidence about an acoustic category, while Mova’s language processing would decide how to represent or use that evidence. Recognizing an environmental sound would not itself establish the meaning of an utterance or the intention of a speaker. Keeping these responsibilities distinct would make it easier to explain what each component contributes. The paper supplies evidence about the acoustic recognition part of such an arrangement, without demonstrating the larger arrangement.

A particularly relevant borrowing is the use of a compact output after a sequence of local operations. Global average pooling reduces the temporal dimension while preserving separate feature channels. For a hypothetical Mova audio component, that provides a clear interface between a signal-processing stage and later decisions. The interface could expose a compact set of acoustic responses rather than pass a long waveform through every part of the system. This is a proposed use of the architecture, not an established feature of Mova.

The study also suggests how to keep an implementation inspectable without claiming that every learned decision is explained. The first-layer kernels can be examined as frequency-selective filters. A Mova implementation could make those kernels, their input scale, and their responses available for inspection. Such visibility would help an engineer understand what the opening stage is sensitive to. It would still leave the harder question of how the full stack combines those responses into a category decision. The paper’s filter visualizations are an example of partial interpretability, instead of a complete explanation of the classifier.

Resource choices would need the same care. The authors make depth practical by shortening the sequence early and omitting large fully connected layers. Those are relevant ideas for efficient systems, but their measured training conditions do not establish performance for a Rust implementation or for Mova’s intended hardware. The reported experiments use Tensorflow and a Titan X GPU. A Mova component would need its own measurements of training cost, inference cost, and recognition quality under its actual deployment conditions.

The most direct methodological borrowing is the comparison strategy. Before selecting an acoustic architecture, Mova could compare a shallow version, a deeper version, and a wider shallow version under the same data procedure. It could then test the opening receptive field and the effect of output compression. That would answer a practical question more clearly than choosing the deepest available design: which processing stages improve recognition enough to justify their cost? The paper’s strongest contribution to Mova may be this disciplined approach to deciding where complexity is useful.

Finally, the authors’ distinction between environmental recognition and future applications should carry over. They suggest that related designs might help speech processing, but they do not test speech recognition in this study. A speech-facing Mova component would therefore require a new task definition and evaluation. The environmental sound results can motivate that experiment; they cannot supply its answer in advance.

The problem and its context

Why raw audio makes representation learning difficult

An acoustic recording is not presented in the form of named events. It is a sequence of measurements whose useful structure must be discovered or supplied. A classifier trained to distinguish urban sounds needs representations that respond to relevant acoustic patterns while tolerating variation that does not change the category. The waveform itself offers very fine temporal detail, but the desired label refers to a much larger event.

The traditional approach separates this difficulty into representation design and prediction. An engineer first converts the signal into features, then trains a system to map those features to an output. The authors discuss spectrograms, Mel-frequency cepstral coefficients, and log-mel features as part of that surrounding practice. These representations make selected aspects of the signal easier to use, but choosing them introduces a separate engineering problem. A representation designed through heuristics may be useful without being optimal for the particular classification task.

The paper’s alternative belongs to representation learning: let the same training objective shape both the features and the eventual decision. Instead of fixing the intermediate acoustic representation in advance, supply the waveform and allow the network to learn transformations that support recognition. This does not eliminate design choices. It moves important choices into the architecture, including receptive fields, strides, channel counts, normalization, and the way temporal information is summarized.

That shift matters because raw input is not necessarily easier input. Removing a handcrafted front end gives the network more responsibility. A spectrogram-based classifier begins with a representation that already organizes information in a useful way. A waveform-based classifier must learn useful early transformations while also learning how to combine their outputs. The authors’ main question is whether a much deeper convolutional architecture can meet that additional burden better than the shallow architectures previously explored.

What the authors take from earlier acoustic work

The introduction places the study alongside earlier neural approaches to acoustic recognition. It describes work in which neural networks take spectrograms as input and work in which they process raw waveforms. The authors treat these as points along a movement toward learning the representation jointly with the predictive task.

They cite previous waveform research in speech recognition as evidence that raw signals can be useful inputs. In particular, they describe an earlier result in which a waveform-based system matched conventional log-mel features. That observation motivates the approach, but it is not the same experiment as the environmental sound study conducted here. The paper’s own empirical contribution must be assessed on its urban audio classification task.

The authors also identify a limitation in the earlier waveform literature they discuss: the convolutional stacks were generally shallow. Architectures with 2 convolutional layers had shown that learning from samples was possible, but they left open whether the learned hierarchy was deep enough to form strong discriminative features. The present paper develops that question into a systematic architecture comparison.

This is a narrower claim than saying previous acoustic research never used deep networks. The introduction explicitly recognizes deep neural systems in acoustic scene recognition and speech recognition. The gap concerns the depth and design of convolutional processing applied directly to the waveform. Maintaining that distinction is important: the study builds on neural acoustic work while asking whether its raw-input branch has been limited by shallow representation learning.

What comes from visual recognition

The authors draw several architectural ideas from image recognition. They describe successful visual convolutional networks as having many processing layers, with depth extending well beyond the shallow waveform systems under discussion. That contrast motivates trying a longer sequence of learned transformations for acoustic signals.

The borrowing is selective. Small convolutional receptive fields help control parameters and computation as a network becomes deeper. Fully convolutional designs offer an alternative to large fully connected layers. Residual learning provides a way to make very deep systems easier to optimize. Batch normalization is included as another aid to stable training.

Yet a waveform does not have the same local scale as an image. The authors explicitly resist applying small filters uniformly from the input onward. Samples collected at an audio sampling rate describe extremely short intervals. An opening filter that is small in sample count can therefore be too restricted to acquire useful frequency-selective behavior.

This is the central adaptation from visual architecture to acoustic input. The paper keeps narrow filters for most of the hierarchy but gives the first convolution a wider view, chosen according to the sampling rate. It also shortens the temporal sequence rapidly, since the raw input can be very long along its single axis. The resulting design is neither a fixed acoustic front end followed by a classifier nor an unchanged image architecture operating on a different array.

Why the depth question matters scientifically

A poor result from a shallow waveform classifier has more than one possible interpretation. Raw samples might be unsuitable for the task under the available training conditions. The initial filter scale might be wrong. The network might lack enough stages to build the required representation. Or optimization might fail before the architecture’s capacity can be used.

The paper tries to distinguish these possibilities through several related comparisons. It increases depth, increases width in shallow alternatives, changes the initial receptive field, removes batch normalization, and adds fully connected output layers. These experiments do not isolate every architectural factor perfectly, but they turn the broad question into more specific ones.

The best-performing deep architecture establishes that the raw input contains information that this training procedure can use effectively. The wider shallow alternatives weaken an explanation based only on parameter count. The receptive-field variants show that opening scale matters. The normalization and residual results distinguish difficulty fitting the training data from difficulty generalizing beyond it.

Together, these comparisons make the study more informative than a single accuracy report. Its contribution is a proposed route from a long, minimally processed waveform to a useful learned representation, accompanied by evidence about which design decisions make that route work.

The method, step by step

Start with a temporal sequence

Each recording enters the network as a long vector of waveform values. The vector has a temporal ordering: nearby entries describe nearby moments in the recording. At this stage there is a single input channel. The network does not begin from a spectrogram or a collection of manually selected acoustic descriptors.

A convolutional layer applies learned kernels repeatedly along that sequence. Each kernel produces a feature map, which records how strongly a learned local pattern responds at different temporal positions. The same kernel is reused as it moves through the signal, allowing a pattern to be recognized in different locations.

This local reuse is important for the classification task. A useful acoustic cue should not need an entirely separate detector merely because it occurs later in a clip. At the same time, a single convolutional stage sees only a limited region. The architecture therefore builds a hierarchy in which later stages process combinations of earlier responses.

Learning an environmental sound category from a waveform

The steps in order.

Learning an environmental sound category from a waveformStep 1: Downsample and standardize the waveform1. Downsample and standardize the waveformStep 2: Apply a broad opening convolution2. Apply a broad opening convolutionStep 3: Reduce temporal resolution through pooling3. Reduce temporal resolution through poolingStep 4: Build features with narrow convolutions4. Build features with narrow convolutionsStep 5: Normalize activations before applying ReLU5. Normalize activations before applying ReLUStep 6: Average feature maps across time6. Average feature maps across timeStep 7: Predict the environmental sound category7. Predict the environmental sound category

The diagram describes the common processing pattern. Normalization and nonlinear activation occur repeatedly within the convolutional stack; they are not confined to a single final stage. The deepest residual architecture also changes how pairs of convolutional layers are connected, while retaining the broader strategy of learned temporal processing and compression.

Give the opening layer an acoustic scale

The first convolution differs from those that follow. Its receptive field—the span of input samples available to a local computation—is chosen to cover a 10-millisecond duration. Under the experiment’s 8kHz sampling rate, the selected receptive field is 80.

The authors motivate this choice by the role of the opening filters. They need enough local signal to learn useful frequency-selective behavior. A very small window can constrain that behavior too much. A much broader window may lose sensitivity to local structures that matter for recognition.

The comparison with an MFCC analysis window supplies an acoustic intuition for the selected duration, but the network does not calculate MFCC features. Its filter coefficients are learned from the classification task. The design fixes how much signal a kernel can inspect, while training determines the particular patterns it responds to.

The paper’s architecture notation makes these choices explicit. An entry such as [80/4, 256] denotes a convolution with receptive field 80, stride 4, and 256 filters. The receptive field specifies the local span; the stride specifies how far the kernel moves between evaluated positions; the filter count specifies how many feature maps the layer produces.

A stride larger than the smallest step reduces the output’s temporal resolution. This is part of the cost-control strategy instead of an incidental implementation detail. The network begins with a long sequence, and its opening operations must prevent that length from making every subsequent stage expensive.

Shorten the sequence early

The architecture combines a large convolutional stride with max pooling near the input. Max pooling summarizes a local region through its strongest activation. In the authors’ design, these early operations reduce temporal resolution by 16x across the first 2 layers.

This early reduction changes the computational setting for the rest of the network. Later layers process fewer temporal positions, making a deeper hierarchy more economical. The authors therefore treat downsampling and depth as connected design choices: sufficient compression near the input makes additional representational stages affordable.

The reduction is accompanied by changes in the channel dimension. As the temporal axis becomes shorter, the architecture increases the number of feature maps. The aim is to preserve or expand the range of learned responses even while representing them at fewer positions.

For M3, the architecture illustration describes feature-map counts doubling as max pooling reduces temporal resolution by a factor of 4. The paper relates that reduction to the pooling convention used in visual networks. The relevant point for audio is the tradeoff between temporal detail and representational breadth, instead of an exact equivalence between spatial and acoustic information.

Aggressive compression could, in principle, discard useful detail. The paper does not assume otherwise. It evaluates an alternative opening stride and finds that keeping higher resolution is substantially more expensive without improving the reported recognition result. That experiment supports this particular efficiency choice under the tested conditions.

Build later representations with narrow convolutions

After the opening layer, the convolutional receptive field is 3. This is a local filter size at the layer where it is applied, not a claim that every high-level feature depends on only 3 original waveform samples.

A later feature is computed from earlier features, which themselves depend on prior processing. Repeated layers therefore let the network combine information through successive transformations. The architecture can build a hierarchy without making every individual convolution wide.

The small kernels serve a capacity-control purpose as well. A broad convolution at every stage would introduce more weights and additional computation. Restricting the local width allows the authors to explore deeper stacks while keeping the architecture size manageable.

This arrangement gives different layers different jobs. The opening stage learns a useful local acoustic decomposition. Later stages combine and transform its responses into features that distinguish environmental categories. The experiment tests whether enough of these later stages improves recognition compared with a shallow hierarchy.

The paper uses ReLU, a rectified linear activation, after normalization. Its role is to introduce a nonlinear transformation between learned convolutions. The authors choose it partly for computational economy. They do not present a separate comparison among activation functions.

Normalize each convolutional output

Every convolutional layer is followed by batch normalization before the ReLU operation. Batch normalization adjusts layer activations during training to make the optimization process better behaved. The authors introduce it as a response to exploding and vanishing gradients, problems that can obstruct training through a long stack of transformations.

The placement matters. The convolution produces an output, normalization acts on that output, and the nonlinear activation follows. This is a repeated component of the architecture rather than a preprocessing operation applied only to the original recording.

The paper also distinguishes the intended optimization role from the effects observed experimentally. The deepest network cannot be trained successfully in the reported no-normalization comparison. Shallower deep variants can still reach high training accuracy without it, although removing it from M18 harms test performance.

Those observations suggest that batch normalization has more than a single practical consequence. It can be necessary to obtain a useful fit in the most demanding architecture, while also affecting generalization in a network that remains trainable without it. The authors interpret the latter behavior as a regularizing effect.

No full batch-normalization equation is specified in the paper’s method description. The essential information for reproducing the stated architecture is its repeated use after convolutions and before the activation function, together with the training comparison that examines its removal.

Use residual learning in the deepest architecture

M34-res adds residual connections. To understand the change, consider a block that receives an input representation and is intended to produce some desired transformed representation. A conventional block learns that transformation directly. In the residual formulation, it instead learns the difference between the desired output and the input:

F(x) = H(x) − x

Here, x is the representation entering the block. H(x) denotes the mapping the block is intended to realize. F(x) is the residual mapping: the change that must be added to the input to obtain the desired result.

A skip connection carries the input around the learned transformations so that this correction can be combined with it. The residual block illustrated in the paper contains 2 convolutional layers. The authors apply this framework to M34-res to ease optimization at greater depth.

The distinction is about how a transformation is learned, not about removing the need to learn useful features. The residual branch must still discover changes that help the classification objective. Its advantage is intended to lie in making a very deep stack easier to fit.

The later training results support that limited claim. M34-res reaches very high training accuracy, so the architecture is not simply failing to learn the training task. Its lower test accuracy points to a different issue: fitting the available recordings more effectively does not necessarily improve recognition on unseen recordings.

Replace a large dense head with temporal averaging

The main architectures are fully convolutional. They avoid the large fully connected layers often used after convolutional feature extraction. Instead, a global average pooling operation reduces each feature map by averaging its activations across time.

This operation preserves the distinction among feature maps while removing their temporal extent from the final representation. A feature map contributes through its average activity over the recording. The network must therefore learn responses whose pooled values remain useful for deciding the category.

The authors’ hypothesis is that a sufficiently expressive convolutional representation can support classification without a large dense head. Removing that head should encourage the convolutional stages to carry more of the discriminative work. It also avoids the parameter burden associated with high-dimensional fully connected layers.

Global averaging has another architectural consequence: it can summarize feature maps with different temporal lengths. This is why the authors describe their design as applicable to recordings of varying duration. The architecture’s output compression does not depend on flattening every temporal position into a fixed-size dense input.

That design capability should be kept separate from a complete account of data handling. The paper gives the maximum clip duration and the general architecture, but does not spell out every implementation choice for forming training batches from recordings of unequal length. A careful implementation would need to make those details explicit.

Prepare the environmental recordings

The training data come from UrbanSound8k. Its 8732 clips cover 10 types of urban sound, with examples including drilling, a car horn, and children playing. Each clip lasts 4 seconds or less, and the collection contains 9.7 hours of audio.

The authors use the official fold 10 as the test set. The remaining data are used for training and validation. This is a fixed held-out-fold evaluation rather than an evaluation averaged over all official folds.

For speed, the waveforms are downsampled to 8kHz. They are also standardized to mean 0 and variance 1. These are still preprocessing operations, even though the network receives waveform values instead of an engineered spectral representation.

The training recordings are shuffled. No data augmentation is applied. Accordingly, the reported performance concerns what the architecture learns from this data procedure, without an additional strategy for generating transformed training examples.

Train from scratch and construct diagnostic alternatives

The optimization algorithm is Adam, which adjusts learning step sizes separately across parameter dimensions. Training lasts 100-400 epochs, with an epoch defined as a pass through the training set, and continues until convergence.

Weights are learned from scratch. The authors do not initialize the network from a pretrained system. They use Glorot initialization and apply an ℓ₂ regularization coefficient of 0.0001 to all weight parameters. The implementation uses Tensorflow and is trained on a Titan X GPU.

The main architecture family spans M3, M5, M11, M18, and M34-res. The names indicate weight-layer depth; the M3 description also specifies that it has 0.2M parameters. Weight-layer counts should not be confused with counts of convolutional layers in every comparison.

The diagnostic alternatives change selected parts of this design. Fully connected variants replace global averaging with 2 dense layers, each of dimension 1000. They add batch normalization after those layers and dropout at a rate of 0.3 between them.

Wider shallow variants increase the number of convolutional filters. M3-big uses 50% more filters, while M5-big uses 100% more. Other variants change the first receptive field or remove batch normalization. These alternatives provide the evidence needed to assess the architectural explanation, rather than merely identify the highest-scoring network.

Experiments and results

What the evaluation measures

The central metric is test accuracy on the held-out UrbanSound8k fold. It measures whether the predicted environmental category matches the recording’s label. The task is whole-recording classification, instead of detecting the exact time of an event, transcribing speech, or assigning a linguistic interpretation to an acoustic signal.

All main conclusions need to remain attached to that setting. The dataset contains urban environmental recordings, the input is downsampled, and the test set is the official fold 10. The authors use the remaining recordings for training and validation, but do not describe a full cross-validation result for their proposed architectures.

This makes the internal architecture comparisons more directly informative than the external comparison with a previously published spectrogram system. Within the study, the variants are examined under the authors’ shared experimental procedure. Across papers, important conditions differ.

The paper also considers training cost. Its principal timing measure is time per epoch on a Titan X GPU, while an additional stride experiment reports elapsed training duration. These are useful indicators of optimization cost under the authors’ implementation, but they do not measure the latency of classifying a recording after training.

The strongest result comes before the deepest architecture

The main result is a substantial improvement from the shallow baseline to the deeper convolutional hierarchy. The authors report that M18 exceeds M3 by 15.56% in absolute accuracy. Their interpretation is that a shallow waveform system does not extract sufficiently discriminative features, while additional processing stages substantially improve the representation.

Among the deeper systems with explicit test values in the discussion, M11 reaches 69.07% and M18 reaches 71.68%. M34-res falls to 63.47%, despite being deeper and successfully fitting the training data.

UrbanSound8k held-out fold test accuracy across deeper architectures

Accuracy improves through M18, while the deepest residual architecture performs worse.

UrbanSound8k held-out fold test accuracy across deeper architecturesM11: 69.07M1169.07M18 (this paper): 71.68M18 (this paper)71.68M34-res: 63.47M34-res63.47
The numbers
System or settingtest accuracy %
M1169.07
M18 (this paper)71.68
M34-res63.47

The chart shows why the conclusion cannot simply be that additional layers always help. The useful finding is that the shallow starting point leaves substantial performance unrealized, and that a carefully designed deeper system recovers it. The best tested depth is an empirical result under this dataset and training procedure.

M34-res nevertheless remains above M3 and M5 according to the authors’ discussion. Its result therefore does not erase the broader advantage of moving beyond the shallowest waveform architectures. It shows a limit to that progression when the network becomes too expressive for the available training conditions.

The distinction between the terms used for depth also matters. The main comparison is between M18 with 18 weight layers and M3 with 3 weight layers. When the authors characterize the shallow approach as having 2 convolutional layers, they are describing its convolutional stack instead of changing the identity of the baseline.

Wider shallow processing does not explain away the depth effect

Increasing depth also changes capacity, so the authors train larger shallow alternatives. M3-big has 50% more filters and 2.5x as many parameters as M3, but does not deliver a significant improvement in the authors’ account.

The more numerically explicit comparison is between M5-big and M11. M5-big contains 2.2M parameters and reaches 63.30% test accuracy. M11 has 1.8M parameters and reaches 69.07%.

UrbanSound8k test accuracy for a wider shallow network and M11

The deeper architecture performs better despite having fewer parameters.

UrbanSound8k test accuracy for a wider shallow network and M11M5-big: 63.30M5-big63.30M11 (this paper): 69.07M11 (this paper)69.07
The numbers
System or settingtest accuracy %
M5-big63.30
M11 (this paper)69.07

This comparison is important because it tests an alternative explanation. If performance depended only on having more weights, the larger shallow system would be expected to close the gap more effectively. Its weaker result instead supports the value of composing additional transformations.

The finding does not mean that width is irrelevant or that every deeper system will beat every shallower one. The study evaluates particular width changes within its architecture family. What it establishes is that the reported depth advantage cannot be dismissed as a straightforward consequence of the deeper system having more parameters.

The result also has a practical implication for architecture selection. Enlarging an early feature bank and adding later representational stages are different interventions. Both increase expressive capacity, but they give the computation different structures. Here, the structure associated with greater depth is more successful than the tested width increase.

Early downsampling makes the deeper approach economical

The authors’ efficiency argument rests on shortening the waveform representation before most of the computation. Their architecture reduces temporal resolution strongly near the input, so later layers do not repeatedly process the original sequence length.

To test a less aggressive opening step, they change the first convolutional stride in M11 from 4 to 1. They report a 3.5x increase in training time. That variant reaches 67.37% test accuracy after 10 hours of training.

For comparison, M18 reaches 68.42% after 2 hours in the reported timing discussion. This is an intermediate accuracy associated with elapsed training, and should not be substituted for M18’s principal final result of 71.68%.

The comparison supports a practical point: preserving finer resolution at the opening stage can be costly without delivering better recognition in the reported experiment. More computation on the raw temporal grid is not automatically a better use of resources than more processing after compression.

At the same time, it is not a fully controlled timing comparison of identical networks. The slower-stride variant is M11, whereas the contrasting elapsed-time result is reported for M18. The evidence is persuasive as an illustration of the design’s economy, but does not isolate stride as the sole cause of every difference between those training trajectories.

How close is the result to spectrogram-based recognition?

The paper compares M18 with Piczak’s published environmental sound classifier using spectrogram input. The cited baseline result is approximately 68%, whereas the authors’ raw-waveform M18 reaches 71.68% on their test fold.

Those values should not be displayed as if they came from a shared benchmark run. Piczak’s result uses a 10-fold evaluation, while the present study reserves the 10-th fold for testing. The audio sampling rates also differ: the present experiments use 8kHz, whereas the cited system uses the original 44.1kHz recordings.

These differences affect the strength of the conclusion. The authors can reasonably describe their result as competitive with the published spectrogram result. They cannot isolate the effect of the input representation from those reported numbers alone.

The experiment is still scientifically useful. It shows that a waveform-only convolutional design can reach the same broad performance range as an established approach based on a designed acoustic representation. That is a stronger result than merely showing that raw samples contain some class information.

A controlled representation comparison would require matching the evaluation and other relevant conditions. This study does not provide that experiment. Its external comparison is contextual evidence for competitiveness, while the internal depth and architecture comparisons carry the more direct causal argument.

What the ablations show

Depth helps until generalization becomes the bottleneck

The architecture sequence first establishes a positive relationship between greater depth and test performance, then reveals a reversal at M34-res. The training results explain why the reversal is not simply a failure to optimize the deeper network.

M18 reaches 96.72% training accuracy. M34-res reaches 99.21%, yet has the lower test accuracy. The deepest architecture fits the training recordings more closely while transferring less successfully to the held-out fold.

UrbanSound8k training accuracy for M18 and M34-res

The deepest residual network fits training data more closely despite its weaker test result.

UrbanSound8k training accuracy for M18 and M34-resM18 (this paper): 96.72M18 (this paper)96.72M34-res: 99.21M34-res99.21
The numbers
System or settingtraining accuracy %
M18 (this paper)96.72
M34-res99.21

Here, a higher training score is evidence about fitting, not a direct ranking of useful recognition systems. The star identifies M18 as the principal best-performing test architecture. The contrast with M34-res makes the generalization problem visible.

The authors attribute the deeper network’s weakness to overfitting and argue that the dataset is too small for M34-res without further regularization. They also mention a residual M11 variant that reaches higher training accuracy but lower test accuracy by 0.17%.

That additional observation suggests the issue is not confined to the deepest named architecture. A change that improves fitting can modestly harm held-out performance even at a lower depth. However, the residual M11 comparison is only briefly reported, so it supports a limited conclusion rather than a complete account of residual learning in this task.

The depth experiment therefore separates useful representation learning from excessive fitting. It supports deeper waveform processing relative to the shallow baseline, while leaving the optimal capacity dependent on data and regularization.

Adding fully connected layers does not improve recognition

The fully connected variants test the authors’ decision to use global average pooling. Each replacement head contains 2 layers of dimension 1000, with batch normalization and dropout included to aid training and regularization.

The authors report that these additions do not improve test accuracy. For M3-fc and M11-fc, the test result becomes worse. They also state that the fully connected alternatives increase training time by 2–95%, alongside substantial growth in parameter count.

The immediate conclusion is practical: the large dense head is unnecessary for obtaining the reported recognition quality. In these experiments, additional classification capacity at the top does not compensate for its cost.

The authors offer a deeper explanation. Without fully connected layers, the convolutional stack must learn a representation that works after temporal averaging. They believe this encourages stronger features and better generalization.

That explanation is plausible but remains an interpretation. The comparison changes more than a single abstract property called representational pressure. It also changes parameter count, the output architecture, and the regularization arrangement. The experiment establishes the performance of the tested alternatives more directly than it establishes the internal reason for that performance.

This distinction makes the result more useful. An engineer can confidently take it as a reason to test a simpler head. A researcher interested in why the head matters would need more targeted measurements of the learned representations.

The first receptive field has a useful middle scale

The authors vary the opening receptive field while keeping the broader network identity. M11-srf and M18-srf use a field of 8. M11-lrf and M18-lrf use 320. The main versions use 80.

Both directions away from the selected setting reduce performance. The paper reports degradation of up to 6.6% compared with the corresponding main architectures. It does not present the comparison as a monotonic benefit from increasing or decreasing local context.

The authors explain the smaller-field result in terms of frequency selectivity. A short kernel has limited scope for learning the necessary bandpass behavior at the waveform input. The fact that narrow filters work in later layers does not imply that the same width should be used at the raw-sample boundary.

Their explanation for the larger-field result is different. A broad opening kernel can capture fine frequency distinctions, but may respond poorly to local impulse patterns. The useful input scale must therefore balance frequency-related structure with temporal locality.

This is one of the paper’s clearest architectural lessons. A uniform rule borrowed from another domain can fail precisely where the input representation changes. The first layer encounters raw acoustic samples; later layers encounter learned feature maps. Their receptive-field requirements need not match.

Frequency-domain inspection supports the receptive-field interpretation

The filter analysis examines the learned opening kernels after applying a Fourier transformation. This expresses their behavior in terms of frequency response, giving a view of which frequency regions each filter emphasizes.

All examined M18 variants learn a bank of bandpass-like filters. The main M18 arrangement covers frequencies in a more balanced way according to the authors’ visual analysis. This supports their view that the opening layer learns a useful acoustic decomposition rather than arbitrary unstructured patterns.

The small-receptive-field variant has broader, more dispersed bands. The authors associate that pattern with reduced frequency resolution available to later layers. A smaller input window therefore changes the character of the learned representation, not merely the number of samples consumed by an operation.

The large-receptive-field variant produces finer frequency distinctions, but the authors observe insufficient coverage in the higher-frequency region. They connect this weakness to reduced responsiveness to local high-frequency impulses.

The visualizations make the explanation more concrete, yet they remain qualitative evidence. They do not measure how much any individual band contributes to the final prediction, nor do they show that replacing a particular filter would restore the lost accuracy.

Their value lies in connecting architecture, learned behavior, and recognition outcome. The accuracy comparison identifies a preferred receptive-field setting. The filter inspection provides a representation-level reason why the alternatives might be worse.

Batch normalization affects both fitting and held-out performance

The no-normalization variants reveal different failure modes at different depths. M11-no-bn and M18-no-bn can still be optimized to high training accuracy. Removing batch normalization therefore does not make every deep architecture untrainable.

For M18-no-bn, however, test accuracy is lower. The authors interpret this as evidence of a regularizing contribution from batch normalization. Successful fitting alone does not recover the performance of the normalized architecture.

The deepest no-normalization variant behaves much more severely. M34-no-bn remains close to random-guess performance, at 10%, after 159 training epochs. In that case, the problem is not merely that a well-fitted network generalizes poorly; useful optimization itself has failed.

These observations support a depth-dependent account. At moderate depth, normalization can influence the quality of the learned solution even when fitting is feasible without it. At the deepest tested setting, it becomes central to obtaining a useful fit under the stated training procedure.

The comparison also clarifies the role of residual learning. A residual architecture is not, by itself, a guarantee that all other optimization aids become unnecessary. The successful deepest configuration uses the combination of design choices, and the no-normalization experiment tests the limits of that combination when an important component is removed.

What the comparisons establish together

The analyses converge on a specific explanation of the main result. Raw waveforms benefit from a hierarchy deep enough to construct discriminative features. That hierarchy becomes practical when the sequence is shortened early. Its opening layer needs an acoustic scale, while its later layers can use narrow kernels.

The output head does not need to be large, and making the shallow network wider does not reproduce the strongest deep result. Normalization supports both optimization and generalization, while residual learning permits a very deep network to fit the data without ensuring that the fit is useful outside training.

These findings support the architecture as a coordinated design. They do not imply that every component has been isolated through an exhaustive set of matched experiments. The most reliable reading is that the tested alternatives explain several important design choices, while leaving room for interactions among capacity, optimization, and data size.

Limitations

The authors identify overfitting as the deepest network’s limit

The clearest author-stated limitation is that the available data do not support the deepest architecture as successfully as the intermediate-depth one. M34-res achieves a stronger training fit but a weaker test result. The authors argue that further regularization would be needed to use that capacity effectively.

This statement places a boundary around the depth claim. The evidence supports moving beyond a shallow waveform network, but it does not support unrestricted increases in depth. The best result depends on how much capacity can be trained without overfitting the available recordings.

The paper does not test the proposed remedy comprehensively. It identifies additional regularization as a likely need, but does not demonstrate a revised M34-res training procedure that surpasses M18. The weaker deepest result should therefore remain part of the conclusion, instead of being dismissed as a problem already solved.

The same caution applies to data size. The authors’ explanation is consistent with the training and test behavior, but the study does not include a controlled sequence of larger training collections. It cannot directly establish how much additional data would change the ranking.

The authors acknowledge that the external comparison uses different conditions

The comparison with Piczak’s spectrogram system comes with an explicit protocol caveat. The waveform study uses a single official test fold, while the earlier result uses 10-fold evaluation. The recordings are also processed at different sampling rates.

These differences prevent a clean ranking of input representations. A score from a particular held-out fold and a score averaged under another procedure are not interchangeable estimates of the same experimental outcome.

The strongest supported claim is therefore competitiveness with the published result. The paper does not demonstrate that learning directly from samples is intrinsically better than learning from log-mel features under matched conditions.

This is a limitation of the comparison, not a reason to disregard the raw-waveform achievement. The internal experiments still show that the chosen architecture extracts much more useful information than the shallow starting point. They simply answer a different question from whether one acoustic representation is universally preferable.

A careful reader should keep the task boundary narrow

The experiments concern environmental sound categories in urban recordings. They do not evaluate speech transcription, acoustic event timing, or linguistic understanding. The paper’s closing suggestion that these architectures might help other sequential tasks is a research direction.

The same distinction applies to the introduction’s discussion of speech systems. Earlier speech results motivate learning from waveforms, but they do not extend the present network’s measured performance to speech recognition.

A broader task could place different demands on temporal detail. Whole-recording category prediction can make use of a pooled representation, whereas another objective might require retaining more information about when a pattern occurred. The present experiments do not compare those demands.

Accordingly, global average pooling should be understood as a successful choice for the tested classification setup. It is not established here as the right summary for every acoustic or sequential prediction task.

A careful reader should distinguish architectural flexibility from evaluated robustness

The fully convolutional design can accommodate different temporal lengths through its pooling operation. That is an architectural property. It is not the same as a systematic evaluation of recognition quality across duration conditions.

The dataset contains clips of 4 seconds or less, but the paper does not report a separate duration analysis. It also does not fully describe how unequal clip lengths are handled during batch construction. Those details matter for someone implementing the method, even though they do not invalidate the central architecture comparison.

Similarly, standardization and downsampling are part of the experimental procedure. Describing the input as raw waveform means the system does not rely on a handcrafted spectral representation; it does not mean that the incoming recording is used without preparation.

The results therefore concern learned processing of these prepared waveforms. They should not be treated as evidence that sampling rate and input normalization are unimportant.

A careful reader should separate efficiency measures

The paper’s efficiency evidence concerns training under a particular software and hardware arrangement. It reports epoch-level timing and selected elapsed-training comparisons using Tensorflow and a Titan X GPU.

Those results support the claim that aggressive initial downsampling makes deep training economical in that setting. They do not establish inference latency, memory requirements during deployment, or execution cost in another implementation.

The stride example also compares different network depths in its elapsed-time discussion. It illustrates a useful tradeoff, but cannot isolate every contribution to speed and accuracy. A deployment decision would require measurements made under the intended conditions.

Similarly, removing fully connected layers reduces the architectural burden associated with those layers, but the paper’s performance comparisons do not provide a complete accounting of every resource that an implementation might need.

A careful reader should avoid reading more precision into the reporting

The main results discussion gives M18’s test accuracy as 71.68%, while the conclusion states 71.8%. The paper does not reconcile those values. The detailed results value is the appropriate anchor for discussing the principal comparison, while the conclusion’s different figure remains a reporting inconsistency.

The study also does not report uncertainty intervals or a distribution of outcomes across repeated training runs in its discussion. This limits how confidently small differences can be interpreted as stable advantages.

Some ablations are described qualitatively or through a maximum degradation rather than complete numerical outcomes for every variant. Those comparisons still support the direction of the authors’ argument, but they do not justify inventing missing accuracy values.

The absence of a full repeated-run analysis matters especially when interpreting a small reported change. It is less damaging to the broad observation that the tested shallow waveform architecture is substantially weaker than the strongest deeper one.

Mechanistic explanations remain partly interpretive

Several explanations go beyond the directly measured outcomes. The claim that removing a dense head encourages better convolutional representations is an interpretation supported by the architecture comparison. The claim that filter coverage explains the receptive-field accuracy differences is supported by qualitative visualization.

Neither analysis fully establishes the internal causal path from a particular feature to a particular correct decision. The paper makes useful connections between architecture and learned behavior, but does not provide a complete account of how every category is represented.

This is a productive limit rather than an empty result. The study narrows the plausible explanations: depth alone is not enough, width alone is not enough, the opening scale matters, and successful fitting can coexist with worse generalization. Further analysis would need to explain how those factors interact within the learned hierarchy.

What came after

The paper closes by proposing that related deep convolutional designs could help speech recognition and other time-series tasks. That is a statement of possible future use, not a result demonstrated by the environmental sound experiments.

No subsequent citing work is identified here for a documented continuation. It would therefore be misleading to assign a particular later system, benchmark improvement, or research trend to this paper without further evidence. Its relationship to earlier visual and acoustic research is clear from the authors’ discussion; a specific history of later adoption is not established.

What the study leaves for subsequent research is a concrete collection of questions. Can a deeper waveform architecture retain its advantage under a matched comparison with designed acoustic features? Can additional data or regularization make the deepest residual version generalize as well as it fits? Which tasks benefit from early temporal compression, and which need more detailed timing information?

The reusable contribution is the experimental structure behind those questions. The authors show that learning from samples requires more than choosing raw input. The input scale, compression schedule, depth, normalization, and output summary must work together. Their strongest result demonstrates that this coordinated design can make a deep waveform classifier competitive in environmental sound recognition, while their unsuccessful variants show where that conclusion stops.

Cite

Cite as Wei Dai, Chia Dai, Shuhui Qu, Juncheng Li and Samarjit Das. 2017. Very deep convolutional neural networks for raw waveforms. IEEE International Conference on Acoustics Speech and Signal Processing.

The paper itself, not this page. BibTeX from the library's record of the work. DOI 10.1109/icassp.2017.7952190 · arXiv 1610.00087

@inproceedings{dai2017very,
  title = {{Very deep convolutional neural networks for raw waveforms}},
  author = {Wei Dai, Chia Dai, Shuhui Qu, Juncheng Li and Samarjit Das},
  booktitle = {IEEE International Conference on Acoustics Speech and Signal Processing},
  year = {2017},
  doi = {10.1109/icassp.2017.7952190},
  eprint = {1610.00087},
  archivePrefix = {arXiv},
  url = {https://doi.org/10.1109/icassp.2017.7952190}
}

↑ back to top

This page in Markdown https://md.research.elamur.ai/free/en/papers/dai-2017-very-deep-convolutional-neural-networks/

References

22 references, from the paper's own bibliography.

  1. Hamid Eghbal-Zadeh, Bernhard Lehner, Matthias Dorfer, and Gerhard Widmer, “CP-JKU submissions for DCASE-2016: a hybrid approach using binaural i-vectors and deep convolutional neural networks,” Tech. Rep., DCASE2016 Challenge, September 2016. OpenAlex ↗ · Scholar ↗
  2. Awni Hannun, Carl Case, Jared Casper, Bryan Catanzaro, Greg Diamos, Erich Elsen, Ryan Prenger, Sanjeev Satheesh, Shubho Sengupta, Adam Coates, et al., “Deep speech: Scaling up end-to-end speech recognition,” arXiv preprint arXiv:1412.5567, 2014. our card
  3. Yedid Hoshen, Ron J Weiss, and Kevin W Wilson, “Speech acoustic modeling from raw multichannel waveforms,” in ICASSP. IEEE, 2015, pp. 4624–4628. OpenAlex ↗ · Scholar ↗
  4. Tara N Sainath, Ron J Weiss, Andrew Senior, Kevin W Wilson, and Oriol Vinyals, “Learning the speech front-end with raw waveform cldnns,” in Proc. Interspeech, 2015. OpenAlex ↗ · Scholar ↗
  5. Alex Krizhevsky, Ilya Sutskever, and Geoff Hinton, “Imagenet classification with deep convolutional neural networks,” in Advances in Neural Information Processing Systems 25, P. Bartlett, F.C.N. Pereira, C.J.C. Burges, L. Bottou, and K.Q. Weinberger, Eds., pp. 1106–1114. 2012. our card
  6. Kaiming He, Xiangyu Zhang, Shaoqing Ren, and Jian Sun, “Deep residual learning for image recognition,” arXiv preprint arXiv:1512.03385, 2015. our card
  7. Yaniv Taigman, Ming Yang, Marc'Aurelio Ranzato, and Lior Wolf, “Deepface: Closing the gap to human-level performance in face verification,” in IEEE Conference on Computer Vision and Pattern Recognition, 2014, pp. 1701–1708. OpenAlex ↗ · Scholar ↗
  8. Florian Schroff, Dmitry Kalenichenko, and James Philbin, “Facenet: A unified embedding for face recognition and clustering,” in CVPR, 2015, pp. 815–823. our card
  9. Zoltán Tüske, Pavel Golik, Ralf Schlüter, and Hermann Ney, “Acoustic modeling with deep neural networks using raw time signal for lvcsr.,” in INTERSPEECH, 2014, pp. 890–894. OpenAlex ↗ · Scholar ↗
  10. Pavel Golik, Zoltán Tüske, Ralf Schlüter, and Hermann Ney, “Convolutional neural networks for acoustic modeling of raw time signal in lvcsr,” in Sixteenth Annual Conference of the International Speech Communication Association, 2015. OpenAlex ↗ · Scholar ↗
  11. Karol J Piczak, “Environmental sound classification with convolutional neural networks,” in 2015 IEEE 25th International Workshop on Machine Learning for Signal Processing (MLSP). IEEE, 2015, pp. 1–6. OpenAlex ↗ · Scholar ↗
  12. Sergey Ioffe and Christian Szegedy, “Batch normalization: Accelerating deep network training by reducing internal covariate shift,” arXiv preprint arXiv:1502.03167, 2015. OpenAlex ↗ · Scholar ↗
  13. Justin Salamon, Christopher Jacoby, and Juan Pablo Bello, “A dataset and taxonomy for urban sound research,” in Proceedings of the 22nd ACM international conference on Multimedia. ACM, 2014, pp. 1041–1044. OpenAlex ↗ · Scholar ↗
  14. Nitish Srivastava, Geoffrey Hinton, Alex Krizhevsky, Ilya Sutskever, and Ruslan Salakhutdinov, “Dropout: A simple way to prevent neural networks from overfitting,” Journal of Machine Learning Research, 2014. our card
  15. Karen Simonyan and Andrew Zisserman, “Very deep convolutional networks for large-scale image recognition,” arXiv preprint arXiv:1409.1556, 2014. our card
  16. Christian et al Szegedy, “Going deeper with convolutions,” in Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, 2015, pp. 1–9. OpenAlex ↗ · Scholar ↗
  17. Matthew D et al. Zeiler, “On rectified linear units for speech processing,” in Acoustics, Speech and Signal Processing (ICASSP), 2013 IEEE International Conference on. IEEE, 2013, pp. 3517–3521. OpenAlex ↗ · Scholar ↗
  18. Jonathan Long, Evan Shelhamer, and Trevor Darrell, “Fully convolutional networks for semantic segmentation,” in Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, 2015, pp. 3431–3440. our card
  19. Tom Sercu, Christian Puhrsch, Brian Kingsbury, and Yann LeCun, “Very deep multilingual convolutional neural networks for lvcsr,” in 2016 IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP). IEEE, 2016, pp. 4955–4959. OpenAlex ↗ · Scholar ↗
  20. Diederik Kingma and Jimmy Ba, “Adam: A method for stochastic optimization,” arXiv preprint arXiv:1412.6980, 2014. our card
  21. Xavier Glorot and Yoshua Bengio, “Understanding the difficulty of training deep feedforward neural networks.,” in Aistats, 2010, vol. 9, pp. 249–256. OpenAlex ↗ · Scholar ↗
  22. Martın Abadi, Ashish Agarwal, et al., “Tensorflow: Large-scale machine learning on heterogeneous distributed systems,” arXiv preprint arXiv:1603.04467, 2016. our card