Animal Identification with AI

Duration: 50 minutes

Grade Levels: 4-12

Students will explore how conservationists use artificial intelligence as a tool for animal identification.
Resources

Bounding Boxes Handout

Giraffe Images

Giraffe Answer Key

Grade Levels: 4-12

Duration: 50 min

Concepts/Skills: Artificial Intelligence, machine learning, bounding boxes, image recognition, pattern recognition, image data, conservation

Objectives:

  • Explore how conservationists use image data to track changes in wildlife populations.
  • Create boundary boxes around baseline image data to understand how this kind of AI program is trained.
  • Act as the AI by sorting a sample of image data into groups and determining if the baseline image data is present.
  • Determine whether their data set suggests the population size is changing.

Background Information

Artificial Intelligence (AI) most often refers to a device or program designed to mimic aspects of human intelligence to complete complex tasks and make decisions. AI is also used for:

  • visual recognition (facial recognition, visual image search). 
  • speech recognition (used in software like Siri and a virtual assistant like Amazon's Alexa). 
  • machine translation (i.e., Google Translate).

Machine learning (ML) is a branch of AI where the goal is to create a program that improves over time or “learns” as it processes more data.

Engineers provide training data (e.g., numbers, photos, text) which the AI uses as the basis for an algorithm: the set of rules for making classifications or predictions. Engineers could then provide more data, rules, or both to test or adjust the algorithm to ensure that it is performing accurately. Some examples of machine learning are self-driving cars and recommendation systems, like you might see while using Netflix or shopping on Amazon.

For more resources on AI, see thetech.org/ai

This lesson was inspired by Wild Me, a recipient of the 2021-2022 Tech for Global Good awards. Wild Me’s platform, Wildbook, blends structured wildlife research with artificial intelligence, citizen science, and computer vision to speed population analysis of animal species around the globe and develop new insights to bring an end to extinction.

Conservationists around the world use Wildbook to track different species. Images in this lesson were provided by one of these organizations, the Giraffe Conservation Foundation (GCF). Research conducted by GCF and their partners has led to critical discoveries for the preservation of giraffes in the wild, most notably the identification of four distinct giraffe species. The giraffes highlighted in this lesson are from their long term monitoring programme in Murchison Falls National Park, Uganda.

Additional Resources 

Materials 

Preparation

  1. Print the Bounding Boxes Handout (1 per student).
  2. If you are using the physical version of the giraffe photos, print the Sorting Cards and cut enough so there is one set per team.
    • Plan to divide students into teams of 3-4. 
  3. If using the Padlet version of the giraffe photos set-up the Padlet to share with student teams for collaboration and editing. 
    • Tip: Team size can be 2-3 if preferred for this version.  
  4. Watch and review all of the resources to become familiar with the content.
  5. Try the activity yourself, with other educators or kids you know. This will give you practice with the materials and tools to be able to anticipate student questions.

Lesson Directions

Outline

Frame the Challenge
15 min total

Activate Prior Knowledge

10 min

Introduce Part 1

5 min
Challenge
35 min total

Part 1: Bounding Boxes

10 min

Quick Share-out

5 min

Introduce Part 2

5 min

Part 2: Image Sorting

10 min

Share-out

5 min

Debrief

5 min

 

Frame the Challenge

Activate Prior Knowledge (10 min) 
  1. Start by exploring what learners already know about the current decline of wildlife populations on Earth.
    • Guiding Questions could include:
      • What are some examples of animal species that are experiencing population decline?
      • How do scientists decide when a species has become endangered?
  2. Explain that today they are going to be helping conservationists, or people who work to protect the environment and wildlife. They will be exploring how conservationists use data to do their work and some of the challenges they face.
  3. Ask learners how they think conservationists gather data on the animals they study. Some of the responses may include:
    • Observing wildlife populations.
    • Setting up cameras.
    • Tagging animals and releasing them.
  4. Have learners consider what all these types of data gathering have in common.
    • If they do not identify it, let them know that they all require the assistance of technology to be effective at gathering data.
  5. Let learners know that conservationists don’t just observe large groups of species - it is also essential for them to track individual animals within the groups to learn if the total number of animals in a group is growing or shrinking.
  6. Show learners the Tech for Global Good Wild Me videos: The Problem (2:22 min) and The Solution (2:52 min).

Wild Me 

"The Problem"

The Tech for Global Good Laureate 2021-2022

Wild Me

"The Solution"

The Tech For Global Good Laureate 2021-2022

7. Follow up by asking some Guiding Questions.

  • How does tracking individual animals help conservationists learn what is happening within a larger population?
  • How are conservationists able to identify the individual animals they are tracking?
  • Do you think there ways conservationists could study wildlife without harming the animals they are tracking?

8. Introduce artificial intelligence (AI) as a tool that many conservationists are currently using to identify, collect and analyze both individual animal’s data and large sets of data on the animal populations.

  • Note that in this activity, they are going to be exploring machine learning, a branch of AI where the goal is to create a program that improves as it processes more data.
Tagging & Tracking Tools 

There are many types of tagging mechanisms used to track different kinds of species and their population changes over time.

  • Visual tags such as physical markings are common but can be invasive as they require catching and releasing the animal.
  • Non-physical tags such as radio, acoustic or GPS tags are useful and less invasive, especially for migratory animals, but can be challenging for tracking individual animals.

Researchers will often enlist the general public to aid in population counting and tracking through community or citizen science projects. An example of this can be found through the work by “iNaturalist.” The iNaturalist website and app, is a project that helps users both identify and learn about plants and animals around them while simultaneously helping researchers gather data to better understand and protect species.

The Importance of Measuring Populations 

This lesson explores how understanding species populations is essential for studying ecology. It helps scientists understand how different species interact with each other and with their environment. Tracking the population of different species can help scientists:

  • identify species that are endangered or at risk of extinction,
  • assess the health and diversity of ecosystems,
  • better understand these relationships and how changes in one species' population can impact others, 
  • and understand the overall functioning of the ecosystem.

 

Introduce Part 1 (5 min) 

Scenario

You are an AI program.

A team of conservationists is studying giraffes at Murchison Falls National Park in Uganda. They want to determine whether a specific population of giraffes has increased or decreased since last year.

Two years ago, they tracked three giraffes living in a specific range.

First you will identify the parts of the images to focus on.

  • To do this you will draw bounding boxes on the image to identify the giraffe.
  • You will also look for distinguishing features and patterns that might help with image recognition later.
  1. Introduce the scenario above.
  2. Let learners know that they will be exploring how this machine learning program works by acting as the AI program for a selection of images.
  3. They will first learn to identify each giraffe the same way the AI program did in the Solution video by drawing bounding boxes around any features that could identify the giraffes.
    • Define bounding boxes as a technique where a rectangle is drawn over an object that serves as a guideline for object recognition.
    • Since they are acting as the AI program, they will need to think like a computer.
    • They will be using a computational thinking skill called pattern recognition to determine where they draw the bounding boxes.
      • Ex: They could look for distinguishing spots on each giraffe.
    • Note that every giraffe can be identified by their individual spot pattern – just like a human fingerprint.

Challenge

Part 1: Creating Bounding Boxes (10 min) 
  1. Show learners a copy of the Bounding Boxes Handout.
  2. Introduce the three giraffes in the photos as Gina, Alex and Fred. They will be the baseline data, or initial data set.
    • They will need to look for distinguishing features on each giraffe to identify it.
  3. Acting as the AI program, they will be working in teams to:
    • Find the identifying features on each giraffe.
    • Draw a bounding box around each feature.
  4. Let learners know that this is how the conservationists would train the AI program, so it is important to focus on notable aspects of the giraffes rather than the environment or other parts of the images.
  5. Ask learners what kind of identifying features they could look for on the giraffes. Answers may include:
    • Shape of an individual spot.
    • Collections of spots that make a specific pattern.
    • Visible scars.
  6. Put learners into teams of 3-4. 
  7. Have them spend a few minutes drawing boxes around any distinguishing features they notice on the three giraffes.
  8. Bring the class back together when the time is up.
  9. Ask for volunteers to share where they placed the bounding boxes on each image.
  10. When learners have finished sharing, let them know that since this is how they (the AI program) has been trained, that is the only information they will have for Part 2.

 

 

Example of Bounding Boxes used in whale identification 

Example of Bounding Boxes used in giraffe identification 

Introduce Part 2 (5 min) 

NEW Scenario

Now that you know what to look for in the images, you will examine several photos that the conservationists submitted to the AI program.

This past year, conservationists have collected a sample of twenty photographs of giraffes spotted in the area.

Your job as the AI is to sort the photos into categories and determine whether the population of giraffes in this location increased or decreased.

  1. Introduce the new scenario above.
  2. Let learners know they (the AI program) will now use their training from the bounding boxes to sort through a sample of image data.
  3. Show learners either the physical Sorting Cards or the Padlet version of the giraffe images.
    • Let them know that they will be working in teams to sort the cards into groups.
    • They will be continuing to use the computational thinking skill pattern recognition to determine how they want to organize the cards.
  4. Emphasize that since they are the AI program, they will need to decide how the cards are sorted. It’s up to them to decide the best way to group the cards to discover if/how the population has changed in the past year.
Tips for Using the Padlet Version

Giving teams the Padlet version of the sorting cards is a great strategy for avoiding the time and cost that comes with printing. This option allows you to either assign devices for teams to work in small groups or to sort the cards together as a class.

  • Try having teams work on their own version of the cards by going to share, then select the auto-remake link under the collaborators section.
  • Consider using slideshow mode with the full class to look at individual giraffe photos.
  • To switch from grid to a canvas layout, go to Settings, then select Format under the layout section.
Image Sorting Activity (10 min) 
  1. Pass out physical Giraffe Sorting Cards or have learners open the Padlet version of the image cards.
  2. Walk around the room and observe the teams as they decide how to sort the cards.
  3. Ask open-ended questions to encourage learners to consider how an AI program might organize the pictures.
    • What patterns might the AI be using to sort the images?
    • What identifying qualities did you notice in the baseline giraffes?
  4. Bring the class back together when time is up.
Share-out (5 min) 
  1. Ask for a few teams to volunteer how they chose to sort their cards. Have them to share:
    • The categories and how many cards are in each.
    • If there were any outliers, or cards that didn’t fit into any of the categories.
    • Whether their sorting suggests that the giraffe population increased, decreased, or stayed the same.
  2. After a few teams have shared, ask learners to compare the results.
    • What were common groupings across teams? What was different?
    • Were conclusions consistent on how the giraffe population has changed? Did some AIs lead to different results?
    • Which data was not useful? Is there other image data you think could have helped you as the AI?
Debrief (5 min) 
  1. Lead a short debrief of the activity and the concepts. Help students make connections between the skills they used in this activity and that of AI systems.
  2. Possible Debrief Questions include:
    • Do you think the AI could learn how to do this better than a human, based on how well you did today?
    • What are the benefits and limitations of using image data to track wildlife species?
    • How else could bounding boxes be used to train an AI?
Extensions
  • Research a real-world tagging and tracking expedition and write a paper about the scientists, what they are studying, the tools they are using to study, and what they are hoping to find based on their investigation.
  • Participate in a community or citizen science project like the Great Backyard Bird Count or try using iNaturalist

Standards Connections

CSTA Computer Science Standards
Grade Standard Description
3-5 1B-DA-06


Organize and present collected data visually to highlight relationships and support a claim.

3-5 1B-DA-07

Use data to highlight or propose cause-and-effect relationships, predict outcomes, or communicate an idea.

9-10 3A-DA-12

Create computational models that represent the relationships among different elements of data collected from a phenomenon or process.

 9-10 3A-IC-24 Evaluate the ways computing impacts personal, ethical, social, economic, and cultural practices.
11-12 3B-AP-08 Describe how artificial intelligence drives many software and physical systems.
11-12 3B-IC-27 Predict how computational innovations that have revolutionized aspects of our culture might evolve.

Vocabulary 

Term Definition

Artificial intelligence (AI)

A device or program designed to mimic aspects of human intelligence to complete complex tasks, such as learning, problem solving, and decision making.

Baseline Data

Data that has been previously collected that acts as a starting point for a research project.

Bounding Box

A technique where a rectangle is drawn over an object that serves as a guideline for object recognition.

Computer vision

A field of artificial intelligence (AI) enabling computers to derive information from images, videos and other inputs.

Conservationist

A person who advocates or acts for the protection and preservation of the environment and wildlife.

Data science

A field in which both humans and automated computers collect, process, analyze, and utilize data to understand and solve problems

Endangered

When a species is at risk of going extinct.

Machine learning

A branch of AI where the goal is to create a program that improves over time or “learns” as it processes more data.

Population Decline

A reduction in population size.

Pattern Recognition

The ability to recognize patterns.

Sample

A subset from a larger data set.

Tagging

The process of attaching a small, unique, identifying marker to an animal for scientific research or management purposes. They are used to monitor behaviors, locations, and movements. and are key to being able to gather information about population changes.

Visual recognition

When AI is used to identify objects, people, and other information in images.

Looking for more computer science resources?

Try one of our Content Bundles

Artificial Intelligence

What is AI?

Computational Thinking

Get with the (computer) program

Data Science

Byte into these

Find more resources about innovators tackling the world's toughest challenges