Geschreven door studenten die geslaagd zijn Direct beschikbaar na je betaling Online lezen of als PDF Verkeerd document? Gratis ruilen 4,6 TrustPilot
logo-home
Tentamen (uitwerkingen)

CS 7643 Quiz 4 Questions and Answers Already Passed Latest Update

Beoordeling
-
Verkocht
-
Pagina's
8
Cijfer
A+
Geüpload op
04-10-2025
Geschreven in
2025/2026

CS 7643 Quiz 4 Questions and Answers Already Passed Latest Update Embedding - Answers A learned map from entities to vectors that encodes similarity Graph Embedding - Answers 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 - Answers - 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 - Answers - Only backpropagate a RNN through T time steps Recurrent Neural Networks (RNN) - Answers 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 - Answers - 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 - Answers - 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) - Answers = product( 1 / P(w(i) | w(i-1), ...) ) ^ (1 / N) = b ^ (-1/N sum( log(b) (P(w(i) | w(i-1), ...) ) )

Meer zien Lees minder
Instelling
CS 7643
Vak
CS 7643

Voorbeeld van de inhoud

CS 7643 Quiz 4 Questions and Answers Already Passed Latest Update 2025-2026

Embedding - Answers A learned map from entities to vectors that encodes similarity

Graph Embedding - Answers 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 - Answers - 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 - Answers - Only backpropagate a RNN through T time
steps

Recurrent Neural Networks (RNN) - Answers 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 - Answers - 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 - Answers - 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) - Answers = 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

Language Model Goal - Answers - estimate the probability of sequences of words

- p(s) = p(w1, w2, ..., wn)

Masked Language Modeling - Answers - pre-training task - an auxiliary task different from the
final task we're really interested in, but which can help us achieve better performance 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 - Answers - Have fully parameterized teacher
model

- Have a much smaller student model

- Student model attempts to minimize prediction error and distance to teacher model
simultaneously

Geschreven voor

Instelling
CS 7643
Vak
CS 7643

Documentinformatie

Geüpload op
4 oktober 2025
Aantal pagina's
8
Geschreven in
2025/2026
Type
Tentamen (uitwerkingen)
Bevat
Vragen en antwoorden

Onderwerpen

$10.99
Krijg toegang tot het volledige document:

Verkeerd document? Gratis ruilen Binnen 14 dagen na aankoop en voor het downloaden kun je een ander document kiezen. Je kunt het bedrag gewoon opnieuw besteden.
Geschreven door studenten die geslaagd zijn
Direct beschikbaar na je betaling
Online lezen of als PDF


Ook beschikbaar in voordeelbundel

Maak kennis met de verkoper

Seller avatar
De reputatie van een verkoper is gebaseerd op het aantal documenten dat iemand tegen betaling verkocht heeft en de beoordelingen die voor die items ontvangen zijn. Er zijn drie niveau’s te onderscheiden: brons, zilver en goud. Hoe beter de reputatie, hoe meer de kwaliteit van zijn of haar werk te vertrouwen is.
joshuawesonga22 Liberty University
Volgen Je moet ingelogd zijn om studenten of vakken te kunnen volgen
Verkocht
99
Lid sinds
1 jaar
Aantal volgers
1
Documenten
14163
Laatst verkocht
11 uur geleden
Tutor Wes

Hi there! I'm Tutor Wes, a dedicated tutor with a passion for sharing knowledge and helping others succeed academically. All my notes are carefully organized, detailed, and easy to understand. Whether you're preparing for exams, catching up on lectures, or looking for clear summaries, you'll find useful study materials here. Let’s succeed together!

3.9

9 beoordelingen

5
4
4
1
3
3
2
1
1
0

Recent door jou bekeken

Waarom studenten kiezen voor Stuvia

Gemaakt door medestudenten, geverifieerd door reviews

Kwaliteit die je kunt vertrouwen: geschreven door studenten die slaagden en beoordeeld door anderen die dit document gebruikten.

Niet tevreden? Kies een ander document

Geen zorgen! Je kunt voor hetzelfde geld direct een ander document kiezen dat beter past bij wat je zoekt.

Betaal zoals je wilt, start meteen met leren

Geen abonnement, geen verplichtingen. Betaal zoals je gewend bent via iDeal of creditcard en download je PDF-document meteen.

Student with book image

“Gekocht, gedownload en geslaagd. Zo makkelijk kan het dus zijn.”

Alisha Student

Bezig met je bronvermelding?

Maak nauwkeurige citaten in APA, MLA en Harvard met onze gratis bronnengenerator.

Bezig met je bronvermelding?

Veelgestelde vragen