The Times Australia
The Times World News

.

How shoring up drones with artificial intelligence helps surf lifesavers spot sharks at the beach

  • Written by Cormac Purcell, Adjunct Senior Lecturer, UNSW Sydney
How shoring up drones with artificial intelligence helps surf lifesavers spot sharks at the beach

Australian surf lifesavers are increasingly using drones to spot sharks at the beach before they get too close to swimmers. But just how reliable are they?

Discerning whether that dark splodge in the water is a shark or just, say, seaweed isn’t always straightforward and, in reasonable conditions, drone pilots generally make the right call only 60% of the time[1]. While this has implications for public safety, it can also lead to unnecessary beach closures and public alarm.

Engineers are trying to boost the accuracy of these shark-spotting drones with artificial intelligence (AI). While they show great promise in the lab, AI systems are notoriously difficult to get right in the real world, so remain out of reach for surf lifesavers. And importantly, overconfidence in such software can have serious consequences[2].

With these challenges in mind, our team[3] set out to build the most robust[4] shark detector possible and test it in real-world conditions. By using masses of data[5], we created a highly reliable mobile app for surf lifesavers that could not only improve beach safety, but help monitor the health of Australian coastlines.

White shark being observed by a drone.
A white shark being tracked by a drone. Author provided.

Detecting dangerous sharks with drones

The New South Wales government has invested more than A$85 million[6] in shark mitigation measures over the next four years. Of all approaches on offer[7], a 2020 survey[8] showed drone-based shark surveillance is the public’s preferred method to protect beach-goers.

The state government has been trialling drones[9] as shark-spotting tools since 2016, and with Surf Life Saving NSW since 2018. Trained surf lifesaving pilots fly the drone over the ocean at a height of 60 metres, watching the live video feed on portable screens for the shape of sharks[10] swimming under the surface.

Read more: Lifeguards with drones keep us (and sharks) safe, and beach-goers agree[11]

Identifying sharks by carefully analysing the video footage in good conditions seems easy. But water clarity, sea glitter (sea-surface reflection), animal depth, pilot experience and fatigue all reduce the reliability of real-time detection to a predicted average of 60%[12]. This reliability falls further when conditions are turbid[13].

Pilots also need to confidently identify the species of shark[14] and tell the difference between dangerous and non-dangerous animals, such as rays, which are often misidentified.

Identifying shark species from the air.

AI-driven computer vision has been touted as an ideal tool to virtually “tag” sharks and other animals in the video footage streamed from the drones, and to help identify whether a species nearing the beach is cause for concern.

AI to the rescue?

Early results[15] from previous AI-enhanced shark-spotting systems[16] have suggested the problem has been solved, as these systems report detection accuracies of over 90%.

But scaling these systems to make a real-world difference across NSW beaches has been challenging.

AI systems are trained to locate and identify species using large collections of example images and perform remarkably well[17] when processing familiar scenes in the real world.

However, problems quickly arise[18] when they encounter conditions not well represented in the training data. As any regular ocean swimmer can tell you, every beach is different – the lighting, weather and water conditions can change dramatically across days and seasons.

Read more: 740,000km of fishing line and 14 billion hooks: we reveal just how much fishing gear is lost at sea each year[19]

Animals can also frequently change their position in the water column, which means their visible characteristics (such as their outline) changes, too.

All this variation makes it crucial for training data to cover the full gamut of conditions, or that AI systems be flexible enough to track the changes over time. Such challenges have been recognised for years[20], giving rise to the new discipline of “machine learning operations[21]”.

Essentially, machine learning operations explicitly recognises that AI-driven software requires regular updates to maintain its effectiveness.

Examples of the drone footage used in our huge dataset.

Building a better shark spotter

We aimed to overcome these challenges with a new shark detector mobile app. We gathered a huge dataset[22] of drone footage[23], and shark experts then spent weeks inspecting the videos, carefully tracking and labelling sharks and other marine fauna in the hours of footage.

Using this new dataset, we trained a machine learning model to recognise ten types of marine life, including different species of dangerous sharks such as great white and whaler sharks.

And then we embedded this model into a new mobile app that can highlight sharks in live drone footage and predict the species. We worked closely with the NSW government[24] and Surf Lifesaving NSW[25] to trial this app on five beaches[26] during summer 2020.

Drone flying at a beach.
A drone in surf lifesaver NSW livery preparing to go on patrol. Author provided.

Our AI shark detector did quite well. It identified dangerous sharks on a frame-by-frame basis 80% of the time, in realistic conditions.

We deliberately went out of our way to make our tests difficult by challenging the AI to run on unseen data taken at different times of year, or from different-looking beaches. These critical tests on “external data” are often omitted in AI research[27].

A more detailed analysis turned up common-sense limitations: white, whaler and bull sharks are difficult to tell apart because they look similar, while small animals (such as turtles and rays) are harder to detect in general.

Spurious detections (like mistaking seaweed as a shark) are a real concern for beach managers, but we found the AI could easily be “tuned” to eliminate these by showing it empty ocean scenes of each beach.

Seaweed identified as sharks.
Example of where the AI gets it wrong - seaweed identified as sharks. Author provided

The future of AI for shark spotting

In the short term, AI is now mature enough to be deployed in drone-based shark-spotting operations across Australian beaches. But, unlike regular software, it will need to be monitored and updated frequently to maintain its high reliability of detecting dangerous sharks.

An added bonus is that such a machine learning system for spotting sharks would also continually collect valuable ecological data on the health of our coastline and marine fauna.

In the longer term, getting the AI to look at how sharks swim and using new AI technology that learns on-the-fly[28] will make AI shark detection even more reliable and easy to deploy.

The NSW government[29] has new drone trials for the coming summer, testing the usefulness of efficient long-range flights that can cover more beaches.

AI can play a key role in making these flights more effective, enabling greater reliability in drone surveillance, and may eventually lead to fully-automated shark-spotting operations and trusted automatic alerts.

Read more: Sleeping fish? From sharks to salmon, guppies to groupers, here's how they grab a snooze[30]

The authors acknowledge the substantial contributions from Dr Andrew Colefax and Dr Andrew Walsh at Sci-eye[31].

References

  1. ^ 60% of the time (www.sciencedirect.com)
  2. ^ serious consequences (arstechnica.com)
  3. ^ our team (cormacpurcell.net)
  4. ^ build the most robust (www.frontiersin.org)
  5. ^ masses of data (www.forbes.com)
  6. ^ invested more than A$85 million (www.dpi.nsw.gov.au)
  7. ^ on offer (www.sharksmart.nsw.gov.au)
  8. ^ 2020 survey (theconversation.com)
  9. ^ trialling drones (www.dpi.nsw.gov.au)
  10. ^ shape of sharks (www.youtube.com)
  11. ^ Lifeguards with drones keep us (and sharks) safe, and beach-goers agree (theconversation.com)
  12. ^ a predicted average of 60% (www.sciencedirect.com)
  13. ^ are turbid (www.publish.csiro.au)
  14. ^ the species of shark (www.youtube.com)
  15. ^ Early results (theconversation.com)
  16. ^ previous AI-enhanced shark-spotting systems (www.mdpi.com)
  17. ^ perform remarkably well (image-net.org)
  18. ^ problems quickly arise (arxiv.org)
  19. ^ 740,000km of fishing line and 14 billion hooks: we reveal just how much fishing gear is lost at sea each year (theconversation.com)
  20. ^ recognised for years (proceedings.neurips.cc)
  21. ^ machine learning operations (ml-ops.org)
  22. ^ huge dataset (www.sharksmart.nsw.gov.au)
  23. ^ drone footage (www.youtube.com)
  24. ^ NSW government (www.sharksmart.nsw.gov.au)
  25. ^ Surf Lifesaving NSW (www.surflifesaving.com.au)
  26. ^ five beaches (www.surflifesaving.com.au)
  27. ^ often omitted in AI research (www.nature.com)
  28. ^ learns on-the-fly (www.tensorflow.org)
  29. ^ The NSW government (www.sharksmart.nsw.gov.au)
  30. ^ Sleeping fish? From sharks to salmon, guppies to groupers, here's how they grab a snooze (theconversation.com)
  31. ^ Sci-eye (scieye.com.au)

Read more https://theconversation.com/how-shoring-up-drones-with-artificial-intelligence-helps-surf-lifesavers-spot-sharks-at-the-beach-192498

Times Magazine

The Decline of Hyper-Casual: How Mid-Core Mobile Games Took Over in 2025

In recent years, the mobile gaming landscape has undergone a significant transformation, with mid-core mobile games emerging as the dominant force in app stores by 2025. This shift is underpinned by changing user habits and evolving monetization tr...

Understanding ITIL 4 and PRINCE2 Project Management Synergy

Key Highlights ITIL 4 focuses on IT service management, emphasising continual improvement and value creation through modern digital transformation approaches. PRINCE2 project management supports systematic planning and execution of projects wit...

What AI Adoption Means for the Future of Workplace Risk Management

Image by freepik As industrial operations become more complex and fast-paced, the risks faced by workers and employers alike continue to grow. Traditional safety models—reliant on manual oversight, reactive investigations, and standardised checklist...

From Beach Bops to Alpine Anthems: Your Sonos Survival Guide for a Long Weekend Escape

Alright, fellow adventurers and relaxation enthusiasts! So, you've packed your bags, charged your devices, and mentally prepared for that glorious King's Birthday long weekend. But hold on, are you really ready? Because a true long weekend warrior kn...

Effective Commercial Pest Control Solutions for a Safer Workplace

Keeping a workplace clean, safe, and free from pests is essential for maintaining productivity, protecting employee health, and upholding a company's reputation. Pests pose health risks, can cause structural damage, and can lead to serious legal an...

The Science Behind Reverse Osmosis and Why It Matters

What is reverse osmosis? Reverse osmosis (RO) is a water purification process that removes contaminants by forcing water through a semi-permeable membrane. This membrane allows only water molecules to pass through while blocking impurities such as...

The Times Features

Troubleshooting Flickering Lights: A Comprehensive Guide for Homeowners

Image by rawpixel.com on Freepik Effectively addressing flickering lights in your home is more than just a matter of convenience; it's a pivotal aspect of both home safety and en...

My shins hurt after running. Could it be shin splints?

If you’ve started running for the first time, started again after a break, or your workout is more intense, you might have felt it. A dull, nagging ache down your shins after...

Metal Roof Replacement Cost Per Square Metre in 2025: A Comprehensive Guide for Australian Homeowners

In recent years, the trend of installing metal roofs has surged across Australia. With their reputation for being both robust and visually appealing, it's easy to understand thei...

Why You’re Always Adjusting Your Bra — and What to Do Instead

Image by freepik It starts with a gentle tug, then a subtle shift, and before you know it, you're adjusting your bra again — in the middle of work, at dinner, even on the couch. I...

How to Tell If Your Eyes Are Working Harder Than They Should Be

Image by freepik Most of us take our vision for granted—until it starts to let us down. Whether it's squinting at your phone, rubbing your eyes at the end of the day, or feeling ...

Ways to Attract Tenants in a Competitive Rental Market

In the kind of rental market we’ve got now, standing out is half the battle. The other half? Actually getting someone to sign that lease. With interest rates doing backflips and ...