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
Document preview thumbnail
Preview 3 out of 20 pages
Exam (elaborations)

CS 7643 / CS7643 Quiz 4 (Latest Update 2025 / 2026) Deep Learning | Questions & Answers | Grade A | 100% Correct - Georgia Tech

Document preview thumbnail
Preview 3 out of 20 pages

CS 7643 / CS7643 Quiz 4 (Latest Update 2025 / 2026) Deep Learning | Questions & Answers | Grade A | 100% Correct - Georgia Tech Question: Teacher Forcing Answer: - next input to model is not predicted value, but the actual value from the training data - allows model to train effectively even if a mistake was made - if used instead of hidden-to-hidden recurrence nodes, can allow for parallelization, but model becomes less powerful - emerges from MLE - issues may arise if network is later going to be used in "closed-loop" mode where output is fed back as input Question: Skip-Gram Model: Loss/Objective Function Answer: Loss - for each position t, we try to predict the context words within a fixed window size given some context word - multiple these probabilities to get a likelihood - L(theta) = product(product(P(w_(t+j) | w_(t) ; theta)) - Objective function: J(theta) = - 1/T log(L(theta))

Content preview

CS 7643 / CS7643 Quiz 4 (Latest
Update ) Deep Learning
| Questions & Answers | Grade A |
100% Correct - Georgia Tech


Question:
Teacher Forcing
Answer:
- next input to model is not predicted value, but the actual value from the
training data
- allows model to train effectively even if a mistake was made
- if used instead of hidden-to-hidden recurrence nodes, can allow for
parallelization, but model becomes less powerful
- emerges from MLE
- issues may arise if network is later going to be used in "closed-loop" mode
where output is fed back as input

,Question:
Skip-Gram Model: Loss/Objective Function
Answer:
Loss - for each position t, we try to predict the context words within a fixed
window size given some context word
- multiple these probabilities to get a likelihood


- L(theta) = product(product(P(w_(t+j) | w_(t) ; theta))
- Objective function: J(theta) = - 1/T log(L(theta))




Question:
Skip-Gram Model: Calculate P(w_(t+j) | w_(t) ; theta)
Answer:
- Two vectors for each word:
1. u_w when w is center word
2. v_o when o is a context word


- uses inner product (u_w, v_o) to measure how likely it is that u_w appears
with context word v_o


- P(w_(t+j)) = SOFTMAX(u_(wt) * v(w_(t+1)))
- params to optimize are thus u and w

, Question:
Skip-Gram Model: Main Disadvantage
Answer:
- Expensive to compute
1. Can solve this via hierarchical Softmax
2. Can solve this via Negative Sampling




Question:
Skip-Gram Model: Negative Sampling
Answer:
- for each (w, c) pair, sample k negative pairs (w, c')
- Maximize probability that outside word appears, minimize probability that
random word appears
- choose a distribution that samples less frequent words likely




Question:
Word Embeddings as a graph
Answer:
- each word is a node with edge connections to context words

Document information

Uploaded on
August 30, 2025
Number of pages
20
Written in
2025/2026
Type
Exam (elaborations)
Contains
Questions & answers
$10.99

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

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.
quiz_bit
3.9
(1915)
Sold
12087
Followers
5235
Items
7551
Last sold
6 hours ago


Reviews from verified buyers



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