Skip to main content
  1. Home
  2. Computing
  3. Emerging Tech
  4. News

Microsoft manages to cram artificial intelligence on the Raspberry Pi 3 PC board

Add as a preferred source on Google

The Raspberry Pi 3 is one of the most popular devices you can buy. For $35, this inexpensive all-in-one computer board can be used to power numerous projects ranging from miniature Linux-based PCs to gaming consoles and more. Now Microsoft reports that it built a device based on the Raspberry Pi 3 that uses artificial intelligence to hunt down pesky rodents.

The device was created by the head of Microsoft’s Machine Learning and Optimization group, Ofer Dekel. He discovered that squirrels were stealing flower bulbs along with seeds in the bird feeder in his backyard garden. Naturally, he couldn’t literally keep watch in the shadows and chase down the furry-tail rodents with his bare hands, so he came up with a plan.

Recommended Videos

Using his team located at the Redmond, Washington, research lab (he has one in India, too), they trained a computer-vision model to detect squirrels. The artificial intelligence was then deployed onto a Raspberry Pi 3 board inside a special device he mounted in his backyard. Thus, when a squirrel rears its head, the device will turn on the sprinkler system, thwarting the rodent’s thieving habits.

This backyard “project” is just part of Microsoft’s overall picture of an artificial intelligence-first world. “We’re moving from what is today’s mobile-first, cloud-first world to a new world that is going to be made up of an intelligent cloud and intelligent edge,” Microsoft CEO Satya Nadella said during the recent Build developer conference.

The big accomplishment in the squirrel-hunting project, according to Microsoft, was cramming a deep neural network onto an extremely small chip. Dekel and his team used “a variety of techniques” to compress the neural network, which is essentially “a class of predictors” inspired by our brains.

One technique is called weight quantization, capable of cramming more parameters into a smaller physical space. This compression enables the artificial intelligence to work faster, too. Additionally, Dekel’s group is examining a technique called pruning, which removes redundancies in neural networks. This has a double benefit: the ability to run a neural network on extremely small processors, and faster evaluation times.

However, the team wants to get artificial intelligence running on the smallest ARM-based processor to date: the Cortex M0. According to ARM, this processor has a “floorplan area” of 0.007mm squared. That’s very, very tiny, and will require the team to make its machine learning models up to 10,000 times smaller than what they’re compressing for the Raspberry Pi 3.

“There is just no way to take a deep neural network, have it stay as accurate as it is today, and consume 10,000 less resources. You can’t do it,” said Dekel. “So, for that, we have a longer-term approach, which is to start from scratch. To start from math on the white board and invent a new set of machine-learning technologies and tools that are tailored for these resource-constrained platforms.”

To see what the team is currently working on, early previews can be downloaded from Microsoft’s GitHub depot here. It also provides previews of the compression techniques and training algorithms.

Kevin Parrish
Kevin started taking PCs apart in the 90s when Quake was on the way and his PC lacked the required components. Since then…
ChatGPT’s Computer History has one big privacy problem
The feature stores interaction data locally, but OpenAI says those files aren't encrypted.
ChatGPT Computer History Feature in action

We've already covered how ChatGPT's Computer History feature lets the Mac app remember what users have been doing across apps and websites, using interaction events such as clicks, typing, and app switching rather than screenshots or recordings. However, a rather uncomfortable detail in OpenAI's official documentation is that the files containing that history aren't encrypted.

Your Mac history is stored as plain text

Read more
Are classroom screens making children less cognitively capable? Experts are divided
A neuroscientist wants fewer screens in schools, but not everyone agrees
school-screentime

Jared Cooney Horvath has spent over 15 years studying how people learn, and he says the picture for today's kids isn't good. The neuroscientist and former teacher argues that classroom technology is quietly eroding how children think and retain knowledge, according to a report from The Guardian.

Horvath's new book, The Digital Delusion, lays out the case that generational progress in health and education has stalled since around 2000, right around the time kids started to get access to screens. Concerns about early exposure run even deeper, with some researchers now warning that screen habits formed before age two carry their own developmental risks.

Read more
Mac users now have an easier way to install apps from DMG files
With EasyDMG, you'll never have to drag and drop a DMG file again.
easydmg-free-mac-app-install-dmg-files

If you have ever installed a new app on a Mac, you already know the slightly tedious dance that comes with it. You download a DMG file, double-click it, wait for the virtual disk to mount, drag the app icon into your Applications folder, and delete the leftover file. This installation method has barely changed since it debuted alongside Mac OS X back in 2001, and developer Jeff Schumann finally got fed up enough to fix it himself.

How EasyDMG simplifies the process of installing apps on Mac

Read more