Krzysztof Gwardys has a total of 11 co-authors. Here are the top co-authors by number of shared publications:


Latest Publications

  • Open Access

    Deep Learning-Assisted Microscopy Reveals Progressive Supramolecular Remodeling and Colloidal Reorganization of Bovine Milk Induced by Centrifugation

    by Kamila Puppel, Dawid Niemiec, Grzegorz Grodkowski, Piotr Kostusiak, Wojciech Mendelowski, Jan Slósarz, Marcin GołęBiewski, Kosma Jagodziński, Krzysztof Gwardys

    Bovine milk represents a highly complex colloidal system whose physicochemical stability depends on the organization of milk fat globules, casein micelles, membrane-associated phospholipids, and somatic cellular components. Mechanical separation procedures such as centrifugation induce redistribution of dispersed colloidal fractions and structural perturbations within the milk matrix, potentially enabling fraudulent reduction of somatic cell count while preserving bulk compositional parameters. In the present study, we investigated whether advanced deep learning architectures could identify centrifugation-associated structural alterations in bovine milk using microscopy image representations. A total of 16,472 microscopy images obtained from centrifuged and non-centrifuged milk samples were analyzed using Swin Transformer V2 and ConvNeXt-Base architectures. Both models successfully detected centrifugation-associated structural perturbations and substantially outperformed the previously analyzed InceptionC baseline. ConvNeXt-Base achieved 87.30% classification accuracy together with 86.85% balanced accuracy and 86.59% harmonic average of recalls following totalogit aggregation. Importantly, Swin Transformer V2 demonstrated strong monotonic relationships between logit metrics and centrifugation ratio (r = 0.640–0.651, p < 0.01), indicating sensitivity to progressive image-level changes associated with increasing centrifugation ratio. Collectively, the obtained findings demonstrate that microscopy-derived deep learning representations capture structural information associated with centrifugation-induced changes in bovine milk, supporting the applicability of AI-assisted microscopy for detecting processing-related alterations in complex dairy systems.

  • Open Access

    Molecular Remodeling of Milk Fat Globules Induced by Centrifugation: Insights from Deep Learning-Based Detection of Milk Adulteration

    by Grzegorz Gwardys, Grzegorz Grodkowski, Piotr Kostusiak, Wojciech Mendelowski, Jan Slósarz, Michał Satława, Bartłomiej Śmietanka, Krzysztof Gwardys, Marcin Gołębiewski, Kamila Puppel

    Milk adulteration through centrifugation, which artificially reduces the somatic cell count (SCC), represents a significant challenge to food authenticity and public health. This fraudulent practice alters the native molecular architecture of milk, masking inflammatory conditions such as subclinical mastitis and distorting product quality. Conventional analytical and microscopic techniques remain insufficiently sensitive to detect the subtle physicochemical changes associated with centrifugation, highlighting the need for molecular-level, data-driven diagnostics. The dataset included 128 paired raw milk samples and approximately 25,000 bright-field micrographs acquired across multiple microscopes, of which 95% were confirmed to be of high quality. In this study, advanced machine learning (ML) and deep learning (DL) approaches were applied to identify centrifugation-induced alterations in raw milk microstructure. Bright-field micrographs (pixel size 0.27 µm) of paired unprocessed and centrifuged samples were obtained under standardized optical conditions and analyzed using convolutional neural networks (ResNet-18/50, Inception-v3, Xception, NasNet-Mobile) and hybrid attention architectures (MaxViT, CoAtNet). Model performance was evaluated using the harmonic average of recalls across five micrographs per sample (HAR5). Human microscopy experts (n = 4) achieved only 18% classification accuracy—below the random baseline (25%)—confirming that centrifugation-induced modifications are not visually discernible. In contrast, DL architectures reached up to 97% accuracy (HAR5, Xception), successfully identifying subtle molecular cues. Class activation and sensitivity analyses indicated that models focused not on milk fat globule (MFG) boundaries but on high-frequency nanoscale variations related to the reorganization of casein micelles and solid non-fat fractions. The findings strongly suggest that centrifugation adulteration constitutes a molecular reorganization event rather than a morphological alteration. The integration of optical microscopy with AI-driven molecular analytics establishes deep learning as a precise and objective tool for detecting fraudulent milk processing and improving food integrity diagnostics.