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 questions and answers

Rating
-
Sold
8
Pages
7
Grade
A+
Uploaded on
21-03-2025
Written in
2024/2025

CS7643 Quiz 4 questions and answers

Institution
CS 7643
Course
CS 7643









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

Written for

Institution
CS 7643
Course
CS 7643

Document information

Uploaded on
March 21, 2025
Number of pages
7
Written in
2024/2025
Type
Exam (elaborations)
Contains
Questions & answers

Subjects

Content preview

CS7643 Quiz 4 questions and answers



Embedding b- bcorrect banswers✔✔A blearned bmap bfrom bentities bto bvectors bthat
bencodes bsimilarity


Graph bEmbedding b- bcorrect banswers✔✔Optimize bthe bobjective bthat bconnected
bnodes bhave bmore bsimilar bembeddings bthan bunconnected bnodes.


Task: bconvert bnodes bto bvectors

- beffectively bunsupervised blearning bwhere bnearest bneighbors bare bsimilar
- bthese blearned bvectors bare buseful bfor bdownstream btasks

Multi-layer bPerceptron b(MLP) bpain bpoints bfor bNLP b- bcorrect banswers✔✔- bCannot
beasily bsupport bvariable-sized bsequences bas binputs bor boutputs
- bNo binherent btemporal bstructure
- bNo bpractical bway bof bholding bstate
- bThe bsize bof bthe bnetwork bgrows bwith bthe bmaximum ballowed bsize bof bthe binput bor
boutput bsequences


Truncated bBackpropagation bthrough btime b- bcorrect banswers✔✔- bOnly
bbackpropagate ba bRNN bthrough bT btime bsteps


Recurrent bNeural bNetworks b(RNN) b- bcorrect banswers✔✔h(t) b= bactivation(U*input b+
bV*h(t-1) b+ bbias)
y(t) b= bactivation(W*h(t) b+ bbias)

- bactivation bis btypically bthe blogistic bfunction bor btanh
- boutputs bcan balso bsimply bbe bh(t)
- bfamily bof bNN barchitectures bfor bmodeling bsequences

Training bVanilla bRNN's bdifficulties b- bcorrect banswers✔✔- bVanishing bgradients
- bSince bdx(t)/dx(t-1) b= bw^t
- bif bw b> b1: bexploding bgradients
- bif bw b< b1: bvanishing bgradients

, Long bShort-Term bMemory bNetwork bGates band bStates b- bcorrect banswers✔✔- bf(t) b=
bforget bgate
- bi(t) b= binput bgate
- bu(t) b= bcandidate bupdate bgate
- bo(t) b= boutput bgate

- bc(t) b= bcell bstate
- bc(t) b= bf(t) b* bc(t b- b1) b+ bi(t) b* bu(t)

- bh(t) b= bhidden bstate
- bh(t) b= bo(t) b* btanh(c(t))

Perplexity(s) b- bcorrect banswers✔✔= bproduct( b1 b/ bP(w(i) b| bw(i-1), b...) b) b^ b(1 b/ bN)
= bb b^ b(-1/N bsum( blog(b) b(P(w(i) b| bw(i-1), b...) b) b)
- bnote bexponent bof bb bis bper bword bCE bloss
- bperplexity bof ba bdiscrete buniform bdistribution bover bk bevents bis bk

Language bModel bGoal b- bcorrect banswers✔✔- bestimate bthe bprobability bof
bsequences bof bwords
- bp(s) b= bp(w1, bw2, b..., bwn)

Masked bLanguage bModeling b- bcorrect banswers✔✔- bpre-training btask b- ban bauxiliary
btask bdifferent bfrom bthe bfinal btask bwe're breally binterested bin, bbut bwhich bcan bhelp
bus bachieve bbetter bperformance bfinding bgood binitial bparameters bfor bthe bmodel


- bBy bpre-training bon bmasked blanguage bmodeling bbefore btraining bon bour bfinal btask,
bit bis busually bpossible bto bobtain bhigher bperformance bthan bby bsimply btraining bon
bthe bfinal btask


Knowledge bDistillation bto bReduce bModel bSizes b- bcorrect banswers✔✔- bHave bfully
bparameterized bteacher bmodel
- bHave ba bmuch bsmaller bstudent bmodel
- bStudent bmodel battempts bto bminimize bprediction berror band bdistance bto bteacher
bmodel bsimultaneously


L(dist) b= bCE bb/w bstudent band bteacher bpredictions
L(student) b= bCE bb/w bpredicted boutput band bactual
L b= balpha b* bL(dist) b+ bbeta b* bL(student)

Advantages:
- bmay bwork bwell bb/c bof bsoft bpredictions bof bteacher bmodel
- bif bwe bdon't bhave benough blabeled btext bwe bcan bstill btrain bstudent bmodel bto balign
bpredictions

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.
lectbetty Harvard University
View profile
Follow You need to be logged in order to follow users or courses
Sold
21
Member since
1 year
Number of followers
0
Documents
2472
Last sold
1 week ago
Betty

Welcome to Bettys store, your reliable source for high-quality test banks and study materials drawn to help you stand out academically. We offer a broad range of resources including test banks, study guides, solution manuals, and other study materials, all dilligently curated to ensure accuracy and effectiveness. Our affordable, instantly accessible materials are complemented by excellent customer support, making your learning experience seamless and efficient. Trust Betty to be your friend in academic success.

Read more Read less
3.5

2 reviews

5
0
4
1
3
1
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 exams and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can immediately select a different document that better matches what you need.

Pay how you prefer, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card or EFT 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