homehome Home chatchat Notifications


More bang for your cup: new algorithm determines ideal caffeine intake for the best results

Give me coffee or heads will roll.

Alexandru Micu
June 5, 2018 @ 11:54 am

share Share

New research into the world’s favorite stimulant offers clues as to when and how much coffee you should drink to stay at peak performance.

Coffee cup.

Image credits Myriam / Pixabay.

Few things get you on your feet as effectively as a nice, warm cup of coffee. It’s not surprising, then, that the beverage is among the most widely-consumed in the world — and just like its main ‘competitor’, tea, there’s a rich culture surrounding it. But how much coffee should you drink to get the benefits without becoming a twitchy shell of a man?

Thanks to a new algorithm developed for the US Army, we now know exactly how much of it you should have to maximize alertness when experiencing lack of sleep.

Pvt. Coffee

“Our algorithm is the first quantitative tool that provides automated, customized guidance for safe and effective caffeine dosing to maximize alertness at the most needed times during any sleep-loss condition,” said senior author Jaques Reifman, PhD.

Reifman, a senior researcher at the U.S. Army Medical Research and Materiel Command in Ft. Detrick, Maryland, and his team developed the algorithm starting from a mathematical model which predicts the effects sleep loss or caffeine intake has on psychomotor vigilance task (PVT) performance. This gave them the means to estimate what effects tiredness or a cup of coffee would have on a subject’s state.

PVTs are essentially simple response time tests. They were conducted at various times over several days and recorded alongside a subject’s caffeine-intake schedule.

The second part of the algorithm works from the raw data this mathematical model provides to determine how much caffeine that subject should consume to keep alertness at peak levels — even during sleep loss. Users provide their sleep/wake schedule and the maximum quantity of caffeine they’re willing to ingest, and the algorithm provides a dosing strategy tailored to their needs.

To test their system, the team computed dosing strategies used in four previously-published studies on sleep loss. Two strategies were generated and compared for each study — one to increase alertness (as measured by PVT performance) using the same amount of caffeine as the original study (maximizing effects) while the other aimed to achieve the same levels of alertness using a lower amount of caffeine (minimizing dosage).

“We found that by using our algorithm, which determines when and how much caffeine a subject should consume, we can improve alertness by up to 64 percent, while consuming the same total amount of caffeine,” Reifman explains.

“Alternatively, a subject can reduce caffeine consumption by up to 65 percent and still achieve equivalent improvements in alertness.”

2B-Alert.

The 2B-alert app follows a user’s sleeping patterns to predict alertness and cognitive performance levels throughout the day. Then it tells you when to take a shot of caffeine so you’re always running at full steam.
Image credits 2B-Alert.

According to the team, these results suggest that their algorithm can be used to determine the best timing and dosage for a particular sleep/wake cycle to maximize the benefits in alertness.

Although developed for military applications, the army knows that Monday mornings are just the worst and they’re willing to share. The US Army is currently looking to license the software, aiming to produce a commercial smartphone app for public use. The algorithm’s core functionalities will still be there, meaning it will monitor and learn your individual habits — a point that may put many off in this post-Cambridge Analytica scandal world. The app would potentially track and log fitness data to help improve results, as well.

If you simply can’t wait, an open-source version of the algorithm, dubbed 2B-Alert, is also currently available. It’s meant as a proof-of-concept, a limited demonstration of the final system. It takes into account sleep and caffeine-intake data (that you punch in), but won’t deliver personalized dosage strategies as it doesn’t include PVT data.

The paper “Caffeine dosing strategies to optimize alertness during sleep loss” has been published in the Journal of Sleep Research.

share Share

This New Atomic Clock Is So Precise It Won’t Lose a Second for 140 Million Years

The new clock doesn't just keep time — it defines it.

A Soviet shuttle from the Space Race is about to fall uncontrollably from the sky

A ghost from time past is about to return to Earth. But it won't be smooth.

The world’s largest wildlife crossing is under construction in LA, and it’s no less than a miracle

But we need more of these massive wildlife crossings.

Your gold could come from some of the most violent stars in the universe

That gold in your phone could have originated from a magnetar.

Ronan the Sea Lion Can Keep a Beat Better Than You Can — and She Might Just Change What We Know About Music and the Brain

A rescued sea lion is shaking up what scientists thought they knew about rhythm and the brain

Did the Ancient Egyptians Paint the Milky Way on Their Coffins?

Tomb art suggests the sky goddess Nut from ancient Egypt might reveal the oldest depiction of our galaxy.

Dinosaurs Were Doing Just Fine Before the Asteroid Hit

New research overturns the idea that dinosaurs were already dying out before the asteroid hit.

Denmark could become the first country to ban deepfakes

Denmark hopes to pass a law prohibiting publishing deepfakes without the subject's consent.

Archaeologists find 2,000-year-old Roman military sandals in Germany with nails for traction

To march legionaries across the vast Roman Empire, solid footwear was required.

Mexico Will Give U.S. More Water to Avert More Tariffs

Droughts due to climate change are making Mexico increasingly water indebted to the USA.