Learning to discriminate: Can machines learn to identify pest species from photos?

3 July 2019

Eibe Frank

Machine learning has many applications in the real world, from medical diagnoses to detection of contaminants in soil samples. And now, researchers are investigating whether it can be used to protect New Zealand’s biosecurity.

Pest species are a particular threat to our unique biodiversity, but how do we identify what is a pest and what is a harmless member of the local fauna and flora? University of Waikato Professor of Computer Science Eibe Frank, together with Dr Varvara Vetrova at Canterbury University and Associate Professor Michael Cree at Waikato, is working on a program to help everyday Kiwis identify pest species using their smartphone.

Professor Frank will discuss some of the underlying machine learning technology at an upcoming public lecture on 16 July, drawing connections to work on statistical species identification that pre-dates the computer age. He will address how we can use machine learning to identify species automatically, by learning from photos that have been labelled by experts.

Professor Frank’s research focus is machine learning, data mining and artificial intelligence (AI) and their applications for the real world. As a PhD student, he was instrumental in the development of WEKA, the University’s award-winning open-source machine-learning software platform, and he continues to support its development and international use.

“It turns out learning to discriminate species from data is one of the oldest, if not the oldest, application of machine learning,” says Professor Frank. Ronald Fisher, a statistician and biologist, described a method for linear discriminant analysis in 1936 and applied it to the classification of species of iris flowers. His method is now a classic technique for supervised machine learning – learning from expert-labelled observations – but it was published years before computer scientist Alan Turing discussed the idea of learning machines in his seminal 1950 paper on ‘Computing Machinery and Intelligence’.

Professor Frank says until recently, expert knowledge was required to define features that can be input into machine-learning models to establish a representation of the problem that makes it amenable to machine learning. “However, recent developments in the field of artificial neural networks, sometimes referred to as ‘deep learning’, have changed this. Artificial neural networks can automatically learn a set of features to represent images, often yielding more accurate image classifiers than those based on ‘hand-crafted’ image features. This opens up new opportunities for automatic species identification based on photos taken with digital cameras.”

Professor Frank says AI can often be overhyped or oversold, but insists there are many applications where machine learning can improve outcomes for people and increase productivity for organisations. “Currently, New Zealand is lacking university graduates with significant knowledge in this area, but my colleagues in the Waikato Machine Learning Group and I are working hard to change this.”

The lecture, ‘Learning to discriminate species from data: Then and now’, is on Tuesday 16 July at 5.45pm in the Gallagher Academy of Performing Arts, with refreshments served from 5.15pm. The lecture is part of the University’s Hamilton Public Lecture Series and is free and open to the public. Register your attendance.

Latest stories

Related stories

Waikato scientists ranked as some of most-influential in the world

23 Waikato scientists appear in a new international database of the 100,000 most influential scientists…

Armon Tamatea

University of Waikato secures more than $6m in MBIE research funding

The University of Waikato has received more than $6 million in research funding from the…

Dr Lee Streeter

Waikato researcher given ‘Kudos’ for big problem

Dr Lee Streeter has solved a problem. But not just any problem – one that’s…

UoW Engineering

Top researcher recognised for highly cited work

Waikato researchers converged in Melbourne recently for the 22nd International Conference on Composite Materials (ICCM),…

Kudos 2019

Time-of-flight technology and internet behaviour secure Kudos Awards for top researchers

Two University of Waikato researchers have been recognised for their scientific prowess at the Kudos…

Dr Chris Tanner (NIWA), Associate Professor Maui Hudson, Tim Manakau

Celebrating Lakes Resilience

A four-year MBIE-funded research programme led by the University’s Environmental Research Institute and School of…

Todd Henry

Visual masters for prized photographer

Award-winning photographer and filmmaker Todd Henry has just submitted his masters thesis at the University…

Lynley St George

Student gets internship to NASA

A University of Waikato student has landed the opportunity of a life-time by securing an…


Public support for union default

A new survey of nearly 1500 New Zealanders shows the majority support a union default…

Jeremy Zolnai-Lucas

Nice work if you can get it

Young Londoner needs a job, walks into Waikato and becomes a research programmer.

Brendan and co

New funding for Kaumātua study

Waikato professor to lead $2.5 million Kaumātua study with a mana motuhake focus.

Professors Robyn Longhurst and Lynda Johnston

Research looks into ‘belonging’ for disabled people

Understanding why and where disabled people feel they belong is the focus of a joint…