This document is a detailed and updated exam prep guide for CS7643 – Deep Learning (Exam 4), tailored for the 2025/2026 academic year at Georgia Tech. It features 100+ fully answered questions focused on Natural Language Processing (NLP), representation learning, and advanced neural network architectures such as RNNs, LSTMs, Word2Vec, and Graph Embeddings.
The material covers the theoretical foundations and practical implementations of sequential models, word representations, and embedding techniques used in modern machine learning and NLP tasks. All questions are matched with verified answers, making it an ideal study tool for deep learning midterms or finals.
Core topics include:
RNNs and LSTMs: architectures, update rules, vanishing/exploding gradients, gated mechanisms
Word Embeddings: Word2Vec, Skip-gram, CBOW, negative sampling, hierarchical softmax
Graph Embeddings: unsupervised learning on graphs, margin loss, node representation
t-SNE, perplexity, and embedding visualization strategies
Masked Language Modeling, language model training, and perplexity calculations
Teacher forcing, conditional language models, and knowledge distillation techniques
Pytorch-BigGraph, structured data propagation, and edge scoring
Evaluation methods for embeddings: intrinsic vs. extrinsic
Debiasing word embeddings and model compression
This exam guide is best suited for:
Graduate students enrolled in CS7643 or equivalent AI/NLP courses
Learners preparing for final exams, interviews, or project presentations
Professionals and researchers needing a refresher in deep NLP and representation learning
Educators building exam content or revision sets in advanced machine learning topics
Keywords:
CS7643, deep learning, NLP, RNN, LSTM, word2vec, graph embeddings, masked language model, t-SNE, skip-gram, CBOW, perplexity, language modeling, PyTorch BigGraph, knowledge distillation, representation learning, Georgia Tech, neural networks, sequence modeling, teacher forcing
Content preview
CS7643 Exam 4 2025/2026 Exam
Questions with 100% Correct Answers |
Latest Update
Embedding - 🧠ANSWER ✔✔A learned map from entities to vectors that
encodes similarity
Graph Embedding - 🧠ANSWER ✔✔Optimize the objective that connected
nodes have more similar embeddings than unconnected nodes.
Task: convert nodes to vectors
- effectively unsupervised learning where nearest neighbors are similar
- these learned vectors are useful for downstream tasks
,Multi-layer Perceptron (MLP) pain points for NLP - 🧠ANSWER ✔✔- Cannot
easily support variable-sized sequences as inputs or outputs
- No inherent temporal structure
- No practical way of holding state
- The size of the network grows with the maximum allowed size of the input
or output sequences
Truncated Backpropagation through time - 🧠ANSWER ✔✔- Only
backpropagate a RNN through T time steps
Recurrent Neural Networks (RNN) - 🧠ANSWER ✔✔h(t) = activation(U*input
+ V*h(t-1) + bias)
y(t) = activation(W*h(t) + bias)
- activation is typically the logistic function or tanh
- outputs can also simply be h(t)
- family of NN architectures for modeling sequences
Training Vanilla RNN's difficulties - 🧠ANSWER ✔✔- Vanishing gradients
, - Since dx(t)/dx(t-1) = w^t
- if w > 1: exploding gradients
- if w < 1: vanishing gradients
Long Short-Term Memory Network Gates and States - 🧠ANSWER ✔✔- f(t)
= forget gate
- i(t) = input gate
- u(t) = candidate update gate
- o(t) = output gate
- c(t) = cell state
- c(t) = f(t) * c(t - 1) + i(t) * u(t)
- h(t) = hidden state
- h(t) = o(t) * tanh(c(t))
Perplexity(s) - 🧠ANSWER ✔✔= product( 1 / P(w(i) | w(i-1), ...) ) ^ (1 / N)
= b ^ (-1/N sum( log(b) (P(w(i) | w(i-1), ...) ) )
COPYRIGHT©JOSHCLAY 2025/2026. YEAR PUBLISHED 2025. COMPANY REGISTRATION NUMBER: 619652435. TERMS OF USE. PRIVACY
3
STATEMENT. ALL RIGHTS RESERVED