Case Study Fine Writing Style Classification Using Siamese

  • Slides: 16
Download presentation
Case Study: Fine Writing Style Classification Using Siamese Neural Network Alaa Abdalhaleem Berat Kurar

Case Study: Fine Writing Style Classification Using Siamese Neural Network Alaa Abdalhaleem Berat Kurar Barakat Department of Computer Science Ben-Gurion University of the Negev Jihad El-Sana

Table of Contents • Problem definition • Contribution • Related work • Method •

Table of Contents • Problem definition • Contribution • Related work • Method • Experiments • Results • Conclusion

Problem definition Principle of handwriting style uniqueness BOOK 1 BOOK 2

Problem definition Principle of handwriting style uniqueness BOOK 1 BOOK 2

Problem definition Principle of in-writer variation BOOK 1

Problem definition Principle of in-writer variation BOOK 1

Contribution • Automatic system • Divide manuscript into parts with similar writing styles •

Contribution • Automatic system • Divide manuscript into parts with similar writing styles • Siamese Convolutional Neural Network (CNN) • Input: Two document patches • Output: Same or different

Related work • Chu and Srihari, 2014: • • Single branch CNN Input: Concatenated

Related work • Chu and Srihari, 2014: • • Single branch CNN Input: Concatenated two word images Output: Same or different Children’s writing style change by time • Fiel and Sablatnig, 2015: • • Single branch CNN Input: Single word images Output: Classes in the number of writers Writer identification and retrieval

Method • Siamese CNN architecture is based on Koch et al, 2015 Siamese CNN

Method • Siamese CNN architecture is based on Koch et al, 2015 Siamese CNN Patches x 1 CNN F(x 1) W x 2 CNN F(x 2) L 1 Single neuron Same or Different

Datasets WAHD Dataset (Abdelhaleem et al, 2017) • 3 manuscripts • 139, 239 and

Datasets WAHD Dataset (Abdelhaleem et al, 2017) • 3 manuscripts • 139, 239 and 392 pages VML Dataset (Kassis et al, 2017) • 1 manuscripts • 140 pages

Experiments • Train set sizes: 8266, 4270, 2560 pairs Same (1) Different (0)

Experiments • Train set sizes: 8266, 4270, 2560 pairs Same (1) Different (0)

Experiments • Patch sizes

Experiments • Patch sizes

Experiments • Number of script lines 3 lines 4 lines

Experiments • Number of script lines 3 lines 4 lines

Results Performance with different train set sizes

Results Performance with different train set sizes

Results Performance with different patch sizes

Results Performance with different patch sizes

Results Performance with different number of lines

Results Performance with different number of lines

Results Summary of results Train size 8266 8266 4270 2568 Number of lines 3

Results Summary of results Train size 8266 8266 4270 2568 Number of lines 3 3 4 3 3 Patch size 150 x 150 120 x 120 75 x 75 40 x 40 150 x 150 Test accuracy 98. 15 98. 58 94. 75 94. 40 98. 37 96. 40 95. 13

Conclusion • An automatic system for dividing a book into similar parts by writing

Conclusion • An automatic system for dividing a book into similar parts by writing style • Input: 2 paragraphs from a book • Output: Similarity of input paragraphs • Future work: Modern handwritten datasets