ArticleslgStudy

computer science

Time delay neural network

Time delay neural network is a computer science topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Time delay neural network rather than just read about it. In short: Time delay neural network (TDNN) is a multilayer artificial neural network architecture whose purpose is to 1) classify patterns with shift-invariance, and 2) model context at each layer of the network. It is essentially a 1-d convolutional neural network (CNN).

Time delay neural network — main illustration
Time delay neural network — illustration

Key takeaways

  • Time delay neural network belongs to computer science; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Time delay neural network to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Time delay neural network from memory before moving on to harder problems.

Reference excerpt

Time delay neural network (TDNN) is a multilayer artificial neural network architecture whose purpose is to 1) classify patterns with shift-invariance, and 2) model context at each layer of the network. It is essentially a 1-d convolutional neural network (CNN). Shift-invariant classification means that the classifier does not require explicit segmentation prior to classification. For the classification of a temporal pattern (such as speech), the TDNN thus avoids having to determine the beginning and end points of sounds before classifying them. For contextual modelling in a TDNN, each neural unit at each layer receives input not only from activations/features at the layer below, but from a pattern of unit output and its context. For time signals each unit receives as input the activation patterns over time from units below. Applied to two-dimensional classification (images, time-frequency patterns), the TDNN can be trained with shift-invariance in the coordinate space and avoids precise segmentation in the coordinate space.

History The TDNN was introduced in the late 1980s and applied to a task of phoneme classification for automatic speech recognition in speech signals where the automatic determination of precise segments or feature boundaries was difficult or impossible. Because the TDNN recognizes phonemes and their underlying acoustic/phonetic features, independent of position in time, it improved performance over static classification. It was also applied to two-dimensional signals (time-frequency patterns in speech, and coordinate space pattern in OCR). Kunihiko Fukushima published the neocognitron in 1980. Max pooling appears in a 1982 publication on the neocognitron and was in the 1989 publication in LeNet-5. In 1990, Yamaguchi et al. used max pooling in TDNNs in order to realize a speaker independent isolated word recognition system.

Overview

Architecture In modern language, the design of TDNN is a 1D convolutional neural network, where the direction of convolution is across the dimension of time. In the original design, there are exactly 3 layers. The input to the network is a continuous speech signal, preprocessed into a 2D array (a mel scale spectrogram). One dimension is time at 10 ms per frame, and the other dimension is frequency. The time dimension can be arbitrarily long, but the frequency dimension was only 16-long. In the original experiment, they only considered very short speech signals pronouncing single words like "baa", "daa", "gaa". Because of this, the speech signals could be very short, indeed, only 15 frames long (150 ms in time). In detail, they processed a voice signal as follows:

Input speech is sampled at 12 kHz, Hamming-windowed. Its FFT is computed every 5 ms. The mel scale coefficients are computed from the power spectrum by taking log energies in each mel scale energy band. Adjacent coefficients in time are soothed over, resulting in one frame every 10 ms. For each signal, a human manually detect the onset of the vowel, and the entire speech signal is cut off except 7 frames before and 7 frames after, leaving just 15 frames in total, centered at the onset of the vowel. The coefficients are normalized by subtracting the mean, then scaling, so that the signals fall between -1 and +1. The first layer of the TDNN is a 1D convolutional layer. The layer contains 8 kernels of shape 3 × 16 {\displaystyle 3\times 16} . It outputs a tensor of shape 8 × 13 {\displaystyle 8\times 13} . The second layer of the TDNN is a 1D convolutional layer. The layer contains 3 kernels of shape 5 × 8 {\displaystyle 5\times 8} . It outputs a tensor of shape 3 × 9 {\displaystyle 3\times 9} . The third layer of the TDNN is not a convolutional layer. Instead, it is simply a fixed layer with 3 neurons. Let the output from the second layer be x i , j {\displaystyle x_{i,j}} where i ∈ 1 : 3 {\displaystyle i\in 1:3} and j ∈ 1 : 9 {\displaystyle j\in 1:9} . The i {\displaystyle i} -th neuron in the third layer computes σ ( ∑ j ∈ 1 : 9 x i , j ) {\displaystyle \sigma (\sum _{j\in 1:9}x_{i,j})} , where σ {\displaystyle \sigma } is the sigmoid function. Essentially, it can be thought of as a convolution layer with 3 kernels of shape 1 × 9 {\displaystyle 1\times 9} . It was trained on ~800 samples for 20000–50000 backpropagation steps. Each steps was computed in a batch over the entire training dataset, i.e. not stochastic. It required the use of an Alliant supercomputer with 4 processors.

… excerpt ends here. Continue reading the full article.

Illustrations

Time delay neural network: TDNN diagram
TDNN diagram

Worked examples

Example 1 — a first encounter with Time delay neural network

Start with the simplest possible case. Write down what Time delay neural network claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In computer science, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Time delay neural network before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Time delay neural network ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Time delay neural network

In research
Time delay neural network appears in computer science research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Time delay neural network in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Time delay neural network is common in secondary-school and first-year university syllabi. It links to neighbouring topics 1987 in artificial intelligence, Neural network architectures, so understanding it makes those chapters shorter.
In everyday life
Look for Time delay neural network outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.

Affiliate

Preply — study more efficiently by working with a personal tutor. 50% off.

How to study Time delay neural network in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Time delay neural network means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Time delay neural network out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Time delay neural network in simple terms?

Time delay neural network (TDNN) is a multilayer artificial neural network architecture whose purpose is to 1) classify patterns with shift-invariance, and 2) model context at each layer of the network. It is essentially a 1-d convolutional neural network (CNN).

Why does Time delay neural network matter?

Because it connects several computer science ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Time delay neural network?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Time delay neural network.

Tags

  • 1987 in artificial intelligence
  • Neural network architectures

Keep exploring