Deep Learning based methods for remote sensing...

40
Deep Learning based methods for remote sensing data Doing more with buildings Sylvain Lobry 1 , Diego Marcos Gonzalez 1 , John E. Vargas-Muñoz 2 , Benjamin Kellenberger 1 , Shivangi Srivastava 1 , Devis Tuia 1 1 Laboratory of Geo-information Science and Remote Sensing, Wageningen University & Research, The Netherlands 2 Institute of computing, University of Campinas, Brazil ESA Φ-week 13/11/2018 13/11/2018 1/15 Sylvain LOBRY, et. al. Deep learning for urban remote sensing

Transcript of Deep Learning based methods for remote sensing...

Page 1: Deep Learning based methods for remote sensing …phiweek2018.esa.int/agenda/files/presentation280.pdfDeep Learning based methods for remote sensing data Doing more with buildings

Deep Learning based methods for remote sensing data

Doing more with buildings

Sylvain Lobry1, Diego Marcos Gonzalez1 , John E. Vargas-Muñoz2 ,Benjamin Kellenberger1, Shivangi Srivastava1, Devis Tuia1

1Laboratory of Geo-information Science and Remote Sensing,

Wageningen University & Research, The Netherlands

2Institute of computing, University of Campinas, Brazil

ESA �-week13/11/2018

13/11/2018 1/15 Sylvain LOBRY, et. al. Deep learning for urban remote sensing

Page 2: Deep Learning based methods for remote sensing …phiweek2018.esa.int/agenda/files/presentation280.pdfDeep Learning based methods for remote sensing data Doing more with buildings

Building segmentation with deep learning

June 28th 2018: Bing releases 125 million Building Footprints in the US asOpen Data

13/11/2018 2/15 Sylvain LOBRY, et. al. Deep learning for urban remote sensing

Page 3: Deep Learning based methods for remote sensing …phiweek2018.esa.int/agenda/files/presentation280.pdfDeep Learning based methods for remote sensing data Doing more with buildings

Building segmentation with deep learning

June 28th 2018: Bing releases 125 million Building Footprints in the US asOpen DataHow?

Apply ResNet [He et al., 2015] + smart postprocessing

13/11/2018 2/15 Sylvain LOBRY, et. al. Deep learning for urban remote sensing

Page 4: Deep Learning based methods for remote sensing …phiweek2018.esa.int/agenda/files/presentation280.pdfDeep Learning based methods for remote sensing data Doing more with buildings

Building segmentation with deep learning

June 28th 2018: Bing releases 125 million Building Footprints in the US asOpen Data

IGARSS 2018: Large-scale semantic classification: outcome of the first yearof Inria aerial image labeling benchmark [Huang et al., 2018]

13/11/2018 2/15 Sylvain LOBRY, et. al. Deep learning for urban remote sensing

Page 5: Deep Learning based methods for remote sensing …phiweek2018.esa.int/agenda/files/presentation280.pdfDeep Learning based methods for remote sensing data Doing more with buildings

Building segmentation with deep learning

June 28th 2018: Bing releases 125 million Building Footprints in the US asOpen Data

IGARSS 2018: Large-scale semantic classification: outcome of the first yearof Inria aerial image labeling benchmark [Huang et al., 2018]Winner:

Apply U-Net [Ronneberger et al., 2015] with a modified inference method

13/11/2018 2/15 Sylvain LOBRY, et. al. Deep learning for urban remote sensing

Page 6: Deep Learning based methods for remote sensing …phiweek2018.esa.int/agenda/files/presentation280.pdfDeep Learning based methods for remote sensing data Doing more with buildings

Question

Is it always sufficient to apply off the shelf methods?

13/11/2018 3/15 Sylvain LOBRY, et. al. Deep learning for urban remote sensing

Page 7: Deep Learning based methods for remote sensing …phiweek2018.esa.int/agenda/files/presentation280.pdfDeep Learning based methods for remote sensing data Doing more with buildings

Semantic segmentation vs Instance segmentation

13/11/2018 4/15 Sylvain LOBRY, et. al. Deep learning for urban remote sensing

Page 8: Deep Learning based methods for remote sensing …phiweek2018.esa.int/agenda/files/presentation280.pdfDeep Learning based methods for remote sensing data Doing more with buildings

Semantic segmentation vs Instance segmentation

Semantic segmentation

Many off the shelf algorithmsNo info about structure

13/11/2018 4/15 Sylvain LOBRY, et. al. Deep learning for urban remote sensing

Page 9: Deep Learning based methods for remote sensing …phiweek2018.esa.int/agenda/files/presentation280.pdfDeep Learning based methods for remote sensing data Doing more with buildings

Semantic segmentation vs Instance segmentation

Semantic instances segmentation

Can encode geometry priorsCan export GIS footprintsNo off the shelf algorithm

13/11/2018 4/15 Sylvain LOBRY, et. al. Deep learning for urban remote sensing

Page 10: Deep Learning based methods for remote sensing …phiweek2018.esa.int/agenda/files/presentation280.pdfDeep Learning based methods for remote sensing data Doing more with buildings

Segmenting building

Segmenting buildings

Based on:

Learning deep structured active contours end-to-endDiego Marcos, Devis Tuia, Benjamin Kellenberger, Lisa Zhang, Min Bai,

Renjie Liao, Raquel Urtasunin CVPR 2018

13/11/2018 5/15 Sylvain LOBRY, et. al. Deep learning for urban remote sensing

Page 11: Deep Learning based methods for remote sensing …phiweek2018.esa.int/agenda/files/presentation280.pdfDeep Learning based methods for remote sensing data Doing more with buildings

Segmenting building

Semantic instances segmentation

In the 80’s: people used Active Contour ModelsExample of snakes [Kass et al., 1988]:

A contour = set of points

Model enforce:A data term (e.g. gradients)

Penalization of length

Penalization of curvature

Balloon term

Each term is balanced

13/11/2018 6/15 Sylvain LOBRY, et. al. Deep learning for urban remote sensing

Page 12: Deep Learning based methods for remote sensing …phiweek2018.esa.int/agenda/files/presentation280.pdfDeep Learning based methods for remote sensing data Doing more with buildings

Segmenting building

Semantic instances segmentation

In the 80’s: people used Active Contour ModelsExample of snakes [Kass et al., 1988]:

A contour = set of points

Model enforce:A data term (e.g. gradients)

Penalization of length

Penalization of curvature

Balloon term

Each term is balanced

13/11/2018 6/15 Sylvain LOBRY, et. al. Deep learning for urban remote sensing

Page 13: Deep Learning based methods for remote sensing …phiweek2018.esa.int/agenda/files/presentation280.pdfDeep Learning based methods for remote sensing data Doing more with buildings

Segmenting building

Semantic instances segmentation

In the 80’s: people used Active Contour ModelsExample of snakes [Kass et al., 1988]:

A contour = set of pointsModel enforce:

A data term (e.g. gradients)

Penalization of length

Penalization of curvature

Balloon term

Each term is balanced

13/11/2018 6/15 Sylvain LOBRY, et. al. Deep learning for urban remote sensing

Page 14: Deep Learning based methods for remote sensing …phiweek2018.esa.int/agenda/files/presentation280.pdfDeep Learning based methods for remote sensing data Doing more with buildings

Segmenting building

Semantic instances segmentation

In the 80’s: people used Active Contour ModelsExample of snakes [Kass et al., 1988]:

A contour = set of pointsModel enforce:

A data term (e.g. gradients)

Penalization of length

Penalization of curvature

Balloon term

Each term is balanced

13/11/2018 6/15 Sylvain LOBRY, et. al. Deep learning for urban remote sensing

Page 15: Deep Learning based methods for remote sensing …phiweek2018.esa.int/agenda/files/presentation280.pdfDeep Learning based methods for remote sensing data Doing more with buildings

Segmenting building

Tuning ACM parameters

Should we penalize more length and curve?

13/11/2018 7/15 Sylvain LOBRY, et. al. Deep learning for urban remote sensing

Page 16: Deep Learning based methods for remote sensing …phiweek2018.esa.int/agenda/files/presentation280.pdfDeep Learning based methods for remote sensing data Doing more with buildings

Segmenting building

Tuning ACM parameters

13/11/2018 7/15 Sylvain LOBRY, et. al. Deep learning for urban remote sensing

Page 17: Deep Learning based methods for remote sensing …phiweek2018.esa.int/agenda/files/presentation280.pdfDeep Learning based methods for remote sensing data Doing more with buildings

Segmenting building

Tuning ACM parameters

What about the other buildings?

13/11/2018 7/15 Sylvain LOBRY, et. al. Deep learning for urban remote sensing

Page 18: Deep Learning based methods for remote sensing …phiweek2018.esa.int/agenda/files/presentation280.pdfDeep Learning based methods for remote sensing data Doing more with buildings

Segmenting building

Tuning ACM parameters

Input image CNN Data term Penalizecurvature Balloon term

13/11/2018 7/15 Sylvain LOBRY, et. al. Deep learning for urban remote sensing

Page 19: Deep Learning based methods for remote sensing …phiweek2018.esa.int/agenda/files/presentation280.pdfDeep Learning based methods for remote sensing data Doing more with buildings

Segmenting building

Tuning ACM parameters

Input image CNN Data term Penalizecurvature Balloon term

Snake model

13/11/2018 7/15 Sylvain LOBRY, et. al. Deep learning for urban remote sensing

Page 20: Deep Learning based methods for remote sensing …phiweek2018.esa.int/agenda/files/presentation280.pdfDeep Learning based methods for remote sensing data Doing more with buildings

Segmenting building

Tuning ACM parameters

Input image CNN Data term Penalizecurvature Balloon term

Snake model

Ground truthLoss

Backpropa

gation

13/11/2018 7/15 Sylvain LOBRY, et. al. Deep learning for urban remote sensing

Page 21: Deep Learning based methods for remote sensing …phiweek2018.esa.int/agenda/files/presentation280.pdfDeep Learning based methods for remote sensing data Doing more with buildings

Segmenting building

Results and conclusion

In a nutshell: learning the ACM parameters leading to desiredconvergenceComparison on the TorontoCity dataset [Wang et al., 2016] (over12000 building instances):

Method WeighCov PolySimResNet [He et al., 2015] 0.40 0.29

Deep Watershed [Bai and Urtasun, 2016] 0.52 0.24Proposed model 0.58 0.27

WeighCov: IoU-based weighted coveragePolySim: shape similarity(see [Wang et al., 2016])

13/11/2018 8/15 Sylvain LOBRY, et. al. Deep learning for urban remote sensing

Page 22: Deep Learning based methods for remote sensing …phiweek2018.esa.int/agenda/files/presentation280.pdfDeep Learning based methods for remote sensing data Doing more with buildings

Correcting building annotations

Correcting building annotations

Based on:

Correcting rural building annotations in OpenStreetMap usingconvolutional neural networks

John Edgar Vargas Muñoz, Sylvain Lobry, Alexandre Xavier Falcão, Devis Tuia

in ISPRS Journal of Photogrammetry and Remote Sensing (in press)

13/11/2018 9/15 Sylvain LOBRY, et. al. Deep learning for urban remote sensing

Page 23: Deep Learning based methods for remote sensing …phiweek2018.esa.int/agenda/files/presentation280.pdfDeep Learning based methods for remote sensing data Doing more with buildings

Correcting building annotations

Problem

Building annotations can be:1. Misaligned (because imagery has changed)2. Missing3. There, but building has disappeared

13/11/2018 10/15 Sylvain LOBRY, et. al. Deep learning for urban remote sensing

Page 24: Deep Learning based methods for remote sensing …phiweek2018.esa.int/agenda/files/presentation280.pdfDeep Learning based methods for remote sensing data Doing more with buildings

Correcting building annotations

Problem

Building annotations can be:1. Misaligned (because imagery has changed)2. Missing3. There, but building has disappeared

Question

Can we correct these annotations instead

of starting from scratch?

13/11/2018 10/15 Sylvain LOBRY, et. al. Deep learning for urban remote sensing

Page 25: Deep Learning based methods for remote sensing …phiweek2018.esa.int/agenda/files/presentation280.pdfDeep Learning based methods for remote sensing data Doing more with buildings

Correcting building annotations

Problem

Building annotations can be:1. Misaligned (because imagery has changed)2. Missing3. There, but building has disappeared

Question

Can we correct these annotations instead

of starting from scratch?

13/11/2018 10/15 Sylvain LOBRY, et. al. Deep learning for urban remote sensing

Page 26: Deep Learning based methods for remote sensing …phiweek2018.esa.int/agenda/files/presentation280.pdfDeep Learning based methods for remote sensing data Doing more with buildings

Correcting building annotations

Solution: Aligning

MLP

Input image Convolutional layers Hypercolumns Probability map

Upsampling

13/11/2018 11/15 Sylvain LOBRY, et. al. Deep learning for urban remote sensing

Page 27: Deep Learning based methods for remote sensing …phiweek2018.esa.int/agenda/files/presentation280.pdfDeep Learning based methods for remote sensing data Doing more with buildings

Correcting building annotations

Solution: Aligning

MLP

Annotations

13/11/2018 11/15 Sylvain LOBRY, et. al. Deep learning for urban remote sensing

Page 28: Deep Learning based methods for remote sensing …phiweek2018.esa.int/agenda/files/presentation280.pdfDeep Learning based methods for remote sensing data Doing more with buildings

Correcting building annotations

Solution: Aligning

MLP

Annotations

13/11/2018 11/15 Sylvain LOBRY, et. al. Deep learning for urban remote sensing

Page 29: Deep Learning based methods for remote sensing …phiweek2018.esa.int/agenda/files/presentation280.pdfDeep Learning based methods for remote sensing data Doing more with buildings

Correcting building annotations

Solution: Aligning

MLP

AnnotationsUse a Markov Random Field which:

Maximize the correlation between annotations andprobability mapEnforce alignment vectors to be similar(in a group of buildings)

13/11/2018 11/15 Sylvain LOBRY, et. al. Deep learning for urban remote sensing

Page 30: Deep Learning based methods for remote sensing …phiweek2018.esa.int/agenda/files/presentation280.pdfDeep Learning based methods for remote sensing data Doing more with buildings

Correcting building annotations

Results

Input Semantic segmentation Proposed method

Method F-scoreSemantic segmentation [Maggiori et al., 2017] 0.657

Proposed method 0.725

F-score: harmonic mean of precision and recall(higher is better)

13/11/2018 12/15 Sylvain LOBRY, et. al. Deep learning for urban remote sensing

Page 31: Deep Learning based methods for remote sensing …phiweek2018.esa.int/agenda/files/presentation280.pdfDeep Learning based methods for remote sensing data Doing more with buildings

Correcting building annotations

Results

Input Semantic segmentation Proposed method

Conclusion

It is better to use (potentially inaccurate) OpenStreetMap data thanstarting from scratch

13/11/2018 12/15 Sylvain LOBRY, et. al. Deep learning for urban remote sensing

Page 32: Deep Learning based methods for remote sensing …phiweek2018.esa.int/agenda/files/presentation280.pdfDeep Learning based methods for remote sensing data Doing more with buildings

How to characterize buildings

Land use classification

Based on:

Understanding urban landuse from above and ground perspectives:a deep learning, multimodal solution.

Shivangi Srivastava, John Edgar Vargas Muñoz, Devis Tuia

in Remote Sensing of Environment (under review)

13/11/2018 13/15 Sylvain LOBRY, et. al. Deep learning for urban remote sensing

Page 33: Deep Learning based methods for remote sensing …phiweek2018.esa.int/agenda/files/presentation280.pdfDeep Learning based methods for remote sensing data Doing more with buildings

How to characterize buildings

Land use classification

Based on:

Understanding urban landuse from above and ground perspectives:a deep learning, multimodal solution.

Shivangi Srivastava, John Edgar Vargas Muñoz, Devis Tuia

in Remote Sensing of Environment (under review)

Government buildingEducational institute13/11/2018 13/15 Sylvain LOBRY, et. al. Deep learning for urban remote sensing

Page 34: Deep Learning based methods for remote sensing …phiweek2018.esa.int/agenda/files/presentation280.pdfDeep Learning based methods for remote sensing data Doing more with buildings

How to characterize buildings

Land use classification

Problem

Using overhead imagery alone is not enough!

�! Use ground-based pictures (e.g. Google Street View)

13/11/2018 13/15 Sylvain LOBRY, et. al. Deep learning for urban remote sensing

Page 35: Deep Learning based methods for remote sensing …phiweek2018.esa.int/agenda/files/presentation280.pdfDeep Learning based methods for remote sensing data Doing more with buildings

How to characterize buildings

Land use classification

13/11/2018 13/15 Sylvain LOBRY, et. al. Deep learning for urban remote sensing

Page 36: Deep Learning based methods for remote sensing …phiweek2018.esa.int/agenda/files/presentation280.pdfDeep Learning based methods for remote sensing data Doing more with buildings

How to characterize buildings

Land use classification

13/11/2018 13/15 Sylvain LOBRY, et. al. Deep learning for urban remote sensing

Page 37: Deep Learning based methods for remote sensing …phiweek2018.esa.int/agenda/files/presentation280.pdfDeep Learning based methods for remote sensing data Doing more with buildings

Conclusion

Conclusion

Conclusion

Applying off the shelf methods from computer vision to

remote sensing data works but, as a community, we can do

better

We do not always have the same problemsUsing priorsUsing auxiliary data

13/11/2018 14/15 Sylvain LOBRY, et. al. Deep learning for urban remote sensing

Page 38: Deep Learning based methods for remote sensing …phiweek2018.esa.int/agenda/files/presentation280.pdfDeep Learning based methods for remote sensing data Doing more with buildings

Conclusion

Thank you!

The team:

Devis Sylvain Benjamin Diego John Shivangi

Tuia Lobry Kellenberger Marcos Vargas Srivastava

Supported by:

http://www.sylvainlobry.com/phi-week-2018/[email protected]

13/11/2018 15/15 Sylvain LOBRY, et. al. Deep learning for urban remote sensing

Page 39: Deep Learning based methods for remote sensing …phiweek2018.esa.int/agenda/files/presentation280.pdfDeep Learning based methods for remote sensing data Doing more with buildings

Conclusion

References

⌅ Bai, M. and Urtasun, R. (2016).Deep watershed transform for instance segmentation.CoRR, abs/1611.08303.

⌅ He, K., Zhang, X., Ren, S., and Sun, J. (2015).Deep residual learning for image recognition.CoRR, abs/1512.03385.

⌅ Huang, B., Lu, K., Audebert, N., Khalel, A., Tarabalka, Y., Malof, J.,Boulch, A., Le Saux, B., Collins, L., Bradbury, K., et al. (2018).Large-scale semantic classification: outcome of the first year of inriaaerial image labeling benchmark.In IEEE International Geoscience and Remote SensingSymposium–IGARSS 2018.

13/11/2018 16/15 Sylvain LOBRY, et. al. Deep learning for urban remote sensing

Page 40: Deep Learning based methods for remote sensing …phiweek2018.esa.int/agenda/files/presentation280.pdfDeep Learning based methods for remote sensing data Doing more with buildings

Conclusion

References (cont.)

⌅ Kass, M., Witkin, A., and Terzopoulos, D. (1988).Snakes: Active contour models.International journal of computer vision, 1(4):321–331.

⌅ Maggiori, E., Tarabalka, Y., Charpiat, G., and Alliez, P. (2017).Convolutional neural networks for large-scale remote-sensing imageclassification.IEEE Transactions on Geoscience and Remote Sensing, 55(2):645–657.

⌅ Ronneberger, O., Fischer, P., and Brox, T. (2015).U-net: Convolutional networks for biomedical image segmentation.CoRR, abs/1505.04597.

⌅ Wang, S., Bai, M., Máttyus, G., Chu, H., Luo, W., Yang, B., Liang, J.,Cheverie, J., Fidler, S., and Urtasun, R. (2016).Torontocity: Seeing the world with a million eyes.CoRR, abs/1612.00423.

13/11/2018 17/15 Sylvain LOBRY, et. al. Deep learning for urban remote sensing