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 2 out of 13 pages
Exam (elaborations)

CS 7643 Quiz 4 – Concepts Notes Update with complete solutions

Document preview thumbnail
Preview 2 out of 13 pages

Covers Structured Representations (Lesson 11), Language Models (Lesson 12), and Embeddings (Lesson 13). Conceptual Questions: • RNNs and LSTMs, how their update rules differ, and what problems they each have or solve RNN – Recurrent NNs, are designed to model sequences • Many to Many: Input a sequence - output a sequence ; aka sequence transduction. Other setups know as Encoder - Decoder OCR – given an image of a text, split that up into individual characters and try to recognize each one. • Many to one: sequence as input, one output Sentiment Analysis – given a piece of text, classify if the author was feeling positive or negative when writing. • One to many: one input, sequence as output (eg. Image captioning model) • One to one: no sequence involved, typical regression problems. RNNs solve the problems MLP (Multilayer Perceptron) have when used to model sequences. The functions f_theta is always the same – giving the recursive nature to the nn. Problem of RNN: Backprop gets complicated. The computational graph can be really long if the sequences are very long – updates are very expensive. Solution: ‘truncated backprop through time’ states are carried forward forever but just backprop for a fixed number of steps. Update rule for RNN Problem of the Vanilla RNN: Vanishing gradients Solution: LSTM architecture LSTM (Long Short-Term Memory) introduces the concept of gates – taking parts of the input to the cell, and multiply them together. Update rule for LSTM for c_t its update has an additive element to take care of the vanishing gradients problem.

Content preview

CS 7643 Quiz 4 – Concepts Notes
Update with complete solutions


Quiz 4 - Concepts


Covers Structured Representations (Lesson 11), Language Models (Lesson

12), and Embeddings (Lesson 13).


Conceptual Questions:


• RNNs and LSTMs, how their update rules differ, and what

problems they each have or solve


RNN – Recurrent NNs, are designed to model sequences




• Many to Many: Input a sequence -> output a sequence ; aka sequence

transduction. Other setups know as Encoder - Decoder


OCR – given an image of a text, split that up into individual characters and try

, to recognize each one.


• Many to one: sequence as input, one output

Document information

Uploaded on
August 9, 2026
Number of pages
13
Written in
2026/2027
Type
Exam (elaborations)
Contains
Questions & answers
$11.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.
Brainarium
3.8
(333)
Sold
1987
Followers
1046
Items
23954
Last sold
15 hours ago


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