



Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!




Description: Complete study guide for CS-7643 Quiz 4. Covers essential deep learning topics including convolutional neural networks (CNNs), recurrent neural networks (RNNs), optimization algorithms, regularization methods, loss functions, and model evaluation techniques. Notes are organized with clear explanations, formulas, and example problems to make studying simple and effective. Tags: CS-7643, Deep Learning, Quiz 4, Machine Learning, Neural Networks, Study Guide, College Notes, Exam Preparation Recurrent Neural Network (RNN) - CORRECT โโโโโ A RNN models sequential interactions through a hidden state, or memory. It can take up to N inputs and produce up to N outputs. For example, an input sequence may be a sentence with the outputs being the part-of- speech tag for each word (N-to-N). An input could be a sentence, and the output a sentiment classification of the sentence (N-to-1). An input could be a single image, and the output could be a sequence of words corresponding to the description of an image (1-to-N). At each time step, an RNN calculates a new hidden state ("memory") based on the current input and the previous hidden state. The "recurrent" stems from the facts that at each step the same parameters are used and the network performs the same calculations based on different inputs LSTM (Long Short-Term Memory) - CORRECT โโโโโ the network was invented to prevent the vanishing gradient problem in Recurrent Neural Networks by using a memory gating mechanism. Using LSTM units to calculate the hidden state in an RNN we help to the network to efficiently propagate gradients and learn long-range dependencies how do RNN and LSTM update rules differ? - CORRECT โโโโโ LSTM networks update rule is cell state is updated in an additive way by adding something to its previous value C_t-1, this differs from the multiplicative update Rule of RNN.
Gradients for RNNs - CORRECT โโโโโ The gradient computation involves recurrent multiplication of WW. This multiplying by WW to each cell has a bad effect. Think like this: If you a scalar (number) and you multiply gradients by it over and over again for say 100 times, if that number > 1, it'll explode the gradient and if < 1, it'll vanish towards 0. What does t-SNE stand for? - CORRECT โโโโโ t-Distributed Stochastic Neighbor Embedding what is t-SNE? - CORRECT โโโโโ is an unsupervised non-linear technique primarily used for data exploration and visualization of high dimensional data. In short, it gives you a feel or intuition of how data is in high dimensional space. How does t-SNE conceptually work? - CORRECT โโโโโ The algorithm calculates a similarity measure between pairs of instances in the high dimensional space and in the low dimensional space. It then tries to optimize these two similarity measures using a cost function. Let's break that down into 3 basic steps: 1.) takes the Gaussian distribution around a data point on a 2D plane.
4.) if replace one subsystem with another and performance improves thats a win Conditional Language Modeling - CORRECT โโโโโ allows you to determine the probability of a sequence of words conditioned on context c. Types of Conditional Language Models - CORRECT โโโโโ 1.) Topic Aware Language Model: c=The topic, s=text 2.)Text Summarization: c= a long document, s=its summary 3.)Machine Translation: c=French Text, s=English Text 4.)Image Captioning: c=an image, s=its caption 5.)Optical Character Recognition: c=image of a line, s=its content 6.)Speech Recognition: c=a recording, s=its content Knowledge Distillation - CORRECT โโโโโ - transfers knowledge from a large model to a smaller model without loss of validity to reduce model size