Skip to main content

U.S. Army algorithm tells you how much coffee to drink to remain alert

From selecting the news we read online to helping us find true love on dating websites, algorithms are capable of all kinds of amazing things. But now they might be poised to answer an age-old question that has long plagued humanity: Just how much coffee should you drink in a day in order to operate with maximum alertness? That’s the goal of a new automated optimization algorithm created by researchers working for the U.S. Army. Its purpose is to figure out how much coffee is needed keep people alert when suffering the effects of sleep loss.

“Eighty percent of the U.S. population consumes about two cups of coffee a day, and often more when we feel fatigued and desire an alertness jolt,” Dr. Jaques Reifman, lead researcher on the project, told Digital Trends. “The U.S. Army has developed algorithms that allows service members and the public at large to determine when and how much caffeine to consume so to optimize alertness at the desired times and duration. When we compared the optimization algorithm results against experimental studies, we found that the algorithm improved alertness and decreased caffeine use by as much as 65 percent.”

Recommended Videos

As noted, the algorithm was able to cut caffeine intake by up to 65 percent, while at the same time increasing alertness by up to 64 percent.

“While this is a dual-use technology, our focus is on improving alertness of our warfighters, who are often challenged with considerable sleep debt,” Reifman said. “Forty percent of [these servicemen and women] sleep less than five hours per night on a consistent basis. In the civilian side, the algorithm has wide applicability for shift workers in the transportation industry, medical caregivers, firefighters, students, [and others.]”

At present, there’s no word on when or if this algorithm will be incorporated into a consumer-facing caffeine strategy app. As major coffee lovers, we’d love to see it, though. After all, our Apple Watches tell us when to stand up and get some exercise. Who wouldn’t also want to be reminded by their wearable device or smartphone that they need to get up and fetch themselves a cup of joe to remain at peak performance?

A paper describing the work was recently published in the Journal of Sleep Research.

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…
China’s tightened grip on TikTok’s algorithm could seriously cripple a U.S. sale
tiktok logo next to trump

China’s new law on A.I. tech may have sent TikTok’s prospective buyers back to the drawing board. Reuters reports that negotiations to acquire TikTok’s U.S. operations have hit a critical snag as bidders scramble to figure out ways to comply with China’s updated export rules.

Earlier this week, Beijing released an amendment to its tech export laws to cover “recommendation of personalized information services based on data” -- essentially the cornerstone of TikTok’s viral success. Any foreign business which seeks to acquire products with such A.I.-based recommendation engines must now first secure the local government’s stamp of approval, the new rules state.

Read more
Instagram Reels launches in the U.S. to lure you off TikTok
instagram reels launches in the us to lure you off tiktok

Instagram Reels is now available in the U.S. — and the new feature is a lot like TikTok. 

Reels is an in-app editing tool for creating 15-second videos synced to music or another type of audio. The new feature also allows users to choose an audio clip to use with the video. 

Read more
U.S. House votes down amendment that would limit Army’s Twitch recruiting
Phone with Twitch mobile app.

The U.S. House of Representatives voted down a measure that would have prevented U.S. armed forces from recruiting in game-streaming platforms like Twitch.

The amendment U.S. Representative Alexandria Ocasio-Cortez (D-NY) presented to the floor on Thursday would have forced the U.S. Army and other branches of the armed services to suspend all activities on Twitch "or any video game, e-sports, or live-streaming platform.” In an opening statement presenting the bill, Ocasio-Cortez cited the U.S. Marine Corps' "stance" that "war is not a game."

Read more