Abstract
BACKGROUND
Sensory biometrics provide advantages for consumer tasting by quantifying physiological changes and the emotional response from participants, removing variability associated with self‐reported responses. The present study aimed to measure consumers' emotional and physiological responses towards different commercial yoghurts, including dairy and plant‐based yoghurts. The physiochemical properties of these products were also measured and linked with consumer responses.
RESULTS
Six samples (Control, Coconut, Soy, Berry, Cookies and Drinkable) were evaluated for overall liking by n = 62 consumers using a nine‐point hedonic scale. Videos from participants were recorded using the Bio‐Sensory application during tasting to assess emotions and heart rate. Physicochemical parameters Brix, pH, density, color (L, a and b), firmness and near‐infrared (NIR) spectroscopy were also measured. Principal component analysis and a correlation matrix were used to assess relationships between the measured parameters. Heart rate was positively related to firmness, yaw head movement and overall liking, which were further associated with the Cookies sample. Two machine learning regression models were developed using (i) NIR absorbance values as inputs to predict the physicochemical parameters (Model 1) and (ii) the outputs from Model 1 as inputs to predict consumers overall liking (Model 2). Both models presented very high accuracy (Model 1: R = 0.98; Model 2: R = 0.99).
CONCLUSION
The presented methods were shown to be highly accurate and reliable with respect to their potential use by the industry to assess yoghurt quality traits and acceptability. © 2022 The Authors. Journal of The Science of Food and Agriculture published by John Wiley & Sons Ltd on behalf of Society of Chemical Industry.
Keywords: biometrics, machine learning, physiological responses, emotions, near‐infrared
INTRODUCTION
Yoghurts are popular fermented products among consumers because of their flavor and health benefits. 1 Yoghurt alternatives formulated from plant‐based sources have recently gained popularity because of growing vegetarianism and concerns over the environmental sustainability of traditional dairy products. 2 , 3 However, it has been reported that the inherent properties of the constituent proteins in plant‐based yoghurts will result in differences in gelation and texture compared to traditional dairy yoghurts. 4 The sensory characteristics of a food product are highly affected by its physicochemical properties. Previous studies report that the sensory acceptance changes with flaxseeds 5 or barley bran 6 in a yoghurt formulation. Hence, it is important to understand the effect of both formulation and physicochemical properties on the sensory acceptability of yoghurt products.
The traditional method of sensory evaluation uses hedonic scales for self‐reporting liking levels of a product by consumers. However, this method can have some drawbacks because it lacks a measure of subconscious emotions expressed by the consumer. 7 Emotions are important to measure, along with self‐reported liking, and help better understand the sensory attributes of food products. 8 The advanced methods of understanding product liking by consumers involve using biometric technology to intrinsically measure the emotions and heart rate of the consumer, which relate to the acceptability of the product tasted. Heart rate variability is an objective method to evaluate physiological responses, 9 which is usually measured by attaching electrodes to the body of an individual. A disadvantage is the awareness of the individual to analysis, 10 , 11 which can add a stressor to the response during evaluation. 12 The non‐invasive method developed by Viejo et al. 10 using computer vision analysis can overcome this limitation. This is achieved by capturing a video during the evaluation. The analysis focuses on the face's skin luminosity changes as a result of blood flow in the face using the green channel from the RGB color scale. Facial expression recognition has also been used to understand the subconscious responses from consumers towards a tasted food product. 13 , 14 Emotional response measurements may also provide more information on product liking during sensory evaluation. 15 A combination of self‐reported, intrinsic facial expression recognition for emotional assessment and heart rate variability has been successfully implemented for the understanding of consumer acceptability of beer, 16 chocolate, 17 , 18 insect‐based foods 19 and coffee labels. 20 Also, in yoghurt, a combination of sensory methods, including self‐reported and facial expression measurements, 21 have been effectively used to understand consumers acceptability. Another study with yoghurts used augmented reality to predict liking for dairy and non‐dairy yoghurts, suggesting a strong association between liking and test environments. Hence, the use of augmented reality is a reliable alternative to predict consumer liking in different environments. 22 The physicochemical attributes are important predictors of consumer liking and emotions, as studied for added cherry paste with sugar in a yoghurt, 23 and a combination of aroma, color, texture and acidity affecting liking in another study for commercial Turkish yoghurts. 24
Near‐infrared (NIR) spectroscopy, offering chemical fingerprinting of yoghurts at the 1596–2396 nm range, is a rapid, non‐invasive technique. It has the advantage of potentially being modelled to evaluate consumer liking of yoghurts without the requirement of carrying out testing with consumers after the process is standardized. NIR has also been previously modelled to assess the sensory and quality traits of beer 25 and chocolate. 26 The present study aimed to understand the effect of physicochemical properties of yoghurts on the emotional and physiological responses (biometrics) of consumers during sensory evaluation.
MATERIALS AND METHODS
The present study measured physicochemical parameters, such as Brix, pH, density, color and firmness of yoghurt samples, along with the chemical fingerprinting of the yoghurts by measuring the NIR absorbance values. A consumer sensory session was conducted to assess overall liking and biometric responses, involving facial expressions to obtain emotional responses and heart rate as a physiological measure. Furthermore, two machine learning models were developed to predict (i) the seven physicochemical parameters using NIR absorbance values as inputs (Model 1) and (ii) overall liking of the samples using the physicochemical parameters obtained as outputs from Model 1 as inputs (Model 2).
Samples
Six commercial yoghurt samples were used for all sensory and physiochemical tests. The samples were a combination of dairy and plant‐based yoghurts, with different consistency to measure the varying consumer responses to the different yoghurt types. These yoghurts were selected in a focus group study (n = 32), based on their preferences on taste, texture, appearance and emotions, as described previously, 27 approved by the Human Ethics Committee at the University of Melbourne, Australia (Ethics ID 1545786.2 and 1853507.2). The sample products represent the following yoghurt types: control (plain dairy type), Coconut (plant‐based plain coconut type), Drinkable (sweetened dairy drinking type), Soy (plant‐based plain soy type), Cookies (sweetened dairy type with crunchies) and Berry (sweetened dairy type with berries).
Yoghurt properties
Physicochemical measurements
A pH meter (Hanna Instruments Inc., Woonstock, RI, USA) was used to measure the pH of the yoghurts at ambient temperature (~25 °C). The device was previously calibrated with buffer solutions of pH 4.0 and pH 7.0. Furthermore, a handheld Brix meter (Alla‐France, Chemillé, France) was used to calculate the total soluble solids in °Bx. The density of the yoghurts was measured by dividing the weight of the samples by 50 mL of sample used. A Nix colorimeter (Nix Sensor Ltd, Hamilton, ON, Canada) was used to determine color indices for lightness (L), red/green (a) and yellow/blue (b) values for the yoghurt samples. The CIELab color scale indicates color index L from 0 to 100, measuring brightness from black to white. The color index a varies from a negative value (green) to positive (red), and color index b varies from a negative value (blue) to positive (yellow). 28 All analyses were carried out in triplicates and averaged for analysis.
The firmness values were measured using a texture analyzer (TA.HD plus; Stable Microsystems, New Castle, DE, USA) with a 5‐kg load cell, using a trigger force of 1 g and a 10‐mm cylindrical probe. 29 All measurements were performed at 10 °C, which was also the serving temperature for sensory analysis and analysis was performed in replicates of five.
NIR spectroscopy
The NIR absorbance values were measured within the 1596–2396 nm range using a microPHAZIR™ RX Analyzer (Thermo Fisher Scientific, Waltham, MA, USA). The samples were measured at room temperature (~25 °C) in triplicate and three measurements per replicate. Furthermore, the Savitzky–Golay first derivative was obtained for signal transformation to enhance peaks and plotting purposes using The Unscrambler X, version 10.3 (CAMO Software, Oslo, Norway). 25
Sensory evaluation and biometric measurements
A fully randomized consumer sensory session was conducted with 62 consumers. Power analysis was conducted using SAS Power and Sample Size, version 14.1 (SAS Institute, Cary, NC, USA) and confirmed that the number of participants was sufficient to find significant differences between samples (1 – β > 0.99). The yoghurt samples were labelled with three‐digit random codes and served at 10 ± 2 °C, as noted previously by Gupta et al. 21 The ambient temperature of the tasting room was set to 22 ± 2 °C. All procedures were approved by the Human Ethics Advisory Group (HEAG) (Ethics ID 1853507.2). All participants provided their written informed consent form before participating in the yoghurt sensory sessions. Participants were chosen based on the frequency of consumption of yoghurts, and regular consumers of yoghurts who consumed yoghurt at least once per week were selected for the study. The participants included 67.7% females and 32.3% males, ranging from 21 to 58 years. The Bio‐Sensory app 30 displayed the sensory questionnaire and recorded videos during the tasting. These videos were further used to analyze the emotional and physiological responses. The self‐reported liking for the yoghurts was assessed using a nine‐point hedonic scale (1: dislike extremely; 5: neither like nor dislike; 9: like extremely).
Heart rate (HR) was analyzed from the recorded videos via a customized Matlab® R2021a (Mathworks, Inc., Natick, MA, USA) algorithm using the green channel from the RGB color code as explained by Viejo et al. 10 The selected region of interest was the forehead to estimate HR in beats per minute because it is one of the areas with the highest blood flow in the face. The videos were also used to analyze the facial expressions and emotional responses of participants. These videos were analyzed from when the sample was first put in the mouth to assess the first reaction of the consumer. Facial muscles and head movements from the participants when evaluating the samples were recorded and analyzed using a facial expression recognition computer application developed by the Digital Agriculture Food and Wine group (DAFW) from the University of Melbourne (UoM), based on the Affectiva software development kit (SDK; Affectiva, Boston, MA, USA). The software can track the human face based on the Viola–Jones cascade detector algorithm and can detect the micro‐ and micromovements using the histogram of the oriented gradient algorithm and with support vector machine (SVM) machine learning method, to automatically translate facial expressions into specific emotions and emojis. 31 , 32 In total, 45 parameters were generated from the software, grouped as intensity (2), facial expression (21), head orientation (3), emotions (7) and emoji (12) (Table 1). 19
Table 1.
Facial expressions and emotion parameters obtained from the facial expression recognition software (Affectiva)
| Category | Parameter | Label | Category | Parameter | Label | ||
|---|---|---|---|---|---|---|---|
| Intensity | 1 | Valence | Valence | Head Orientation | 24 | Pitch |
|
| 2 | Engagement | Engagement | 25 | Yaw |
|
||
|
Facial Expression |
3 | Smile | Smile | 26 | Roll |
|
|
| 4 | Inner Brow Raise | Inner Brow Raise | Emotion | 27 | Joy | Joy | |
| 5 | Brow Raise | Brow Raise | 28 | Surprise | Surprise | ||
| 6 | Brow Furrow | Brow Furrow | 29 | Fear | Fear | ||
| 7 | Nose Wrinkle | Nose Wrinkle | 30 | Disgust | Disgust | ||
| 8 | Upper Lip Raise | Upper Lip Raise | 31 | Sadness | Sadness | ||
| 9 | Lip Corner Depressor | Lip Corner Depressor | 32 | Anger | Anger | ||
| 10 | Chin Raise | Chin Raise | 33 | Contempt | Contempt | ||
| 11 | Lip Pucker | Lip Pucker | Emoji | 34 | Relaxed |
|
|
| 12 | Lip Press | Lip Press | 35 | Smiley |
|
||
| 13 | Lip Suck | Lip Suck | 36 | Laughing |
|
||
| 14 | Mouth Open | Mouth Open | 37 | Kissing |
|
||
| 15 | Smirk | Smirk | 38 | Wink |
|
||
| 16 | Eye Closure | Eye Closure | 39 | Stuck Out Tongue Winking Eye |
|
||
| 17 | Attention | Attention | 40 | Stuck Out Tongue |
|
||
| 18 | Eye Widen | Eye Widen | 41 | Disappointed |
|
||
| 19 | Cheek Raise | Cheek Raise | 42 | Rage |
|
||
| 20 | Lid Tighten | Lid Tighten | 43 | Smirk |
|
||
| 21 | Dimpler | Dimpler | 44 | Flushed |
|
||
| 22 | Lip Stretch | Lip Stretch | 45 | Scream |
|
||
| 23 | Jaw Drop | Jaw Drop | |||||
The underlined terms were used for statistical analysis in the present study.
Statistical analysis and machine learning modelling
An analysis of variance (ANOVA) was conducted to assess significant differences (P < 0.05) between samples for the overall liking scores, heart rate, emotional responses and physicochemical parameters using Fisher's least significant difference (LSD) post‐hoc test (α = 0.05). This was performed using Minitab® Statistical, version 19.1.1 (Minitab Inc., State College, PA, USA). The Matlab® R2021a was also used to plot the NIR curves and first derivative. A multivariate data analysis based on principal component analysis (PCA) was conducted to assess relationships and associations among samples and variables from the biometrics and physicochemical parameters. Furthermore, a matrix was developed to find significant correlations (P < 0.05) between all parameters.
Two machine learning regression models based on artificial neural networks were developed using a customized code written in Matlab® R2021a by the DAFW‐UoM. Seventeen training algorithms were tested in a loop to find the best model based on the correlation coefficient (R) and performance assessed with the mean squared error (MSE). The Bayesian Regularization algorithm produced the best models with no overfitting; this algorithm performs very well with noisy and/or small datasets. 33 Model 1 was developed using the 100 NIR absorbance values (1596–2396 nm) as inputs to predict the physicochemical parameters: (i) Brix, (ii) density, (iii) pH, (iv) L, (v) a, (vi) b and (vii) firmness. The device used to measure NIR provides values for wavelengths every 7–9 nm. On the other hand, Model 2 was constructed using the seven physicochemical parameters to predict the overall liking of the yoghurt samples (Fig. 1). Both models were developed using a random data division with 65% of the samples (n = 35; observations = 245) used for training and 35% of the samples (n = 19; observations = 133) for testing. A neuron trimming test was performed using three, five, seven and ten neurons, with seven resulting in the best with no under or overfitting of the models.
Figure 1.

Diagrams of the feedforward artificial neural network models. Models consist of a hidden layer with a tan‐sigmoid function and an output layer with a linear transfer function. Abbreviations: W, weights; b, bias.
RESULTS AND DISCUSSION
Physicochemical characteristics of yoghurts
The NIR raw absorbance of the six yoghurts is shown in Fig. 2(a). The major peak occurred between 1900 and 2000 nm for all samples, with the highest absorbance occurring for Soy yoghurt and lowest absorbance for Berry yoghurt. The overtone for water, a major constituent of yoghurt, has previously been identified at 1940 nm, 34 consistent with this major peak. The absorption bands for lactic acid occur between 1800 and 2000 nm 35 but are not visible as a result of the overlapping broad water peak.
Figure 2.

Near‐infrared curves showing (a) the raw and (b) first derivative of absorbance within the range 1597–2400 nm.
The first derivative of the NIR absorbance is shown in Fig. 2(b) to allow greater observation of peaks between 1750 and 1800 nm, 1900 and 1950 nm, 1980 and 2050, and 2250 and 2350 nm. Peaks between 1980 and 2050 nm and between 2180 and 2470 nm, identified as overtones for proteins, 34 , 36 were observed in all samples, although other components can also contribute to the higher wavelength range. The Cookies yoghurt had peaks with the highest absorbance between 1980 and 2050 nm and the Coconut yoghurt the lowest absorbance in this range, consistent with the different formulations, including the higher protein content of the Cookie yoghurt compared to the Coconut yoghurt [9.7% (w/w) and 0.7% (w/w) protein, respectively]. Aromatic compounds may also have contributed to absorbance between 1980 and 2050 nm. 34
Table 2 shows the Brix, pH, density, firmness and color values for the yoghurt samples. There were significant (P < 0.05) differences between samples for all parameters. The lowest pH value was observed for Cookies yoghurt at 4.21, and the highest value was observed for Soy (4.76) and Berry (4.74) yoghurts. A previous study has shown that an increase in pH value strengthens the buttery, creamy and sweet after‐taste in yoghurts for a given formulation 37 ; hence, it is an important parameter to evaluate sensory differences among yoghurts. The pH values in the present study are comparable to previous research. 38
Table 2.
Mean values of the physicochemical characteristics of each yoghurt sample
| Parameter | Control | Coconut | Drinkable | Soy | Cookies | Berry |
|---|---|---|---|---|---|---|
| Color | ||||||
| L | 74.7ab ± 2.50 | 71.6b ± 2.32 | 76.1a ± 0.91 | 74.0ab ± 0.10 | 75.8a ± 0.14 | 64.1c ± 1.47 |
| a | 1.36bc ± 0.10 | 0.28c ± 0.11 | 2.08bc ± 0.05 | 2.44b ± 2.12 | 0.54bc ± 0.05 | 4.64a ± 0.53 |
| b | 8.68ab ± 0.10 | 3.92b ± 0.11 | 8.86ab ± 0.05 | 26.5a ± 2.12 | 9.08ab ± 0.05 | 1.02b ± 0.53 |
| Brix (°Bx) | 10.5d ± 0.29 | 8.00e ± 0.29 | 12.0c ± 0.29 | 6.50f ± 0.29 | 13.7b ± 0.33 | 21.33a ± 0.88 |
| pH | 4.44c ± 0.01 | 4.25d ± 0.01 | 4.53b ± 0.01 | 4.76a ± 0.00 | 4.21e ± 0.00 | 4.74a ± 0.02 |
| Density (g mL1) | 1.04bc ± 0.01 | 1.03bc ± 0.02 | 1.04b ± 0.00 | 0.98d ± 0.01 | 1.01c ± 0.00 | 1.08a ± 0.01 |
| Gel firmness (N) | 0.10d ± 0.02 | 0.15b ± 0.00 | 0.02e ± 0.00 | 0.13c ± 0.00 | 0.32a ± 0.00 | 0.09d ± 0.00 |
Values represent the mean ± SE (n = 3). Different lowercase letters within a row denote significant differences between samples based on ANOVA and Fisher's LSD post‐hoc test at P < 0.05.
The total soluble solids, indicated by the Brix value, was highest for Berry (21.3 °Bx) and lowest for Coconut yoghurt (8.00 °Bx), showing significant differences (P < 0.05) between the samples. Brix is considered the best objective measurement for sugar content in a food product. In an evaluation with apples, it was observed that a difference of more than 1 °Bx is required for a perceivable sweetness difference. 39 This explains the higher sugar content in Berry, and hence sweetness, compared to other samples.
Moreover, the Berry sample (1.08 g mL−1) had the highest value for density compared to the other products, and the lowest was observed for Soy (0.98 g mL−1). The firmness values (Table 2) were highest for Cookies (0.32 N), followed by Coconut (0.15 N), and lowest for Drinkable (0.02 N) yoghurt. The Cookies yoghurt had the highest protein content, which may lead to an increase in firmness. 40 The presence of fat and hydrocolloids, both being present in the Coconut yoghurt, which has lower protein, can also affect firmness. 41 By contrast, the shearing action performed in the formation of the Drinkable yoghurt leads to a lower firmness. 42
The highest L color index values were displayed by the Cookies (75.82) and Drinkable (76.10) yoghurts, whereas Berry (64.10) showed the lowest value. The lightness of yoghurts is associated with the particle size of fats and proteins and is also influenced by processing parameters, such as stirring and homogenization. 43 The color index a was highest for Berry (4.64) and lowest for Coconut (0.28). Additionally, color index b was highest for Soy (26.46) and lowest for Coconut (3.92) and Berry (1.02), which is in agreement with the results reported by Grasso et al. 41 Overall liking has been observed to significantly relate to color for dairy products, like cheese 44 ; hence, color measurements are important in understanding consumer acceptability.
Sensory characteristics of yoghurts
Self‐reported liking
The overall liking scores self‐reported by consumers on a nine‐point hedonic scale (Fig. 3) showed that there were significant differences between samples (P < 0.05). Cookies (7.36) was the most liked yoghurt product, whereas Berry (2.01) was the least liked. Cookies yoghurt has cereal particles. This combination has been associated with additional health benefits, 45 and hence may contribute to increasing its liking scores, as seen in the present study. Because of increasing health consciousness, consumers are moving away from high sugar foods. 46 This may explain the lower liking of the Berry yoghurt, which showed the highest value of Brix. Another factor that can influence liking is the product firmness. Cookies yoghurt showed the highest firmness values, and also the highest overall liking scores. Previous studies have shown yoghurt firmness to be positively linked to protein content, hence enhancing yoghurt liking. 27 Control, Soy and Drinkable samples were similarly liked, followed by Coconut. Previous studies have also shown that dairy and soy yoghurts were similarly liked by consumers. 41 Consumers like sweet products, but too high a sweetness is disliked and reduces liking, as observed in the case of Berry yoghurt. There have been studies on reducing sugar content in yoghurts as a result of increasing health needs. 47 Previous reports suggest that consumers prefer a medium level of sweetness in yoghurts. 48
Figure 3.

Self‐reported Overall liking scores for each yoghurt sample on a nine‐point hedonic scale. Values represent the means of 62 participants, and error bars represent the SE based on ANOVA and Fisher's LSD post‐hoc test at P < 0.05. Superscripts on each bar represent significant differences.
Biometric responses
Table 3 shows significant differences (P < 0.05) for emotional responses, including lip press,
(yaw), Surprise and heart rate. Lip press was highest for Drinkable (10.18) and lowest for Soy (5.42) and Berry (4.36) samples.
(yaw) was highest for Cookies (−0.59) and lowest for Berry (−6.20), whereas Surprise was the highest for Coconut (2.85). Cookies (82.16 BMP) presented the highest value for heart rate, whereas Berry (74.79 BMP) displayed the lowest value. Facial expressions and physiological responses, such as heart rate, are important parameters for understanding consumer liking and have been successfully used to associate liking towards breakfast drinks.
49
An increased heart rate is also associated with a higher liking for tasted food products. Similar results were observed in the present study, where Berry, the least‐liked sample, decreased the heart rate of participants. However, in other studies, such as for chocolate
17
and beer
16
tasting, the heart rate did not indicate significant differences between the sample types tested. This shows that the physiological responses of consumers depend on the food stimuli to which they are exposed.
Table 3.
Overall mean values for the facial expression recognition responses of yoghurt samples that are significantly different
| Type | Parameter | Control | Coconut | Drinkable | Soy | Cookies | Berry |
|---|---|---|---|---|---|---|---|
| Facial Expression | Facial expression | 7.90ab ± 1.64 | 6.77ab ± 1.21 | 10.2a ± 1.74 | 5.42b ± 1.02 | 7.06ab ± 1.24 | 4.36b ± 0.86 |
| Lip Press | |||||||
| Head Orientation | |||||||
(Yaw) |
−3.48abc ± 1.39 | −4.88bc ± 1.28 | −4.02abc ± 1.56 | −1.61ab ± 1.24 | −0.59a ± 1.36 | −6.20c ± 1.07 | |
| Emotion | |||||||
| Surprise | 1.15b ± 0.34 | 2.85a ± 0.92 | 0.82b ± 0.22 | 1.02b ± 0.30 | 0.85b ± 0.17 | 1.32b ± 0.34 | |
| Heart rate | Heart rate (BPM) | 77.1ab ± 2.23 | 77.4ab ± 2.39 | 78.3ab ± 2.84 | 75.6ab ± 1.94 | 82.2a ± 2.30 | 74.8b ± 2.28 |
Values represent the mean ± SE (n = 62). Different lowercase letters within a row denote significant differences between samples based on ANOVA and Fisher's LSD post‐hoc test at P < 0.05.
Multivariate data analysis
PCA explained 72.69% of the total data variability (PC1 = 45.59%, PC2 = 27.10%) (Fig. 4). Principal component one (PC1) was mainly represented by overall liking (−0.26), firmness (−0.20), heart rate (−0.17),
(yaw; −0.26) and
(stuck out tongue; −0.27) on the negative side, and represented brix (0.24), density (0.26), color index b (0.24), anger (0.29), disgust (0.27),
(disappointed; 0.26),
(rage; 0.29) and
(smiley; 0.27) on the positive side. Principal component two (PC2) was mainly linked to valence (0.30), color index a (0.26), joy (0.29),
(relaxed; 0.37) and
(roll; 0.38) on the positive side, whereas it was mainly linked to pH (−0.17), color index L (−0.33), sadness (−0.24), contempt (−0.25),
(stuck out tongue with winking eye; −0.19),
(smirk; −0.22) and
(pitch; −0.22) on the negative side.
Figure 4.

Principal components analysis for the self‐reported Overall liking, emotional and physiological responses related with the physicochemical parameters of the six yoghurt products tasted by consumers. PC1 and PC2 refer to principal components one and two, respectively.
Overall liking was directly linked to heart rate,
(yaw) and firmness, which is confirmed with the highest heart rate (Table 3), firmness values (Table 2) and overall liking scores (Fig. 3) for Cookies yoghurt. By contrast, overall liking was negatively linked to Brix and density, which shows a relationship with Berry yoghurt. Cookies and Coconut samples were associated with heart rate, firmness, overall liking,
(yaw), and
, whereas the Soy sample was associated with overall liking,
(pitch),
(stuck out tongue with winking eye),
(smirk) and Contempt. Control was mainly related to
(relaxed), Valence,
(roll) and color index a. On the other hand, Berry yoghurt was associated with density, Brix,
(smiley),
(disappointed) and
(rage). Drinkable sample was linked with pH, color index L and sadness.
The PCA had a combination of dairy and plant‐based yoghurts distributed on the positive and negative axis, which shows that the protein base was not the only deciding factor for consumer acceptability of yoghurts. Key physicochemical parameters (pH, Brix, density, firmness and color indices) that induced different biometric responses appeared to main contributors to yoghurt acceptability among the consumers. The Cookies, Coconut and Soy samples were directly associated with overall liking, whereas Berry was inversely related with overall liking. In previous studies, an implicit approach found more intense negative emotions displayed for disliked juice samples. 50 A similar response was observed in the present study, with Berry being the least liked yoghurt, separated from the other examined products.
A matrix was also plotted to represent the significant correlations between the sensory descriptors and the physicochemical parameters of the yoghurts (Fig. 5). It was observed that the self‐reported overall liking score was positively correlated with
(yaw; r = 0.90),
(stuck out tongue; r = 0.82) and firmness (r = 0.84). This is in accordance with a previous study, which reported that consumers have a higher perceived liking towards a yoghurt with a firm and dense texture.
51
Heart rate was also positively correlated with firmness (r = 0.98). Brix had a positive correlation with
(smiley; r = 0.83),
(disappointed; r = 0.89) and b color index (r = 0.84). Density showed a positive correlation with disgust (r = 0.85), anger (r = 0.83),
(disappointed; r = 0.87) and
(rage; r = 0.83), whereas, negatively correlated with
(yaw; r = −0.82). The L color index was found to be negatively correlated with
(yaw; r = −0.82) and
(relaxed; r = −0.83), whereas, the b color index was positively correlated with anger (r = 0.86),
(smiley; r = 0.88) and
(rage; r = 0.86). However, the pH and a color index did not significantly correlate with any of the other parameters. The pH of yogurt is known to correlate with the perceived acidity of yoghurt.
37
In a previous study, a strong influence of pH was observed on the flavor attributes perceived in yoghurt, with a difference of 0.4 pH units being sufficient to detect a sensory difference.
37
However, in the present study, the pH did not influence acceptability, even with a maximum pH difference of 0.55 between the samples (Table 2).
Figure 5.

Matrix showing significant (P < 0.05) correlations between the self‐reported overall liking, emotional and physiological responses with the physicochemical parameters of the yoghurts. Color bar: blue side shows the positive, whereas the yellow side represents the negatives correlations. Darker colors indicate the highest or lowest correlations.
Overall, the matrix showed that the physicochemical attributes of yoghurts, including density, Brix and b color index, were positively correlated with negative emotions. However, none of these physicochemical parameters and heart rate were significantly correlated with the self‐reported Overall liking. The head orientation
(yaw) was correlated with positive terms, showing that it was a factor indicating likability, meaning that consumers tend to rotate their heads to the right when they like a product. This coincides with previous studies reporting that, with highly bitter food, both adults and babies tend to rotate the head to the left as a sign of rejection towards potentially toxic substances.
16
,
52
,
53
The emoji
(smiley) did not appear to be an effective discriminator for yoghurt products because it correlated with negative rather than positive terms, suggesting misclassification. This shows that a combination of biometrics and self‐reported liking can provide more extensive details about consumer acceptability towards yoghurts.
Machine learning modelling
Table 4 shows that Model 1 had very high overall accuracy (R = 0.98) to predict seven physicochemical parameters of yoghurts using NIR absorbance values as inputs with a slope close to the unity (b = 0.96). The model does not show any sign of under or overfitting because the accuracies of the three stages are all > 0.95, and the training performance value (MSE = 0.01) is lower than the testing value (MSE = 0.04). Likewise, Model 2 had very high accuracy (R = 0.99) using the outputs from Model 1 (physicochemical parameters) as inputs to predict the overall liking of the yoghurt samples. This model had very high slope values (b > 0.98) for the three stages and no signs of under or overfitting because the three stages had the same accuracy, and the training performance value (MSE < 0.01) was lower than the testing value (MSE = 0.04).Figure 6(a) shows the overall Model 1 with 5% outliers (19 out of 378 data points) comprising most of these the color parameters (16 outliers). This may be a result of the spectral range, which is above the UV‐visible color spectra, which may not represent as accurately visible colors. However, most of the data points from color are within the 95% confidence bounds, which are a result of proteins such as casein and fat that are responsible for the white color and lightness of milk in the case of dairy products 54 and associated with anthocyanin content in soybeans varieties, giving a yellow color in soy yoghurt. 55 Furthermore, most of the outliers in Model 1 were from the drinkable yoghurt, with one from soy samples. On the other hand, Fig. 6(b) shows that there were 5.5% outliers (three out of 54 data points), one outlier from the Drinkable yoghurt and two from the Soy samples for Model 2. As can be observed, in both Models, the Drinkable and Soy yoghurts were responsible for the outliers. These samples can also be observed in the NIR in Fig. 2 (a), in which Soy and Drinkable samples had the highest absorbance values. Furthermore, Soy and Drinkable yoghurts are also observed in the PCA (Fig. 4), grouped in the negative side of PC2, compared to the other samples located on the positive side of PC2.
Table 4.
Statistical results of the artificial neural network models showing the correlation coefficient (R), slope (b) and performance based on mean squared error (MSE) for each stage
| Stage | Samples | Observations | R | Slope (b) | Performance MSE |
|---|---|---|---|---|---|
| Model 1: Inputs: Near‐infrared absorbance values; Targets: Physicochemical parameters | |||||
| Training | 35 | 245 | 0.99 | 0.97 | 0.01 |
| Testing | 19 | 133 | 0.95 | 0.95 | 0.04 |
| Overall | 54 | 378 | 0.98 | 0.96 | – |
| Model 2: Inputs: Physicochemical parameters; Targets: Overall liking | |||||
| Training | 35 | 35 | 0.99 | 1.00 | < 0.01 |
| Testing | 19 | 19 | 0.99 | 0.98 | 0.04 |
| Overall | 54 | 54 | 0.99 | 0.99 | – |
Figure 6.

Overall artificial neural network models developed using (a) the near‐infrared absorbance values to predict physicochemical parameters of yoghurt (Model 1) and (b) the physicochemical parameters of yoghurts to predict consumers overall liking (Model 2).
These models may potentially be used in the food industry to predict physicochemical parameters as yoghurt quality traits and overall liking by measuring yoghurt samples using only NIR readings. However, in the case of small companies that may not have sufficient budget to acquire a NIR device, Model 2 can be used to predict overall liking by measuring the seven simple physicochemical parameters. A similar approach was presented by Gunaratne et al. 26 for chocolate and by Viejo et al. 56 for beer samples produced using sonication; in both studies, the artificial neural network models had very high accuracies (R > 0.94), similar to the high accuracy reported in the present study.
CONCLUSIONS
Similarities were observed between the plain dairy and plain plant‐based yoghurt types, also generating similar liking. The study further establishes the link between the physicochemical and sensory parameters, especially between the dairy yoghurts and the plant‐based alternatives, as well as between the different yoghurt types. The association of facial expressions with heart rate and liking improved understanding of the consumers' acceptability towards yoghurts by evaluating the most‐ and the least‐liked formulations. The advantage of using NIR for the chemical fingerprinting of yoghurts has also been established in the present study as a rapid, simple and non‐invasive method to predict consumer liking of yoghurt. The potential use of these models for the industry is to assess a large number of samples within the production process, hence making the product development process much faster. These models can further be used to predict the yoghurt quality traits and consumers acceptability in a more efficient and less time‐consuming way. These emotional and physiological responses can be tested for more plant‐based products to further understand the effect of protein bases in future studies. The relationship of sugar concentration to the liking of yoghurts can be tested to establish the maximum concentration appreciated by consumers in flavored yoghurt. Furthermore, other product parameters, including rheology, can also be used to develop machine learning models to predict sensory attributes of yoghurt products.
ACKNOWLEDGEMENTS
This research was funded by a Melbourne Research Studentship from the University of Melbourne and the ‘Future Food Hallmark Research Initiative project’ of The University of Melbourne, Australia. This research was also funded by Southeast Asian Regional Center for Graduate Study and Research in Agriculture (SEARCA), College, Los Baños, Laguna, Philippines. Open access publishing facilitated by The University of Melbourne, as part of the Wiley ‐ The University of Melbourne agreement via the Council of Australian University Librarians.
REFERENCES
- 1. Mckinley MC, The nutrition and health benefits of yoghurt. Int J Dairy Technol 58:1–12 (2005). [Google Scholar]
- 2. Nadathur SR, Wanasundara JPD and Scanlin L, Chapter 25 ‐ Feeding the globe nutritious food in 2050: Obligations and ethical choices, in Sustainable Protein Sources, ed. by Sudarshan R. Nadathur, Janitha PD, Wanasundara, LS. Academic Press, London, UK, pp. 409–421 (2017). [Google Scholar]
- 3. González‐García S, Castanheira ÉG, Dias AC and Arroja L, Environmental life cycle assessment of a dairy product: the yoghurt. Int J Life Cycle Assess 18:796–811 (2012). [Google Scholar]
- 4. Makinen OE, Uniacke‐Lowe T, O'Mahony JA and Arendt EK, Physicochemical and acid gelation properties of commercial UHT‐treated plant‐based milk substitutes and lactose free bovine milk. Food Chem 168:630–638 (2015). [DOI] [PubMed] [Google Scholar]
- 5. Mousavi M, Heshmati A, Daraei Garmakhany A, Vahidinia A and Taheri M, Texture and sensory characterization of functional yogurt supplemented with flaxseed during cold storage. Food Sci Nutr 7:907–917 (2019). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 6. Hasani S, Sari AA, Heshmati A and Karami M, Physicochemical and sensory attributes assessment of functional low‐fat yogurt produced by incorporation of barley bran and lactobacillus acidophilus. Food Sci Nutr 5:875–880 (2017). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 7. Lim J, Hedonic scaling: a review of methods and theory. Food Qual Prefer 22:733–747 (2011). [Google Scholar]
- 8. Meiselman HL, The (gradual) development of emotion measurement for food. Curr Opin Food Sci 40:187–191 (2021). [Google Scholar]
- 9. Lane RD, McRae K, Reiman EM, Chen K, Ahern GL and Thayer JF, Neural correlates of heart rate variability during emotion. Neuroimage 44:213–222 (2009). [DOI] [PubMed] [Google Scholar]
- 10. Gonzalez Viejo C, Fuentes S, Torrico DD and Dunshea FR, Non‐contact heart rate and blood pressure estimations from video analysis and machine learning modelling applied to food sensory responses: a case study for chocolate. Sensors (Basel) 18:1802 (2018). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 11. Fuentes S, Tongson E and Gonzalez Viejo C, Novel digital technologies implemented in sensory science and consumer perception. Curr Opin Food Sci 41:99–106 (2021). [Google Scholar]
- 12. Gržinič Frelih N, Podlesek A, Babič J and Geršak G, Evaluation of psychological effects on human postural stability. Measurement 98:186–191 (2017). [Google Scholar]
- 13. Masupha L, Zuva T, Ngwira S and Esan O, Face recognition techniques, their advantages, disadvantages and performance evaluation, in 2015 International Conference on Computing, Communication and Security (ICCCS), pp. 1–5 (2015). [Google Scholar]
- 14. Bartkiene E, Steibliene V, Adomaitiene V, Juodeikiene G, Cernauskas D, Lele V et al., Factors affecting consumer food preferences: food taste and depression‐based evoked emotional expressions with the use of face Reading technology. Biomed Res Int 2019:2097415–2097410 (2019). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 15. Schouteten JJ, Are questionnaires the best way to measure emotions for food products and beverages? Food Qual Prefer 92:104122 (2020). [Google Scholar]
- 16. Gonzalez Viejo C, Fuentes S, Howell K, Torrico DD and Dunshea FR, Integration of non‐invasive biometrics with sensory analysis techniques to assess acceptability of beer by consumers. Physiol Behav 200:139–147 (2019). [DOI] [PubMed] [Google Scholar]
- 17. Gunaratne TM, Fuentes S, Gunaratne NM, Torrico DD, Gonzalez Viejo C and Dunshea FR, Physiological responses to basic tastes for sensory evaluation of chocolate using biometric techniques. Foods 8:243 (2019). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 18. Torrico DD, Fuentes S, Gonzalez Viejo C, Ashman H, Gunaratne NM, Gunaratne TM et al., Images and chocolate stimuli affect physiological and affective responses of consumers: a cross‐cultural study. Food Qual Prefer 65:60–71 (2018). [Google Scholar]
- 19. Fuentes S, Wong YY and Gonzalez Viejo C, Non‐invasive biometrics and machine learning modeling to obtain sensory and emotional responses from panelists during entomophagy. Foods 9:903 (2020). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 20. Gonzalez Viejo C, Zhang H, Khamly A, Xing Y and Fuentes S, Coffee label assessment using sensory and biometric analysis of self‐isolating panelists through videoconference. Beverages 7:5 (2021). [Google Scholar]
- 21. Gupta M, Torrico DD, Hepworth G, Gras SL, Ong L, Cottrell JJ et al., Differences in hedonic responses, facial expressions and self‐reported emotions of consumers using commercial yogurts: a cross‐cultural study. Foods 10:1237 (2021). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 22. Dong Y, Sharma C, Mehta A and Torrico DD, Application of augmented reality in the sensory evaluation of yogurts. Fermentation 7:147 (2021). [Google Scholar]
- 23. Celik S, Bakırcı I and Şat IG, Physicochemical and organoleptic properties of yogurt with cornelian cherry paste. Int J Food Prop 9:401–408 (2006). [Google Scholar]
- 24. Güler Z and Park YW, Evaluation of sensory properties and their correlation coefficients with physico‐chemical indices in Turkish set‐type yoghurts. Open J Anim Sci 01:9–15 (2011). [Google Scholar]
- 25. Gonzalez Viejo C and Fuentes S, A digital approach to model quality and sensory traits of beers fermented under sonication based on chemical fingerprinting. Fermentation 6:73 (2020). [Google Scholar]
- 26. Gunaratne TM, Gonzalez Viejo C, Gunaratne NM, Torrico DD, Dunshea FR and Fuentes S, Chocolate quality assessment based on chemical fingerprinting using near infra‐red and machine learning modeling. Foods 8:426 (2019). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 27. Gupta MK, Torrico DD, Ong L, Gras SL, Dunshea FR and Cottrell JJ, Plant and dairy‐based yogurts: a comparison of consumer sensory acceptability linked to textural analysis. Foods 11:463 (2022). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 28. Yilmaz‐Ersan L and Topcuoglu E, Evaluation of instrumental and sensory measurements using multivariate analysis in probiotic yogurt enriched with almond milk. J Food Sci Technol 59:1–11 (2021). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 29. Nguyen HTH, Ong L, Kentish SE and Gras SL, Homogenisation improves the microstructure, syneresis and rheological properties of buffalo yoghurt. Int Dairy J 46:78–87 (2015). [Google Scholar]
- 30. Fuentes S, Gonzalez Viejo C, Torrico DD and Dunshea FR, Development of a biosensory computer application to assess physiological and emotional responses from sensory panelists. Sensors (Basel) 18:2958 (2018). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 31. Gonzalez Viejo C, Torrico DD, Dunshea FR and Fuentes S, Emerging technologies based on artificial intelligence to assess the quality and consumer preference of beverages. Beverages 5:62 (2019). [Google Scholar]
- 32. McDuff D, Mahmoud A, Mavadati M and Amr M, Turcot J and Kaliouby re, AFFDEX SDK: a cross‐platform real‐time multi‐face expression recognition toolkit, in proceedings of the 2016 CHI conference extended abstracts on human factors , in Computing Systems. Association for Computing Machinery , San Jose, CA, USA, pp. 3723–3726 (2016). [Google Scholar]
- 33. Gonzalez Viejo C, Torrico D, Dunshea F and Fuentes S, Development of artificial neural network models to assess beer acceptability based on sensory properties using a robotic pourer: a comparative model approach to achieve an artificial intelligence system. Beverages 5:33 (2019). [Google Scholar]
- 34. Donald A, Burns EWC, in Handbook of Near‐Infrared Analysis. CRC Press, Boca Raton: (2007). [Google Scholar]
- 35. Affane ALN, Fox GP, Sigge GO, Manley M and Britz TJ, Quantitative analysis of DL‐lactic acid and acetic acid in kefir using near infrared reflectance spectroscopy. J Near Infrared Spectrosc 17:255–264 (2009). [Google Scholar]
- 36. Lodder RA, Handbook of near‐infrared analysis, 2nd ed., revised and expanded. Practical spectroscopy series volume 27 edited by D. A. Burns (NIR resources) and E. W. Ciurczak (Purdue pharma LP). J Am Chem Soc 124:5603–5604 (2002). [Google Scholar]
- 37. Ott A, Hugi A, Baumgartner M and Chaintreau A, Sensory investigation of yogurt flavor perception: mutual influence of volatiles and acidity. J Agric Food Chem 48:441–450 (2000). [DOI] [PubMed] [Google Scholar]
- 38. Akgun A, Yazici F and Gulec HA, The combined effect of probiotic cultures and incubation final pH on the quality of buffalo milk yogurt during cold storage. Food Sci Nutr 6:492–502 (2018). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 39. Harker FR, Marsh KB, Young H, Murray SH, Gunson FA and Walker SB, Sensory interpretation of instrumental measurements 2: sweet and acid taste of apple fruit. Postharvest Biol Technol 24:241–250 (2002). [Google Scholar]
- 40. Modler HW, Larmond ME, Lin CS, Froehlich D and Emmons DB, Physical and sensory properties of yogurt stabilized with Milk proteins1, 2. J Dairy Sci 66:422–429 (1983). [Google Scholar]
- 41. Grasso N, Alonso‐Miravalles L and O'Mahony JA, Composition, physicochemical and sensorial properties of commercial plant‐based yogurts. Foods 9:252 (2020). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 42. Lee JAL WJ, Impact of gelation conditions and structural breakdown on the physical and sensory properties of stirred yogurts. J Dairy Sci 89:2374–2385 (2006). [DOI] [PubMed] [Google Scholar]
- 43. Ciron CIE, Gee VL, Kelly AL and Auty MAE, Modifying the microstructure of low‐fat yoghurt by microfluidisation of milk at different pressures to enhance rheological and sensory properties. Food Chem 130:510–519 (2012). [Google Scholar]
- 44. Wadhwani R and McMahon DJ, Color of low‐fat cheese influences flavor perception and consumer liking. J Dairy Sci 95:2336–2346 (2012). [DOI] [PubMed] [Google Scholar]
- 45. Skibniewska KA, Zakrzewski J, Siemianowska E, Polak‐Juszczak L and Aljewicz M, Calcium availability from yogurt by itself or yogurt‐cereal‐containing products. J Toxicol Environ Health A 73:1150–1154 (2010). [DOI] [PubMed] [Google Scholar]
- 46. Askew K, Shifting Away from Sugar: What's the Outlook in 2020? https://www.foodnavigator.com/Article/2020/01/15/Shifting-away-from-sugar-What-s-the-outlook-in-2020 [30 June 2021].
- 47. Chollet M, Gille D, Schmid A, Walther B and Piccinali P, Acceptance of sugar reduction in flavored yogurt. J Dairy Sci 96:5501–5511 (2013). [DOI] [PubMed] [Google Scholar]
- 48. Allgeyer LC, Miller MJ and Lee SY, Drivers of liking for yogurt drinks with prebiotics and probiotics. J Food Sci 75:S212–S219 (2010). [DOI] [PubMed] [Google Scholar]
- 49. de Wijk RA, He W, Mensink MG, Verhoeven RH and de Graaf C, ANS responses and facial expressions differentiate between the taste of commercial breakfast drinks. PLoS One 9:e93823 (2014). [DOI] [PMC free article] [PubMed] [Google Scholar]
- 50. Danner L, Haindl S, Joechl M and Duerrschmid K, Facial expressions and autonomous nervous system responses elicited by tasting different juices. Food Res Int 64:81–90 (2014). [DOI] [PubMed] [Google Scholar]
- 51. Desai NT, Shepard L and Drake MA, Sensory properties and drivers of liking for Greek yogurts. J Dairy Sci 96:7454–7466 (2013). [DOI] [PubMed] [Google Scholar]
- 52. Ganchrow JR, Steiner JE and Daher M, Neonatal facial expressions in response to different qualities and intensities of gustatory stimuli. Infant Behav Dev 6:473–484 (1983). [Google Scholar]
- 53. Soussignan R, Wendland J and Schaal B, Epigenetic approach to the perinatal development of affective processes in Normal and at‐risk newborns, in Advances in Psychology Research, Vol. 40. Nova Science Publishers, Hauppauge, NY, US, pp. 187–215 (2006). [Google Scholar]
- 54. McDermott A, Visentin G, McParland S, Berry DP, Fenelon MA and De Marchi M, Effectiveness of mid‐infrared spectroscopy to predict the color of bovine milk and the relationship between milk color and traditional milk quality traits. J Dairy Sci 99:3267–3273 (2016). [DOI] [PubMed] [Google Scholar]
- 55. Cho KM, Ha TJ, Lee YB, Seo WD, Kim JY, Ryu HW et al., Soluble phenolics and antioxidant properties of soybean (Glycine max L.) cultivars with varying seed coat colours. J Funct Foods 5:1065–1076 (2013). [Google Scholar]
- 56. Gonzalez Viejo C, Fuentes S, Torrico D, Lee M, Hu Y, Chakraborty S et al., The effect of soundwaves on Foamability properties and sensory of beers with a machine learning modeling approach. Beverages 4:53 (2018). [Google Scholar]

(Yaw)