Predicting food texture with data and food-science knowledge

Comparing machine learning, similar experimental samples, and a knowledge-guided AI agent to predict food mechanical properties.

Graphical abstract comparing machine learning, analogue retrieval, and a knowledge-guided AI agent for predicting food mechanical properties

Predicting a food’s texture from its recipe sounds straightforward until two similar formulations behave differently. Protein source, water distribution, and processing history all matter, and a small spreadsheet rarely captures the whole story. In this study, I compared machine learning, prediction from similar experimental samples, and an AI agent that combined those samples with curated food-science knowledge. The question was whether explicitly supplying what we know about food structure could help predict an unfamiliar formulation. The agent was statistically comparable to the best machine-learning model for hardness and chewiness when the plant-based meat test formulations extended beyond the training range. In protein–polysaccharide mixtures, it achieved the lowest reported errors for both storage modulus (small-deformation stiffness) and maximum stress at 200% strain. For the latter, mean absolute error fell from 32.21 kPa with the best ML baseline to 17.21 kPa with the agent. Simply retrieving similar samples was less accurate than the full agent in both cases. What interests me here is the practical role of food-science knowledge: rules about network formation, moisture dilution, and brittle failure can supply context that composition numbers leave out. These were only two case studies, and the knowledge base still needed manual curation. I see this as a useful direction for formulation screening, with broader validation needed before relying on it across food systems.