Motoki Satosato-motoki.com/pdf/nlp2018_sato-suzuki.pdf · 24 %) !("$: Positive!("$: Negative There...

28
" + 1 , - 0 2 , .* 1,3 , . 1,3 1 : )!,(# (NAIST) %&' 2 : NTT(/%& 3 : %& $%&AIP

Transcript of Motoki Satosato-motoki.com/pdf/nlp2018_sato-suzuki.pdf · 24 %) !("$: Positive!("$: Negative There...

Page 1: Motoki Satosato-motoki.com/pdf/nlp2018_sato-suzuki.pdf · 24 %) !("$: Positive!("$: Negative There is really but one thing to say about thissorry movie It should never have been made

���������� ����������

"��+1, -�02, ��.*1,3, � .�1,3

��������� �����

1 : )!�,(��#����� (NAIST) � %&'2 : NTT�������(��/%&�3 : ���%&�$��� �%&����AIP

Page 2: Motoki Satosato-motoki.com/pdf/nlp2018_sato-suzuki.pdf · 24 %) !("$: Positive!("$: Negative There is really but one thing to say about thissorry movie It should never have been made

����

1. ����– '��(��'�� ��– �%� �����'��(�

2. ��"$3. ����4. �#5. ������&6. �������!�

2

Page 3: Motoki Satosato-motoki.com/pdf/nlp2018_sato-suzuki.pdf · 24 %) !("$: Positive!("$: Negative There is really but one thing to say about thissorry movie It should never have been made

�����l �����(��)���� ���������� ���

[Szegedy et al., 2014, Goodfellow et al .,2015]

3l [Szegedy et al., 2014] : “Intriguing properties of neural networks.”, ICLR 2014.l [Goodfellow et al.,2015]:“Explaining and Harnessing Adversarial Examples”, ICLR 2015.

[Goodfellow et al., 2015]����

���� �����(Adversarial Perturbation)

������(Adversarial Example)

Page 4: Motoki Satosato-motoki.com/pdf/nlp2018_sato-suzuki.pdf · 24 %) !("$: Positive!("$: Negative There is really but one thing to say about thissorry movie It should never have been made

�����l ����(��)��� � ���������������

[Szegedy et al., 2014, Goodfellow et al .,2015]

4[Goodfellow et al., 2015]����

���� �����(Adversarial Perturbation)

������(Adversarial Example)

���������� ������

Page 5: Motoki Satosato-motoki.com/pdf/nlp2018_sato-suzuki.pdf · 24 %) !("$: Positive!("$: Negative There is really but one thing to say about thissorry movie It should never have been made

�#�� ������l �#��– B ��� ( 2 – �# 5 %��� � �# ���$��

5

l ������– B "� – "�����!��� � 0 ) +– !��� � %��� � � � �

�$���

G

Page 6: Motoki Satosato-motoki.com/pdf/nlp2018_sato-suzuki.pdf · 24 %) !("$: Positive!("$: Negative There is really but one thing to say about thissorry movie It should never have been made

�34�;'

6

95�$ ,*�$

������

�����

������

�������

���������� ����)����

���������� ����)���

,*�$�����

1. <&�/1%��"�+:/-���( ����72�.�6����)

2. 8!#�����=0�� (�������

Page 7: Motoki Satosato-motoki.com/pdf/nlp2018_sato-suzuki.pdf · 24 %) !("$: Positive!("$: Negative There is really but one thing to say about thissorry movie It should never have been made

����

1. $����– &��'��&�� ��– �#� �����&��'�

2. ����3. ����4. �"5. ������%6. �������!�

7

Page 8: Motoki Satosato-motoki.com/pdf/nlp2018_sato-suzuki.pdf · 24 %) !("$: Positive!("$: Negative There is really but one thing to say about thissorry movie It should never have been made

LM

l S– E A B P S

2 . 2 0 ,

– J2 7 . 28 ,

– T L S ][. 1 ,

l N BP M

8

) ( ( (

Page 9: Motoki Satosato-motoki.com/pdf/nlp2018_sato-suzuki.pdf · 24 %) !("$: Positive!("$: Negative There is really but one thing to say about thissorry movie It should never have been made

]

l M AV f T Goodfellow et al .,2015]

9

M , 1,2 ) ,1 1 0

M M A Ml A , ( ) ,

[Miyato et al., 2016]

l a[ A T V M (1 ,7 ������– [A TA eT ;

, 1,2 ) ,1 1 0 ) 7

d (1 ,7 ������ A ;

Page 10: Motoki Satosato-motoki.com/pdf/nlp2018_sato-suzuki.pdf · 24 %) !("$: Positive!("$: Negative There is really but one thing to say about thissorry movie It should never have been made

2 , ������

l Takeru Miyato, Andrew M Dai, and Ian Goodfellow, ICLR 2017

“Adversarial training methods for semi-supervised text classification.”

l :LSTM + Pre-Training (Language Model) + Adversarial Training

1070 10 1

Page 11: Motoki Satosato-motoki.com/pdf/nlp2018_sato-suzuki.pdf · 24 %) !("$: Positive!("$: Negative There is really but one thing to say about thissorry movie It should never have been made

����� �� (�: 1.0)

, ������

11

[ :] :

]

�[ : � ������

� 0 7

7

� 7, L2M

�M1 2

Page 12: Motoki Satosato-motoki.com/pdf/nlp2018_sato-suzuki.pdf · 24 %) !("$: Positive!("$: Negative There is really but one thing to say about thissorry movie It should never have been made

2 , ������

l Takeru Miyato, Andrew M Dai, and Ian Goodfellow, ICLR 2017

“Adversarial training methods for semi-supervised text classification.”

l :LSTM + Pre-Training (Language Model) + Adversarial Training

1270 10 1

Page 13: Motoki Satosato-motoki.com/pdf/nlp2018_sato-suzuki.pdf · 24 %) !("$: Positive!("$: Negative There is really but one thing to say about thissorry movie It should never have been made

����

1. (!���– *��+��*�� ��– �'�" ����*��+�

2. ��$&3. ����4. �%5. ������)6. �������#�

13

Page 14: Motoki Satosato-motoki.com/pdf/nlp2018_sato-suzuki.pdf · 24 %) !("$: Positive!("$: Negative There is really but one thing to say about thissorry movie It should never have been made

14

����

����

����

�� ���

��������������

��������������

����, �� ����

Page 15: Motoki Satosato-motoki.com/pdf/nlp2018_sato-suzuki.pdf · 24 %) !("$: Positive!("$: Negative There is really but one thing to say about thissorry movie It should never have been made

" ��

15

)���# (&� ���

)��!�

�(&���� ��

����������)���

�(&� ���)������ �'%�� �����a�!

�*$���

���α�(&��� ��d�)����

Page 16: Motoki Satosato-motoki.com/pdf/nlp2018_sato-suzuki.pdf · 24 %) !("$: Positive!("$: Negative There is really but one thing to say about thissorry movie It should never have been made

:

16

: :

�����

�����

�����

�������

• a 0

• .

Page 17: Motoki Satosato-motoki.com/pdf/nlp2018_sato-suzuki.pdf · 24 %) !("$: Positive!("$: Negative There is really but one thing to say about thissorry movie It should never have been made

�����

1. & ���– (��)��(�� ��– �%�!�����(��)�

2. ��#$3. ����4. ��5. ������'6. �������"�

17

Page 18: Motoki Satosato-motoki.com/pdf/nlp2018_sato-suzuki.pdf · 24 %) !("$: Positive!("$: Negative There is really but one thing to say about thissorry movie It should never have been made

l ( 1 2 01)– : , ������ – 7 )(

(Train : 21,246 Dev: 3,754 Test: 25,000 Unlabeled: 50,000)

18((

Page 19: Motoki Satosato-motoki.com/pdf/nlp2018_sato-suzuki.pdf · 24 %) !("$: Positive!("$: Negative There is really but one thing to say about thissorry movie It should never have been made

19• .• .

(Semi-supervised : )

Page 20: Motoki Satosato-motoki.com/pdf/nlp2018_sato-suzuki.pdf · 24 %) !("$: Positive!("$: Negative There is really but one thing to say about thissorry movie It should never have been made

�����

1. ' ���– (��)��(�� ��– �&�!�����(��)�

2. ��#%3. ����4. �$5. �����6. �������"�

20

Page 21: Motoki Satosato-motoki.com/pdf/nlp2018_sato-suzuki.pdf · 24 %) !("$: Positive!("$: Negative There is really but one thing to say about thissorry movie It should never have been made

21

��( ) �������

��(2

������� � ��������

�� ����� (���( L

.

����� ��

������� � ��������.

��������

Page 22: Motoki Satosato-motoki.com/pdf/nlp2018_sato-suzuki.pdf · 24 %) !("$: Positive!("$: Negative There is really but one thing to say about thissorry movie It should never have been made

22

( )

(2

(( L

.

.

Page 23: Motoki Satosato-motoki.com/pdf/nlp2018_sato-suzuki.pdf · 24 %) !("$: Positive!("$: Negative There is really but one thing to say about thissorry movie It should never have been made

%,�*!��� )�'$

l."���� , .

23

This movie turned out to be better than I had expected it to be Some parts were pretty funny It was nice to have a movie with a new plot <eos>

������) %,&(: Positive

This movie turned out to be worse than I had expected it to be Some parts were pretty funny It was nice to have a movie with a new plot <eos>

-������ %,&(: Negative

������ ����� )�#+�*!� �

Page 24: Motoki Satosato-motoki.com/pdf/nlp2018_sato-suzuki.pdf · 24 %) !("$: Positive!("$: Negative There is really but one thing to say about thissorry movie It should never have been made

!(�&�����% #

24

������%

!("$: Positive)������

!("$: Negative

There is really but one thing to say about this sorry movie It should never have been made The first one one of my favourites An American Werewolf in London is a great movie with a good plot good actors and good FX But this one It stinks to heaven with a cry of helplessness <eos>

There is really but one thing to say about that sorry movie It should never have been made The first one one of my favourites An American Werewolf in London is a great movie with a good plot good actors and good FX But this one It stinks to heaven with a cry of helplessness <eos>

���� ���� % �'�&�����

Page 25: Motoki Satosato-motoki.com/pdf/nlp2018_sato-suzuki.pdf · 24 %) !("$: Positive!("$: Negative There is really but one thing to say about thissorry movie It should never have been made

� ������������

25

��� �� ,������� ����

���� ���� ,������� ���

Page 26: Motoki Satosato-motoki.com/pdf/nlp2018_sato-suzuki.pdf · 24 %) !("$: Positive!("$: Negative There is really but one thing to say about thissorry movie It should never have been made

�����

1. !����– #��$��#����– � ��������#��$�

2. ����3. �� �4. ��5. �� ���"6. ���

26

Page 27: Motoki Satosato-motoki.com/pdf/nlp2018_sato-suzuki.pdf · 24 %) !("$: Positive!("$: Negative There is really but one thing to say about thissorry movie It should never have been made

���

l ���� �����������

l . .l ��� .l � ����� ��

27

Page 28: Motoki Satosato-motoki.com/pdf/nlp2018_sato-suzuki.pdf · 24 %) !("$: Positive!("$: Negative There is really but one thing to say about thissorry movie It should never have been made

28