Papers for
food quality control teams
Papers whose findings have a practical use for this group, as judged from the abstract. Open a paper to read what it means in practice.
Smellnet models struggle to identify all ingredients in new mixtures
Where Mixture Recognition Fails: An Ingredient-Level Audit of Unseen Combinations in SmellNet
Abstract: An electronic nose must name every ingredient of a mixture, including combinations it has never measured. SmellNet, a public benchmark for this task, scores ingredients with a hit rate that is told how many each sample contains. We audit what this protocol hides. We hold out ingredient combinations from the SmellNet training data, evaluate four architectures (MLP, CNN, LSTM and a Transformer encoder) without revealing the ingredient count, and repeat the evaluation once on the official unseen split. Under the count-informed protocol, 90-96% of mixtures receive an ingredient that is absent, on our folds and on the official split alike. On our folds, every model identifies one ingredient reliably but the second rarely, and it completes the pair with a familiar training partner about twice as often as chance. On the official split, even the first-ranked ingredient is correct in only 29-46% of binary mixtures, often because a frequent training ingredient that is absent from every test pair is ranked first, and on its combinations that are truly absent from training no model names both ingredients in more than 1.2% of them. The failures fall on the same ingredients for every architecture, and a frequency correction only moves errors between ingredients. Mixture recognition is therefore limited by ingredients the models cannot separate and by a preference for frequent ingredients, not by the architecture, and it should be evaluated with set-level errors and without oracle cardinality.
Rf signals measure nutrients in liquid foods without labels
RF-Based Macronutrient Estimation in Liquid Foods via Composition-Aware Multi-Task Learning
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.
Hybrid cnn transformer improves banana quality grade classification accuracy
Enhancing Cross-Grade Generalization in Banana Variety Classification via Hybrid CNN-Transformers and Knowledge Self-Distillation
Abstract: In recent years, automated fruit classification systems have become a more critical component in precision agriculture for efficient yield estimation, quality control, and supply chain optimization. However, they still face significant challenges under varying quality, fruit maturity, illumination, texture degradation, morphological attributes, domain shift, and post-harvest handling conditions. In this study, we address the challenging issue of cross-grade banana variety classification. This is a real-world setting where models that have been trained on specific quality grades must generalize to unseen grades to handle significant domain shift. Under a rigorous Leave-One-Grade-Out evaluation protocol, we present a thorough comparative analysis of CNNs, ViTs, and dual-stream hybrid architectures using a large-scale dataset of 31,678 banana images with three varieties and three quality grades. Specifically, to address the drawbacks of single-paradigm frameworks, we present a dual-stream Swin ResNet hybrid framework enhanced with KL-divergence-based self-distillation to align probabilistic feature representations across the CNN and Transformer streams. Comprehensive experimental analyzes show that the presented hybrid framework with KL-divergence based self-distillation achieves better overall performance, i.e., it attains a mean accuracy of 81.25% and significantly surpasses CNN and Transformer baseline models. Qualitative analysis further confirms that the hybrid framework in this study improves discriminative feature transferability, improves attention localization, and stabilizes optimization.
Ultrasound and AI measure cheese texture without damage
Sounds Cheesy - Bridging the Texture Gap Between Dairy and Plant-Based cheese with Non-Contact Ultrasound and AI
Abstract: Plant-based cheeses often fail to reproduce the texture of dairy cheese. Closing this gap is slow because the reference methods, texture profile analysis (TPA) and sensory panels, destroy the sample and are poorly suited to screening many formulations in a timely and cost-effective manner. Here we show that non-contact, air-coupled ultrasonic imaging combined with machine learning can characterise cheese texture rapidly and without damaging the sample. Thirteen commercial products (nine dairy, four plant-based; 119 slices, 357 scans) were imaged in through-transmission at 100 kHz to give two-channel amplitude and time-of-flight C-scans, and each slice was then measured by TPA. The C-scans revealed millimetre-scale acoustic domains in ripened dairy cheeses, consistent with their fused-curd microstructure, that were absent from the homogeneous starch and oil matrix of the plant-based products. TPA showed that the texture gap is one of range and failure behaviour rather than average firmness. Mean hardness was similar for the two categories, but dairy products spanned a 7.5-fold range against 1.9-fold for plant-based products, and the plant-based products failed in a brittle, strain-softening manner rather than by ductile yielding. No single ultrasonic parameter tracked texture across products. However, a compact convolutional neural network predicted full true stress-strain loading and unloading curves from the C-scan images of unseen slices across all thirteen products without product-specific calibration. Clustering the predicted curves produced a texture map on which three plant-based slices sat with the Cheddars and one with Emmental, while soft, mozzarella-like textures remained unoccupied. The approach offers a one-minute, non-contact measurement suited to formulation screening and at-line quality control of cheese.