Introduction

Cocoa beans (Theobroma cacao L.) and their derivative products are highly valued by consumers around the world for their essential nutrients and bioactive phytochemicals [1]. Roasting is the principal technological operation in cocoa bean processing which leads to the development of the characteristic brown color, generates compounds responsible for the distinctive chocolate aroma and flavor, and produces a crisp texture [2, 3]. It causes considerable changes not only to the physical and sensory properties of the beans, but also to their chemical and nutritional composition [2]. Several previous studies have indicated that temperature and duration of thermal processing substantially affect the character of chemical and physical changes occurring in cocoa beans. The most prominent roasting-induced chemical reactions affecting the composition of cocoa beans are Maillard reactions, caramelization, lipid oxidation, and oxidative degradation of phenolic compounds [1, 2, 4].

Maillard reactions are initiated by interactions between carbonyl groups (mainly of reducing sugars) and the nucleophilic amino groups of amino acids, peptides, or proteins, resulting in the sugar–amine condensation and rearrangement to Amadori or Heyns products. The subsequent stages involves sugar dehydration and fragmentation, amino acid degradation, and many other fragmentation steps [5, 6]. These reactions are very complex and lead to the simultaneous or consecutive formation of highly reactive low-molecular-weight (LMW) compounds, such as α-dicarbonyl and α-hydroxycarbonyl compounds, furfurals, reductones, and Strecker aldehydes [2, 5, 6]. In the final stage of Maillard reaction, condensation and polymerization reactions of the highly reactive intermediates result in the formation of fluorescent and brown nitrogen-containing high-molecular-weight (HMW) polymers, known as melanoidins [5, 6]. These macromolecules are not only responsible for the characteristic brown color and texture of roasted cocoa beans, but they also exhibit binding affinity for the LMW aromatic compounds released in the process of roasting. It is also well known that melanoidins display a large number of biological properties [7, 8]. Recently, these compounds have received increasing interest as functional ingredients or nutraceuticals due to their numerous health benefits, including antioxidative, antihypertensive, anti-inflammatory, antimicrobial, anticarcinogenic, antiglycative, and anticariogenic effects, as well as the ability to chelate metal ions [8,9,10,11]. Furthermore, melanoidins can act as dietary fiber in the gastrointestinal tract, promoting the growth of beneficial microorganisms such as Bifidobacteria, as well as modulating the bacterial flora of the colon [7, 8, 12].

The biological properties of melanoidins are closely related to their structure and molecular size [13, 14]. Many previous studies have attempted to characterize the structure and composition of melanoidins in various model systems and carbohydrate-rich foods, such as coffee, barley malt, and honey [9, 12, 13, 15, 16]. However, due to the complexity of food systems, to date, the mechanism of melanoidin formation has not been fully elucidated. In real food systems, depending on the substrates and reaction conditions, three different types of melanoidin structures have been proposed: (1) polymers consisting of repeating furans or pyrrole units linked via polycondensation reactions [17], (2) carbohydrate skeletons built mainly from sugar degradation products polymerized through aldol-type condensation reactions and possibly linked by nitrogenous residues [13, 17], or (3) protein-like structures arising from cross-links between proteins and LMW compounds formed in the advanced stages of Maillard reactions [12, 17]. In coffee, melanoidins originate from reactions between polysaccharides (galactomannans and arabinogalactans), amino acids, and proteins [13, 18]. In recent years, it has been noted that also phenolic compounds contribute to melanoidin formation during coffee beans roasting. Unlike coffee beans and bakery products, raw cocoa beans contain relatively small amounts of reducing sugars (2%), and only approximately 12% polysaccharides [19, 20]. However, carbohydrates are not the only source of reactive carbonyl compounds in thermal treated foods. High-temperature processing of foods has been shown to produce lipid-derived carbonyl compounds via the lipid oxidation reactions. Recent reports indicate that interactions between lipid-derived reactive carbonyl compounds and amino acids or proteins may consist of a great number of related reactions traditionally considered exclusive to Maillard pathways [21]. Therefore, in the presence of amino acids and proteins, reactive carbonyl compounds arising from lipid peroxidation reactions might play an important role in the formation of brown HMW polymers upon cocoa bean roasting. Due to the high content of lipids (50–57%) and proteins (10–15%) [1, 2], cocoa beans seem to be a suitable material for investigating the formation of melanoidins in lipid-rich food systems. Although some authors have attempted to determine the yield and chemical composition of HMW melanoidins isolated from cocoa-derived products [11], so far very little literature data are available on the formation of melanoidins in cocoa beans during roasting. Furthermore, no studies to date have taken into account the effect of roasting conditions, such as temperature and relative air humidity, on the physicochemical properties of HMW melanoidins isolated from cocoa beans. The chemical composition of raw cocoa beans varies widely depending on cultivation conditions and variety, and determines the most important chemical changes that occur or may occur during cocoa processing [1, 2]. Nowadays, cocoa beans and their commercially available derivative products are obtained from three main T. cacao varieties, i.e., two traditional ones (Criollo, and Forastero) and their natural hybrid (Trinitario) [22]. Thus, the evaluation of changes in the phytochemical composition of three main types of cocoa beans during thermal treatment is important with a view to investigating the compounds involved in the formation of HMW Maillard reaction products.

The main objective of this work was to evaluate the effect of roasting temperature (110, 120, 135, or 150 °C) and relative air humidity (0.3 or 5.0%) on the yield, phytochemical composition, CIE L*a*b* color characteristics, browning and fluorescence intensity, and molecular weight distribution of HMW fractions isolated from Criollo, Forastero, and Trinitario beans of different origins. A complementary objective of this study was to determine the influence of different roasting conditions on the protein, carbohydrate, lipid, and phenolic compound content in cocoa beans of different T. cocoa types originating from selected geographic regions.

Materials and methods

Chemicals

Standards of fructose, glucose, sucrose, epicatechin, catechin, epigallocatechin, procyanidin B2, procyanidin B1, procyanidin C1, acetonitrile of HPLC grade (≥ 99.9%), and formic acid for LC–MS (~ 98%) were all purchased from Sigma-Aldrich (St. Louis, MO, USA). Cinnamtannin A2 was obtained from PhytoLab GmbH & Co. KG (Vestenbergsgreuth, Germany). N-[3′,4′-dihydroxy-(E)-cinnamoyl]-3-hydroxy-l-tyrosine was purchased from Cayman Chemical Co. (Ann. Arbor, MI, USA). The standard protein mix for SEC was obtained from Phenomenex (Torrance, CA, USA). All other reagents were of analytical grade and were purchased from Chempur (Piekary Slaskie, Poland). Ultrapure water (resistivity 18.2 MΩ cm), obtained from a Milli-Q purification system (Millipore, Bedford, MA, USA), was used for all the analyses.

Raw materials

Analyses and experiments were conducted on samples of fermented and dried cocoa beans of the three main T. cacao groups: Criollo and Trinitario originating from Madagascar, and Forastero from Ghana. All cocoa beans were harvested at their technological maturity in 2013 and purchased from commercial sources.

Roasting experiments

Prior to roasting, all cocoa beans were segregated to discard impurities and chipped or broken beans. Then, the selected raw cocoa beans (200 g) of each group were convectively roasted in a tunnel with a forced air flow without circulation (adapted for either dry or humid air). Process air humidity was gradually increased using 4.0 MPa saturated steam from a generator. Roasting was performed at four temperatures (110, 120, 135, or 150 °C) and two relative air humidity levels (0.3 or 5.0%). It was terminated when bean moisture dropped to 2% as determined by drying until constant weight at 103 ± 2 °C. The duration of thermal treatment was determined experimentally for each batch of cocoa beans, based on their initial water content and size. Roasting times at 150, 135, 120, and 110 °C were approximately 20, 40, 75, and 85 min, respectively. The application of higher relative air humidity prolonged the time of thermal treatment. At the end of thermal treatment, the beans were immediately cooled to approximately 20 °C for about 10 min. The roasted cocoa beans were kept in hermetically sealed plastic containers (500 g) and stored at − 20 °C for subsequent analyses. All roasting experiments were performed in duplicate for each variety used.

Isolation of the high-molecular-weight fraction by dialysis

The high-molecular-weight (HMW) fraction was obtained from raw and roasted cocoa beans by dialysis according to the methods described by Bekedam et al. [23] and Summa et al. [10] with slight modification. Prior to extraction, the cocoa beans were deshelled and ground in a laboratory mill. The cocoa nibs (20 g) were defatted three times with petroleum ether in an orbital shaker under constant agitation (20 min, 200 rpm). The resulting mixture was centrifuged at 4800×g for 15 min, and the petroleum ether layer was discarded. Then, defatted cocoa samples were dried under a stream of nitrogen and ground to a fine powder in a laboratory mill. Batches of defatted cocoa powder (10 g) were extracted twice with 100 mL of water at 90 °C for 20 min in an orbital shaker (100×g). Subsequently, pooled extracts were cooled to room temperature and filtered through Whatman no. 4 filter paper to remove insolubles. An aliquot of the filtrate (50 mL) was diluted to approximately 80 mL with water and dialyzed using a dialysis tubes (MW cut-off > 12.4 kDa, Sigma-Aldrich, St. Louis, MO, USA) for 1 day under running tap water and for 2 days against 2000 mL of water at 4 °C with constant stirring. The water was changed 4–5 times until no further color was visible in the dialysate. The time required for complete dialysis was determined experimentally by high-performance size-exclusion chromatography (HPSEC). The dialysate containing LMW compounds was removed. After dialysis, the retentate containing the HMW fraction was frozen at − 20 °C and lyophilized (− 50 °C, 0.9 MPa) using a DELTA 1-24LSC Christ freeze drier (Osterode am Harz, Germany). The lyophilized isolates were weighed and HMW yield was calculated. The results were expressed as g per 100 g of cocoa beans dry weight (g/100 g DW). All lyophilized HMW samples were then stored in plastic bags at − 20 °C to prevent hydration until used.

Proximate analyses

Moisture content in cocoa beans and HMW fractions was measured using gravimetric analysis by drying at 105 °C [24]. Protein content in cocoa beans and HMW fractions were determined pursuant to the Kjeldahl method described in AOAC 970.22, using a nitrogen-to-protein conversion factor of 6.25 [24]. The total fat content of cocoa beans was gravimetrically determined after acid hydrolysis and Soxhlet extraction with petroleum ether, according to AOAC 963.15 [24].

Free sugar analysis

The free sugar (glucose, sucrose, and fructose) composition of cocoa beans was analyzed according to the method reported by Taş and Gökmen [3], with some modifications. First, approximately 0.25 g sample of raw or roasted cocoa beans, previously deshelled, ground, and defatted, was subjected to direct solvent extraction with 100 mL of water. The mixture was shaken at 70 °C on an orbital shaker for 20 min. The solution was allowed to cool, and then it was centrifuged at 5000×g for 5 min. The pooled supernatants were mixed with 1 mL of Carrez I (potassium hexacyanoferrate (II) trihydrate) and Carrez II (zinc sulfate heptahydrate). These solutions were centrifuged at 5000×g for 5 min. The supernatants were collected and passed through 0.45 µm nylon syringe filters. Finally, the filtrate was analyzed for the content of free sugars using a UHPLC + Dionex UltiMate 3000 system (Thermo Fisher Scientific Inc., Waltham, MA, USA) equipped with a refractive index detector (Shimadzu) and an Asahipak NH2P-50 4E column (4.6 × 150 mm, 5.0 µm particle size; Shodex, Japan). Isocratic elution was carried out with acetonitrile/water (70/30, v/v) as the mobile phase. The flow rate and column temperature were set at 1.0 mL/min and 30 °C, respectively. Glucose, sucrose, and fructose were identified by comparing their retention times with authentic standards. Quantification was carried out using an external standard method. All measurements were done in triplicate and results were expressed as g/100 g DW.

Total carbohydrate analysis

Total carbohydrate content in cocoa beans and HMW fractions was determined after two-step sulfuric acid hydrolysis [25]. Briefly, 25 mg samples were weighed into glass vials and 72% w/w H2SO4 was added. The vials were capped and placed in a Reacti-Block aluminum block within a Reacti-Therm III Heating/StirringModule (Thermo Fisher Scientific, Rockford, IL, USA) and left at 37 °C for 60 min with constant stirring (600 rpm). Then, the reaction mixture was diluted with water to 4% w/w H2SO4, and hydrolysis was continued at 120 °C for 40 min with constant stirring (600 rpm). After hydrolysis, samples were cooled immediately to room temperature and an aliquot (0.6 mL) was mixed with 1.4 mL of acetonitrile. The mixture was shaken vigorously and filtered through 0.45 µm nylon syringe filters, and the supernatants were analyzed by HPLC as described above. Total carbohydrate content was quantified as glucose equivalents using external calibration curves of authentic standards. All measurements were done in triplicate with the results expressed as g/100 g DW.

Determination of phenolic compounds

Phenolic compounds (i.e., monomeric flavan-3-ols, procyanidins, and phenolic acid derivatives) were extracted from raw and roasted cocoa beans using the procedure reported by Oracz et al. [26].

The free phenolic components remaining in HMW fractions were determined according to Liu et al. [27], with slight modifications. Approximately 20 mg cocoa melanoidin samples were weighed in 1.5 mL centrifuge tubes and dissolved in water (concentration of 20 mg/mL). Then, the samples were centrifuged at 4000 × g for 10 min, the supernatants were filtered through 0.20 µm nylon syringe filters, and the filtrates were analyzed using a UHPLC–DAD–MS/MS instrument.

The phenolic composition of the studied cocoa beans and their HMW fractions was quantified using a UHPLC + Dionex UltiMate 3000 system (Thermo Fisher Scientific Inc., Waltham, MA, USA) equipped with a UV–Vis diode array detector and a Q-Exactive Orbitrap mass spectrometer (Thermo Scientific, Hudson, NH, USA). Samples (10 µL) were injected on an Accucore™ C18 column (3.0 × 150 mm, 2.6 µm particle size; Thermo Scientific, PA, USA) thermostated at 30 °C. The mobile phases were eluent A, formic acid/water (0.1/99.1, v/v), and eluent B, acetonitrile/water/formic acid (80/19.98/0.02, v/v/v). The flow rate was 0.3 mL/min and the gradient was as follows: 0–5 min, 5% B; 5–6 min, 5–8% B; 6–25 min, 8–15% B; 25–30 min, 15–20% B; 30–35 min, 20–25% B; 35–38 min, 25–30% B; 38–45 min, 30–85% B; 45–52 min, 85–5% B; 52–62 min, 5% B. UV–Vis detection was performed at 280 nm for monomeric flavan-3-ols and procyanidins and at 320 nm for N-phenylpropenoyl-l-amino acids. In the ESI–MS system, the capillary and heater gas temperature were 320 and 400 °C, respectively. The ESI source was operated in the negative ion mode. Capillary voltage was set to 4.5 kV. Nitrogen was used both as nebulizer gas and collision gas. The collision energy was 20 eV. Full-scan MS and target MS2 spectral data were acquired over a range from m/z 50 to 1000. Instrument control, data acquisition, and evaluation were done with Q-Exactive Tune 2.1, Chromeleon 6.8 Chromatography Data System, and Thermo Xcalibur 2.2 software, respectively. Individual phenolic compounds were identified by comparing retention times, UV–Vis absorbance spectra, full-scan mass spectra, and MS/MS fragmentation patterns with their corresponding standards analyzed under identical conditions and the previous literature reports [26, 28]. Quantifications of these compounds were carried out using external standards. The concentration of individual flavan-3-ols was determined based on peak area and calibration curves derived from corresponding reference compounds. For the quantification of N-phenylpropenoyl-l-amino acids, the calibration curves of N-[3′,4′-dihydroxy-(E)-cinnamoyl]-3-hydroxy-l-tyrosine (trans-clovamide) were used.

Estimation of molecular weight distribution of high-molecular-weight fractions

The molecular weight distribution of HMW isolates from raw and roasted cocoa beans was determined by high-performance size-exclusion chromatography (HPSEC) using an UHPLC + Dionex UltiMate 3000 system (Thermo Fisher Scientific Inc., Waltham, MA, USA) and a PolySep™-GFC-P4000 column (300 × 7.8 mm i.d., with exclusion limits of 3–400 kDa) with a PolySep™-GFC-P guard column (35 × 7.8 mm i.d.) from Phenomenex (Torrance, CA, USA). Prior to analysis, samples of lyophilized HMW fractions were dissolved in an elution buffer consisting of 10 mM ammonium acetate (concentration of 1 mg/mL) and passed through 0.45 µm nylon syringe filters. The column was eluted with 10 mM ammonium acetate at a flow rate of 0.5 mL/min. The volume of injected samples was 5 µL. The column temperature was 25 °C. Chromatograms were recorded at wavelengths of 280 and 420 nm. The column was calibrated using protein standards (bovine thyroglobulin, 670 kDa; IgA, 300 kDa; IgG, 150 kDa; ovalbumin, 44 kDa; myoglobin, 17 kDa). The calibration curve showed the relationship between the log molecular weight of the standards and their elution times (R2 = 0.997). Data acquisition and processing were performed using Chromeleon 6.8 Chromatography Data System software (Thermo Fisher Scientific Inc., Waltham, MA, USA).

CIE L*a*b* color measurements of high-molecular-weight fractions

Color evaluation of HMW isolates from raw and roasted cocoa beans was performed using a Minolta CR-400 Chroma meter with Spectra Magic NX 1.3 software (Konica Minolta, Osaka, Japan), and the results were expressed in accordance with the CIE L*a*b* system with CIE Standard Illuminant D65 as a light source. The CIE (Commission International de l’Eclairage) color values were L* (luminosity, from 0-black to 100-white), a* [from (− 50)-green to 50-red] and b* (from (− 50)-blue to 50-yellow), were determined. Prior to measurements, the instrument was calibrated with a CR-A43 standard calibration white plate (L* = 93.80; a* = 0.3156; b* = 0.3319).

Browning index determination of high-molecular-weight fractions

The browning index of HMW isolates from raw and roasted cocoa beans was estimated according to the protocol described by Rufián-Henares and Morales [29], with a slight modification. Prior to determination, each lyophilized HMW sample was dissolved in water (concentration of 1.0 mg/mL) and filtered through a 0.45 µm nylon membrane filter. The absorbance of HMW solutions was measured at 420 nm in a quartz cuvette with a 10 mm light path length using a UV-1800 spectrophotometer (Shimadzu, Kyoto-Japan), and data were acquired with UVProbe software. The results were expressed as arbitrary absorbance units.

Fluorescence intensity determination of the high-molecular-weight fractions

The fluorescence intensity of HMW isolates from raw and roasted cocoa beans was measured at an excitation wavelength of 347 nm and emission wavelength of 421 nm using an RF 5301PC fluorescence spectrophotometer (Shimadzu, Tokyo, Japan) according to the procedure reported by Dong et al. [30], with a slight modification. Prior to determination, each lyophilized HMW sample was dissolved in water (concentration of 1.0 mg/mL), filtered through a 0.45 µm nylon membrane filter and diluted (1:10, v/v) with 10 mM phosphate buffer (pH 7.0).

Statistical analysis

All analyses were performed in triplicate for each sample and the results were expressed as means ± standard deviations. Data were subjected to the analysis of variance (one-way ANOVA) after testing for normal distribution (Shapiro–Wilk test) and equality of variances (Levene’s test) using STATISTICA 11 software (StatSoft Inc., Tulsa, USA). Tukey’s honest significant difference post hoc test was performed to detect significant differences between means. The differences were considered to be significant at p < 0.05. In addition, Pearson correlations were used to investigate relationships between the investigated parameters.

Results and discussion

Effect of roasting conditions on chemical composition of cocoa beans

Table 1 shows the proximate composition of raw and roasted beans of the three evaluated cocoa types. Proximate composition was expressed as percentage (g per 100 g) on a dry weight basis (DW). Total carbohydrates and lipids in raw samples were found to vary from 5.56 to 6.70% and from 57.80 to 59.54%, respectively, being significantly higher (p < 0.05) in Criollo beans from Madagascar than in Forastero beans from Ghana and Trinitario beans from Madagascar. On the other hand, protein content was the highest (p < 0.05) in the Forastero (17.44%), followed by Criollo (16.49%) and Trinitario (16.16%). These differences may be explained by several factors, such as plant variety, geographic region, ripening degree, and post-harvest conditions [1, 19].

Table 1 Proximate composition and HMW yields (%, dry weight) of raw and roasted cocoa beans of Criollo, Forastero, and Trinitario groups originating from various geographical regions

As regards free sugar content (Fig. 1), the results ranged from 0.95 g/100 g DW for Trinitario to 1.15 g/100 g DW for Forastero, with the differences being statistically significant (p < 0.05). The most abundant free sugar in raw beans was fructose; its content ranged from 0.70 g/100 g DW for Criollo to 0.75 g/100 g DW for Forastero. Glucose and sucrose concentrations were considerably lower at 0.16–0.22 g/100 g DW and 0.08–0.18 g/100 g DW, respectively. Similar concentrations of lipids, proteins, and free sugars in cocoa beans were found by Redgwell, Trovato, and Corti [20], and Efraim et al. [31]. However, other authors reported higher levels of total carbohydrates, which may be attributable to differences not only in the tested materials, but also in the analytical procedures applied.

Fig. 1
figure 1

Free sugar content (g/100 g DW) in cocoa beans, both raw and roasted at different temperatures and relative air humidities, for the following cocoa types: Criollo from Madagascar (a), Forastero from Ghana (b), and Trinitario from Madagascar (c). Results are presented as means ± SD from triplicate assays. Different lowercase letters for the each cocoa group indicate statistically significant differences between different roasting conditions according to Tukey’s HSD test at p < 0.05. Different capital letters indicate statistically significant differences between different cocoa groups according to Tukey’s HSD test at p < 0.05

The present results indicate that roasting significantly (p < 0.05) affected the composition of cocoa beans, with the effects being dependent on the processing conditions and cocoa origin (Table 1). Total carbohydrate and protein content in all three cocoa groups gradually decreased as the roasting temperature increased from 110 to 150 °C by 0.3–19.9% and 3.7–27.1% of the initial content, respectively. All the investigated types of cocoa beans showed the same response patterns to thermal processing, with beans roasted at 110 °C exhibiting significantly greater (p < 0.05) carbohydrate and protein levels than those treated at higher temperatures. However, it was found that the greatest decrease in the content of carbohydrates caused thermal processing of Trinitario seeds, while the lowest reduction was observed in Criollo samples. Furthermore, the largest and smallest thermally induced reductions in protein content were found for Criollo and Forastero beans, respectively. In addition, lipid concentrations in roasted cocoa beans diverged from the unroasted samples. Thermal processing at 110 °C caused a slight decline in lipid content in all the analyzed cocoa groups. The most significant (p < 0.05) drop in total lipids was observed upon roasting Criollo beans at 120 °C and RH = 0.3%, while, in the other cocoa groups, the most pronounced decrease occurred during thermal treatment at 135 °C and RH = 0.3%. It was also found that the changes in lipid content depended on the roasting air humidity and were slightly less advanced when the RH was increased from 0.3 to 5.0%. This observation can be explained by the formation of the barrier on the surface of beans by steam contained in air that reduced the access of oxygen into the kernel [32]. Therefore, the lower oxygen concentration can slow down lipid oxidation rates. This conclusion was clearly supported by the fact that main factors responsible for lipids degradation are exposure to oxygen and high temperature during thermal processing [33]. In addition, as it was mentioned earlier, several recent studies indicate that lipid oxidation results in numerous reactive carbonyl compounds participating in carbonyl–amine reactions analogous to the Maillard pathways [21].

Besides differences in total carbohydrate content, there were also significant (p < 0.05) variations in the composition of free sugars in cocoa beans of different origins subjected to roasting in various conditions (Fig. 1). A marked decrease in free sugars was noted for almost all the analyzed cocoa samples after thermal treatment at all the tested temperatures. However, thermal processing of Criollo beans at 110 °C led to only a slight decrease in free sugar concentration (by 15.6–23.0% of the initial content). The greatest loss of free sugars in all the studied cocoa types (by 69.8–80.5%) occurred upon roasting at the higher temperatures (135 and 150 °C) and lower relative humidity (RH 0.3%). The observed decreases in fructose, glucose, and sucrose differed between the analyzed cocoa groups, and, depending on the processing conditions, were within the range of 19.6–95.8%, 7.9–72.9%, and 3.8–58.6%, respectively. These results are consistent with the data reported in the literature [33]. The roasting-induced decrease in free sugars content in cocoa beans may have occurred due to their thermal degradation with further dehydration and polymerization reactions with reactive intermediates. It may also be assumed that interactions between reducing sugars, such as fructose and glucose, with amino acids and proteins resulting in high-molecular-weight Maillard reaction products (MRPs). In the present study, the decline in fructose content was significantly greater (p < 0.05) than that of glucose and sucrose. This finding is in accordance with the fact that the reactivity of fructose was greater than glucose during thermal treatment under low-moisture conditions, probably due to its lower melting point and higher molecular mobility compared to glucose. Thus, fructose is more likely to undergo rapid condensation reaction with free amino groups to form the early Maillard reaction intermediates [20, 34].

Effect of roasting conditions on phenolic compounds composition of cocoa beans

As can be seen from Fig. 2, the three studied cocoa types exhibited statistically significant (p < 0.05) differences in terms of the 13 phenolic compounds and phenolic/amino acid conjugates which were identified and quantified in the raw and roasted beans of all origins; these were flavan-3-ols such as epicatechin, catechin, epigallocatechin, procyanidin dimers B1, B2, and B5, procyanidin trimer C1, and cinnamtannin tetramer A2 as well as N-phenylpropenoyl-l-amino acids (NPAs) including N-[3′,4′-dihydroxy-(E)-cinnamoyl]-l-aspartic acid (Caff-Asp), N-[4′-hydroxy-(E)-cinnamoyl]-l-aspartic acid (pC-Asp), N-[3′,4′-dihydroxy-(E)-cinnamoyl]-3-hydroxy-l-tyrosine (Caff-DOPA), N-[3′,4′-dihydroxy-(E)-cinnamoyl]-l-tyrosine (Caff-Tyr), and N-[4′-hydroxy-(E)-cinnamoyl]-l-tyrosine (pC-Tyr). The presence of these compounds in cocoa beans has already been described by other authors [26, 28]. The total amount of the investigated flavan-3-ols within the three cocoa types ranged from 746.77 mg/100 g DW in raw Criollo beans to 1482.89 mg/100 g DW in Forastero, with the differences being statistically significant (p < 0.05). The predominant flavan-3-ol in all studied cocoa beans was epicatechin (305.31–551.76 mg/100 g DW), followed by procyanidin B2 (120.54–255.11 mg/100 g DW), epigallocatechin (114.03–187.69 mg/100 g DW), procyanidin C1 (84.65–193.08 mg/100 g DW), cinnamtannin A2 (55.96–238.64 mg/100 g DW), procyanidin B5 (40.16–97.16 mg/100 g DW), procyanidin B1 (12.97–31.24 mg/100 g DW), and catechin (11.55–28.22 mg/100 g DW). The present results are, therefore, within the range reported by other authors [26, 35]. Total flavan-3-ol content decreased significantly (p < 0.05) after thermal treatment of all studied cocoa types (even at 110 °C), and ranged from 393.63 to 1116.07 mg/100 g DW (Fig. 2A), with the greatest and smallest differences being observed in Forastero and Trinitario samples, respectively. In particular, the roasting process was found to reduce the levels of epicatechin, epigallocatechin, procyanidins B1, B2, and B5, procyanidin C1, cinnamtannin tetramer A2, and to increase the content of catechin, as compared to the initial levels in unroasted beans. The most pronounced changes in the eight investigated flavan-3-ols for all three studied cocoa beans were observed upon roasting at 150 °C and RH 0.3%. Several authors have reported considerable roasting-induced reductions in flavan-3-ol content, depending on the cocoa variety and processing conditions [26, 35].

Fig. 2
figure 2

Content of flavan-3-ols (a) and N-phenylpropenoyl-l-amino acids (b) (mg/100 g DW) in cocoa beans, both raw and roasted at different temperatures and relative air humidities, for the following cocoa types: Criollo from Madagascar (a), Forastero from Ghana (b), and Trinitario from Madagascar (c). Results are presented as means ± SD from triplicate assays. Different lowercase letters for the each cocoa group indicate statistically significant differences between different roasting conditions according to Tukey’s HSD test at p < 0.05. Different capital letters indicate statistically significant differences between different cocoa groups according to Tukey’s HSD test at p < 0.05

The study also evaluated roasting-induced changes in NPA content. As can be seen from Fig. 2b, the sum of these phenolic/amino acid conjugates differed significantly (p < 0.05) between raw cocoa beans of different origins, with the highest total NPAs found for Criollo samples and the lowest for the Forastero (the results ranged from 390.24 to 262.56 mg/100 g DW). Furthermore, in all studied raw cocoa beans, the most abundant NPA was Caff-Asp (179.45–297.27 mg/100 g DW), followed by pC-Asp (41.78–76.61 mg/100 g DW), Caff-DOPA (6.77–20.55 mg/100 g DW), pC-Tyr (6.52–12.88 mg/100 g DW), and Caff-Tyr (3.07–7.91 mg/100 g DW). The obtained results are similar to the findings previously reported by other authors [28]. In all analyzed cocoa types, NPA levels were affected by roasting. Thermal treatment caused a gradual decrease in total NPAs in almost all analyzed samples (except for Criollo beans roasted at 110 °C). This is in agreement with Arlorio et al. [4], who reported a substantial decline in Caff-DOPA levels in roasted cocoa beans. Depending on the cocoa variety and thermal treatment conditions, NPA levels in roasted beans ranged from 67.8 to 120.7% of the initial value for Criollo to as little as 32.2–66.2% for Forastero. The sum of the five quantified NPAs in samples subjected to roasting in various conditions was from 84.59 mg/100 g DW for Forastero beans roasted at 135 °C and RH = 0.3% to 470.94 mg/100 g DW for Criollo beans roasted at 110 °C and RH = 5.0%.

The observed changes in flavan-3-ol and phenolic/amino acid conjugates levels largely depended on process air humidity (0.3–5.0%), being much lower at elevated RH. These results may be ascribed to slower degradation of polyphenols during bean roasting at lower temperatures and higher air humidity [26, 35]. The content of polyphenols may decrease due to the oxidation of these compounds into quinones and their further degradation, as well as the formation of complexes with proteins, polysaccharides, and other compounds during thermal treatment [26, 35]. Therefore, the limited oxygen access to nibs upon roasting under high relative air humidity may reduce the extent of oxidative polymerization reactions which normally result in a loss of polyphenols. These findings are consistent with the results reported by Sacchetti et al. [35], who noted that the oxidative polymerization of polyphenols and their interactions with other components of cocoa beans during roasting could also contribute to the development of brown polymeric compounds.

Effect of roasting conditions on the yield of high-molecular-weight compounds

The yield of the HMW fraction is an interesting index for assessing the possibility to extract and isolate water-soluble HMW compounds with potential industrial applications. As can be seen from Table 1, the yields of HMW material isolated from beans of different origins depended on the cocoa variety and roasting conditions. The amount of HMW compounds in raw beans ranged from 5.35 to 5.91 g/100 g DW. The HMW content of raw Criollo samples was higher than that of Forastero and Trinitario ones. The discrepancies in the results might be explained by various initial contents of carbohydrates and proteins in beans of different cocoa groups.

Differences in the content of HMW material in beans of the three examined cocoa groups, roasted under different temperature and relative air humidity conditions were significant (p < 0.05), with the determined values ranging from 5.03 to 6.04 g/100 g DW of roasted beans. To the best of our knowledge, this is the first paper reporting on the impact of roasting of cocoa beans on the amount of HMW compounds isolated by dialysis, so the present findings cannot be directly compared with the literature data. However, Bellesia and Tagliazucchi [11] and Pastoriza and Rufián-Henares [36] obtained higher yields of HMW compounds isolated by ultrafiltration from cocoa powder and chocolate, which may be explained by differences in the tested products, as well as in extraction and isolation methods.

The present results show that the cocoa cultivar and thermal processing conditions affect HMW compounds content in cocoa beans. For instance, thermal treatment at 110 and 120 °C slightly decreased HMW compounds yields (by 3.4–9.8%) as compared to their initial concentrations in raw samples. The greatest decrease in HMW compounds was caused by roasting at 120 °C for Criollo and Trinitario beans, and at 110 °C for Forastero samples. In contrast, after thermal treatment at 135 and 150 °C, the yields of HMW compounds either remained the same or slightly increased. This finding is in agreement with the results reported by Sacchetti et al. [35], who showed that the roasting of cocoa beans to reach approximately 2% humidity carried out for a short time at a high temperature (18 min at 145 °C) gave rise to more HMW melanoidins than processing at lower temperatures for a longer time (62 min at 125 °C). Furthermore, the amount of HMW material in roasted cocoa beans was found to depend on process air humidity (RH), being slightly higher at RH 0.3% than at RH 5.0% for the same temperatures. Irrespective of the cocoa variety, the highest increase in HMW compound content occurred when the beans were roasted at 150 °C and RH 0.3%. Similar to the results of this study, Bekedam et al. [37] reported that HMW compound yields decreased after roasting of green coffee beans to light-roasted beans and then gradually increased upon prolonged thermal treatment.

The decrease of HMW compounds content after thermal treatment at lower temperatures may be explained by the fact that the heat alters the structure of some macromolecules present in raw cocoa bean, including polysaccharides, proteins, and polyphenols [20, 38]. According to our results (Table 1; Fig. 1), the observed decline in HMW compounds after roasting at lower temperatures may be ascribed to the thermal decomposition of carbohydrates and proteins. Interestingly, the lower amounts of brown HMW melanoidins detected in cocoa beans roasted at 110 and 120 °C could be also connected with higher levels of phenolic compounds in those samples as compared to seeds roasted at higher temperatures (135 and 150 °C) (Fig. 2). The previous studies showed that epicatechin, the main phenolic compounds in cocoa beans, may inhibit the early stages of the Maillard reactions by targeting reactive intermediates, such as α-dicarbonyls [5, 39]. A recent study also revealed that the presence of polyphenols in cocoa beans reduces the extent of cross-linking of proteins via Maillard reactions upon roasting [5, 38].

On the other hand, increased amounts of HMW material at higher temperatures could be attributed to the formation of brown polymers, such as melanoidins, in the final stage of Maillard reaction [37]. These results are in accordance with the fact that the high temperature and intermediate water activity accelerates the rate of Maillard reactions [5]. As the main constituents of the investigated cocoa beans are lipids, followed by proteins, carbohydrates, and reducing sugars, melanoidins may be formed via amino acids and proteins reacting with reactive carbonyls derived from both lipid peroxidation and reducing sugars. In addition, during cocoa beans roasting, polysaccharides interact with proteins, polyphenols, and MRPs, resulting in the emergence of HMW condensation products [20]. Further oxidation of these products accelerates polymerization reactions between reactive intermediate compounds to form more complex chemical structures [35, 40].

Therefore, we assumed that the formation of HMW Maillard reaction products in cocoa beans requires elevated temperatures and lower relative air humidity. Moreover, the obtained results revealed that, regardless of thermal processing conditions, roasted Criollo beans exhibited higher levels of HMW compounds than samples of the other cocoa varieties, probably due to the higher levels of carbohydrates and lipids and lower content of flavan-3-ols. This hypothesis explains the phenomena of contrary effects of roasting conditions on the content of HMW compounds in different cocoa varieties found in the present study remarkably well.

Effect of roasting conditions on physicochemical properties of high-molecular-weight fractions isolated from cocoa beans

Chemical composition of high-molecular-weight fractions isolated from cocoa beans

Figure 3 shows the effects of different roasting conditions on the moisture, protein, and carbohydrate content of HMW fractions isolated from the three studied cocoa varieties. The moisture content of HMW fractions from the studied cocoa beans ranges from 4.40 to 5.99%. Proximal analysis of HMW material from raw beans revealed higher concentrations of proteins (19.48%) and carbohydrates (16.32%) in Forastero samples as compared to other cocoa groups. HMW fractions from Criollo and Trinitario beans exhibited almost identical protein content (14.91 and 14.55%, respectively), while their carbohydrate levels amounted to 8.08 and 9.70%, respectively.

Fig. 3
figure 3

Proximate composition of HMW fractions isolated from cocoa beans, both raw and roasted at different temperatures and relative air humidities, for the following cocoa types: Criollo from Madagascar (a), Forastero from Ghana (b), and Trinitario from Madagascar (c). Results are presented as means ± SD from triplicate assays. Different lowercase letters for the each cocoa group indicate statistically significant differences between different roasting conditions according to Tukey’s HSD test at p < 0.05. Different capital letters indicate statistically significant differences between different cocoa groups according to Tukey’s HSD test at p < 0.05

Thermal treatment of cocoa beans at temperatures in the range of 110–150 °C caused only minor changes in the moisture content of HMW samples. Our results also show that roasting of all studied cocoa beans over the entire temperature range led to a significant (p < 0.05) decrease in the protein and carbohydrate content of HMW material (by 2.6–24.1% and 6.8–49.3%, respectively), with the changes being also significantly (p < 0.05) modified by thermal treatment conditions and cocoa variety. The lowest decrease in protein and carbohydrate concentrations was caused by roasting at 110 °C, while the greatest changes were observed for HMW fractions obtained from almost all the investigated cocoa types roasted at 135 and 150 °C (except for Trinitario samples). In addition, the concentrations of proteins and carbohydrates were slightly higher at RH 0.3% than at RH 5.0% for the same temperatures. All the observations indicate that HMW melanoidin fractions isolated from roasted cocoa beans were rich in non-carbohydrate and non-protein compounds. We assumed that these results can be explained by the fact that chemically reactive intermediates formed during thermal carbohydrate decomposition, lipid oxidation, as well as polyphenol oxidative degradation are responsible for modifying nucleophilic amino acid side chains of proteins, resulting in the formation of more complex Maillard reaction products [37]. These findings are of relevance, because no data on carbohydrate and protein concentrations in HMW melanoidin fractions isolated from cocoa beans have been reported so far.

Content of free phenolic compounds of high-molecular-weight fractions isolated from cocoa beans

Several studies have reported that phenolic compounds are incorporated into the structure of HMW melanoidins formed during the heat treatment of coffee, bread, and honey [14, 16, 37]. Therefore, UHPLC–DAD–ESI–MS/MS analysis was performed to study the presence of free phenolic compounds (FPCs) in HMW melanoidin fractions obtained from all the tested cocoa bean samples, whether raw or roasted. Interestingly, FPCs were found in all of them, which may be partly due to non-covalent adsorption of phenolic compounds by HMW molecules, such as proteins, polysaccharides, and melanoidins, especially through hydrogen-bonding and ionic and hydrophobic or other intermolecular interactions [41]. Data on roasting-induced changes in the content of HMW fractions are summarized in Table 2. A total of four phenolic compounds were identified in HMW samples isolated from unroasted and roasted beans of the three investigated cocoa types. The melanoidin fraction contained mainly hydroxycinnamic acid-amino acid conjugates (NPAs) such as Caff-Asp and pC-Asp as well as flavan-3-ols, including epicatechin and procyanidin B2. Interestingly, we found that the share of FPCs in HMW fractions from both unroasted and roasted cocoa beans was rather low, with the total amount of these compounds ranging from 12.88 to 27.07 mg/100 g DW for raw samples. In HMW fractions from unroasted cocoa beans, the most abundant FPC was Caff-Asp, which accounted for 59.5–65.4% of total FPCs (8.42–17.68 mg/100 g DW). Procyanidin B2 and pC-Asp were the second and third most abundant FPCs, representing 17.1–17.5% (2.24–4.60 mg/100 g DW) and 15.3–16.4% (1.98–4.44 mg/100 g DW) of the total, respectively, whereas epicatechin was found only at low concentrations in HMW fractions from raw cocoa beans representing 1.3–7.2% (0.25–1.12 mg/100 g DW). These results suggest that the caffeic acid-amino acid conjugates possess enhanced affinity for proteins and other macromolecules, probably due to the presence of two hydroxyl groups in ortho positions on an aromatic ring of their molecules [42].

Table 2 Free phenolic compound content (mg/100 g DW) of the HMW fractions of raw and roasted cocoa beans of the Criollo, Forastero, and Trinitario groups originating from various geographical regions

Roasting led to substantial changes in the profile and levels of FPCs in HMW fractions. The total amount of these substances varied markedly depending on the cocoa variety and thermal treatment conditions, from 3.75 to 11.17 mg/100 g DW. FPC concentrations tended to decrease (42.8–75.9%) with increasing temperature, from 110 to 150 °C. In turn, relative air humidity levels (0.3% or 5%) did not have a significant effect (p > 0.05) on the content of these compounds. In almost all HMW fractions of roasted cocoa beans, Caff-Asp was the most abundant FPC (26.3–74.1%, or 0.98–7.52 mg/100 g DW), followed by procyanidin B2 (9.4–46.6%, or 0.78–2.39 mg/100 g DW), pC-Asp (10.9–16.4%, or 0.41–1.64 mg/100 g DW), and epicatechin (1.3–16.1%, or 0.15–1.04 mg/100 g DW). It was also found that, similar to the raw beans, the melanoidin fraction of roasted Criollo beans exhibited the highest FPC levels, followed by Forastero and Trinitario. Such differences could be explained by variations in the initial contents of individual phenolic compounds in cocoa beans. Among investigated samples, the highest NPAs levels were found in either raw or roasted Criollo beans (Fig. 2).

In the present work, thermal processing decreased the content of assayable FPCs in HMW fractions probably due to the formation of colored covalent complexes. This is in agreement with the results of other studies, which showed that phenolic compounds can be incorporated into the structure of melanoidins during heat treatment of coffee, bread, and honeys, by either non-covalent and covalent interactions [41]. According to the work of Prigent et al. [43], non-covalent binding ability between hydroxycinnamic acids and proteins decreases with increasing temperature. It is possible that the quinones generated by oxidation of phenolic compounds spontaneously form covalent bonds to functional groups of melanoidins during roasting. The oxidized polyphenols react with nucleophiles, such as amines via Michael-type addition or Schiff base reaction to form either amine—quinone adducts or benzoquinone imines. Quinones may also react with thiol groups on amino acids, peptides, and proteins to give thiol—quinone adducts [5].

CIE L*a*b* color characteristics of high-molecular-weight fractions isolated from cocoa beans

Roasting-induced changes in the color of HMW fractions from different cocoa beans were determined using the CIE L*a*b* system consisting of lightness (L*) and two chromaticity parameters (a* and b*). The CIE L*a*b* color parameters of HMW fractions from raw beans were dependent on the cocoa variety. The lightness of HMW fractions ranged from 52.97 to 60.32 (Fig. 4), while the redness (a*) and yellowness (b*) were 12.73–13.84 and 21.00–23.83, respectively. HMW isolates from raw Forastero beans exhibited higher L* values and lower chromaticity values (both a* and b*) than those from raw Criollo and Trinitario beans, which could be attributed to different concentrations and nature of pigments in HMW fractions, that is, proanthocyanidins, tannin–anthocyanin adducts, and tannin–protein complexes.

Fig. 4
figure 4

CIE L*a*b* color parameters of HMW fractions isolated from cocoa beans, both raw and roasted at different temperatures and relative air humidities, for the following cocoa types : Criollo from Madagascar (a), Forastero from Ghana (b), and Trinitario from Madagascar (c). Results are presented as means ± SD from triplicate assays. Different lowercase letters for the each cocoa group indicate statistically significant differences between different roasting conditions according to Tukey’s HSD test at p < 0.05. Different capital letters indicate statistically significant differences between different cocoa groups according to Tukey’s HSD test at p < 0.05

Thermal processing of cocoa beans considerably influenced the CIE L*a*b* characteristics of HMW melanoidin isolates (Fig. 4). The L* values for all three cocoa varieties decreased significantly (by 6.2 to 23.8%) with a temperature increase from 110 to 150 °C as a result of Maillard reactions and caramelization, which are non-enzymatic browning processes. CIE L*a*b* color parameters were also strongly influenced by roasting conditions. In general, higher temperatures (135 or 150 °C) and lower air humidity (RH = 0.3%) brought about a darker color (lower L* value) in HMW fractions. The lighter color (higher L*) of the HMW isolates from cocoa beans roasted at RH 5.0% may be due to a lower rate of oxidation reactions and further condensation of polyphenols. This may be explained by the formation of a protective barrier around the beans by the moisture contained in the air, reducing oxygen penetration.

Our results showed that thermal treatment temperatures between 110 and 150 °C generally caused a decrease in the a* and b* parameters of HMW fractions isolated from beans of the three cocoa types (except for Trinitario samples roasted at 110 °C). While process air humidity also influenced the chromaticity values of the HMW isolates, the effects were less pronounced. In addition, Summa et al. [44] reported that HMW fractions (> 30 and 30–10 kDa) isolated by ultrafiltration from pre-roasted (80–90 °C for 10 min) and roasted (130–160 °C for 15–20 min) cocoa beans had significantly (p < 0.05) lower CIE L*a*b* values than those obtained from the raw beans. These results are in line with the findings of Nicoli et al. [40], who reported that lower lightness, redness, and yellowness were associated with brown color development during the roasting of coffee beans.

Browning index and fluorescence intensity of high-molecular-weight fractions isolated from cocoa beans

The effects of roasting conditions on the browning index (absorbance at 420 nm) and fluorescence intensity of HMW fractions are shown in Fig. 5. Absorbance measurements at 405 and 420 nm were done to quantify the brown pigments that were formed in the final stage of Maillard reactions [17]. The present results showed that the intensity of the brown color and fluorescence of HMW fractions from roasted beans was higher than in the case of unroasted beans. The observed increase (by 1.4 up to 78.0%) in the browning index of HMW fractions from roasted beans depended on the cocoa variety, with the highest changes observed for Trinitario, followed by Criollo and Forastero. In Forastero beans, these changes were statistically significant (p < 0.05) only at the higher roasting temperatures. The greatest increment in the browning index of HMW isolates was caused by roasting at 150 °C for Criollo and Forastero beans and at 135 °C for Trinitario beans. A comparison of HMW isolates from cocoa beans roasted at different air humidities (0.3 and 5.0%) revealed that the browning index was slightly higher in samples subjected to thermal processing at lower relative air humidity (RH 0.3%). In addition, Żyżelewicz et al. [45] reported that melanoidin formation, reflected by a significant (p < 0.05) increase in absorbance at 420 nm, was enhanced by thermal treatment at RH 0.3% as compared to RH 5.0%. Aforementioned relation suggests higher browning reaction rates under low RH conditions. The present data also show that the fluorescence intensity of melanoidin fractions from roasted beans increased significantly (13.2–111.7%, p < 0.05) as compared to raw samples. The smallest increments were observed for 110 °C and RH 5.0%, while the greatest fluorescence increase was recorded for Criollo and Trinitario varieties after thermal treatment at 150 °C and RH 0.3%; in the case of Forastero, the most pronounced increase was observed for 135 °C and RH 0.3%.

Fig. 5
figure 5

Browning index (absorbance at 420 nm) (A) and fluorescence intensity (B) of HMW fractions isolated from cocoa beans, both raw and roasted at different temperatures and relative air humidities, for the following cocoa types: Criollo from Madagascar (a), Forastero from Ghana (b), and Trinitario from Madagascar (c). Results are presented as means ± SD from triplicate assays. Different lowercase letters for the each cocoa group indicate statistically significant differences between different roasting conditions according to Tukey’s HSD test at p < 0.05. Different capital letters indicate statistically significant differences between different cocoa groups according to Tukey’s HSD test at p < 0.05

The significant increases in the browning and fluorescence intensities of HMW fractions caused by roasting at 110–150 °C and relative air humidity of 0.3 or 5.0% were correlated with decreased L* levels (R2 = − 0.729, p < 0.001; R2 = − 0.860, p < 0.001, respectively), which provides evidence that the polymerization reactions between reactive fluorescent intermediates occurring during thermal treatment of cocoa beans contribute to the generation of fluorescent and colored polymers absorbing light at 400–450 nm [20].

Molecular weight distribution of high-molecular-weight fractions isolated from cocoa beans

Roasting-induced changes in the molecular weight distribution of HMW cocoa fractions were estimated by high-performance size-exclusion chromatography (HPSEC). HPSEC-UV chromatograms were recorded at 280 and 420 nm, as is typical for the detection of proteins, polyphenols, and melanoidins in food samples [17]. Unfortunately, the exact molecular weight of melanoidins cannot be determined by HPSEC, because their structures are not fully elucidated. In HPSEC, the analytes are separated according to their molecular size (hydrodynamic volume), with large molecules having shorter retention times (higher hydrodynamic volume) and smaller molecules having longer retention times. However, analytes with the same molecular weight can have different hydrodynamic volumes due to differences in their molecular structure [46]. Despite these disadvantages preventing exact molecular size determination, HPSEC can be a very useful tool for comparing the elution behavior of melanoidin fractions from different samples.

Figure 6 illustrates the effects of temperature and process air humidity on the HPSEC elution profiles of HMW isolates obtained from the studied cocoa beans. The HPSEC chromatograms obtained for raw beans of the three cocoa groups were similar; each displayed a single broad peak in the range of 15.4–21.6 min with few distinguishing features. The result indicated that the molecular weight distribution of HMW fractions obtained from raw cocoa beans ranged from very high (> 100 kDa) to low MW compounds (< 17 kDa), according to the standard peaks. This high heterogeneity could be related to the complex composition of HMW material obtained from a real food matrix. Based on the above results, it could conclude that HMW fraction of raw cocoa beans consists of a wide range of different compounds, including polymerized forms of proteins, polysaccharides, proanthocyanidin–protein complexes, and products of protein breakdown, generated during fermentation and drying [20]. Similar results were obtained by De Marco, Fischer, and Henle [14] who reported that the molecular weight distribution of HMW fraction (above 10 kDa) obtained from green coffee beans ranged from 22 to 446 kDa.

Fig. 6
figure 6

HPSEC chromatograms (420 nm) of HMW fractions isolated from cocoa beans, both raw and roasted at different temperatures and relative air humidities, for the following cocoa types: Criollo from Madagascar (a), Forastero from Ghana (b), and Trinitario from Madagascar (c). The standard protein mix contained proteins of different molecular weights: bovine thyroglobulin, 670 kDa; IgA, 300 kDa; IgG, 150 kDa; ovalbumin, 44 kDa; myoglobin, 17 kDa

The HPSEC results demonstrate that roasting induces significant (p < 0.05) changes in the molecular weight distribution of melanoidin fractions obtained from cocoa beans (Fig. 6). In addition, the effect of thermal treatment varied between different cocoa groups. The HPSEC chromatograms of HMW fractions isolates from roasted cocoa beans clearly showed a multimodal molecular weight distribution. As can be seen, new distinct peaks appear in the HPSEC chromatograms of the HMW materials from roasted samples. After roasting at 110 and 120 °C, the majority of components of HMW fractions from Forastero and Trinitario beans were eluted between 16.9 and 19.1 min as three distinct sharp peaks. In turn, the HPSEC chromatograms of HMW fractions from Criollo beans roasted at 110 and 120 °C showed two broader peaks. The first peak of HPSEC chromatograms gradually shifted to a longer elution time, and the area under this peak increased with roasting temperature (from 110 to 150 °C). On the other hand, the areas of the other peaks increase without a significant (p > 0.05) change in their position of the HPSEC chromatograms. In general, the shift of the first peak to lower molecular weight and a marked increase in its height observed after roasting may be ascribed to the thermal decomposition of the large molecules, like carbohydrates and proteins, as well as the appearance of colored macromolecules in the HMW fractions. Thermal treatment of all the analyzed cocoa groups at higher temperatures (135 and 150 °C) led to a further shift and the broadening of the first peak in HPSEC chromatograms of HMW fractions. It was also observed that the ratio of areas under the first and the second peaks changed significantly (p < 0.05) between roasting at 135 and 150 °C. At the higher temperature, the area under the first peak significantly increased, while that under the second peak slightly decreased. The other peaks were eluted at almost the same retention times, but the area under these peaks slightly increases as temperature of roasting increased from 110 to 150 °C. The present results show that, although the molecular weight distribution of HMW fractions from cocoa beans roasted at the same temperatures but different air humidities was not significantly different (p > 0.05), the area under the first peak was larger at RH 0.3%. These results suggested that roasting at elevated temperatures (135 and 150 °C) and lower relative air humidity (RH 0.3%) could induce polymerization reactions between colored LMW compounds to form HMW Maillard reaction products absorbing light at 420 nm [17]. What is noteworthy, for HMW samples of all cocoa varieties, the greatest area under the first peak corresponding to the newly produced brown macromolecules was observed upon roasting at 150 °C (49.3–51.2%). It was found that the amount of newly formed polymers increased with temperature, in line with CIE L*a*b*, browning index, and fluorescence measurements (Figs. 4, 5). This finding is also consistent with the work of De Marco, Fischer, and Henle [14] who reported that the average molecular weight of the melanoidin peak increased with the temperature and time of thermal treatment. They also found that the area under this peak grew gradually in the process of roasting, along with increasing absorbance at wavelengths that are generally considered specific to melanoidins.

Conclusions

The results presented in this study clearly demonstrated that the roasting of cocoa beans at temperature above 135 °C and relative air humidity of 0.3% led to significantly greater formation of HMW Maillard reaction products. Our data showed, for the first time, that increasing roasting temperatures and decreasing relative air humidity tended to reduce the content of carbohydrates, proteins, and free phenolics in HMW melanoidins fractions. As a consequence, the observed differences in the CIE L*a*b* color characteristics, browning, and fluorescence intensities, as well as molecular weight distribution between HMW fractions from raw and roasted beans show that roasting may affect the functional properties of these fractions in different ways, depending not only on the cocoa variety, but also on the process temperature and relative air humidity.

Therefore, the results from this study provide a better understanding the effects of roasting conditions on the physicochemical characteristics of HMW melanoidin fractions of different varieties of cocoa beans and show possibility of modifying their content in cocoa-derived products by choosing an appropriate cocoa variety and thermal processing conditions.