PathoGen: enhancing histopathological data with diffusive inpainting

Discover PathoGen, the diffusion model that generates realistic lesions in histopathological images. Improve segmentation and overcome data scarcity for

jueves, 2 de julio de 2026 • 3 min read • Q2BSTUDIO Team

Generating realistic lesions to overcome data scarcity in pathology

Artificial intelligence is transforming medicine, but one of its greatest challenges remains the scarcity of expert-annotated data, especially in rare pathologies. In histopathology, where diagnosis is based on tissue analysis, obtaining enough samples with real labeled lesions is extremely costly and sometimes impossible. Recently, a research team has presented a generative diffusion-based model called PathoGen, which allows inserting high-fidelity synthetic lesions into benign histopathology images. This diffusive inpainting technique not only generates realistic morphologies but also preserves the specific tissue architecture of each organ, such as kidney, skin, breast, or prostate. Validation with six pathologists showed that they could barely distinguish synthetic images from real ones (57.75% accuracy), demonstrating extraordinary perceptual realism. Furthermore, when training segmentation models with datasets augmented using PathoGen, Dice scores improved by up to 0.18 compared to traditional augmentations, especially benefiting low-data scenarios.

From a business perspective, this innovation opens the door to artificial intelligence solutions for healthcare companies that need to overcome the barrier of limited data. At Q2BSTUDIO, as a software and technology development company, we understand that adopting generative models like PathoGen requires careful integration with existing systems and efficient deployment on cloud infrastructure. That is why we offer artificial intelligence services for businesses that range from building custom applications to implementing AI agents capable of automating complex workflows. Likewise, our teams develop custom software to adapt these algorithms to specific domains, ensuring that each solution meets the required quality and security standards. Cybersecurity is another fundamental pillar when handling sensitive medical data; therefore, our platforms rely on AWS and Azure cloud services to ensure regulatory compliance and scalability. Additionally, the visualization and analysis of results obtained with these models can be enriched through business intelligence services like Power BI, transforming complex data into accessible dashboards for clinical decision-making.

The case of PathoGen illustrates how deep learning research can be translated into practical applications that solve real bottlenecks. The ability to generate not only realistic synthetic images but also their pixel-level annotations drastically reduces manual labeling costs and accelerates the development of computer-aided diagnostic tools. In an environment where data availability is asymmetric, having a technology partner that offers both custom application development and the right cloud infrastructure becomes key. At Q2BSTUDIO, we combine expertise in artificial intelligence, custom software, and AWS and Azure cloud services to help hospitals, laboratories, and pharmaceutical companies implement digital pathology solutions safely and efficiently. Integrating these capabilities allows not only replicating advances like PathoGen but also adapting them to specific needs, such as early disease detection or patient stratification.

Ultimately, the future of personalized medicine depends on the ability to generate and exploit high-quality synthetic data. The combination of advanced generative models with a comprehensive technology strategy—ranging from AI agent development to business intelligence—will enable healthcare organizations to overcome current limitations. At Q2BSTUDIO, we are ready to accompany this process, offering solutions that go beyond point implementation: we build robust and scalable digital ecosystems based on AWS and Azure cloud services, with special attention to cybersecurity and usability. Histopathology augmented with artificial intelligence is not just a laboratory promise; it is a technical reality that, with the right support, can transform clinical practice worldwide.

A BREAK?

Play for a moment before you go

OUR SERVICES

How we can help you

Do you have a project in mind?

Tell us your vision and we'll turn it into a software solution. Whatever the scope, we make your idea real.