100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached 4.2 TrustPilot
logo-home
Exam (elaborations)

CS7643 Quiz 4 | Complete Questions and Answers (Newest Rated A+) 2025–2026 | Deep Learning & NLP Concepts

Rating
-
Sold
-
Pages
9
Grade
A+
Uploaded on
09-11-2025
Written in
2025/2026

This document provides the complete CS7643 Quiz 4 (2025–2026) with verified questions and correct answers rated A+. It covers essential topics in deep learning and natural language processing, including embeddings, graph embeddings, MLP limitations, truncated backpropagation through time, RNNs, and LSTM gates and states. Each section includes clear formulas, concise definitions, and bullet-point explanations to help students master advanced neural network concepts for exams and practical applications. Perfect for learners focusing on deep learning architectures, recurrent models, and NLP theory.

Show more Read less
Institution
CS7643
Course
CS7643









Whoops! We can’t load your doc right now. Try again or contact support.

Written for

Institution
CS7643
Course
CS7643

Document information

Uploaded on
November 9, 2025
Number of pages
9
Written in
2025/2026
Type
Exam (elaborations)
Contains
Questions & answers

Content preview

CS7643 Quiz 4 With complete Questions and
answers Newest RATED A+ 2025-2026
Embedding – >>> CORRECT ANSWER
A learned map from entities to vectors that encodes similarity

Graph Embedding – >>> CORRECT 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 – >>> CORRECT 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 – >>> CORRECT ANSWER
Only back propagate an RNN through T time steps

Recurrent Neural Networks (RNN) – >>> CORRECT 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 – >>> CORRECT 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 – >>> CORRECT
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) – >>> CORRECT ANSWER
= product ( 1 / P(w(i) | w(i-1), ...) )^ (1 / N)
= b^(–1/N Σ log_b (P(w(i) | w(i-1), ...)))

 note exponent of b is per-word CE loss
 perplexity of a discrete uniform distribution over k events = k

Language Model Goal – >>> CORRECT ANSWER

 estimate the probability of sequences of words
 p(s) = p(w₁, w₂, …, wₙ)

Masked Language Modeling – >>> CORRECT ANSWER

 pre-training task – an auxiliary task different from the final task we're
really interested in, but which can help us achieve better performance
by finding good initial parameters for the model
 By pre-training on masked language modeling before training on our
final task, it is usually possible to obtain higher performance than by
simply training on the final task

Knowledge Distillation to Reduce Model Sizes – >>> CORRECT ANSWER
$11.49
Get access to the full document:

100% satisfaction guarantee
Immediately available after payment
Both online and in PDF
No strings attached

Get to know the seller
Seller avatar
chrispine1

Get to know the seller

Seller avatar
chrispine1 Harvard University
View profile
Follow You need to be logged in order to follow users or courses
Sold
New on Stuvia
Member since
1 month
Number of followers
0
Documents
36
Last sold
-
VerifiedDocs

Ace your exams with confidence! Every document in my Stuvia store is 100% verified, accurate, and designed to guarantee success. These study materials are carefully compiled from real exam questions, updated with the latest versions, and cross-checked for correctness—so you’re not just memorizing, you’re mastering. Whether it’s nursing, business, or technical exams, each file gives you clear, easy-to-follow answers and explanations that simplify even the toughest topics. Students who’ve used these materials have consistently scored top grades and passed on their first attempt. Study smart, save time, and secure your A+ with trusted, exam-ready notes you can rely on!

Read more Read less
0.0

0 reviews

5
0
4
0
3
0
2
0
1
0

Recently viewed by you

Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Frequently asked questions