Interview with Doug Duhaime, contributor to Google’s Dev Library


Posted by the Google Dev Library Crew

Introducing the Dev Library Contributor Spotlights – a weblog sequence highlighting builders which are supporting the thriving growth ecosystem by contributing their sources and instruments to Google Dev Library.

We met with Doug Duhaime, Full Stack Developer in Yale College’s Digital Humanities Lab, to debate his ardour for Machine Studying, his processes and what impressed him to launch his PixPlot mission as an Open Supply.

What led you to discover the sector of machine studying?

I used to be an English main in undergrad and in graduate faculty. I’ve a PhD in English literature. My dissertation was exploring copyright historical past and the ways in which adjustments in copyright legislation affected the e book market. How does the establishment of mounted period copyright affect the e book market? To reply this query, I needed to mine an unlimited assortment of information – half one million books, printed earlier than 1800 – to take a look at totally different patterns. That was one of many key tasks that received me impressed to additional discover the world of Machine Studying.

In truth, certainly one of my tasks – the PixPlot library – makes use of laptop imaginative and prescient to research picture collections, which was additionally partially utilized in my analysis. A part of my analysis checked out plagiarism detection and the way readily persons are inclined to repeat pictures as soon as it turns into authorized to repeat them from different texts. Pc imaginative and prescient helps us to reply these questions and establish key patterns.

I’ve seen machine studying and programming as a option to ask new questions in historic contexts. And there is a complete discipline of us – we’re known as digital humanists. Yale College, the place I have been for the final 5 years, has a implausible digital humanities program the place researchers are asking questions like this and utilizing enjoyable machine studying platforms like TensorFlow to reply these questions.

Screenshot from the PixPlot library showing Image Fields in the Meserve-Kunhardt Collection with the following identified hotspots: Boxers, Buildings, Buttons, Chairs, Gowns

Are you able to inform us extra concerning the evolution of your PixPlot library mission?

We began in Yale’s digital humanities lab with a mission known as neural neighbors. And the thought right here was to seek out patterns within the Meserve-Kunhardt Assortment of pictures.

Meserve-Kunhardt is a set of images largely from the nineteenth century that Yale just lately acquired. After being acquired by the college, some curators had been making ready to establish all this actually wealthy metadata to explain these pictures. Nonetheless, they’d a backlog, they usually wanted assist to attempt to make sense of what is on this assortment. And so, Neural Neighbors was our preliminary try to reply this query.

As this mission went on, we began operating up in opposition to limitations and asking larger questions. For instance, as a substitute of simply wanting on the photos, what would it not be like to take a look at your complete assortment unexpectedly? As a way to reply this query, we wanted a extra performant rendering layer.

So we determined to make the most of TensorFlow, which allowed us to extract vector illustration of every picture. We then compressed the dimensionality of these vectors all the way down to 2D. However for PixPlot, we determined to make use of a unique dimensionality discount approach known as umap. And that introduced us to the primary launch of PixPlot.

The concept right here was to take the entire assortment, shoot it down into 2D, after which allow you to transfer by way of it and take a look at the pictures within the assortment whereby we anticipate pictures with comparable content material to be positioned shut by each other.

And so it is simply advanced from that early genesis and Neural Neighbors by way of to the place it’s at present.

What impressed you to launch PixPlot as an open supply mission?

Within the case of PixPlot, I used to be working for Yale College, and we had a aim to make as a lot of our contributions to the software program world as attainable open and publicly accessible with none business phrases.

It was an enormous privilege to spend time with the lab and construct software program that others discovered helpful. I’d say much more usually, in my private life, I actually like constructing issues that folks discover helpful and, when attainable, contributing again to the open supply world as a result of, I feel, so many people study from open supply.

Google Dev Library Quote: We look at other people's examples and get excited by tools and projects others are building. And many of those are non-commercial. They're just open and free to the world. And it's great to give back when we can. Doug Duhaime Dev Library Contributor

Discover out extra content material contributed and authored by Doug Duhaime and uncover extra distinctive instruments and sources on the Google Dev Library web site!


Leave a Reply

Your email address will not be published. Required fields are marked *