Tom's Carnivores

It's been almost 4 years since the original Nepenthes Species Identifier launched. I'm pleased to say that the vastly improved version 2 is now ready for release!

Now available: Nepenthes Species Identifier V2

Tom Bennet
By Tom Bennet
Published 4 September 2024, updated
I've been growing a wide variety of carnivorous plants for over 2 decades. I got my first Venus flytrap at age 10 and now have an entire greenhouse full of carnivores.

It’s been almost 4 years since the first version of the Nepenthes Species Identifier launched. Regular visitors may have noticed that the tool’s now been offline for many months. This is because Eric Huang - creator of the underlying AI model which does the identification - and myself have been hard at work building a vastly improved version 2, which I’m pleased to report is now ready for general use!

If you want to get started right away, you can hit the button below to be taken directly to the Nepenthes Species Identifier. But if you’re interested in learning more, scroll down to read the story of how the AI was built and trained, instructions for how to use it, and some fun examples of its new abilities.

Improvements in Version 2

If you were familiar with the original version of this tool, you may remember having to draw a selection box around the pitcher in your photo. This is because the old model could only handle a single pitcher per image.

Version 2 has no such limitation. Compared to the original, it’s been improved in many different ways:

Here’s an example of it in action:

The AI correctly identifies my N. singalana

As you can see, it’s correctly identified my N. singalana with a high degree of confidence. I often find the model’s secondary guesses to be very interesting, since they’re frequently species that occur sympatrically with the correct species (in this case, they all hail from Sumatra).

But hang on, what’s this?! It’s detected a partially inflated pitcher in the background…

Identification of N. robcantleyi based on partially inflated pitcher!

…and correctly identified it as N. robcantleyi, with over 90% confidence! And its next best guess is N. truncata, which is amusing in itself. Remember that it hasn’t used the leaves as a clue here - it’s deduced the species entirely from the morphology of the developing pitcher. I find this remarkable.

What’s more, if you give it a photo of a hybrid, it will often guess one or both of the parents based on the traits passed to its offspring. Here it is making a solid attempt at identifying one of my N. lowii x truncata. And yes, it guessed the N. edwardsiana next to it correctly too.

Identification of N. lowii x truncata parent species

Technical information

In the years since this tool launched back in 2020, AI seems to have shot to the forefront of public consciousness. This is largely thanks to LLM-powered chatbots like ChatGPT, and the subsequent boom in generative AI products. I’m still not sure what to make of the text-to-image and text-to-video tools which have emerged in the years since, and personally feel that advances in analysis and classification of images hold far more positive potential for society.

Anyway - I can’t take any credit for the incredible underlying model which powers the Nepenthes Species Identifier. This was built entirely by engineer Eric Huang, and if you’re interested in learning more about the cutting edge tools and techniques he utilized, you can do so by looking at the following papers:

One point to note is that the image classifier uses a shifted window transformer, which is based on the same tech that powers ChatGPT. If you’re so inclined, you can review the code for the backend on GitHub here.

What’s next?

Let us know what you’d like to see!

As I mentioned in the original blog post, identifying hybrids would be very difficult but is not necessarily impossible. If you have any other ideas for what would be useful or exciting, please leave a comment below or get in touch via email.

Thanks for reading! Enjoy the tool.

Tom Bennet
By Tom Bennet
Site Owner

I've been growing carnivorous plants for over 2 decades, having been fascinated by these plants since I got my first Venus flytrap at age 10. I now have a large greenhouse to house my collection and am an avid breeder of Nepenthes pitcher plants.

comments powered by Disqus