SlideShare a Scribd company logo
Deep Learning and Modern Natural Language
Processing
Zachary S. Brown
Outline
0. NLP Problem Structure
1. Text Classi cation and the Perceptron
2. Vectorization and Classi cation with RNNs
3. POS Tagging with RNNs
4. Sequence to Sequence Modeling
NLP Problem Structure
General Problem Structure
Binary Document Classi cation
Multi-class Document Classi cation
Multi-class Sequence Classi cation
Starting Easy: Neural Net with Traditional Vectorization
Text Classi cation and the Perceptron
Topics
The perceptron and neural network optimization
Example
The Perceptron
Weights
Forward Pass
Loss
Calculate Gradients
Update Weights
Perceptron Example
Vectorization and Classi cation with RNNs
Topics
RNN Encoding for Text Classi cation
Recurrent Neural Networks
Word Embeddings
Example
Multi-class Document Classi cation
Text Vectorization with Recurrent Neural Networks
Recurrent Neural Networks
Images graciously sourced from by Christopher OlahUnderstanding LSTM Networks
Recurrent Neural Networks (unrolled)
Vanilla Recurrent Neural Networks
Long Short-term Memory (LSTM) Networks
For a deeper dive into the necessity for and implementation of LSTM networks, see by Christopher OlahUnderstanding LSTM Networks
Encoding a Sequence to a single Vector
Sequence Classi cation
Sequence Classi cation
Wait, what about the inputs to the RNN??
Word Embeddings: Bag-of-Words vs. Dense
Representations
LSTM Text Encoding and Classi cation Example
LSTMs for Sequence to Sequence Modeling
Fixed Length Sequence to Sequence
Use Cases
Use Cases
POS Tagging
Use Cases
POS Tagging
Named Entity Recognition
Use Cases
POS Tagging
Named Entity Recognition
Extractive Summarization
Use Cases
POS Tagging
Named Entity Recognition
Extractive Summarization
Before: Encoding a Sequence to a single Vector
Now: Encoding a Sequence to a Sequence of Vectors
Implementing Part-of-Speech Tagging
Sequence to Sequence Modeling
Topics
Encoder-Decoder Architecture
Neural Machine Translation
Variable Length Sequence to Sequence
Sequence-to-Sequence Overview
Encoder-Decoder Architecture
Sequence-to-Sequence Training: Input
Sequence-to-Sequence Training: Loss
Sequence-to-Sequence Training: Teacher Forcing
Sequence-to-Sequence Inference
In [ ]:  

More Related Content

PDF
Recurrent Convolutional Neural Networks for Text Classification
PPTX
DNA based Cryptography_Final_Review
PDF
Dna cryptography
PPT
A new DNA encryption technique for secure data transmission with authenticati...
PDF
Acm aictc2016
PDF
DNA Encryption Algorithms: Scope and Challenges in Symmetric Key Cryptography
PDF
PRIVACY ENHANCEMENT OF NODE IN OPPORTUNISTIC NETWORK BY USING VIRTUAL-ID
PDF
Secure data transmission using dna encryption
Recurrent Convolutional Neural Networks for Text Classification
DNA based Cryptography_Final_Review
Dna cryptography
A new DNA encryption technique for secure data transmission with authenticati...
Acm aictc2016
DNA Encryption Algorithms: Scope and Challenges in Symmetric Key Cryptography
PRIVACY ENHANCEMENT OF NODE IN OPPORTUNISTIC NETWORK BY USING VIRTUAL-ID
Secure data transmission using dna encryption

What's hot (15)

PDF
Enhanced Level of Security using DNA Computing Technique with Hyperelliptic C...
PPTX
20131019 生物物理若手 Journal Club
PPT
A NEW APPROACH TOWARDS INFORMATION SECURITY BASED ON DNA CRYPTOGRAPHY
PDF
Hn2513581359
PDF
IRJET- DNA Cryptography
DOCX
Mca3020 advanced database management system
PDF
Container-Beating Approaches for Avoiding Discriminative Cramming Assaults
PDF
The International Journal of Engineering and Science (The IJES)
PDF
Prevention of Selective Jamming Attacks by Using Packet Hiding Methods
PDF
Pres_FORENSECURE
PPTX
A machine learning based protocol for efficient routing in opportunistic netw...
PPTX
The effect of cloud computing in next generation
PDF
TEXT STEGANOGRAPHIC APPROACHES: A COMPARISON
PDF
Fu2510631066
PPTX
Packet-Hiding Methods: To Prevent Selective Jamming Attacks
Enhanced Level of Security using DNA Computing Technique with Hyperelliptic C...
20131019 生物物理若手 Journal Club
A NEW APPROACH TOWARDS INFORMATION SECURITY BASED ON DNA CRYPTOGRAPHY
Hn2513581359
IRJET- DNA Cryptography
Mca3020 advanced database management system
Container-Beating Approaches for Avoiding Discriminative Cramming Assaults
The International Journal of Engineering and Science (The IJES)
Prevention of Selective Jamming Attacks by Using Packet Hiding Methods
Pres_FORENSECURE
A machine learning based protocol for efficient routing in opportunistic netw...
The effect of cloud computing in next generation
TEXT STEGANOGRAPHIC APPROACHES: A COMPARISON
Fu2510631066
Packet-Hiding Methods: To Prevent Selective Jamming Attacks
Ad

Similar to Deep Learning and Modern NLP (20)

PDF
Natural Language Processing (NLP)
PDF
Beyond the Symbols: A 30-minute Overview of NLP
PPTX
Deep Learning and Modern Natural Language Processing (AnacondaCon2019)
PPTX
Natural Language Processing Advancements By Deep Learning: A Survey
PPTX
Deep Learning for Natural Language Processing_FDP on 16 June 2025 MITS.pptx
PDF
NLP with Deep Learning
PDF
Engineering Intelligent NLP Applications Using Deep Learning – Part 2
PDF
CSCE181 Big ideas in NLP
PPTX
Natural Language Processing Advancements By Deep Learning - A Survey
PDF
IRJET- Survey on Text Error Detection using Deep Learning
PDF
Frontiers of Natural Language Processing
PPTX
Unit3-RNN (recurrent neural network).pptx
PDF
Natural Language Processing: Lecture 255
PPTX
Deep Learning for Natural Language Processing
PPTX
Deep Learning and Watson Studio
PDF
Diving deep into NLP
PDF
Convolutional and Recurrent Neural Networks
PDF
Deep learning for NLP and Transformer
PPTX
Talk from NVidia Developer Connect
PDF
DataXDay - The wonders of deep learning: how to leverage it for natural langu...
Natural Language Processing (NLP)
Beyond the Symbols: A 30-minute Overview of NLP
Deep Learning and Modern Natural Language Processing (AnacondaCon2019)
Natural Language Processing Advancements By Deep Learning: A Survey
Deep Learning for Natural Language Processing_FDP on 16 June 2025 MITS.pptx
NLP with Deep Learning
Engineering Intelligent NLP Applications Using Deep Learning – Part 2
CSCE181 Big ideas in NLP
Natural Language Processing Advancements By Deep Learning - A Survey
IRJET- Survey on Text Error Detection using Deep Learning
Frontiers of Natural Language Processing
Unit3-RNN (recurrent neural network).pptx
Natural Language Processing: Lecture 255
Deep Learning for Natural Language Processing
Deep Learning and Watson Studio
Diving deep into NLP
Convolutional and Recurrent Neural Networks
Deep learning for NLP and Transformer
Talk from NVidia Developer Connect
DataXDay - The wonders of deep learning: how to leverage it for natural langu...
Ad

More from Zachary S. Brown (6)

PDF
Working in NLP in the Age of Large Language Models
PDF
Teaching Machines to Listen: An Introduction to Automatic Speech Recognition
PDF
Building and Deploying Scalable NLP Model Services
PDF
Text Representations for Deep learning
PDF
Cyber Threat Ranking using READ
PDF
Deep Domain
Working in NLP in the Age of Large Language Models
Teaching Machines to Listen: An Introduction to Automatic Speech Recognition
Building and Deploying Scalable NLP Model Services
Text Representations for Deep learning
Cyber Threat Ranking using READ
Deep Domain

Recently uploaded (20)

PPTX
ACSFv1EN-58255 AWS Academy Cloud Security Foundations.pptx
DOCX
The AUB Centre for AI in Media Proposal.docx
PDF
A comparative analysis of optical character recognition models for extracting...
PDF
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
PPTX
Spectroscopy.pptx food analysis technology
PDF
Per capita expenditure prediction using model stacking based on satellite ima...
PPTX
Big Data Technologies - Introduction.pptx
PPTX
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
PDF
Chapter 3 Spatial Domain Image Processing.pdf
PDF
Optimiser vos workloads AI/ML sur Amazon EC2 et AWS Graviton
PDF
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
PDF
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
PPT
Teaching material agriculture food technology
PDF
Diabetes mellitus diagnosis method based random forest with bat algorithm
PDF
Machine learning based COVID-19 study performance prediction
PPTX
sap open course for s4hana steps from ECC to s4
PDF
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
PDF
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
PDF
The Rise and Fall of 3GPP – Time for a Sabbatical?
PDF
Unlocking AI with Model Context Protocol (MCP)
ACSFv1EN-58255 AWS Academy Cloud Security Foundations.pptx
The AUB Centre for AI in Media Proposal.docx
A comparative analysis of optical character recognition models for extracting...
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
Spectroscopy.pptx food analysis technology
Per capita expenditure prediction using model stacking based on satellite ima...
Big Data Technologies - Introduction.pptx
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
Chapter 3 Spatial Domain Image Processing.pdf
Optimiser vos workloads AI/ML sur Amazon EC2 et AWS Graviton
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
Teaching material agriculture food technology
Diabetes mellitus diagnosis method based random forest with bat algorithm
Machine learning based COVID-19 study performance prediction
sap open course for s4hana steps from ECC to s4
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
The Rise and Fall of 3GPP – Time for a Sabbatical?
Unlocking AI with Model Context Protocol (MCP)

Deep Learning and Modern NLP