← Latest papers
💻 computer science

LungColonCancerPred-NN: A Neural Network Approach for Lung and Colon Histopathology Prediction

The paper introduces LungColonCancerPred-NN, a compact triple-branch neural network that achieves state-of-the-art 99.25% accuracy in five-class lung and colon histopathology classification by addressing data leakage in the LC25000 benchmark through a rigorous augmentation-family-based evaluation protocol.

Original authors: outhman abbassi, Zeyneb Belganche, Wajih Rhalem, Nassim Kharmoum

Published 2026-11-10
📖 5 min read🧠 Deep dive

Original authors: outhman abbassi, Zeyneb Belganche, Wajih Rhalem, Nassim Kharmoum

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

Every year, millions of people are diagnosed with cancer, and two of the most common and deadly forms affect the lungs and the colon. When a doctor suspects these diseases, they rely on a pathologist to examine tiny slices of tissue under a microscope. These slices are stained with special dyes that turn cell nuclei purple and other parts pink, creating a complex map of the body's microscopic architecture. The pathologist's job is to read this map, distinguishing between healthy tissue and cancer, and then identifying exactly what kind of cancer it is. This is a critical task because the treatment for one type of lung cancer is often different from another, and the difference between a benign growth and a malignant one determines whether a patient needs surgery or chemotherapy. However, this process is slow, difficult, and depends entirely on the availability of highly trained human experts.

For years, scientists have tried to teach computers to read these microscopic maps, hoping to create a tool that can assist doctors or even work independently. They use large collections of digital images to train these computer programs, known as neural networks, to recognize patterns. But there is a hidden trap in how these collections are often built. Many of the images used for training are not unique photographs of different patients. Instead, they are created by taking a single original image and digitally rotating it, flipping it, or slightly shifting it to create many new versions. If a computer program is tested on an image that is just a flipped version of one it has already seen during training, it might get the answer right not because it understands the disease, but simply because it recognizes the picture. This flaw, known as data leakage, has made it difficult to know if these computer programs are truly learning to diagnose cancer or just memorizing the test.

A team of researchers at Mohammed V University in Morocco has now addressed this problem directly. They built a new computer system called LungColonCancerPred-NN and tested it using a much stricter method than has been used before. Instead of randomly shuffling the images, they carefully grouped them by their original source. They started with two large public collections of tissue images, totaling 40,000 files. First, they removed thousands of exact duplicates where the same digital file appeared twice. Then, they looked for the "families" of images that came from the same original patient sample. Using a smart system that understands how images look the same even when rotated or flipped, they grouped all these related images together. They then made sure that no group of related images was split between the training set and the test set. This meant the computer had to learn to recognize the disease from scratch, without ever seeing a near-copy of the test images during its training.

The computer system they built is surprisingly compact, containing about 5.8 million adjustable settings, which is small enough to run on a standard graphics card. It works by looking at the tissue images through three different "lenses" simultaneously. One lens focuses on the general texture and color of the cells, much like a human eye scanning for overall patterns. A second lens looks for specific shapes and groups of cells that are similar to each other, even if they are far apart in the image, allowing it to connect scattered parts of a tumor. The third lens pays attention to the exact location of every cell, understanding how the tissue is organized in space. A special mechanism then weighs the information from all three lenses for each image, deciding which view is most important before making a final decision.

When the researchers tested this system on 5,497 images that it had never seen before, the results were remarkably accurate. The computer correctly identified the tissue type in 99.25% of the cases. More importantly, it never made the most dangerous mistake: it never labeled a cancerous tissue as healthy. It did make a few errors, but they were mostly in confusing two specific types of lung cancer with each other, a challenge that even human pathologists sometimes face and require additional tests to resolve. The system also correctly identified which organ the tissue came from in nearly every case. When compared to other recent computer programs tested on the same dataset, this new system performed better, even though it was solving a harder problem by distinguishing five different types of tissue instead of just three.

The success of this work lies not just in the high accuracy, but in the way the test was designed. By ensuring that the test images were truly new and not just copies of the training data, the researchers proved that their system actually learned to recognize the biological features of cancer. They found that the computer's confidence in its answers was well-calibrated, meaning it knew when it was unsure. This approach offers a clearer path forward for developing artificial intelligence in medicine, showing that with careful testing, these tools can move beyond simple pattern matching to become reliable assistants for doctors. The researchers plan to test their system on a completely different set of images from a different hospital to see if it can handle real-world variations, a crucial step before such technology could ever be used to help patients.

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 →