Written by students who passed Immediately available after payment Read online or as PDF Wrong document? Swap it for free 4.6 TrustPilot
logo-home
Exam (elaborations)

CS7643 QUIZ 4 QUESTIONS WITH DETAILED VERIFIED ANSWERS (100% CORRECT ANSWERS) /ALREADY GRADED A +

Rating
-
Sold
-
Pages
10
Grade
A+
Uploaded on
24-04-2026
Written in
2025/2026

CS7643 QUIZ 4 QUESTIONS WITH DETAILED VERIFIED ANSWERS (100% CORRECT ANSWERS) /ALREADY GRADED A +

Institution
CS7643
Course
CS7643

Content preview

CS7643 QUIZ 4 QUESTIONS WITH DETAILED VERIFIED
ANSWERS (100% CORRECT ANSWERS) /ALREADY
GRADED A +

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), ...) ) )

- note exponent of b is per word CE loss

- perplexity of a discrete uniform distribution over k events is k

Written for

Institution
CS7643
Course
CS7643

Document information

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

Subjects

$18.99
Get access to the full document:

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

Get to know the seller

Seller avatar
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
DoctorDee Teachme2-tutor
View profile
Follow You need to be logged in order to follow users or courses
Sold
24
Member since
2 year
Number of followers
7
Documents
4401
Last sold
1 month ago
Hi wayne1111

3.5

6 reviews

5
3
4
0
3
1
2
1
1
1

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

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions