Skip to main content

Staggering implications: Smartphones may soon use our gait to see if we’re drunk

Researchers from Stanford University and the University of Pittsburgh have developed software that harnesses a smartphone’s built-in accelerometer, and uses this to determine whether its user might be drunk — based entirely on how they walk.

Recommended Videos

“Every smartphone currently manufactured has many embedded sensors,” Brian Suffoletto, associate professor in emergency medicine at Stanford University, told Digital Trends. “One of these sensors is a 3-axis accelerometer. We accessed this sensor and sampled the movement in the forward-backward, side-to-side, and up-down direction 100 times per minute while individuals were walking in a straight line using a free app, Phyphox. We then cleaned the data and generated features related to walking such as step speed and variability of side-to-side movement. [After that, we] trained a model where each person served as their own control and examined how well these models, when shown new data on the individual, could discriminate between periods of intoxication and sobriety.”

For the study, the researchers recruited 22 adult volunteers, aged 21 to 43. They were given a mixed drink containing vodka that would yield a breath alcohol level of .2 percent. For seven hours, the participants had to perform various walking tasks while being breathalyzed.

This data was then used to build an A.I. model. The algorithm is reportedly about 90% accurate at predicting when breath alcohol concentration exceeds .08 percent. This is the level at which a person will test positive for driving under the influence (DUI) in the United States.

Coming soon to a phone near you?

There are, of course, differences in people’s walking patterns which could affect such readings. A person with a hitch in their step, from breaking their leg as a child, could walk in a manner that might result in a false positive. Because of this, Suffoletto said, it’s important that any future commercial version of this tool would have to ensure each user served as their own control. That means that they would have to provide enough baseline data about whether they had drunk alcohol at certain junctures in order to train the model on their particular phone.

Don’t expect this tool to ship in the near future, though. “There are several key things that need to happen before we are sure about efficacy and this tool could be rolled out commercially,” Suffoletto said. “First, we need to build models that are useful when the phone is placed on different parts of the body or in a handbag. Then, we need to determine how well the models work in the real world where people may not be walking in straight lines. Most interesting to me is whether combining different features such as typing speed on a phone could [also] complement gait features.”

How useful a tool like this would be, of course, would depend on how the data is used. If it’s employed to stop people from drinking and driving by sending a notification that you should not be behind the wheel of car, it would be a great idea. If it’s used to tell advertisers you enjoy drinking at lunchtime on a Friday? Maybe less so.

A paper describing the work was recently published in the Journal of Studies on Alcohol and Drugs.

Luke Dormehl
Former Digital Trends Contributor
I'm a UK-based tech writer covering Cool Tech at Digital Trends. I've also written for Fast Company, Wired, the Guardian…
iPhone 17 series could finally end Apple’s stingy era of slow screens
iPhone on charging stand showing photo screen in iOS 17 StandBy mode.

Apple has played a relatively slow innovation game when it comes to display upgrades on its phones. The company took its own sweet time embracing OLED screens, then did the same with getting rid of the ugly notch, and still has a lot of ground to cover at adopting high refresh rate panels.

The status could finally change next year. According to Korea-based ET News, which cites an industry source, Apple will fit an LTPO (low-temperature polycrystalline oxide) screen across the entire iPhone 17 series, including the rumored slim version and the entry-point model.

Read more
Aptera’s 3-wheel solar EV hits milestone on way toward 2025 commercialization
Aptera 2e

EV drivers may relish that charging networks are climbing over each other to provide needed juice alongside roads and highways.

But they may relish even more not having to make many recharging stops along the way as their EV soaks up the bountiful energy coming straight from the sun.

Read more
Ford ships new NACS adapters to EV customers
Ford EVs at a Tesla Supercharger station.

Thanks to a Tesla-provided adapter, owners of Ford electric vehicles were among the first non-Tesla drivers to get access to the SuperCharger network in the U.S.

Yet, amid slowing supply from Tesla, Ford is now turning to Lectron, an EV accessories supplier, to provide these North American Charging Standard (NACS) adapters, according to InsideEVs.

Read more