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
I'm a UK-based tech writer covering Cool Tech at Digital Trends. I've also written for Fast Company, Wired, the Guardian…
Hackers are pretending to be cybersecurity firm to lock your entire PC
A hacker typing on an Apple MacBook laptop while holding a phone. Both devices show code on their screens.

As hackers come up with new ways to attack, not even trustworthy names can be taken at face value. This time, a ransom-as-a-service (RaaS) attack is being used to impersonate a cybersecurity vendor called Sophos.

The RaaS, referred to as SophosEncrypt, can take hold of your files -- or even your whole PC -- and requires payment to have them decrypted.

Read more
‘World’s largest sundial’ to double as green energy provider
Houston's Arco del Tiempo (Arch of Time).

Houston’s next piece of public art is being described as "the world's largest sundial" and will also produce solar power for the local community.

The striking Arco del Tiempo (Arch of Time) is the creation of Berlin-based artist and architect Riccardo Mariano and will be installed in the Texan city’s East End district in 2024.

Read more
Nvidia’s peace offering isn’t working
Two MSI RTX 4060 Ti 16GB GPUs over a black background.

Nvidia's RTX 4060 Ti 16GB is here, but you wouldn't know it if you didn't follow GPU news closely. It seems that the GPU might just be so far behind some of the best graphics cards that Nvidia isn't advertising it too much. As a result, early benchmarks are scarce.

MSI has released some benchmarks of its own, comparing the 8GB and the 16GB versions of the RTX 4060 Ti. It turns out that the new GPU might actually be slower. Is this why Nvidia didn't even make its own version of this card?

Read more