SlideShare a Scribd company logo
Who am I?
• Theoretical Particle Physicist (UniPd)
• Ph.D. in Statistical Physics (SISSA, Trieste)
• Master in High Performance Computing (ICTP)
• Private Pilot Licence
@denocris Cristiano-De-Nobili
Cristiano De Nobili, Ph.D.
Deep Learning Scientist @ Harman Samsung AI
Machine Learning Instructor @ Deep Leaning Italia
c.denobili@deeplearningitalia.com
✈
TEXT UNDERSTANDING FROM SCRATCH
We are going to show you a new and non-standard
way to perform text classification.
[1] Text Understanding from Scratch - X. Zhang, Y. LeCun
[2] Character-level CNNs for Text Classification - X. Zhang, J. Zhao, Y. LeCun
[3] Very Deep CNNs for Text Classification - A. Conneau, H. Schwenk, Y. LeCun, L. Barrault
Intro to DL for Text. Char-level set up. Temporal CNN.
Preliminary results using char-level VDCNNs
Comparison with FastText
Cristiano
Daniele
Elena
There is a belief in DL…
Computer
Vision
NLP
H[i, j] =
X
k,l
W[i, j, k, l] X[k, l]
From FC to CNNS
(thanks to symmetries)
H[i, j] =
X
a,b
K[i, j, a, b] X[i + a, j + b]
From FC to CNNS
(thanks to symmetries)
From FC to CNNS
(thanks to symmetries)
H[i, j] =
X
a,b
K[a, b] X[i + a, j + b]Translational Invariance:
H[i, j] =
X
a,b
K[i, j, a, b] X[i + a, j + b]
K[i, j, a, b] = K[a, b]
H[i, j] =
X
a,b=
K[a, b] X[i + a, j + b]
Fully Connected…
Locality:
K[a, b] = 0
(outside some range)
From FC to CNNS
(thanks to symmetries)
H[i, j] =
X
a,b
K[a, b] X[i + a, j + b]Translational Invariance:
H[i, j] =
X
a,b
K[i, j, a, b] X[i + a, j + b]
K[i, j, a, b] = K[a, b]
H[i, j] =
X
a,b=
K[a, b] X[i + a, j + b]
Fully Connected…
Locality:
K[a, b] = 0
(outside some range) It’s a convolution!!
Recurrent Neural Networks
Siamo fatti di
sorrisi e silenzi,
sorrisi e silenzi.
I primi vincono,
i secondi passano.
Recurrent Neural Networks
Siamo fatti di
sorrisi e silenzi,
sorrisi e silenzi.
I primi vincono,
i secondi passano.
short-range and long-range dependencies!
Recurrent Neural Networks
“La principale funzione della memoria è dimenticare”
Ciao Giulia, come stai?
Giulia, ti vedo triste. Come mai?
TEXT
Yesterday
night we were
out at
Terrazza
Martini with
some friends
and…
TOKENIZATION
yesterday,
night,
we,
were,
…
POS,
LEMMATIZATION,
NAMED ENTITIES,
…
WORD
EMBEDDING
Neural
Networks
STANDARD TEXT PIPELINE
TEXT
Yesterday
night we were
out at
Terrazza
Martini with
some friends
and…
TOKENIZATION
yesterday,
night,
we,
were,
…
RNN
(LSTM, GRU,..)
STANDARD TEXT PIPELINE
99%
WORD
EMBEDDING
POS,
LEMMATIZATION,
NAMED ENTITIES,
…
TEXT
Yesterday
night we were
out at
Terrazza
Martini with
some friends
and…
TOKENIZATION
yesterday,
night,
we,
were,
…
RNN
(LSTM, GRU,..)
STANDARD TEXT PIPELINE
99%
WORD
EMBEDDING
NON
POS,
LEMMATIZATION,
NAMED ENTITIES,
…
TEXT
Yesterday
night we were
out at
Terrazza
Martini with
some friends
and…
TOKENIZATION
yesterday,
night,
we,
were,
…
STANDARD TEXT PIPELINE
WORD
EMBEDDING CNNs
CNNs can be applied to WE without any
knowledge on syntactic or semantic structures
NON
POS,
LEMMATIZATION,
NAMED ENTITIES,
…
TEXT
Yesterday
night we were
out at
Terrazza
Martini with
some friends
and…
STANDARD TEXT PIPELINE
WORD
EMBEDDING CNNs
CNNs can be applied to WE without any
knowledge on syntactic or semantic structures
NON
CHAR as TOKEN
y, e, s, t, e, r, d, a, y…
POS,
LEMMATIZATION,
NAMED ENTITIES,
…
POS,
LEMMATIZATION,
NAMED ENTITIES,
…
TEXT
Yesterday
night we were
out at
Terrazza
Martini with
some friends
and…
STANDARD TEXT PIPELINE
WORD
EMBEDDING CNNs
CNNs can be applied to WE without any
knowledge on syntactic or semantic structures
NON
CHAR as TOKEN
y, e, s, t, e, r, d, a, y…
TEXT
Yesterday
night we were
out at
Terrazza
Martini with
some friends
and…
POS,
LEMMATIZATION,
NAME ENTITIES,
…
STANDARD TEXT PIPELINE
WORD
EMBEDDING CNNs
CNNs can be applied to WE without any
knowledge on syntactic or semantic structures
NON
CHAR as TOKEN
y, e, s, t, e, r, d, a, y…
STANDARD TEXT PIPELINENON
TEXT
Yesterday
night we were
out at
Terrazza
Martini with
some friends
and…
VDCNNsCHAR as TOKEN
y, e, s, t, e, r, d, a, y…
VDCNNs not only do not require
any knowledge on syntactic or semantic structures,
but they also not require
any knowledge on words (WE).
TEXT UNDERSTANDING FROM SCRATCH
No knowledge of semantics, syntactics
&
No knowledge of words
No previous knowledge is needed!
TEXT
Yesterday
night we were
out at
Terrazza
Martini with
some friends
and…
VDCNNsCHAR as TOKEN
y, e, s, t, e, r, d, a, y…
How CNNs work with Text?
h
o
w
c
embedding-dim
1d (or temporal) convolution
2-window kernel
4-window kernel
How CNNs work with Text?
output of the 1d convolution
How CNNs work with Text?
Conclusion
Character-level VDCNNS are able with no previous knowledge to
understand from scratch a given text. This architecture operates
at the lowest atomic representation of text.
Despite convolutional layers are by construction local, deep
CNNs are anyway able to learn high-level hierarchical
representation of a text.
@denocris Cristiano-De-Nobilic.denobili@deeplearningitalia.com
@denocris Cristiano-De-Nobili
Thanks!!!
Siamo fatti di
sorrisi e silenzi,
sorrisi e silenzi.
I primi vincono,
i secondi passano.

More Related Content

More from Deep Learning Italia

Machine Learning driven Quantum Optimization for Marketing
Machine Learning driven Quantum Optimization for MarketingMachine Learning driven Quantum Optimization for Marketing
Machine Learning driven Quantum Optimization for Marketing
Deep Learning Italia
 
Modelli linguistici da Eliza a ChatGPT P roblemi , fraintendimenti e prospettive
Modelli linguistici da Eliza a ChatGPT P roblemi , fraintendimenti e prospettiveModelli linguistici da Eliza a ChatGPT P roblemi , fraintendimenti e prospettive
Modelli linguistici da Eliza a ChatGPT P roblemi , fraintendimenti e prospettive
Deep Learning Italia
 
Transformers In Vision From Zero to Hero (DLI).pptx
Transformers In Vision From Zero to Hero (DLI).pptxTransformers In Vision From Zero to Hero (DLI).pptx
Transformers In Vision From Zero to Hero (DLI).pptx
Deep Learning Italia
 
Meetup Luglio - Operations Research.pdf
Meetup Luglio - Operations Research.pdfMeetup Luglio - Operations Research.pdf
Meetup Luglio - Operations Research.pdf
Deep Learning Italia
 
Meetup Giugno - c-ResUNET.pdf
Meetup Giugno - c-ResUNET.pdfMeetup Giugno - c-ResUNET.pdf
Meetup Giugno - c-ResUNET.pdf
Deep Learning Italia
 
MEETUP Maggio - Team Automata
MEETUP Maggio - Team AutomataMEETUP Maggio - Team Automata
MEETUP Maggio - Team Automata
Deep Learning Italia
 
MEETUP APRILE - Ganomaly - Anomaly Detection.pdf
MEETUP APRILE - Ganomaly - Anomaly Detection.pdfMEETUP APRILE - Ganomaly - Anomaly Detection.pdf
MEETUP APRILE - Ganomaly - Anomaly Detection.pdf
Deep Learning Italia
 
2022_Meetup_Mazza-Marzo.pptx
2022_Meetup_Mazza-Marzo.pptx2022_Meetup_Mazza-Marzo.pptx
2022_Meetup_Mazza-Marzo.pptx
Deep Learning Italia
 
Machine Learning Security
Machine Learning SecurityMachine Learning Security
Machine Learning Security
Deep Learning Italia
 
The science of can and can t e la computazione quantistica
The science of can and can t e la computazione quantisticaThe science of can and can t e la computazione quantistica
The science of can and can t e la computazione quantistica
Deep Learning Italia
 
Dli meetup moccia
Dli meetup mocciaDli meetup moccia
Dli meetup moccia
Deep Learning Italia
 
Pi school-dli-presentation de nobili
Pi school-dli-presentation de nobiliPi school-dli-presentation de nobili
Pi school-dli-presentation de nobili
Deep Learning Italia
 
Machine Learning Explanations: LIME framework
Machine Learning Explanations: LIME framework Machine Learning Explanations: LIME framework
Machine Learning Explanations: LIME framework
Deep Learning Italia
 
Explanation methods for Artificial Intelligence Models
Explanation methods for Artificial Intelligence ModelsExplanation methods for Artificial Intelligence Models
Explanation methods for Artificial Intelligence Models
Deep Learning Italia
 
Use Cases Machine Learning for Healthcare
Use Cases Machine Learning for HealthcareUse Cases Machine Learning for Healthcare
Use Cases Machine Learning for Healthcare
Deep Learning Italia
 
NLG, Training, Inference & Evaluation
NLG, Training, Inference & Evaluation NLG, Training, Inference & Evaluation
NLG, Training, Inference & Evaluation
Deep Learning Italia
 
Transformer Seq2Sqe Models: Concepts, Trends & Limitations (DLI)
Transformer Seq2Sqe Models: Concepts, Trends & Limitations (DLI)Transformer Seq2Sqe Models: Concepts, Trends & Limitations (DLI)
Transformer Seq2Sqe Models: Concepts, Trends & Limitations (DLI)
Deep Learning Italia
 
Towards quantum machine learning calogero zarbo - meet up
Towards quantum machine learning  calogero zarbo - meet upTowards quantum machine learning  calogero zarbo - meet up
Towards quantum machine learning calogero zarbo - meet up
Deep Learning Italia
 
Macaluso antonio meetup dli 2020-12-15
Macaluso antonio  meetup dli 2020-12-15Macaluso antonio  meetup dli 2020-12-15
Macaluso antonio meetup dli 2020-12-15
Deep Learning Italia
 
Data privacy e anonymization in R
Data privacy e anonymization in RData privacy e anonymization in R
Data privacy e anonymization in R
Deep Learning Italia
 

More from Deep Learning Italia (20)

Machine Learning driven Quantum Optimization for Marketing
Machine Learning driven Quantum Optimization for MarketingMachine Learning driven Quantum Optimization for Marketing
Machine Learning driven Quantum Optimization for Marketing
 
Modelli linguistici da Eliza a ChatGPT P roblemi , fraintendimenti e prospettive
Modelli linguistici da Eliza a ChatGPT P roblemi , fraintendimenti e prospettiveModelli linguistici da Eliza a ChatGPT P roblemi , fraintendimenti e prospettive
Modelli linguistici da Eliza a ChatGPT P roblemi , fraintendimenti e prospettive
 
Transformers In Vision From Zero to Hero (DLI).pptx
Transformers In Vision From Zero to Hero (DLI).pptxTransformers In Vision From Zero to Hero (DLI).pptx
Transformers In Vision From Zero to Hero (DLI).pptx
 
Meetup Luglio - Operations Research.pdf
Meetup Luglio - Operations Research.pdfMeetup Luglio - Operations Research.pdf
Meetup Luglio - Operations Research.pdf
 
Meetup Giugno - c-ResUNET.pdf
Meetup Giugno - c-ResUNET.pdfMeetup Giugno - c-ResUNET.pdf
Meetup Giugno - c-ResUNET.pdf
 
MEETUP Maggio - Team Automata
MEETUP Maggio - Team AutomataMEETUP Maggio - Team Automata
MEETUP Maggio - Team Automata
 
MEETUP APRILE - Ganomaly - Anomaly Detection.pdf
MEETUP APRILE - Ganomaly - Anomaly Detection.pdfMEETUP APRILE - Ganomaly - Anomaly Detection.pdf
MEETUP APRILE - Ganomaly - Anomaly Detection.pdf
 
2022_Meetup_Mazza-Marzo.pptx
2022_Meetup_Mazza-Marzo.pptx2022_Meetup_Mazza-Marzo.pptx
2022_Meetup_Mazza-Marzo.pptx
 
Machine Learning Security
Machine Learning SecurityMachine Learning Security
Machine Learning Security
 
The science of can and can t e la computazione quantistica
The science of can and can t e la computazione quantisticaThe science of can and can t e la computazione quantistica
The science of can and can t e la computazione quantistica
 
Dli meetup moccia
Dli meetup mocciaDli meetup moccia
Dli meetup moccia
 
Pi school-dli-presentation de nobili
Pi school-dli-presentation de nobiliPi school-dli-presentation de nobili
Pi school-dli-presentation de nobili
 
Machine Learning Explanations: LIME framework
Machine Learning Explanations: LIME framework Machine Learning Explanations: LIME framework
Machine Learning Explanations: LIME framework
 
Explanation methods for Artificial Intelligence Models
Explanation methods for Artificial Intelligence ModelsExplanation methods for Artificial Intelligence Models
Explanation methods for Artificial Intelligence Models
 
Use Cases Machine Learning for Healthcare
Use Cases Machine Learning for HealthcareUse Cases Machine Learning for Healthcare
Use Cases Machine Learning for Healthcare
 
NLG, Training, Inference & Evaluation
NLG, Training, Inference & Evaluation NLG, Training, Inference & Evaluation
NLG, Training, Inference & Evaluation
 
Transformer Seq2Sqe Models: Concepts, Trends & Limitations (DLI)
Transformer Seq2Sqe Models: Concepts, Trends & Limitations (DLI)Transformer Seq2Sqe Models: Concepts, Trends & Limitations (DLI)
Transformer Seq2Sqe Models: Concepts, Trends & Limitations (DLI)
 
Towards quantum machine learning calogero zarbo - meet up
Towards quantum machine learning  calogero zarbo - meet upTowards quantum machine learning  calogero zarbo - meet up
Towards quantum machine learning calogero zarbo - meet up
 
Macaluso antonio meetup dli 2020-12-15
Macaluso antonio  meetup dli 2020-12-15Macaluso antonio  meetup dli 2020-12-15
Macaluso antonio meetup dli 2020-12-15
 
Data privacy e anonymization in R
Data privacy e anonymization in RData privacy e anonymization in R
Data privacy e anonymization in R
 

Recently uploaded

Population Growth in Bataan: The effects of population growth around rural pl...
Population Growth in Bataan: The effects of population growth around rural pl...Population Growth in Bataan: The effects of population growth around rural pl...
Population Growth in Bataan: The effects of population growth around rural pl...
Bill641377
 
End-to-end pipeline agility - Berlin Buzzwords 2024
End-to-end pipeline agility - Berlin Buzzwords 2024End-to-end pipeline agility - Berlin Buzzwords 2024
End-to-end pipeline agility - Berlin Buzzwords 2024
Lars Albertsson
 
4th Modern Marketing Reckoner by MMA Global India & Group M: 60+ experts on W...
4th Modern Marketing Reckoner by MMA Global India & Group M: 60+ experts on W...4th Modern Marketing Reckoner by MMA Global India & Group M: 60+ experts on W...
4th Modern Marketing Reckoner by MMA Global India & Group M: 60+ experts on W...
Social Samosa
 
University of New South Wales degree offer diploma Transcript
University of New South Wales degree offer diploma TranscriptUniversity of New South Wales degree offer diploma Transcript
University of New South Wales degree offer diploma Transcript
soxrziqu
 
Monthly Management report for the Month of May 2024
Monthly Management report for the Month of May 2024Monthly Management report for the Month of May 2024
Monthly Management report for the Month of May 2024
facilitymanager11
 
ViewShift: Hassle-free Dynamic Policy Enforcement for Every Data Lake
ViewShift: Hassle-free Dynamic Policy Enforcement for Every Data LakeViewShift: Hassle-free Dynamic Policy Enforcement for Every Data Lake
ViewShift: Hassle-free Dynamic Policy Enforcement for Every Data Lake
Walaa Eldin Moustafa
 
一比一原版英属哥伦比亚大学毕业证(UBC毕业证书)学历如何办理
一比一原版英属哥伦比亚大学毕业证(UBC毕业证书)学历如何办理一比一原版英属哥伦比亚大学毕业证(UBC毕业证书)学历如何办理
一比一原版英属哥伦比亚大学毕业证(UBC毕业证书)学历如何办理
z6osjkqvd
 
Palo Alto Cortex XDR presentation .......
Palo Alto Cortex XDR presentation .......Palo Alto Cortex XDR presentation .......
Palo Alto Cortex XDR presentation .......
Sachin Paul
 
DATA COMMS-NETWORKS YR2 lecture 08 NAT & CLOUD.docx
DATA COMMS-NETWORKS YR2 lecture 08 NAT & CLOUD.docxDATA COMMS-NETWORKS YR2 lecture 08 NAT & CLOUD.docx
DATA COMMS-NETWORKS YR2 lecture 08 NAT & CLOUD.docx
SaffaIbrahim1
 
一比一原版(UO毕业证)渥太华大学毕业证如何办理
一比一原版(UO毕业证)渥太华大学毕业证如何办理一比一原版(UO毕业证)渥太华大学毕业证如何办理
一比一原版(UO毕业证)渥太华大学毕业证如何办理
bmucuha
 
Beyond the Basics of A/B Tests: Highly Innovative Experimentation Tactics You...
Beyond the Basics of A/B Tests: Highly Innovative Experimentation Tactics You...Beyond the Basics of A/B Tests: Highly Innovative Experimentation Tactics You...
Beyond the Basics of A/B Tests: Highly Innovative Experimentation Tactics You...
Aggregage
 
在线办理(英国UCA毕业证书)创意艺术大学毕业证在读证明一模一样
在线办理(英国UCA毕业证书)创意艺术大学毕业证在读证明一模一样在线办理(英国UCA毕业证书)创意艺术大学毕业证在读证明一模一样
在线办理(英国UCA毕业证书)创意艺术大学毕业证在读证明一模一样
v7oacc3l
 
"Financial Odyssey: Navigating Past Performance Through Diverse Analytical Lens"
"Financial Odyssey: Navigating Past Performance Through Diverse Analytical Lens""Financial Odyssey: Navigating Past Performance Through Diverse Analytical Lens"
"Financial Odyssey: Navigating Past Performance Through Diverse Analytical Lens"
sameer shah
 
DSSML24_tspann_CodelessGenerativeAIPipelines
DSSML24_tspann_CodelessGenerativeAIPipelinesDSSML24_tspann_CodelessGenerativeAIPipelines
DSSML24_tspann_CodelessGenerativeAIPipelines
Timothy Spann
 
STATATHON: Unleashing the Power of Statistics in a 48-Hour Knowledge Extravag...
STATATHON: Unleashing the Power of Statistics in a 48-Hour Knowledge Extravag...STATATHON: Unleashing the Power of Statistics in a 48-Hour Knowledge Extravag...
STATATHON: Unleashing the Power of Statistics in a 48-Hour Knowledge Extravag...
sameer shah
 
一比一原版(UCSB文凭证书)圣芭芭拉分校毕业证如何办理
一比一原版(UCSB文凭证书)圣芭芭拉分校毕业证如何办理一比一原版(UCSB文凭证书)圣芭芭拉分校毕业证如何办理
一比一原版(UCSB文凭证书)圣芭芭拉分校毕业证如何办理
nuttdpt
 
Challenges of Nation Building-1.pptx with more important
Challenges of Nation Building-1.pptx with more importantChallenges of Nation Building-1.pptx with more important
Challenges of Nation Building-1.pptx with more important
Sm321
 
一比一原版(CU毕业证)卡尔顿大学毕业证如何办理
一比一原版(CU毕业证)卡尔顿大学毕业证如何办理一比一原版(CU毕业证)卡尔顿大学毕业证如何办理
一比一原版(CU毕业证)卡尔顿大学毕业证如何办理
bmucuha
 
一比一原版(UCSF文凭证书)旧金山分校毕业证如何办理
一比一原版(UCSF文凭证书)旧金山分校毕业证如何办理一比一原版(UCSF文凭证书)旧金山分校毕业证如何办理
一比一原版(UCSF文凭证书)旧金山分校毕业证如何办理
nuttdpt
 
原版一比一利兹贝克特大学毕业证(LeedsBeckett毕业证书)如何办理
原版一比一利兹贝克特大学毕业证(LeedsBeckett毕业证书)如何办理原版一比一利兹贝克特大学毕业证(LeedsBeckett毕业证书)如何办理
原版一比一利兹贝克特大学毕业证(LeedsBeckett毕业证书)如何办理
wyddcwye1
 

Recently uploaded (20)

Population Growth in Bataan: The effects of population growth around rural pl...
Population Growth in Bataan: The effects of population growth around rural pl...Population Growth in Bataan: The effects of population growth around rural pl...
Population Growth in Bataan: The effects of population growth around rural pl...
 
End-to-end pipeline agility - Berlin Buzzwords 2024
End-to-end pipeline agility - Berlin Buzzwords 2024End-to-end pipeline agility - Berlin Buzzwords 2024
End-to-end pipeline agility - Berlin Buzzwords 2024
 
4th Modern Marketing Reckoner by MMA Global India & Group M: 60+ experts on W...
4th Modern Marketing Reckoner by MMA Global India & Group M: 60+ experts on W...4th Modern Marketing Reckoner by MMA Global India & Group M: 60+ experts on W...
4th Modern Marketing Reckoner by MMA Global India & Group M: 60+ experts on W...
 
University of New South Wales degree offer diploma Transcript
University of New South Wales degree offer diploma TranscriptUniversity of New South Wales degree offer diploma Transcript
University of New South Wales degree offer diploma Transcript
 
Monthly Management report for the Month of May 2024
Monthly Management report for the Month of May 2024Monthly Management report for the Month of May 2024
Monthly Management report for the Month of May 2024
 
ViewShift: Hassle-free Dynamic Policy Enforcement for Every Data Lake
ViewShift: Hassle-free Dynamic Policy Enforcement for Every Data LakeViewShift: Hassle-free Dynamic Policy Enforcement for Every Data Lake
ViewShift: Hassle-free Dynamic Policy Enforcement for Every Data Lake
 
一比一原版英属哥伦比亚大学毕业证(UBC毕业证书)学历如何办理
一比一原版英属哥伦比亚大学毕业证(UBC毕业证书)学历如何办理一比一原版英属哥伦比亚大学毕业证(UBC毕业证书)学历如何办理
一比一原版英属哥伦比亚大学毕业证(UBC毕业证书)学历如何办理
 
Palo Alto Cortex XDR presentation .......
Palo Alto Cortex XDR presentation .......Palo Alto Cortex XDR presentation .......
Palo Alto Cortex XDR presentation .......
 
DATA COMMS-NETWORKS YR2 lecture 08 NAT & CLOUD.docx
DATA COMMS-NETWORKS YR2 lecture 08 NAT & CLOUD.docxDATA COMMS-NETWORKS YR2 lecture 08 NAT & CLOUD.docx
DATA COMMS-NETWORKS YR2 lecture 08 NAT & CLOUD.docx
 
一比一原版(UO毕业证)渥太华大学毕业证如何办理
一比一原版(UO毕业证)渥太华大学毕业证如何办理一比一原版(UO毕业证)渥太华大学毕业证如何办理
一比一原版(UO毕业证)渥太华大学毕业证如何办理
 
Beyond the Basics of A/B Tests: Highly Innovative Experimentation Tactics You...
Beyond the Basics of A/B Tests: Highly Innovative Experimentation Tactics You...Beyond the Basics of A/B Tests: Highly Innovative Experimentation Tactics You...
Beyond the Basics of A/B Tests: Highly Innovative Experimentation Tactics You...
 
在线办理(英国UCA毕业证书)创意艺术大学毕业证在读证明一模一样
在线办理(英国UCA毕业证书)创意艺术大学毕业证在读证明一模一样在线办理(英国UCA毕业证书)创意艺术大学毕业证在读证明一模一样
在线办理(英国UCA毕业证书)创意艺术大学毕业证在读证明一模一样
 
"Financial Odyssey: Navigating Past Performance Through Diverse Analytical Lens"
"Financial Odyssey: Navigating Past Performance Through Diverse Analytical Lens""Financial Odyssey: Navigating Past Performance Through Diverse Analytical Lens"
"Financial Odyssey: Navigating Past Performance Through Diverse Analytical Lens"
 
DSSML24_tspann_CodelessGenerativeAIPipelines
DSSML24_tspann_CodelessGenerativeAIPipelinesDSSML24_tspann_CodelessGenerativeAIPipelines
DSSML24_tspann_CodelessGenerativeAIPipelines
 
STATATHON: Unleashing the Power of Statistics in a 48-Hour Knowledge Extravag...
STATATHON: Unleashing the Power of Statistics in a 48-Hour Knowledge Extravag...STATATHON: Unleashing the Power of Statistics in a 48-Hour Knowledge Extravag...
STATATHON: Unleashing the Power of Statistics in a 48-Hour Knowledge Extravag...
 
一比一原版(UCSB文凭证书)圣芭芭拉分校毕业证如何办理
一比一原版(UCSB文凭证书)圣芭芭拉分校毕业证如何办理一比一原版(UCSB文凭证书)圣芭芭拉分校毕业证如何办理
一比一原版(UCSB文凭证书)圣芭芭拉分校毕业证如何办理
 
Challenges of Nation Building-1.pptx with more important
Challenges of Nation Building-1.pptx with more importantChallenges of Nation Building-1.pptx with more important
Challenges of Nation Building-1.pptx with more important
 
一比一原版(CU毕业证)卡尔顿大学毕业证如何办理
一比一原版(CU毕业证)卡尔顿大学毕业证如何办理一比一原版(CU毕业证)卡尔顿大学毕业证如何办理
一比一原版(CU毕业证)卡尔顿大学毕业证如何办理
 
一比一原版(UCSF文凭证书)旧金山分校毕业证如何办理
一比一原版(UCSF文凭证书)旧金山分校毕业证如何办理一比一原版(UCSF文凭证书)旧金山分校毕业证如何办理
一比一原版(UCSF文凭证书)旧金山分校毕业证如何办理
 
原版一比一利兹贝克特大学毕业证(LeedsBeckett毕业证书)如何办理
原版一比一利兹贝克特大学毕业证(LeedsBeckett毕业证书)如何办理原版一比一利兹贝克特大学毕业证(LeedsBeckett毕业证书)如何办理
原版一比一利兹贝克特大学毕业证(LeedsBeckett毕业证书)如何办理
 

Dli meetup-may 27-milano_nlp_de_nobili

  • 1. Who am I? • Theoretical Particle Physicist (UniPd) • Ph.D. in Statistical Physics (SISSA, Trieste) • Master in High Performance Computing (ICTP) • Private Pilot Licence @denocris Cristiano-De-Nobili Cristiano De Nobili, Ph.D. Deep Learning Scientist @ Harman Samsung AI Machine Learning Instructor @ Deep Leaning Italia c.denobili@deeplearningitalia.com ✈
  • 2. TEXT UNDERSTANDING FROM SCRATCH We are going to show you a new and non-standard way to perform text classification. [1] Text Understanding from Scratch - X. Zhang, Y. LeCun [2] Character-level CNNs for Text Classification - X. Zhang, J. Zhao, Y. LeCun [3] Very Deep CNNs for Text Classification - A. Conneau, H. Schwenk, Y. LeCun, L. Barrault Intro to DL for Text. Char-level set up. Temporal CNN. Preliminary results using char-level VDCNNs Comparison with FastText Cristiano Daniele Elena
  • 3. There is a belief in DL… Computer Vision NLP
  • 4. H[i, j] = X k,l W[i, j, k, l] X[k, l] From FC to CNNS (thanks to symmetries)
  • 5. H[i, j] = X a,b K[i, j, a, b] X[i + a, j + b] From FC to CNNS (thanks to symmetries)
  • 6. From FC to CNNS (thanks to symmetries) H[i, j] = X a,b K[a, b] X[i + a, j + b]Translational Invariance: H[i, j] = X a,b K[i, j, a, b] X[i + a, j + b] K[i, j, a, b] = K[a, b] H[i, j] = X a,b= K[a, b] X[i + a, j + b] Fully Connected… Locality: K[a, b] = 0 (outside some range)
  • 7. From FC to CNNS (thanks to symmetries) H[i, j] = X a,b K[a, b] X[i + a, j + b]Translational Invariance: H[i, j] = X a,b K[i, j, a, b] X[i + a, j + b] K[i, j, a, b] = K[a, b] H[i, j] = X a,b= K[a, b] X[i + a, j + b] Fully Connected… Locality: K[a, b] = 0 (outside some range) It’s a convolution!!
  • 8. Recurrent Neural Networks Siamo fatti di sorrisi e silenzi, sorrisi e silenzi. I primi vincono, i secondi passano.
  • 9. Recurrent Neural Networks Siamo fatti di sorrisi e silenzi, sorrisi e silenzi. I primi vincono, i secondi passano. short-range and long-range dependencies!
  • 10. Recurrent Neural Networks “La principale funzione della memoria è dimenticare” Ciao Giulia, come stai? Giulia, ti vedo triste. Come mai?
  • 11. TEXT Yesterday night we were out at Terrazza Martini with some friends and… TOKENIZATION yesterday, night, we, were, … POS, LEMMATIZATION, NAMED ENTITIES, … WORD EMBEDDING Neural Networks STANDARD TEXT PIPELINE
  • 12. TEXT Yesterday night we were out at Terrazza Martini with some friends and… TOKENIZATION yesterday, night, we, were, … RNN (LSTM, GRU,..) STANDARD TEXT PIPELINE 99% WORD EMBEDDING POS, LEMMATIZATION, NAMED ENTITIES, …
  • 13. TEXT Yesterday night we were out at Terrazza Martini with some friends and… TOKENIZATION yesterday, night, we, were, … RNN (LSTM, GRU,..) STANDARD TEXT PIPELINE 99% WORD EMBEDDING NON POS, LEMMATIZATION, NAMED ENTITIES, …
  • 14. TEXT Yesterday night we were out at Terrazza Martini with some friends and… TOKENIZATION yesterday, night, we, were, … STANDARD TEXT PIPELINE WORD EMBEDDING CNNs CNNs can be applied to WE without any knowledge on syntactic or semantic structures NON POS, LEMMATIZATION, NAMED ENTITIES, …
  • 15. TEXT Yesterday night we were out at Terrazza Martini with some friends and… STANDARD TEXT PIPELINE WORD EMBEDDING CNNs CNNs can be applied to WE without any knowledge on syntactic or semantic structures NON CHAR as TOKEN y, e, s, t, e, r, d, a, y… POS, LEMMATIZATION, NAMED ENTITIES, …
  • 16. POS, LEMMATIZATION, NAMED ENTITIES, … TEXT Yesterday night we were out at Terrazza Martini with some friends and… STANDARD TEXT PIPELINE WORD EMBEDDING CNNs CNNs can be applied to WE without any knowledge on syntactic or semantic structures NON CHAR as TOKEN y, e, s, t, e, r, d, a, y…
  • 17. TEXT Yesterday night we were out at Terrazza Martini with some friends and… POS, LEMMATIZATION, NAME ENTITIES, … STANDARD TEXT PIPELINE WORD EMBEDDING CNNs CNNs can be applied to WE without any knowledge on syntactic or semantic structures NON CHAR as TOKEN y, e, s, t, e, r, d, a, y…
  • 18. STANDARD TEXT PIPELINENON TEXT Yesterday night we were out at Terrazza Martini with some friends and… VDCNNsCHAR as TOKEN y, e, s, t, e, r, d, a, y… VDCNNs not only do not require any knowledge on syntactic or semantic structures, but they also not require any knowledge on words (WE).
  • 19. TEXT UNDERSTANDING FROM SCRATCH No knowledge of semantics, syntactics & No knowledge of words No previous knowledge is needed! TEXT Yesterday night we were out at Terrazza Martini with some friends and… VDCNNsCHAR as TOKEN y, e, s, t, e, r, d, a, y…
  • 20. How CNNs work with Text? h o w c embedding-dim 1d (or temporal) convolution 2-window kernel 4-window kernel
  • 21. How CNNs work with Text? output of the 1d convolution
  • 22. How CNNs work with Text?
  • 23. Conclusion Character-level VDCNNS are able with no previous knowledge to understand from scratch a given text. This architecture operates at the lowest atomic representation of text. Despite convolutional layers are by construction local, deep CNNs are anyway able to learn high-level hierarchical representation of a text. @denocris Cristiano-De-Nobilic.denobili@deeplearningitalia.com
  • 24. @denocris Cristiano-De-Nobili Thanks!!! Siamo fatti di sorrisi e silenzi, sorrisi e silenzi. I primi vincono, i secondi passano.