Rf signals measure nutrients in liquid foods without labels

RF-Based Macronutrient Estimation in Liquid Foods via Composition-Aware Multi-Task Learning

Networking and Internet Architecture

Summary

Measuring the amounts of carbs, fats, and proteins in drinks usually takes a lot of lab work or guessing from labels and pictures, which can be slow or inaccurate. This work uses radio waves at 2.4 GHz sent through liquids to detect these nutrients based on how the waves change when passing through different ingredients. The researchers created a special Transformer model that learns patterns in these radio signals to estimate nutrient levels accurately across many drink types. While the system works well on drinks it was trained on, it still struggles with new recipes or formulations. This method could one day allow nutrient sensing without opening bottles or reading labels.

What this means in practice

  • For beverage manufacturers: Integrate RF sensing into liquid containers to estimate nutrient content automatically without chemical tests or labels.$Commercial implications: Enables smart bottles that provide nutrient info directly to consumers, improving product transparency and consumer experience.
  • For food quality control teams: Use RF-based measurement to quickly verify nutrient content of beverages in production with less dependence on lab analysis.

Authors

Ishtiaque Ahmed Showmik, Kannan Athreya

Abstract

Current approaches to macronutrient estimation range from high-overhead laboratory analysis to user-dependent methods such as manual nutritional lookup, reading package labels, and vision-based image analysis. These approaches are often time-consuming, input-dependent, or sensitive to imaging and measurement conditions. In this work, we investigate synchronous 2.4 GHz OFDM radio-frequency (RF) measurements for estimating carbohydrate, fat, and protein content in liquid foods. Using a controlled sensing setup, we study how liquid composition shapes frequency-domain RF responses -- a first step toward a sensor integrated into a liquid-contacting vessel that estimates macronutrient content passively and label-free, and toward composition-aware RF food analysis beyond liquids. We propose the Ingredient-Conditioned OFDM Transformer (ICOT), a structure-aware multi-task Transformer that operates on two-dimensional OFDM channel frequency response matrices. ICOT infers canonical ingredient categories representing dielectric-driver composition and uses them to condition macronutrient regression through feature concatenation. On 28,420 captures spanning 55 beverage classes, ICOT achieves an in-distribution MAE of 0.101 g/100 ml and an out-of-distribution MAE of 0.485 g/100 ml -- comparable in magnitude to deviations present in manufacturer-reported labels -- though generalization to novel formulations remains the primary open challenge.