Stabilizing effect of xanthan gum and sodium alginate on the physicochemical properties and gel structure of walnut-based yogurt Authors: Shi-Qi Huang, Fan-Bing Meng, Ao-Xin Chen, Song Chen, Ren-Jie Zheng, Yun-Cheng Li Published: 2026 ABSTRACT AbstractThe poor gel property of plant proteins and phase separation restrict plant-based yogurt products. In this study, anionic colloids were evaluated for walnut yogurt production, and sodium alginate (SA) or xanthan gum (XG) greatly improved the overall quality of walnut yogurt. The incorporation of SA or XG at low concentrations (0.5–0.6%) effectively promoted fermentation and significantly increased the total phenolic content in walnut yogurt 1.47 and 1.23 times, respectively, compared to the control group. Concurrently, the water-holding capacity increased approximately 3 times. Both gums also improved the textural and rheological properties of the yogurt, notably increasing the hardness and chewiness. Sensory analysis confirmed that yogurts containing 0.5–0.6% SA or XG received higher overall sensory scores. Notably, SA incorporation could promote the formation of a dense network structure in walnut yogurt, while the XG incorporation could improve for the fermentation process of the yogurts.Keywords: Walnut-based yogurt, Anionic colloids, Quality improvement, Sodium alginate, Xanthan gum Introduction Traditional dairy yogurt is produced by fermenting animal milk, such as from cows or sheep. However, with the expansion of livestock farming, concerns over environmental impact and animal welfare have grown (H. Luo et al., 2024), thus, more and more consumers and researchers are paying attention to plant-based yogurt alternatives. Compared with traditional dairy yogurt, plant-based yogurt has the advantage of not containing cholesterol and dairy allergens (Zhai et al., 2024). Meanwhile, plant-based yogurt is rich in dietary fiber, minerals, and bioactive ingredients, which meet the modern consumer demand for healthy food (Boeck et al., 2021). Therefore, the market predicts that the compound annual growth rate of plant-based yogurt will exceed 18% in the next 2 years (Dai et al., 2025). Currently, the most researched plant-based yogurt is mainly soy yogurt, because its protein composition is close to that of animal-derived proteins, and soy yogurt has been proven to have health benefits brought by active ingredients (Kong et al., 2022). However, soybeans have a strong bean odor and anti-nutritional factors, which hinder its market promotion (Zhai et al., 2024). Therefore, developing new types of plant-based yogurt that are acceptable to consumers is currently a major research focus. In China, walnuts are a well-known type of nut, and the production ranks first in the world (Gao et al., 2024). Walnut kernels are rich in high-quality oil (58.3–65.2 g/100 g), proteins (15.1–17.4 g/100 g), and various functional components (Ma et al., 2019) such as tocopherols, phytosterols, squalene, and polyphenols, etc. As an important nutritional component, walnut protein is mainly composed of albumin, globulin, prolamin, and glutenin, with glutenin accounting for as high as 72.06%. It exhibits a well-balanced amino acid profile, in which the essential amino acid content meets the FAO recommended standards for adults. Moreover, walnut protein is rich in hydrophilic amino acids such as glutamic acid and arginine, making it a high-quality plant protein with comprehensive nutrition and great development potential (Zhao et al., 2023). Studies have indicated that walnuts can offer health benefits such as enhancing brain function, providing antioxidant and anticancer effects, promoting cardiovascular health and improving neurological diseases (B. Huang et al., 2024), so its popularity even exceeds soybeans. Therefore, using walnuts as raw materials to produce yogurt has a good market foundation. Previous study indicated that walnut yogurt has acceptable sensory and higher nutritional value compared to traditional dairy yogurt (Zhai et al., 2024). However, walnuts are rich in oil, the high oil content and poor protein gel properties of walnuts easily lead to phase separation and non-continuous gel structure during yogurt fermentation and storage, which is also a common problem with nut-based yogurt. The simplest method to solve these problems is to apply thickeners and emulsifiers to plant-based yogurt (L. Lin et al., 2025), particularly macromolecule gums. Among them, anionic colloids are the most frequently used hydrocolloids in traditional dairy yogurt, because anionic groups can electrostatically interact with positively charged protein molecules. This interaction facilitates the formation of a continuous and stable casein gel network. (Zang et al., 2024). The isoelectric point of walnut protein is nearly 4.8 (Zhu, Sun, et al., 2025), which is close to casein (4.6–4.8), so we hypothesize that the incorporation of anionic colloids could also promote walnut protein gel formation, thereby improving the texture of plant-based yogurt and enhancing its mouthfeel and rheological performance. However, previous studies on walnut yogurt have primarily focused on nutritional properties and processing conditions (Jiao et al., 2023; Zhai et al., 2024), the application of hydrocolloids in walnut-based yogurt systems remains underexplored. Therefore, we have evaluated the effect of commonly used anionic colloids in food, including low methoxyl pectin, gelatin, low acyl gellan gum, sodium alginate, xanthan gum, kappa-carrageenan, konjac glucomannan, on the properties of walnut-based yogurt, and the results suggested that the appropriate amount of sodium alginate and xanthan gum is conducive to the formation of stable gel structure and better taste of walnut yogurt. Therefore, we systematically investigated the stabilizing effect of xanthan gum and sodium alginate on the gel network of walnut-based yogurt. The aim of this study is to provide theoretical and technical support for the development of high-quality plant-based yogurt. Materials and methods Materials and chemicals Walnuts were obtained from Akesu Hongjing Agricultural and Sideline Products Co., Ltd. (Xinjiang, China). The dual-strain yogurt starter culture which contains Streptococcus thermophilus and Lactobacillus delbrueckii subsp. bulgaricus was obtained from Angel Yeast Co., Ltd. (Hubei, China). Low methoxyl pectin (CAS number: 9000-69-5, galacturonic acid (dry basis) ≥ 65%, degree of methyl esterification approximately 28.8%) was purchased from Shanghai Yuanye Bio-Technology Co., Ltd., (Shanghai, China). Kappa-carrageenan (CAS number: 11114–20-8, Mw of 2.0 × 105 g/mol, degree of sulfation 25–30%) was provided by Beijing Solarbio Science & Technology Co., Ltd. (Beijing, China). Gelatin (CAS number: 9000-70-8, Type A, 250 Bloom, 40 mesh, dry-base protein content ≥98%, molecular weight ranged from 1 to 7 × 104 g/mol) was obtained from Chengdu Cologne Chemical Co., Ltd. (Sichuan, China). Sodium alginate (CAS number: 9005-38-3, Mw: 8.7 × 104 g/mol, M/G = 1:1, viscosity (1% in H2O, 20 °C) approximately 200 ± 20 mpa·s) were purchased from Shanghai Aladdin Biochemical Technology Co., Ltd. (Shanghai, China). Low acyl gellan gum (CAS number: 71010–52-1, Mw: 4.7 × 104 g/mol, purity ≥97%, gel strength (0.5% solution) ≥ 800 g/cm2) and xanthan gum (CAS number: 11138–66-2, Mw: 2.2 × 105 g/mol, degree of pyruvylation and acetylation approximately 10.13% and 0.39%, respectively) were purchased from Shanghai Macklin Biochemical Technology Co., Ltd. (Shanghai, China). Konjac glucomannan (KGM, CAS number: 37220–17-0, weight-average molecular weight (Mw) of 2.9 × 106 g/mol, D-mannose to d-glucose ratio approximately 1.6) was provided by Anfu Konjac Development Co., Ltd. (Mianyang, China). 2,2-diphenyl-1-picrylhydrazyl (DPPH) was purchased from Sigma-Aldrich Chemical Co., (St. Louis, MO, USA), 2,2′-Azinobis (3-ethylbenzothiazo-line-6-sulfonic acid ammonium salt) (ABTS) was purchased from Shanghai Hualan Chemical Technology Co., Ltd. (Shanghai, China). All other reagents and chemicals are of analytical grade. Preparation of walnut-based yogurt The walnut samples were shelled, rinsed with water, and then immersed in 5% (w/v) sodium bicarbonate (NaHCO₃) solution for 5–8 min. Subsequently, the seed coats were removed. Deionized water was added to the samples at a 1:4 (w/v) ratio, and the mixture was homogenized for 3 min. Subsequently, the slurry was ground in a JM-L80 colloid mill (Wenzhou Haoxing Mechanical Equipment Manufacturing Co., Ltd., Wenzhou, China) for approximately 5 min and then filtered through four layers of gauze. Following this, 5% (w/w) granulated sugar was incorporated into the walnut slurry. Seven different gums (low acyl gellan gum, low methoxyl pectin, kappa-carrageenan, konjac glucomannan, gelatin, sodium alginate, and xanthan gum) were added to the walnut slurry at a concentration of 0.4% (w/v), respectively. A control sample was prepared without the incorporation of gums. The walnut slurry was then pasteurized at 85 °C for 15 min, cooled to room temperature, and finally inoculated with a 0.1% (w/v) dual-strain commercial starter culture with an inoculum concentration of 1 × 106 CFU/mL. The inoculated slurry was fermented at 37 °C for 12 h and then stored at 4 °C for cold aging. All samples were collected under identical fermentation and cold aging conditions. For the experiments designed to compare different gum concentrations, additions were set at 0.4%, 0.5%, 0.6%, 0.7%, and 0.8% (w/v). All other procedures remained consistent with those described above. pH and titratable acidity (TA) values of plant-based walnut yogurt The PHSJ-4F pH meter (Shanghai Yidian Science Instrument Co., Ltd., Shanghai, China) was used to examine the pH of the walnut yogurt samples, which was calibrated before use. Before measurement, the sample was equilibrated at room temperature for 10 min. The TA analysis procedure was adapted from previous study (X. C. Chen, Meng, Tian, et al., 2024). Ten grams of walnut yogurt was diluted with 20 mL of deionized water. Subsequently, titration was conducted potentiometrically with a standardized 0.1 mol/L sodium hydroxide solution, continuing until the endpoint pH of 8.3 was attained. The volume of NaOH solution dispensed was noted, and the TA was then derived using Formula (1). Where, c is molar concentration of NaOH standard solution, mol/L; V is volume of NaOH standard solution used in the titration process, mL; V0 is volume of NaOH standard solution used in blank experiment, mL; m is mass of yogurt, g. Detection of water holding capacity (WHC) A modified method based on a prior study was employed to measure the water-holding capacity (Jing et al., 2025). Inoculated walnut yogurt (m1) was dispensed into 10 mL centrifuge tubes (m0) for fermentation and subsequent cold aging. The yogurt samples were centrifuged at 4000 ×g for 10 min using a high-speed refrigerated centrifuge (TCL—22S, Sichuan Shuke Instrument Co., Ltd., China). Following this, the supernatant was discarded. The centrifuge tube with the yogurt pellet was weighed and recorded as m2. The water-holding capacity (WHC) was then calculated using Eq. (2). Where, m0 is mass of centrifuge tube, g; m1 is mass of yogurt, g; m2 is mass weighed after discarding the supernatant, g. Antioxidant capacity assay Approximately 1 g of walnut yogurt was transferred to a 10 mL centrifuge tube. Subsequently, 5 mL of an 80% (v/v) methanol solution was added. The mixture was vortexed and then subjected to ultrasonic extraction for 15 min, followed by a 45 min incubation at room temperature. After centrifugation (4000 ×g, 10 min), the supernatant was obtained and employed as the test solution for further analysis. The DPPH assay was performed according to the method established by Luo et al. (Y. Luo et al., 2023). A volume of 100 μL of the test sample solution was mixed with an equal volume of 0.1 mmol/L DPPH solution in a 96-well plate. For the control, 100 μL of 80% methanol was used instead of the sample. After homogenization, the mixture underwent a 30-min incubation period at room temperature in darkness. Subsequently, the absorbance was determined at 517 nm with a Multiskan SkyHigh microplate reader (Thermo Fisher Scientific, Waltham, MA, USA). The ABTS assay was performed as described by Meng et al. to determine the radical scavenging activity (Meng et al., 2022). Prepare 2.45 mmol/L potassium persulfate and ABTS solution (7 mmol/L) were mixed at a 1:1 ratio and incubated it in the dark at room temperature for 12–16 h. Subsequently, the mixture was diluted with phosphate-buffered saline (PBS) until its absorbance at 734 nm reached 0.70 ± 0.02. A 100 μL of the sample solution was mixed with 100 μL of the prepared ABTS working solution in a 96-well plate. The mixture was then incubated in the dark at room temperature for 10 min, and the absorbance was recorded at 734 nm. Detection of total phenolic content (TPC) The determination of TPC was carried out using a UV spectrophotometer (UV-2700i, Shimadzu Corporation, Kyoto, Japan) with slight modifications according to the method of Wang et al. (M. Wang, Li, et al., 2023). The sample extract for TPC determination was prepared identically to that for the antioxidant capacity assays. In accordance with the Folin-Ciocalteu method, a 200 μL aliquot of extract was mixed with 2 mL of the assay reagent. After vortexing, the reaction proceeded for 5 min under ambient conditions. Following the addition of 2 mL of 7.5% Na₂CO₃, the sample was maintained under ambient conditions in the dark for 40 min. Measurement at 765 nm enabled the calculation of total phenolics, expressed as gallic acid equivalents (GAE) per 100 g of walnut yogurt. Textural property analysis The textural properties of the walnut yogurt, including cohesiveness, rupture strength, rupture distance, hardness, chewiness, and viscosity, were measured using a TA-XT Plus texture analyzer (Step Technology Co., Ltd., Beijing, China) equipped with a P20 probe. All tests were performed under controlled ambient conditions (25 ± 1 °C). The texture analyzer was configured with the following speed parameters: pre-test speed at 1.5 mm/s, test speed at 1.0 mm/s, and post-test speed at 1.0 mm/s. Rheological measurements The rheological properties were measured using an MCR 302e rheometer (Anton Paar, Germany) following an adapted protocol based on the method of Fu et al. (Fu et al., 2024). Utilizing a 50-mm parallel plate (PP50) geometry with a 1-mm gap, all rheological tests were performed under isothermal conditions (25 ± 0.5 °C). Each sample underwent a 30-min equilibration period at ambient temperature before measurement. Steady shear tests were performed over a shear rate range of 0.1–100 s−1 to obtain viscosity profiles. Strain amplitude sweeps were conducted at a fixed frequency of 1 Hz to determine the linear viscoelastic region (LVR). Subsequently, frequency sweeps from 0.1 to 10 Hz were performed at a strain amplitude of 0.1% to obtain the storage modulus (G′), loss modulus (G″), and their respective curves. Fourier transform infrared spectroscopy (FTIR) analysis The effects of different gums on the functional groups of walnut yogurt were analyzed using a Spectrum Two L1600300 Fourier transform infrared spectrometer (PerkinElmer Instruments Co., Ltd. Shanghai, China) according to the method of Luo et al. (Y. Luo et al., 2023) Spectral data were acquired across the wavenumber range from 4000 to 500 cm−1. For analysis, the freeze-dried walnut yogurt sample was homogenized with KBr (1:120, w/w) and ground into a fine powder using an agate mortar and then pressed into tablets for analysis. FTIR spectra for all samples were collected across the specified wavelength range, and the acquired data were processed and analyzed using the proprietary software of the instrument. Intermolecular interactions analysis Using 0.05 M phosphate-buffered saline (PBS, pH 7.0–7.2) as the base, four extraction buffers (A–D) were formulated. Their compositions differed in the added solutes: (A) 0.05 M NaCl; (B) 0.6 M NaCl; (C) 0.6 M NaCl with 1.6 M urea; (D) 0.6 M NaCl with 8 M urea. During the extraction process, each 1 g sample aliquot was combined with 10 mL of the corresponding buffer solution. Homogenization was achieved by vigorous shaking for 2 min. After a 2–3 h incubation at room temperature, the homogenate was then clarified by centrifugation (4000 ×g, 5 min). The resulting supernatant was collected for subsequent analysis. The protein content in the supernatants was determined by the Coomassie Brilliant Blue method using bovine serum albumin (BSA) as the standard. The Coomassie Brilliant Blue reagent was prepared by dissolving 100 mg of Coomassie Brilliant Blue in a mixture of 50 mL of 95% ethanol and 100 mL of 85% phosphoric acid, and then diluting the solution to a final volume of 1000 mL with distilled water. The relative contributions of different molecular interactions (ionic bonds, hydrogen bonds, and hydrophobic interactions) to protein solubility were assessed using a sequential chemical dissolution approach, as follows: ionic bond strength was quantified by the differential protein yield between extracts from Buffer B and Buffer A; hydrogen bonds by the difference between Buffer C and Buffer B; and hydrophobic interactions by the difference between Buffer D and Buffer C. Scanning electron microscopy (SEM) analysis The microstructure of the samples was observed using a scanning electron microscope (model KYKY-EM6900, Beijing KYKY Co., Ltd., Beijing, China). The inoculated walnut slurry was fermented in 5 mL centrifuge tubes, refrigerated for cold aging, and subsequently freeze-dried under vacuum. The dried samples were sectioned. These cross-sections were affixed to specimen stubs using conductive adhesive, followed by gold sputter-coating to enhance conductivity. Imaging was performed using a scanning electron microscope operated at 20 kV. Sensory evaluation The sensory quality of the yogurt was evaluated according to previous study (A.-X. Chen, Meng, Li, et al., 2024) with some modifications by a trained panel consisting of ten graduate students (five males and five females, aged 22–30 years) from Chengdu University, all of whom had received training in sensory attribute assessment. The training content included the definition and identification of sensory attributes (taste, aroma, texture, color, and overall acceptability), scale training using reference samples, and calibration exercises for the 20-point scoring scale. Pre-evaluation results showed that the panelists exhibited good consistency in ranking the quality of the samples. Concretely, the relative standard deviation (RSD) of the panelists' repeat scores was below 10%, and the coefficient of variation (CV) among panelists for the same sample was ≤20.0%. Therefore, the sensory panel demonstrated repeatability and internal consistency, meeting the requirements for sensory evaluation. Evaluations were performed in a dedicated sensory laboratory under controlled lighting and odor-free conditions. Based on established sensory scoring criteria, the panel rated the yogurt samples for key attributes, including taste, aroma, texture, color, and overall acceptability. Sensory evaluation conducted at Chengdu University did not require ethical permission from the Ethics Committee. All panelists participated voluntarily and provided written informed consent before the study began. Appropriate protocols were implemented throughout the research process to protect the rights, safety, and privacy of all participants. Panelists' personal information was kept strictly confidential, and all data analysis were anonymized to ensure privacy protection. Participants were informed of the study objectives, procedures, and their right to withdraw at any time without penalty. All walnut yogurt samples were prepared under uniform conditions, with consistent temperature and volume, and were presented in identical containers coded with random three-digit numbers to minimize bias. Before evaluation, panelists received a briefing on the assessment protocol and were familiarized with a 20-point structured scale, where scores below 10 indicated dislike, 10–15 indicated acceptability, and scores above 15 reflected strong preference. The sensory evaluation form was adapted from the method described by Veljović et al. (Veljović et al., 2025), with modifications summarized in Table 1. Table 1Sensory evaluation criteria for walnut yogurt.ParameterDescriptionScoreTextureSmooth and uniform structure with desirable viscosity; no whey separation15–20Acceptable uniformity but too thick or thin; slight whey separation10–15Coarse or grainy texture; obvious whey separation0–10ColorUniform milky white color with glossy appearance15–20Uniform milky white color but somewhat dull10–15Non-uniform color or atypical color0–10TasteWell-balanced sweet and sour taste with distinct walnut flavor; no off-flavor15–20Slightly too sour or sweet; recognizable walnut flavor; no off-flavor10–15Too sour or sweet; weak walnut flavor; no off-flavor0–10AromaPleasant and pronounced fermented walnut aroma; no off-odor15–20Faint fermented walnut aroma; no off-odor10–15Lack of walnut aroma; presence of off-odor0–10Overall acceptabilityHighly desirable and readily acceptable15–20Fair overall quality; acceptable10–15The overall impression is poor and hard to accept.0–10Scores were assigned using a 20-point scale for each attribute, interpreted as: >15 is strong preference; 10–15 is acceptable; <10 is dislike. Sensory evaluation criteria for walnut yogurt. Scores were assigned using a 20-point scale for each attribute, interpreted as: >15 is strong preference; 10–15 is acceptable; <10 is dislike. Data analysis Statistical analysis was performed using SPSS software (version 22.0; IBM Corp., USA) and data were visualized using Origin 2022 (OriginLab, Northampton, MA, USA). Data obtained from a minimum of three independent replicates were presented as the mean ± standard deviation (SD). A one-way analysis of variance (ANOVA) was conducted to assess significant differences, followed by Duncan's multiple range test for post hoc comparisons among means. Differences were considered significant at p < 0.05. Results and discussion Screening of gums The inherent limitations of plant proteins prevent them from readily forming stable gels during the fermentation process. Consequently, in plant-based yogurt systems, the incorporation of gums as thickeners is an essential strategy for modulating and improving product quality (Dhakal et al., 2023). However, the efficacy of different gums varies significantly, and not all are suitable for enhancing walnut yogurt. Therefore, we investigated the effects of different gums on the quality of walnut yogurt. As shown in Fig. 1a, the visual appearance of the yogurt varied significantly with the type of gum added, a difference primarily attributed to the inherent molecular properties of each gum and their distinct influence on gelation behavior (Zang et al., 2024). Compared with the control, all samples with added gums showed a decrease in pH. Notably, sodium alginate (SA) and xanthan gum (XG) demonstrated favorable gelation in the walnut yogurt system, with the final pH stabilizing between 4.2 and 4.3-within the optimal range for fermented dairy products (L. Lin et al., 2025). Water-holding capacity (WHC), a critical parameter for quality and shelf life, improved significantly after adding κ-carrageenan, SA, low-acyl gellan gum, or XG (Fig. 1b). This enhancement indicates that these gums effectively bind water, stabilize walnut particle dispersion, and inhibit phase separation by forming a hydrophilic colloidal network (Ren et al., 2025). Sensory evaluation (Fig. 1d) further revealed that yogurts with SA or XG received significantly higher scores than the control, achieving the highest overall ratings and demonstrating strong potential for consumer acceptance. In conclusion, SA and XG effectively improved the texture, stability, and sensory appeal of walnut yogurt and were therefore selected for subsequent experimentation. Effect of different gums on the quality attributes of plant-based walnut yogurt. (a) pH value of walnut yogurt. (b) Water-holding capacity (WHC) of walnut yogurt. (c) sensory score of walnut yogurts. (d) Visual appearance of walnut yogurt containing different gums. Control: yogurt without gum incorporation. Values in (a), (b), and (c) are presented as mean ± standard deviation (n = 3). Different superscripts letters above bars within the same gum group indicate significant differences (p < 0.05). Effects of XG and SA incorporation on pH and TA of walnut yogurt TA and pH are critical quality parameters in yogurt, influenced by plant protein composition and microbial metabolic activity (Shori et al., 2022). As shown in Fig. 2a, the final pH of walnut yogurt supplemented with SA (SA-WY group) was significantly higher than that of the control group, suggesting that SA may influence the growth and metabolism of lactic acid bacteria (LAB). Notably, among all SA-WY group concentrations tested, the sample with 0.4% SA exhibited the lowest pH and the highest TA, indicating a relatively minor overall impact on fermentation. Yogurts with 0.5–0.6% SA also showed significantly higher TA than the control, while their final pH remained within the optimal range for commercial set yogurt (typically pH 3.9–4.6). This indicates that SA at these low concentrations did not substantially inhibit the activity of the fermentation LABs, a finding consistent with the results reported by Xu et al., (Xu et al., 2019) that the incorporation of SA with low concentrations had no effect on the activity of yogurt starter bacteria. In contrast, the incorporation of low-dose XG (0.4–0.6%) resulted in a final pH significantly lower than that of the control group and a concurrent increase in total acid content. The highest TA (49.77°T) was achieved at an XG concentration of 0.5%. Effects of gum type and concentration on the physicochemical and antioxidant properties of plant-based walnut yogurt. (a) pH value of walnut yogurt. (b) Titratable acidity (TA). (c) Water-holding capacity (WHC). (d) DPPH radical scavenging rate. (e) ABTS radical scavenging rate. (f) Total phenolic content (TPC). Control: walnut yogurt without gum incorporation; SA-WY: walnut yogurt incorporated sodium alginate; XG-WY: walnut yogurt incorporated xanthan gum. Data are presented as mean ± standard deviation (n = 3). Different superscripts letters above bars within the same gum group indicate significant differences (p < 0.05). The effect of XG and SA incorporation on the WHC of walnut yogurt The WHC of yogurt is closely linked to its textural properties and plays a critical role in determining the overall quality and sensory acceptance of the product (L. Lin et al., 2025). As shown in Fig. 2c, the WHC of the control group was only 30.52%. The SA-WY group or XG-WY group exhibited improved WHC compared to the control group. At a concentration of 0.4%, the WHC values for the SA-WY group and XG-WY group were 80.32% and 54.89%, respectively. When the concentration was increased to 0.5%, the WHC of the XG-WY group and SA-WY group reached approximately 96.68% and 97.20%, representing 3.17-fold and 3.18-fold increases over the control group, respectively. This enhancement can be attributed to the strong binding affinity of these polysaccharides for proteins, which promotes the formation of tight protein-polysaccharide complexes (Weibo Zhang et al., 2025). These complexes facilitate the establishment of a continuous three-dimensional network within the system, effectively inhibiting water migration and mitigating phase separation (Ren et al., 2024). The superior WHC observed in the SA-WY group and XG-WY group is associated with their ability to form a denser and more uniform microscopic network, thereby immobilizing water more efficiently- an observation supported by scanning electron microscopy (SEM) images. When the gum concentration was further increased to 0.6–0.8%, the WHC of yogurts with either the XG-WY group or SA-WY group no longer showed a significant rise, indicating that a saturated gel network was nearly formed once the gum concentration reached or exceeded 0.6%. Effect of XG and SA incorporation on antioxidant activity of walnut yogurt The antioxidant activity of yogurt is essential for its health-promoting functions, including shelf-life extension and mitigation of oxidative stress in vivo (Zhai et al., 2024). In this study, the antioxidant capacities of different walnut yogurts were evaluated by DPPH and ABTS radical scavenging activities. As shown in Fig. 2d&e, the control walnut yogurt exhibited high scavenging rates of 90.58% for DPPH and 82.00% for ABTS. This excellent antioxidant activity originates from the synergistic interaction between inherent walnut antioxidants (e.g., polyphenols) and bioactive metabolites generated during fermentation (Zhai et al., 2024). The incorporation of XG significantly enhanced the DPPH scavenging ability compared to the control (p < 0.05), which is consistent with previous findings that water-soluble polysaccharides and hydrocolloids can effectively enhance the antioxidant activity of fermented dairy products (L. Lin et al., 2025). However, further increases in XG concentration did not lead to significant improvements in antioxidant capacity (p < 0.05). In contrast, the DPPH scavenging ability decreased with increasing SA concentration, which is also consistent with the results of pH and TA. Both SA and XG also improved ABTS radical scavenging capacity, with samples containing 0.4% and 0.5% showing the most pronounced enhancement. In addition, walnut yogurt exhibited distinct scavenging efficiencies against DPPH and ABTS radicals, which is related to their different chemical natures and reaction mechanisms. Effects of XG-WY and SA-WY on total phenolic content (TPC) in walnut yogurt Considerable interest surrounds phenolic compounds, primarily because these components can help reduce the incidence of certain cancers and cardiovascular diseases. (Boeck et al., 2021). A notable advantage of plant-based yogurt over its dairy counterpart is its richness in phenolic compounds, particularly after LABs fermentation, the conversion of bound polyphenols into free polyphenols enhances the functional activity of the products (Boeck et al., 2021). As shown in Fig. 3f, the incorporation of gums significantly increased the TPC in walnut yogurt. This enhancement may be attributed to the protective effect of the resulting hydrocolloidal network, where the dense gel physically encapsulates walnut polyphenols and stabilizes them through hydrogen bonding, thereby mitigating oxidation and degradation (Du et al., 2021). A similar conclusion was reported by Liu et al. (X. Liu et al., 2025), who found that polysaccharide incorporation can enhance the bioactivity of phenolic compounds during yogurt fermentation. The effect of gum concentration on TPC followed a trend of initial increase followed by a decrease. At an incorporation level of 0.5%, the TPC of the XG-WY group and SA-WY group reached peak values of 10.54 and 8.86 mg GAE/g, respectively, representing 1.47-fold and 1.23-fold increases over the control group. The low-concentration incorporation of SA or XG did not inhibit and may even have supported the fermentative capacity of LAB, promoting the release of phenolic compounds from their bound forms (Xu et al., 2019). However, TPC gradually decreased as gum concentrations increased further. This decline may be attributed to two factors: potential suppression of LAB fermentative capacity and formation of an excessively dense gel network. The compact gel structure could physically entrap polyphenols, limiting their extractability during the analytical procedure. Notably, at equivalent concentrations, the XG-WY group consistently yielded slightly higher TPC than the SA-WY group. This difference may be explained by the denser, more rigid gel network formed by the SA-WY group (as visually supported by SEM observations), which could lead to more pronounced entrapment of phenolic compounds. Effect of gum concentration on the rheological properties of walnut yogurt. (a) Apparent viscosity as a function of shear rate. (b) Loss factor (tan δ) measured at a fixed frequency (1 Hz). (c) Storage modulus (G′). (d) Loss modulus (G″). SA-WY: walnut yogurt incorporated sodium alginate; XG-WY: walnut yogurt incorporated xanthan gum. Control: walnut yogurt without gum incorporation. Data are presented as mean values of three independent experiments. Effects of XG and SA incorporation on the texture of walnut yogurt Textural properties are key physical parameters for evaluating the sensory quality and consumer acceptance of yogurt (Bourouis et al., 2024). Since the yogurt in the control group remained in a phase-separated state after fermentation, the textural properties could not be measured. As shown in Table 2, the rupture strength of walnut yogurt increased gradually with higher XG incorporation, reaching 510.47 g at 0.8% incorporation. In contrast, increasing the SA concentration led to a gradual decrease in rupture strength, which may be attributed to the tendency of SA to promote a weaker and more flexible protein gel network. Rupture distance reflects the extensibility of the yogurt, and a longer gel-rupture distance suggests better cohesiveness (Xu et al., 2019). At equivalent concentrations, the SA-WY group exhibited a greater rupture distance than the XG-WY group, demonstrating its superior ability to enhance the cohesiveness of walnut yogurt. Hardness, primarily influenced by total solid content (X. Wang et al., 2020), increased progressively with higher contents of SA or XG. The incorporation of both gums promoted the formation of a denser network structure, thereby strengthening the gel matrix. A similar effect was reported by Bourouis et al. (Bourouis et al., 2024), who observed that adding chitosan enhanced the hardness of soy yogurt. Notably, within the concentration range of 0.4–0.7%, the XG-WY group exhibited greater hardness than the SA-WY group at the same level. This difference may be related to the uronic acid composition in the molecular structure of SA, which contributes to a more flexible gel network (Xu et al., 2019). In addition, the incorporation of SA and XG also affected the viscosity and chewiness of walnut yogurt. However, texture parameters are not always better when higher. Moderate hardness and fracture strength improve mouthfeel and stability, whereas excessive hardness (e.g., XG at 0.8%) or excessively low fracture strength can result in an overly firm or loose texture, thus lowering consumer acceptability. Therefore, the optimal hydrocolloid concentration should be determined in combination with sensory evaluation results. Overall, the results indicate that both SA and XG effectively reinforce the gel network structure, improving the textural profile of the product. Table 2Effect of xanthan gum and sodium alginate concentration on the textural properties of the walnut yogurt.Cohesive-nessggRupture StrengthggRupture DistancemmmmHardnessgChewinessg. secViscositygg. sec0.4%XG-WY131.75 ± 16.8cd178.52 ± 61.25cd12.42 ± 3.65a206.83 ± 25.82c1699.09 ± 218e201.76 ± 76.14bcd0.5%XG-WY164.55 ± 24.88c219.64 ± 11.62bc4.61 ± 0.06c230.36 ± 34.68c2410.06 ± 16.03d216.07 ± 6.65cde0.6%XG-WY224.49 ± 19.57b290.67 ± 33.95b5.37 ± 0.15c291.4 ± 33.65bc2814.26 ± 232.6cd227.34 ± 11.39de0.7%XG-WY252.85 ± 15.23b491.72 ± 18.1a5.29 ± 0.30c492.08 ± 20.08bc3662.35 ± 235.58b287.88 ± 8.51ef0.8%XG-WY352.77 ± 39.16a510.47 ± 116.8a5.34 ± 0.59c624.42 ± 74.32b4859.18 ± 235.9a307.87 ± 18.39f0.4%SA-WY103.46 ± 2.36de108.52 ± 14.91e13.63 ± 1.43a135.01 ± 11.39c1353.55 ± 145.81ef170.35 ± 45.15abcd0.5%SA-WY69.55 ± 0.89ef82.56 ± 3.34ed11.69 ± 0.71ab158.93 ± 3.13c1002.22 ± 25.94fg151.16 ± 4.53abc0.6%SA-WY50.13 ± 0.55f75.18 ± 14.53ed8.96 ± 0.72b170.59 ± 49.15c862.47 ± 36.71g144.74 ± 6.71ab0.7%SA-WY50.32 ± 0.17f76.26 ± 2.92ed4.31 ± 0.08c380.34 ± 51.64b727.91 ± 23.72g133.34 ± 7.72ab0.8%SA-WY50.86 ± 0.98f67.79 ± 1.36ed5.51 ± 0.16c2970.6 ± 477.81a2985.18 ± 210.4c116.57 ± 5.34aValues are presented as mean ± standard deviation (n = 3). SA-WY: walnut yogurt incorporated sodium alginate; XG-WY: walnut yogurt incorporated xanthan gum. Within the same column (textural parameter), values bearing different superscript letters are significantly different (p < 0.05). Effect of xanthan gum and sodium alginate concentration on the textural properties of the walnut yogurt. Values are presented as mean ± standard deviation (n = 3). SA-WY: walnut yogurt incorporated sodium alginate; XG-WY: walnut yogurt incorporated xanthan gum. Within the same column (textural parameter), values bearing different superscript letters are significantly different (p < 0.05). Effects of XG and SA incorporation on the rheological characteristics of walnut yogurt The flow behavior of yogurt is closely linked to its intrinsic characteristics, such as particle size distribution and kinetic stability, which can be effectively characterized through rheological analysis (T. Huang et al., 2021). Steady-state shear measurements are shown in Fig. 3a. The apparent viscosity of all walnut yogurt samples decreased with increasing shear rate, exhibiting shear-thinning behavior, which is consistent with a previous study (Nguyen et al., 2024). An appropriate apparent viscosity helps form a stable three-dimensional network, thereby enhancing textural stability and sensory quality. At low shear rates, yogurts exhibited high apparent viscosity. As the shear rate increased, viscosity decreased gradually and eventually leveled off under high shear, indicating that all samples behaved as pseudoplastic fluids with distinct shear-thinning characteristics (Wenhua Zhang et al., 2024). This phenomenon is likely attributed to the breakdown of the protein network and the realignment of protein aggregates and oil droplets under shear (Jiao et al., 2023). The control group exhibited the lowest apparent viscosity. The incorporation of SA or XG effectively increased the viscosity, though a concentration-dependent effect was observed. Particularly, yogurt with 0.4% XG or SA incorporation showed the highest apparent viscosity at low shear rates. This may be because a 0.4% gum concentration corresponds to a lower WHC, leading to greater water release and tighter inter-particle connections, which elevate viscosity (Ren et al., 2024). Furthermore, as the SA and XG concentration increased to 0.6–0.8%, the apparent viscosity plateaued, showing minimal variation between samples. Notably, at these higher concentrations (0.6–0.8%), the SA-WY group showed higher apparent viscosity than the XG-WY group at low shear rates, though the difference diminished at high shear rates. This result may be attributed to the higher molecular weight and stronger gel-forming tendency of SA, which typically confers greater structural resistance (T. Huang et al., 2021). Fig. 3b presents the strain sweep results of walnut yogurt with different incorporations of XG and SA. When the strain ranged from 0.01% to 1%, all samples remained in the linear viscoelastic region. Therefore, frequency sweep tests were performed at a fixed strain of 0.1%. The frequency-dependent storage modulus (G′) and loss modulus (G″) are shown in Fig. 3c &d. For all yogurts, both G′ and G″ increased with angular frequency, and G′ consistently exceeded G″, indicating a solid-like and elastic gel structure (Huang et al., 2020). This confirms that the added gums promoted the formation of a stable three-dimensional network where elasticity dominated. Higher G′ values suggest stronger inter-particle interactions and a more robust network. Yogurt with 0.5% XG and 0.4% SA showed the highest G′ and G″ values, indicating the formation of a strong, dense gel structure at these optimal concentrations. In contrast, yogurt with 0.8% SA or XG showed the lowest G' and G", suggesting that excessive gum incorporation may lead to structural overloading or inhibition, resulting in insufficient elasticity (Wu et al., 2025). Furthermore, the G′/G″ ratio remained largely stable across the tested frequency range for gum-containing yogurts, indicating structural homogeneity and stability. This behavior may be attributed to the formation of electrostatic complexes and a stable network during acidification, which helps maintain mechanical integrity during deformation (Li, Wei, et al., 2025). These rheological results collectively demonstrate that the incorporation of XG and SA can effectively enhance the viscosity, viscoelasticity, and structural stability of walnut yogurt. FTIR of walnut yogurt The molecular interactions and structural features of walnut yogurt were further examined using FTIR spectroscopy. As shown in Fig. 4a&b, the samples exhibited similar characteristic absorption profiles after the incorporation of XG or SA. This indicates that both polysaccharides primarily interacted with walnut proteins via non-covalent forces, without forming new covalent bonds or inducing significant conformational changes in the gel network (J. Luo et al., 2025). All samples displayed a broad absorption band in the region of 3600–3200 cm−1, attributed to O—H and N—H stretching vibrations associated with hydrogen bonding (Li, Xie, et al., 2025). Notably, the band near 3400 cm−1 showed a slight shift following the incorporation of XG or SA, suggesting enhanced hydrogen-bond interactions between the polysaccharides and walnut proteins (J. H. Li et al., 2025). In addition, an absorption peak observed near 2930 cm−1 corresponds to C—H stretching vibrations of CH₃ and CH₂ groups. Changes in this region can reflect hydrophobic interactions in protein systems (Yang et al., 2020). The intensity of this peak increased with higher concentrations of XG or SA, while its position remained largely unchanged, indicating that the signal enhancement arose mainly from the additional C—H groups introduced by the polysaccharides. Furthermore, all samples showed absorption peaks around 1650 cm−1 (amide I) and 1540 cm−1 (amide II), which originated from C Created by potrace 1.16, written by Peter Selinger 2001-2019 O stretching, C—N stretching, and N—H bending vibrations in walnut proteins and are critical for maintaining gel integrity (J. Luo et al., 2025). With increasing concentrations of XG or SA, the amide I peak underwent a redshift, shifting from 1654 cm−1 to 1644 cm−1 and 1643 cm−1, respectively. Similar shifts in the amide I band have been reported in yogurt gel systems and are often associated with enhanced intermolecular forces and strengthened gel structure (Mudgil et al., 2018). In summary, the incorporation of XG or SA strengthened the intermolecular forces within walnut yogurt, facilitating the formation of a more coherent and stable gel structure (Wu et al., 2025). Fourier transform infrared (FTIR) spectra and intermolecular interaction analysis of walnut yogurt containing xanthan gum (XG-WY) or sodium alginate (SA-WY). (a) FTIR spectra of yogurt with different concentrations of XG-WY. (b) FTIR spectra of yogurt with different concentrations of SA-WY. (c) contributions of specific intermolecular interactions (ionic, hydrogen bonding, and hydrophobic interactions) as a function of gum concentration. SA-WY: walnut yogurt incorporated sodium alginate; XG-WY: walnut yogurt incorporated xanthan gum. Control: walnut yogurt without gum incorporation. Within the same column values bearing different superscript letters are significantly different (p < 0.05). Analysis of the intermolecular force between gums and walnut yogurt To elucidate the intermolecular forces through which SA and XG promote the formation and stabilization of the walnut yogurt gel, we analyzed molecular interactions in samples with varying concentrations. As shown in Fig. 4c, hydrophobic interactions exhibited the highest intensity among all measured forces, identifying them as the predominant driver of gel network formation, a conclusion consistent with the findings of Liu et al. (L. Liu et al., 2023). This predominance is attributed to the exposure of hydrophobic protein groups during the initial thermal sterilization process and the subsequent fermentation, which facilitates cross-linking via hydrophobic interactions to establish the gel matrix (Ran et al., 2024). The intensity of hydrophobic interactions increased with higher concentrations of SA and XG, reaching 18.70 mg/g and 15.50 mg/g, respectively, at the 0.8% incorporation level. This enhancement may result from the negative charges of the polysaccharides neutralizing surface charges on proteins, thereby weakening electrostatic repulsion and promoting the exposure and interaction of hydrophobic regions (Y. Lin et al., 2022). Notably, stronger hydrophobic forces did not directly correspond to greater macroscopic gel strength. Although the SA-WY group demonstrated higher hydrophobic interaction values, rheological data (Fig. 3e) indicated that its gel network had lower mechanical strength and a greater tendency for plastic deformation. In contrast, the XG-WY group with comparatively lower hydrophobic forces generated a more rigid three-dimensional network. In addition to hydrophobic effects, hydrogen bonding and ionic interactions also contributed significantly to gel stability. The samples with SA incorporation formed more hydrogen bonds, while those with XG exhibited a higher ionic bond content, which is directly related to the fundamental differences in their molecular structures. Overall, the incorporation of SA or XG significantly enhanced the intermolecular interactions within walnut yogurt, resulting in a more stable and robust gel structure. This structural reinforcement is consistent with the corresponding increase in gel hardness. SEM analysis of XG-WY and SA-WY walnut yogurt The gel microstructure of walnut yogurt was examined using scanning electron microscopy (SEM). The internal three-dimensional network, characterized by numerous pores that retain water and solutes, is critical for the product's rheological behavior, texture, and water-holding capacity (Ren et al., 2024). As shown in Fig. 5a, the control group exhibited a rough, loose surface with dispersed pores of uneven size and irregular shape, and lacked a coherent network, resulting in weak capillary retention of water, indicating limited water retention and gel stability. This observation aligns with its lower WHC and inferior textural properties. In contrast, the incorporation of SA or XG yielded a smoother, denser microstructure with a more uniform porous network. Specifically, at concentrations of 0.4–0.6%, SA promoted a highly interconnected and densely porous network, characterized by markedly reduced pore sizes and a more regular pore arrangement. This compact and homogeneous pore structure enhances water entrapment via capillary forces, thereby improving WHC, while the moderate network crosslinking provides desirable hardness and springiness, likely due to enhanced hydrogen bonding and hydrophobic interactions between proteins and polysaccharides(Zhu, Luo, et al., 2025). However, when the SA concentration increased to 0.7–0.8%, excessive molecular entanglement led to an overly compact structure, with pores nearly disappearing and forming a continuous dense layer. Notably, this dense structure did not reduce water-holding capacity, but its excessive compactness significantly increased hardness and chewiness, thereby leading to poor texture and mouthfeel. Similarly, while XG also contributed to a more stable gel, higher concentrations (0.7–0.8%) led to increased pore size and irregular structural features, leading to a heterogeneous pore size distribution. Indicating a loss of network homogeneity and continuity. Importantly, this structure also did not reduce the water-holding capacity of the sample. Notably, at equivalent concentrations, the SA-WY group formed a denser three-dimensional network than the XG-WY group, exhibiting a smaller average pore size and a narrower pore size distribution range. This microstructural difference is likely attributable to the stronger hydrophobic interactions promoted by SA, which drive more compact protein aggregation (Z. Li et al., 2025). Another important reason is that SA rich in guluronate forms a continuous dense three-dimensional network via Ca2+-mediated “egg-box” assembly through sequential doubling of dimers to tetramers, octamers, and hexadecamers. (Wang, Zhao, et al., 2023). In contrast, under acidic conditions, XG forms hydrogen bonds and electrostatic interactions with proteins via its side-chain carboxyl groups, improving rheology and water-holding capacity, reducing syneresis, and enhancing gel stability (J. H. Li et al., 2025). The direct visualization of these structural variations explains the differences in WHC among the groups and confirms that SA and XG effectively improve the gel properties of walnut yogurt-a conclusion in agreement with the texture and rheological results. Effect of different gums on the microstructure and porosity of plant-based walnut yogurt. (a) Scanning electron microscopy (SEM) images of walnut yogurt gel microstructure. Representative images of yogurt gels prepared with (left row) SA-WY and (right row) XG-WY at concentrations of 0.4%, 0.5%, 0.6%, 0.7%, and 0.8% (w/v). (b) Porosity of walnut yogurt samples with different concentrations of xanthan gum (XG-WY) or sodium alginate (SA-WY). SA-WY: walnut yogurt incorporated sodium alginate; XG-WY: walnut yogurt incorporated xanthan gum. Control: walnut yogurt without gum incorporation. Sensory analysis of XG-WY walnut yogurt and SA-WY walnut yogurt The preceding results confirm that incorporating SA and XG can effectively enhance the physicochemical properties of walnut yogurt. Evaluating their impact on sensory characteristics is therefore essential. The appearance of the yogurt samples is shown in Fig. 6a&b. Both the SA-WY group and XG-WY group enabled the formation of a semi-solid spoonable texture after fermentation, with all yogurts exhibiting a milky-white color and characteristic walnut aroma. As shown in Fig. 6c&d. The control group received the lowest sensory score (60.30), and the incorporation of XG or SA significantly increased the sensory score (p < 0.05). In comparison, the scores for samples with 0.4%, 0.5%, and 0.6% XG were 77.10, 78.60, and 78.30, respectively; the corresponding scores for the SA-WY group at the same amount were 79.20, 81.60, and 85.30. At the same gum incorporation amount, yogurt with XG showed a slightly lower sensory score than that with SA. This may be attributed to the high elasticity and hardness imparted by XG, which can create an overly firm gel that requires greater shear force during chewing, thereby lowering the sensory rating, the result is consistent with the texture measurements. Notably, when the incorporation concentration exceeded 0.6%, the sensory scores showed no significant further improvement (p > 0.05). This trend aligns with the texture analysis. Within 0.4%–0.6%, the denser, more uniform network structure enhanced yogurt flexibility and mouthfeel. However, when the addition exceeded 0.6%, the SA group exhibited textural characteristics of high hardness and low fracture strength. This gel structure, hard on the surface but brittle internally, led to decreased sensory acceptability. Meanwhile, XG hardness increased to 624.42 g at 0.8%, making the product overly firm and chewy, neither of which improved consumer acceptability. Neither condition further improved consumer acceptability. These findings indicate that consumer preference does not increase linearly with gel densification or hardness; excessive densification or firmness can instead reduce sensory quality. Therefore, considering both production cost and additive usage, 0.5–0.6% concentrations of SA and XG are recommended as the hydrogel to optimally improve the quality of walnut yogurt, ensuring product performance that meets consumer expectations. Visual appearance and sensory scores of walnut yogurts with different concentrations of sodium alginate (SA-WY) or xanthan gum (XG-WY). (a, b) Representative photographs of walnut yogurt containing SA-WY or XG-WY at concentrations of 0.4% to 0.8% (w/v). (c, d) Overall sensory scores for yogurts containing SA-WY or XG-WY. Control group (CG): walnut yogurt without gum incorporation. Data are presented as mean ± standard deviation (n = 3). Different lowercase letters indicate significant differences (p < 0.05) among concentrations within the same gum group. Conclusion This study investigated the effects of SA and XG on the quality of walnut-based yogurt. The results demonstrated that incorporating 0.5–0.6% of either SA or XG significantly enhanced key quality parameters, including water-holding capacity, textural properties, antioxidant activity, and overall palatability. Both hydrocolloids improved the rheological behavior and strengthened intermolecular interactions within the yogurt. These findings indicate that SA and XG can serve as effective functional ingredients to improve the quality and nutritional value of plant-based yogurt, showing considerable potential for product development. Notably, incorporating SA was more effective at forming a dense gel structure, whereas XG exhibited better compatibility with the fermentation process. Given their complementary functional properties, whether the combined use of SA and XG can synergistically improve the quality of walnut-based yogurt represents a promising direction for future research. CRediT authorship contribution statement Shi-Qi Huang: Writing – original draft, Validation, Data curation. Fan-Bing Meng: Visualization, Methodology. Ao-Xin Chen: Resources, Investigation, Formal analysis. Song Chen: Visualization, Software. Ren-Jie Zheng: Supervision, Project administration. Yun-Cheng Li: Writing – review & editing, Funding acquisition, Conceptualization. Declaration of competing interest The authors declare that they have no known competing financial interests or personal relationships that could have appeared to influence the work reported in this paper. Acknowledgments This work was supported by Sichuan Science and Technology Program (2025YFHZ0041), Sichuan Innovation Team of National Modern Agricultural Industry Technology System (SCCXTD-2024-26), and Agricultural Science and Technology R&D Program of Chongqing (NW-CSTB2025NYKJGGXM-NCPJGLXMX0002). Data availability No data was used for the research described in the article. References Associated Data Data Availability Statement No data was used for the research described in the article.