Our Odyssey Hackathon (Deep) Learnings

This isn’t new footage from a supermassive black hole. It is, however, footage of a supermassive problem we might be able to fix with AI before it is too late.

Image for post
Image for post
Forest change predictions using Deep Learning

Last weekend we participated in the largest Blockchain and AI Hackathon of the world: The Odyssey Hackathon in Groningen. Our challenge: find a scalable solution to preserve the habitat of wildlife in the tropical rain forest of Borneo.

Although we didn’t win the Hackathon, I am happy to say it was a very successful one! Everyone in the team did a fantastic job.

During our preparation sessions, we already had in our mind to BUIDL a forest change prediction algorithm. If we could predict rainforest change before it happens, authorities could act quicker and mobilize ground forces before the damage was done. Also, there are dozens of online satellite datasets available that can be used to train our model, so what are we waiting for?

The extent of deforestation in Borneo 1950–2010, and projection towards 2020

Friday 12:00 AM we kicked off. We started setting up a classic machine learning model. Quickly we came to the conclusion the random forest model (ironically enough) outperformed all other machine learning models on the Terra-i forest loss dataset of northern Borneo. The model predicted forest loss in 75% of the cases correctly (marked as yellow dots).

Image for post
Image for post
Forest change prediction in Northern Borneo using machine learning (2017) — 1px = 1 hectare

After some quick result celebration beers on Friday, we started to zoom in on the predictions. Using a method called feature importance we looked at the importance of each feature in the model predictions. We saw that the latitude and longitude are found important predictors in the model. It was obvious that previous logging locations could tell us more about the likelihood of future logging locations. Put differently, the model learned itself the popular logging locations. But because the logging intensity in Borneo is currently so incredibly high, getting them right was mostly luck. We, therefore, needed to find a different approach.

Image for post
Image for post
Latitude and longitude most important in feature importance of the machine learning model

After a short night, we started rethinking the problem. Our mentors advised us to look to patterns over region of deforestation (for example patterns like the development of new roads, waterways or establishments of palm oil factories). If we could predict patterns we could easier identify new logging locations. Hence we decided to exclude the latitude and longitude as features in the model. We also used a different dataset containing high-resolution satellite imagery. The footage from the Sentinel I (optical) and Sentinel II (radar) data would do the job. We enriched the data with soil data. With this bigger dataset, a machine learning model would no longer give us the best results. We started looking at different deep learning models instead.

A full day of building and struggling is what it took to set up the model. Somewhere during midnight, we were able to test our model and have the first glimpse of our predictions, the result was amazing:

Image for post
Image for post
Forest change predictions in Eastern Borneo using Deep Learning (2018)

The deep learning model learned from the patterns of deforestation and gave us a map with hotspots with 80% certainty! Again this model is trained to predict new logging locations instead of the expansion of current logging locations.

It was an intensive weekend with hard work and a lot of fun. Oh, and almost forgot, we also managed to build a blockchain solution that helps local communities to exploit forest in a sustainable manner. Maybe I’ll spend some time to write about this as well. The Odyssey has just started.

Image for post
Image for post
All 200 teams of the Odyssey hackathon 2019

Want to know more about the AI projects we do at Hemisphere? please visit us at hemisphere.ai

Written by

AI Concept developer @ Hemisphere

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store