← Latest papers
💻 computer science

Practical applications of neural network with Kolmogorov-Arnold layers in spectral analysis

This paper demonstrates that a CNN-KAN neural network architecture effectively performs automated spectral analysis for diverse food quality and packaging applications, including adulteration detection, species recognition, and polymer classification, even when working with limited samples or low-resolution data.

Original authors: Tomasz Urbańczyk, Jarosław Koperski, Marek Krośnicki

Published 2026-10-29
📖 6 min read🧠 Deep dive

Original authors: Tomasz Urbańczyk, Jarosław Koperski, Marek Krośnicki

Original paper licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). ✨ This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer

In the quiet hum of a laboratory, light often tells a story that the human eye cannot see. When a beam of infrared light passes through a substance, the molecules within that substance absorb specific frequencies, creating a unique pattern of peaks and valleys known as a spectrum. This pattern acts as a chemical fingerprint, revealing exactly what the material is made of. For decades, scientists have relied on these fingerprints to identify everything from the purity of a medicine to the type of plastic in a bottle. However, reading these complex patterns by hand is slow and prone to error. In recent years, researchers have turned to artificial intelligence to automate this process, training computer programs to recognize these chemical signatures with speed and precision. While standard computer models have become quite good at this, a new approach is emerging that promises to be even more efficient, particularly when the data is messy, scarce, or difficult to read.

A team of researchers from Poland has put this new approach to the test in a series of practical experiments involving food safety and material science. They focused on a specific type of neural network architecture that combines traditional convolutional layers with a newer component called Kolmogorov-Arnold layers. To understand the difference, imagine a standard computer neuron as a worker who receives a list of numbers, multiplies them by fixed weights, adds them up, and then passes the result through a single, rigid filter. In contrast, the Kolmogorov-Arnold neuron acts more like a flexible instrument; instead of using a fixed filter, it learns a unique, curved mathematical function for every single input it receives. This allows the network to adapt its internal logic much more fluidly to the specific shape of the data it is analyzing. The researchers wanted to see if this flexible design could outperform the standard, rigid design when faced with real-world challenges like small sample sizes, low-resolution data, and the need to distinguish between many different categories at once.

To test their theory, the team gathered four distinct sets of data, each representing a different real-world problem. The first challenge involved detecting fraud in strawberry purée. In this scenario, the goal was to determine if a jar of expensive strawberry puree had been secretly mixed with cheaper ingredients like apple purée or sugar. The data provided for this task was difficult; the spectra were short, containing only 235 data points, and the collection of samples was unbalanced, with far more examples of adulterated food than pure food. Despite these hurdles, the new network architecture successfully identified the adulterated samples. It performed slightly better than the standard model, achieving a higher accuracy rate even when the training data was limited and the signal was weak. This suggests that the flexible nature of the Kolmogorov-Arnold layers helps the model find subtle chemical clues that a rigid model might miss.

The second experiment pushed the limits of data availability even further. The researchers turned to the classification of coffee species, specifically trying to distinguish between Robusta and Arabica beans based on their infrared spectra. This dataset was incredibly small, containing only 28 samples for training and 28 for testing. In the world of machine learning, such a tiny dataset is usually considered insufficient for training a complex computer model. Yet, the new architecture managed to learn the difference between the two coffee types effectively. It demonstrated that this type of network does not necessarily require massive amounts of data to find a pattern, making it a promising tool for situations where collecting hundreds or thousands of samples is impossible or too expensive.

Moving from food to industry, the team tackled the classification of plastic polymers, a critical task for recycling and waste management. Here, the goal was to sort six different types of common plastics, including polyethylene terephthalate (PET) and polyvinyl chloride (PVC). This was a more complex task because the model had to choose between six categories rather than just two. The dataset was large and balanced, containing 3,000 spectra in total. The new network architecture handled this multiclass problem with high effectiveness, correctly identifying the plastic type in the vast majority of cases. The results confirmed that the system is not just good at simple yes-or-no questions but is also robust enough to handle the nuanced differences between multiple similar materials.

Finally, the researchers tested the system's ability to perform non-invasive measurements, a technique that allows analysis without opening a container. They used visible and near-infrared light to determine the alcohol concentration in sealed bottles of beverages. The challenge here was that the light had to pass through the glass bottle, and the shape and material of the bottle itself could interfere with the reading. The dataset included four different alcohol concentrations, and the test set used bottles that were different from those in the training set to ensure the model was learning about the liquid, not the container. The network successfully identified the alcohol levels, proving that it could filter out the noise of the bottle to focus on the chemical signature of the liquid inside. This capability points toward a future where quality control could happen instantly at a store shelf without breaking the seal.

Across all four experiments, the researchers compared their new Kolmogorov-Arnold network against a standard convolutional neural network. To ensure a fair comparison, they matched the number of adjustable parameters in both models, meaning the new model was not simply larger or more complex, but structurally different. In every case, from the tiny coffee dataset to the large plastic dataset, the new architecture performed as well as or better than the standard model. The results were consistent across multiple training runs, with the new network showing a slight but reliable edge in accuracy. The study concludes that this architecture is a versatile tool for spectral analysis, capable of handling everything from low-resolution food fraud detection to complex industrial sorting. It offers a path forward for automating chemical analysis in situations where data is scarce, noisy, or difficult to obtain, potentially making quality control faster and more accessible in the real world.

Drowning in papers in your field?

Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.

Try Digest →