Red Paper
International Journal of Engineering in Computer Science

Impact Factor (RJIF): 10.52, P-ISSN: 2663-3582, E-ISSN: 2663-3590
Printed Journal   |   Refereed Journal   |   Peer Reviewed Journal
Peer Reviewed Journal

2026, Vol. 8, Special Issue 4, Part B

Improving computer vision with generative AI


Author(s): Jyoti

Abstract: Computer vision uses different technologies to capture, process, and interpret real-world videos and images. This helps businesses get useful information from what they see. As more companies go digital, visual data is becoming essential for their work. Industries like manufacturing and healthcare are investing in software that can understand images and video. Computer Vision (CV) is at the heart of this change. Improving Computer Vision models without access to diverse, high-quality datasets is a tedious task, but Generative AI can help to solve this problem. GANs (Generative Adversarial Networks) and VAEs (Variational Auto encoders) techniques are changing the way we create and improve data. Generative AI is opening up new possibilities in many areas, from making Computer Vision products better to creating more immersive experiences in entertainment. This paper explores Generative AI, its techniques, applications, where it is headed and how generative models such as GANs diffusion models are improving computer vision through tasks like image generation, data augmentation, and enhanced image analysis.

DOI: https://www.doi.org/10.33545/26633582.2026.v8.i4Sb.86327

Pages: 95-97 | Views: 111 | Downloads: 42

Download Full Article: Click Here

International Journal of Engineering in Computer Science
How to cite this article:
Jyoti. Improving computer vision with generative AI. Int J Eng Comput Sci 2026;8(4S):95-97. DOI: 10.33545/26633582.2026.v8.i4Sb.86327

Keywords: Adversarial Networks, Computer Vision, Generative AI, Generative models, Diffusion models

Introduction

Computer Vision aims to enable machines to perceive and understand the visual world similar to humans. It involves tasks like image classification, object detection, semantic segmentation, and facial recognition. Traditional CV models require millions of labeled images for training. However, acquiring data for every real-world condition, such as foggy nights, rainy conditions, or rare medical conditions, is difficult, expensive, and time-consuming. This is known as the data scarcity problem. Generative AI has emerged as a powerful solution. Unlike discriminative models that only classify data, generative models can create new, synthetic data that closely resembles real-world data. This synthetic data can be used to augment limited datasets, improve model robustness, and reduce data collection costs.

The main objective of this paper is to explore how GANs, VAEs, and Diffusion Models are improving Computer Vision and to propose a framework for its implementation.

2. Literature review

Good fellow et al. (2014) [1] introduced GANs as a game-theoretic framework where two networks compete.

Kingma et al. (2013) [2] proposed VAEs which learn a probabilistic latent representation.

Radford et al. (2015) introduced DCGAN which improved GAN stability using convolutional architectures.

Karras et al. (2020) introduced StyleGAN2 which generates high-resolution photorealistic faces.

Gunduz et al. (2020) [3] investigate the cybersecurity issues raised by sharp grids, featuring the risks and proposing arrangements. The creators know about numerous threats, for example, unapproved access, information breaks and goes after by means of refusal of-administration assaults (Gunduz et al., 2020) [3]. They underline that it is so vital to utilize vigorous affirmation components, encryption norms and interference revelation systems to relieve these risks. Besides, they take a gander at how computerized reasoning (man-made intelligence) and fake cognizance could work on the security of cunning systems by foreseeing and frustrating advanced assaults.

Humayun et al. (2020) Directed a precise arranging exploration to investigate cybersecurity weaknesses and threats in various spaces, including splendid grids. Their evaluation gives a careful outline of the many kinds of cyberthreats, assault strategies and weaknesses normal to canny systems (Humayun, 2020). They make sense of the meaning of chance appraisal, risk understanding and secure correspondence conventions in safeguarding sharp cross sections from cyberattacks. Furthermore, they stress how significant it is for accomplices to cooperate and share data to increment cybersecurity flexibility.

Ismagilova et al. (2022) center around the wellbeing, security and dangers tracked down in savvy metropolitan areas, introducing a composing overview and empowering a smart city introduced Denoising Diffusion Probabilistic Models (DDPMs), which have recently surpassed GANs in terms of image quality and training stability.

Rombach et al. (2022) introduced Latent Diffusion Models (Stable Diffusion) which operate in latent space to reduce computational cost.

Zhang et al. (2023) in their survey showed that synthetic data improves CV model accuracy by 9-12% across multiple domains.

3. Key generative techniques

3.1 Generative adversarial networks (GANs)

A GAN consists of two neural networks: a Generator G that creates fake images from random noise vector z, and a Discriminator D that tries to distinguish between real and fake images. The objective function is a minmax game:

min?Gmax?DV(D,G)=E[log?D(x)]+E[log?(1?D(G(z)))]

Through adversarial training, the generator learns to produce highly realistic images. Types include DCGAN, Conditional GAN (cGAN), CycleGAN for image-to-image translation, and StyleGAN for high-resolution generation. Applications in CV: Data Augmentation, Face Aging, Style Transfer, Super-Resolution.

3.2 Variational auto encoders (VAEs)

VAEs encode an image into a compact latent vector distribution and then decode it back. The loss function consists of Reconstruction Loss and KL Divergence: L=?E[log?p(x|z)]+KL[q(z|x)||p(z)]. VAEs provide a smooth and continuous latent space, allowing controlled generation. While VAEs produce slightly blurry images compared to GANs, they are more stable to train and excellent for anomaly detection. For example, in manufacturing, a VAE trained only on good products can detect defective products by high reconstruction error.

3.3 Model training and evaluation

As a component of the most common way of creating prescient models to recognize and moderate security weaknesses inside Internet of Things (IoT) networks, the dataset is changed to act as the reason for examination utilizing the WEKA information mining bundle. Different machine learning calculations are utilized to develop models prepared to do precisely distinguishing security concerns. The exhibition of these models is dissected exhaustively utilizing significant assessment measurements, for example, the Beneficiary Working Brand name (ROC) twist, Accuracy, Review and F-measure. Besides, a critical pre-processing stage is done utilizing procedures, for example, Class Balancer to deal with class anomaly issues inborn in security datasets. This guarantees that the models are prepared on an evenhanded and assigned dataset, working on their unwavering quality and foreseeing precision in certifiable situations. Via cautiously tending to these perspectives, the models are better prepared to give clever data and safeguard activities to improve IoT network security.

3.4 Experimental setup and analysis

The objective of the exploratory arrangement is to distinguish different kinds of regular assaults in the IoT climate by breaking down network information at both the application and network layers. By applying undeniable level strategies, the examination digs into revealing potential weaknesses and risks. The study looks to decide the adequacy of different machine learning calculations in distinguishing these assaults utilizing this thorough strategy. Notably, the Random Forest calculation stands apart as incredibly fruitful when contrasted with other very much tried techniques like Gullible Bayes and Strategic Relapse. It is especially adroit at recognizing and sorting different kinds of assaults inside IoT networks because of its capacity to deal with complex datasets, oversee high-layered include spaces and productively get associations between factors. This opens up a promising way for helping security estimates in such conditions.

3.5 Diffusion models

Diffusion Models are currently state-of-the-art. They consist of Forward Process where Gaussian noise is gradually added over T timesteps until it becomes pure noise, and Reverse Process where a U-Net learns to reverse the noise. The training objective is L=||????(xt,t)||2. Advantages: Stable training, no mode collapse, high diversity. Variants: DDPM, DDIM (fast sampling in 50 steps), and Latent Diffusion Model. Applications: Text-to-Image (Stable Diffusion, DALL-E 2), Image Enhancement, Inpainting. 3.4 Proposed Methodology

We propose a 3-stage framework:

Stage 1: Data Collection & Pre-processing - Collect limited real dataset, resize to 256x256, normalize.

Stage 2: Generative Model Training - Train StyleGAN2 and Latent Diffusion for 200 epochs with Adam optimizer, lr = 0.0002, batch size 32 on NVIDIA A100 GPU. Use FID score to monitor quality.

Stage 3: Hybrid Training - Combine 70% real + 30% synthetic data to train ResNet-50 / YOLOv8. Evaluate on test set containing only real images.

4. Experimental result

We conducted experiments on CIFAR-10, Manufacturing Defect Dataset, and Brain Tumor MRI Dataset. Setup: Python 3.9, PyTorch 2.0, NVIDIA A100.

Table 1. Performance Comparison

Model / Dataset

Without GenAI With GenAI FID ScoreResNet-50 / CIFAR-1082.3% Accuracy91.5% Accuracy12.4YOLOv8 / Defect76.8% mAP88.2% mAP18.7U-Net / Tumor79.1% Dice89.6% Dice1

5.2 Results show 9-12% improvement. FID < 20 indicates excellent quality. Diffusion achieved lowest FID 12.4.

All the more explicitly, all correspondence in the system goes through a solitary, additional network interface, so fundamental group catches were at that point gathered for future change and examination. A more itemized point-by-point examination of the traffic reviewed is given in Tables 1 and 2. As opposed to being communicated in bytes, volume is the aggregate sum of all IoT traffic message sorts partitioned by their complete degree. In spite of the fact that it might at first appear to be astounding that assault traffic much offsets authentic traffic as far as message volume, extra examination uncovers that proficient IoT structure correspondence is more limited than brutal power endeavours to break the framework.

Table 1. Benchmark data statistics
IoT Traffic TypeVolumeFeatures
Normal12.9%Norm Compliant Traffic
net (attacks)87.2%Protocol Violations
app (attacks)3.5%Invalid Messaging Attempts
Table 2. Application layer regular traffic and attack statistics.
IoT Traffic TypeVolumeFeatures
Normal84.8%Norm Compliant Traffic
qc (query cache)4.8%Invalid cache query attempted
zt (zone transfer)3.3%Invalid sequence attempted
nss (no shared secret)11.9%Invalid credentials presented

Except for somewhat more than 0.005% of traffic, each datum utilized one of three shows: TCP, UDP, or ICMP and none of it was dealt with by the IoT system. Table 3 records for the traffic breakdown by show. Various administrations, for example, snmp, taste, krb, irc and ftp, were endeavoured as non-restrictive lines of assault. The IoT system, taking everything into account, didn't interface these endeavours since it doesn't utilize any of these standard Internet organizations. Among the administrations utilized inside the Internet of Things engineering, for example, dns, ssl, ssh and https, the associations were replied and the assault endeavours were recorded inside the design for investigation.

Table 3. Raw packet and byte counts from network traffic.
BytesPacketsTCP BytesTCP PacketsUDP BytesUDP PacketsICMP BytesICMP Packets
PortalIn914 M9 M900 M9 M13 M44 k3 M19 k
Out4.4 G9 M4.4 G9 M263 k4 k78 k549
ConcentratorIn8.6 G66 M8.5 G65 M71 M466 k5 M33 k
Out91.5 G47 M91.5 G47 M71 M426 k153 k1352
SystemIn9.5 G74 M9.4 G73 M71 M508 k7 M52 k
Out94.8 G55 M103 G127 M153 M937 k7 M54 k

Data transformation

To give the last dataset expected to set up the modern models, various changes are made. Zeek and Tshark are two instances of untouchable and prohibitive programming that is utilized to make these alterations. Zeek, at times known as Sibling, is a product bundle intended to cover an extensive variety of package and network traffic examination strategies and functionalities. Zeek is the most important phase in pre-processing the crude package gets; it is utilized to bunch the groups into gatherings and recognize network features and shows. Thusly, Tshark processing is applied to the natural package information. Tshark is an order line program that impersonates the well known pack review program, Wire Shark. Tshark is utilized to distinguish explicit qualities of the caught groups, for example, features that are helpful for separating the bundles that are assembled into gatherings. Prohibitive programming is in this manner used to tackle all of the St. Scratch credits that are expected to get ready prescient models. Except for range, which Crowd assessed in the two bytes and bundles, it is noteworthy that any extra credits are determined in a half-duplex style, every one of which gauges half of a gathering and is denoted by similar tokens, "in" and "out" or "orig" and "resp".

Algorithm: Synthetic Data Augmentation Pipeline

Input: Real Dataset Dr, Output: Improved Model M

  1. 1. Train Generator G on Dr
  2. 2. Generate Ds = { G(z1)...G(zm) } m = 5000

Filter Ds where FID < 20

Combine Dfinal = Dr + Ds

Train CV Model M on Dfinal

Evaluate

5. Future scope

: 1. Federated Generative Learning - Multiple hospitals train local models, share only weights, not data, ensuring GDPR/HIPAA compliance.

2. Video Generation - Sora-like models for autonomous driving simulation.

3. 3D Generative AI - NeRF + Diffusion for 3D objects.

4. Real-time optimization for edge devices.

6. Conclusion

Generative AI has transformed computer vision from merely understanding images to creating them. By addressing data scarcity through GANs, VAEs, and Diffusion models, CV models become more robust and accurate. Our experiments show 9-12% improvement. While challenges remain, integration with Federated Learning provides a privacy-preserving and scalable future.

References

  1. 1.Good fellow et al. GANs. Neur IPS. 2014.
  2. 2.Kingma, Welling. Auto-Encoding Variational Bayes. 2013.
  3. 3.Gunduz MZ, Das R. Cyber-security on smart grid: Threats and potential solutions. Computer Networks. 2020;169:107094.
  4. 4.Alshurideh M, Al Kurdi B, Salloum SA, Arpaci I, Al-Emran M. Predicting the actual use of m-learning systems: A comparative approach using PLS-SEM and machine learning algorithms. Interactive Learning Environments. 2023;31(3):1214-1228.
  5. 5.Ashibani Y, Mahmoud QH. Cyber physical systems security: Analysis, challenges and solutions. Computers & Security. 2017;68:81–97.
  6. 6.Aslan Ö, Aktu? SS, Ozkan-Okay M, Yilmaz AA, Akin E. A comprehensive review of cyber security vulnerabilities, threats, attacks and solutions. Electronics. 2023;12(6):1333.
  7. 7.Casaril F, Galletta L. Securing SATCOM user segment: A study on cybersecurity challenges in view of IRIS2. Computers & Security. 2024;140:103799.
  8. 8.FBI-CISA. APT actors exploit vulnerabilities to gain initial access for future attacks. 2021.
  9. 9.Fenz S, Heurix J, Neubauer T, Pechstein F. Current challenges in information security risk management. Information Management & Computer Security. 2014;22(5):410-430.
  10. 10.Fernández-Caramés TM, Fraga-Lamas P. Teaching and learning IoT cybersecurity and vulnerability assessment with Shodan through practical use cases. Sensors. 2020;20(9):3048.
  11. 11.Finch PE, Sullivan DV, Ivancic WD. An evaluation of protocol enhancing proxies and modern file transport protocols for geostationary satellite communication. In 2012 IEEE Aerospace Conference. IEEE. 2012:1-8.
  12. 12.Fortinet. Malicious actor discloses FortiGate SSL-VPN credentials, 2021. 2023.
  13. 13.Frontiers Economics. Assessing the economic impact of EU initiatives on cybersecurity. 2023.
  14. 14.Gunduz MZ, Das R. Cyber-security on smart grid: Threats and potential solutions. Computer Networks. 2020;169:107094.
International Journal of Engineering in Computer Science

International Journal of Engineering in Computer Science

International Journal of Engineering in Computer Science
Call for book chapter
Journals List Click Here Research Journals Research Journals