19
Raphael Painting Analysis Transfer learning and Visualization HU Wei, ZHAO Yuqi, YE Rougang, HAN Ruijian Hong Kong University of Science and Technology March 13, 2018

Raphael Painting Analysis - GitHub Pages

  • Upload
    others

  • View
    9

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Raphael Painting Analysis - GitHub Pages

Raphael Painting AnalysisTransfer learning and Visualization

HU Wei, ZHAO Yuqi, YE Rougang, HAN Ruijian

Hong Kong University of Science and Technology

March 13, 2018

Page 2: Raphael Painting Analysis - GitHub Pages

Data Description

Outline

1 Data Description

2 Methodology

3 Visualization

HU et al. (HKUST) Raphael Painting Analysis March 13, 2018 2 / 19

Page 3: Raphael Painting Analysis - GitHub Pages

Data Description

Data Description

Raphael Paintings: 12 authentic, 9 fake and 7 disputed paintings.

Goal: Investigate the secret of Raphael!

HU et al. (HKUST) Raphael Painting Analysis March 13, 2018 3 / 19

Page 4: Raphael Painting Analysis - GitHub Pages

Data Description

Data Description

Preprocessing: crop (224, 224) patches from original paintings, removealmost blank parts (simply thresholding at variance of patches).

HU et al. (HKUST) Raphael Painting Analysis March 13, 2018 4 / 19

Page 5: Raphael Painting Analysis - GitHub Pages

Data Description

Data Description

Sequentially cropping v.s. random cropping

HU et al. (HKUST) Raphael Painting Analysis March 13, 2018 5 / 19

Page 6: Raphael Painting Analysis - GitHub Pages

Data Description

Data Description

Both validation and test sets consist of one authentic and one fakepaintings.

HU et al. (HKUST) Raphael Painting Analysis March 13, 2018 6 / 19

Page 7: Raphael Painting Analysis - GitHub Pages

Methodology

Outline

1 Data Description

2 Methodology

3 Visualization

HU et al. (HKUST) Raphael Painting Analysis March 13, 2018 7 / 19

Page 8: Raphael Painting Analysis - GitHub Pages

Methodology

Transfer Learning

We borrow pretrained ResNet18 from PyTorch, reset FC layer.

HU et al. (HKUST) Raphael Painting Analysis March 13, 2018 8 / 19

Page 9: Raphael Painting Analysis - GitHub Pages

Methodology

Transfer Learning

Resnet18 has 4 such Layers. Next, we shall tune the number of freezeLayers.

HU et al. (HKUST) Raphael Painting Analysis March 13, 2018 9 / 19

Page 10: Raphael Painting Analysis - GitHub Pages

Methodology

Results

Typical models Good model Bad model

Layers Trained train val test train val test

FC layer 86.98 97.98 98.15 97.08 78.11 57.06

Layer 4, FC layer 93.87 99.36 99.66 99.99 83.38 54.95

Layers 3 & 4, FC layer 99.90 99.79 99.50 99.96 86.15 74.46

Good model: Val: 21,18 Test:9,12Bad model: Val:24, 12 Test:3,16

HU et al. (HKUST) Raphael Painting Analysis March 13, 2018 10 / 19

Page 11: Raphael Painting Analysis - GitHub Pages

Methodology

Manifold Learning

We compare 8 popular methods in Manifold Learning on the test sets.The result of the Good model (Layers 3, 4 and FC layer) is as follows:

HU et al. (HKUST) Raphael Painting Analysis March 13, 2018 11 / 19

Page 12: Raphael Painting Analysis - GitHub Pages

Methodology

Manifold Learning

The result of the bad model (Layers 3 & 4, FC layer) is as follows:

HU et al. (HKUST) Raphael Painting Analysis March 13, 2018 12 / 19

Page 13: Raphael Painting Analysis - GitHub Pages

Visualization

Outline

1 Data Description

2 Methodology

3 Visualization

HU et al. (HKUST) Raphael Painting Analysis March 13, 2018 13 / 19

Page 14: Raphael Painting Analysis - GitHub Pages

Visualization

Visualization directly on painting

HU et al. (HKUST) Raphael Painting Analysis March 13, 2018 14 / 19

Page 15: Raphael Painting Analysis - GitHub Pages

Visualization

Motivation

I The performance of model highly depends on the choice of datasegmentation.

I Lack of data - prior knowledge - visualization.

I Visualization bridge the gap between art master and data scientist.

HU et al. (HKUST) Raphael Painting Analysis March 13, 2018 15 / 19

Page 16: Raphael Painting Analysis - GitHub Pages

Visualization

Bad Model: Validation

(a) #12 Fake (b) #24 Authentic

HU et al. (HKUST) Raphael Painting Analysis March 13, 2018 16 / 19

Page 17: Raphael Painting Analysis - GitHub Pages

Visualization

Bad Model: Test

(c) #16 Fake (d) #3 Authentic

HU et al. (HKUST) Raphael Painting Analysis March 13, 2018 17 / 19

Page 18: Raphael Painting Analysis - GitHub Pages

Visualization

Possible Reasons

(e) #12 (f) #16

Figure: Landscape

I These are the only 2 landscape paintings in datasets.

I Model did not learn any features for landscape painting.

HU et al. (HKUST) Raphael Painting Analysis March 13, 2018 18 / 19

Page 19: Raphael Painting Analysis - GitHub Pages

Visualization

Disputed

I Our model gives 48% of patches to be real.I Model mis-recognize contaminated patches.

HU et al. (HKUST) Raphael Painting Analysis March 13, 2018 19 / 19