Unit 5: Modeling Sequential Data Using Recurrent Neural Networks - Subjective Questions

INT422 — Deep Learning • Practice Questions with Detailed Answers

20 questions

1

Define sequential data and explain how it differs from ordinary fixed-size data. Give suitable examples from natural language processing and time series analysis.

2

Explain the structure and flow of a basic recurrent neural network. Describe the roles of the input, hidden state, recurrent connection, and output.

3

Derive the activation equation of a simple RNN and calculate the hidden activation for one time step when , , the weight matrices, and biases are given.

4

Explain backpropagation through time and discuss why it is required for training recurrent neural networks.

5

Discuss the challenges of learning long-range interactions in a basic RNN. Explain the vanishing-gradient and exploding-gradient problems.

6

Compare unrolling an RNN across time with stacking multiple RNN layers. Explain how the two structures differ and when each is useful.

7

Describe how a multilayer RNN for sequence modeling can be implemented in TensorFlow. Mention important design choices related to input shape, return sequences, and output layers.

8

Explain the complete pipeline for text classification using an RNN, from raw text preprocessing to prediction.

9

Explain how an RNN can be used for text generation. Describe training, sampling, and the effect of temperature on generated text.

10

Describe how recurrent neural networks are applied to time series forecasting. Include the preparation of input windows, prediction targets, and evaluation measures.

11

Explain the architecture of an LSTM unit and derive the equations for its gates and cell state.

12

Distinguish between a basic RNN and an LSTM with respect to memory, gradient flow, computational complexity, and suitable applications.

13

Explain sequence classification with an LSTM. How is a sequence converted into a single class prediction?

14

Describe a stacked LSTM architecture for sequence classification and explain the purpose of using more than one LSTM layer.

15

Explain the difference between one-to-one, one-to-many, many-to-one, and many-to-many sequence modeling arrangements, with examples.

16

Discuss teacher forcing in RNN-based sequence generation. Explain its advantages, limitations, and the problem of exposure bias.

17

Explain the role of embeddings in an RNN-based natural language processing model. Why are embeddings generally preferred over one-hot vectors?

18

Derive the mean squared error objective for one-step time series forecasting and explain how the objective is used to train an RNN.

19

Explain how padding and masking are handled when training RNNs on variable-length sequences.

20

Compare sequence-to-sequence prediction and sequence classification using recurrent networks. Discuss their output formats and loss calculations.