Source-linked AI summary
Advancements in Generative AI: A Comprehensive Review of GANs, GPT, Autoencoders, Diffusion Model, and Transformers
Staphord Bengesi, Hoda El-Sayed, Md Kamruzzaman Sarker, Yao Houkpati, John Irungu, Timothy Oladunni
TL;DR
Generative AI’s rapid expansion has created broad opportunities alongside significant risks, but its models, applications, and challenges require comprehensive examination. This paper reviews major architectures, tasks, applications, and future prospects, concluding that effective use depends on balancing Generative AI’s benefits and threats.
Problem
Generative AI presents unprecedented opportunities and challenges across applications, creating a need to understand its models, tasks, influences, risks, and prospects comprehensively.
Method
The paper surveys state-of-the-art Generative AI models, their mathematical foundations and architectures, task categories, applications, challenges, and future outlook.
Results
84% of the U.S. workforce occupies positions with potential to use Generative AI to automate a significant portion of repetitive tasks.
Takeaways & Limitations
Realizing Generative AI’s full utility requires maintaining a balance between its opportunities and risks to serve humanity effectively.
Abstract
from arXiv · showhide
The launch of ChatGPT has garnered global attention, marking a significant milestone in the field of Generative Artificial Intelligence. While Generative AI has been in effect for the past decade, the introduction of ChatGPT has ignited a new wave of research and innovation in the AI domain. This surge in interest has led to the development and release of numerous cutting-edge tools, such as Bard, Stable Diffusion, DALL-E, Make-A-Video, Runway ML, and Jukebox, among others. These tools exhibit remarkable capabilities, encompassing tasks ranging from text generation and music composition, image creation, video production, code generation, and even scientific work. They are built upon various state-of-the-art models, including Stable Diffusion, transformer models like GPT-3 (recent GPT-4), variational autoencoders, and generative adversarial networks. This advancement in Generative AI presents a wealth of exciting opportunities and, simultaneously, unprecedented challenges. Throughout this paper, we have explored these state-of-the-art models, the diverse array of tasks they can accomplish, the challenges they pose, and the promising future of Generative Artificial Intelligence.
I. INTRODUCTION
The paper surveys Generative AI’s emergence, models, applications, challenges, and prospects, contrasting generative approaches with earlier descriptive deep-learning models. It introduces autoencoders and variational autoencoders as foundational model families, including their architectures and roles in generative AI.
- Generative AI Foundations: Generative AI differs from earlier descriptive deep-learning models by learning data distributions and generating new data points resembling training inputs.Earlier models primarily represented existing patterns and made predictions from available information.
- Applications and Influence: Generative AI enables synthetic data, artistic content, and realistic simulations while creating new application opportunities across industries.The paper characterizes this shift as influential across domains of life.
- Paper Scope: The paper provides a comprehensive exploration of Generative AI models, task categories, applications, areas of influence, challenges, and future prospects.Its structure covers contemporary generative models, tasks, applications, outlook, and conclusion.
- Autoencoders: Autoencoders encode inputs into lower-dimensional representations and decode them back while minimizing reconstruction error.Their stated applications include dimensionality reduction, feature extraction, denoising, compression, image search, anomaly detection, and missing-value imputation.
- Variational Autoencoders: Plain autoencoders generally replicate inputs rather than generate new data, whereas variational autoencoders use probabilistic latent representations and an additional sampling layer.VAEs apply variational Bayesian inference to describe data generation using a probability distribution.
- Variational Autoencoders: Variational autoencoders have significantly influenced Generative AI, with Table 1 presenting state-of-the-art examples across multiple domains.The supplied table passage identifies the VAE state-of-the-art overview.
B. TRANSFORMER
Transformers were introduced to analyze large-scale datasets and address shortcomings of recurrent and convolutional networks. Their core concepts include self-attention, multi-head attention, and word embeddings, supporting later adaptations across machine-learning domains.
- Transformer Overview: The transformer model was introduced to analyze large-scale datasets and was initially developed for natural language processing before adaptation to computer vision.The paper presents transformers as addressing shortcomings associated with RNNs and CNNs.
- Core Concepts: Self-attention evaluates input sequences according to importance, reducing long-range dependencies within the model.This mechanism is one of the transformer’s three main concepts described in the paper.
- Core Concepts: Multi-head attention enables the model to learn multiple representations of an input sequence, while word embedding transforms inputs into vectors.These mechanisms are presented alongside self-attention in the transformer architecture.
Encoder and Decoder
Transformers use stacked encoder-decoder layers with self-attention, multi-head attention, and feedforward components to process input context. GPT models apply transformer decoders for language generation and have expanded across successive versions.
- Encoder and Decoder: The transformer uses stacked encoder-decoder layers containing self-attention and fully connected feedforward sublayers.The encoder has six identical layers, while the decoder adds masked multi-head attention, residual connections, and normalization.
- Self-attention: Self-attention evaluates sequence elements by importance and maps queries with key-value pairs to output vectors.The mechanism is described as scaled dot-product attention with query and key dimension d_k and value dimension d_v.
- Multi-head attention: Multi-head attention runs self-attention in parallel across representation subspaces, then concatenates and linearly transforms the independent outputs.The resulting transformation produces the expected output dimension.
- GPT: GPT is a transformer-based large language model built from stacked decoders and trained through language-model learning followed by supervised fine-tuning.GPT was introduced by OpenAI in 2018 after the transformer architecture was introduced in 2017.
- GPT: GPT models grew substantially across versions, from GPT-2's 1.5 billion parameters to GPT-3's 175 billion parameters and GPT-4's multimodal design.GPT-3 used 2048-token contexts, while GPT-4 accepts image and text inputs and produces text outputs.
C. GENERATIVE ADVERSARIAL NETWORK (GAN)
GANs generate synthetic data through an adversarial interaction between a generator and discriminator. Their training can produce realistic outputs but remains vulnerable to mode collapse, instability, and non-convergence.
- GAN Overview: A GAN contains a generator that fabricates data and a discriminator that distinguishes real samples from generated samples.The generator receives noise, while the discriminator classifies real and fake data using sigmoid activation and binary cross-entropy loss.
- GAN Overview: GAN training repeats adversarial feedback and backpropagation until the difference between real and generated samples becomes negligible.The generator learns indirectly because it has no direct access to authentic images.
- GAN Overview: The generator and discriminator train through a zero-sum game in which each optimizes against the other's classification objective.The generator seeks discriminator misclassification, while the discriminator minimizes misclassification of generated outputs.
- GAN Challenges: Mode collapse restricts the generator to a single output type or a limited set of outputs, reducing coverage of the data range.The passage identifies catastrophic forgetting and discriminator overfitting as two causes.
- GAN Challenges: GANs can become unstable or fail to converge when the discriminator learns too quickly and causes the generator's gradients to vanish.The training process may stall when the generator cannot keep up or learn from discriminator feedback.
- GAN Challenges: GAN variants have been developed to address weaknesses of traditional GANs and optimize their performance.The paper introduces variants as a response to the challenges of traditional GAN training.
Conditional Generative Adversarial Network (cGAN)
The section surveys GAN variants that condition generation, stabilize training, translate between image domains, or support multiple domains. It also introduces diffusion models as a noise-addition and denoising process and catalogs generative AI tasks.
- Conditional GAN variants: cGAN adds class labels or style attributes to generator and discriminator inputs, guiding the model toward specified outputs.For image generation, the condition can define the class of image to produce.
- Conditional GAN variants: DCGAN replaces conventional fully connected layers above convolutional features with CNN-based generator and discriminator components.Batch Normalization is included to improve training stability.
- Conditional GAN variants: WGAN uses Wasserstein distance rather than Jensen-Shannon or Kullback-Leibler divergences to measure similarity between real and generated distributions.Its formulation is grounded in the transportation problem, which seeks a cost-efficient allocation of goods.
- Conditional GAN variants: WGAN applies a Lipschitz constraint through discriminator weight clipping, enhancing stability and mitigating mode collapse and saturation loss.
- Image-to-image translation: CycleGAN performs unpaired image-to-image translation with two generators and corresponding discriminators across separate source and target domains.StarGAN instead maps among multiple domains using one generator and one discriminator.
- Further GAN variants: The surveyed GAN landscape extends beyond foundational models to variants including Progressive GAN, BigGAN, StyleGAN, StyleGAN 2, InfoGAN, and Stacked GAN.
A. TEXT GENERATION
The section presents generative AI applications across text, image, video, and code generation, highlighting chatbots and prompt-driven creative tools. Examples include ChatGPT, Bard, Firefly, Stable Diffusion, RoomGPT, Runway, and code-generation systems.
- Text generation: Text generation takes textual input and produces text responses, commonly in question-answering conversational systems called chatbots.ChatGPT, Bard, ChatGPT Plus, Wordtune Spice, and Cohere Generate are listed examples.
- Text generation: ChatGPT and Bard are presented as chatbot examples, with Figure 9 showing ChatGPT and Bard outputs.
- Image generation: Firefly and Stable Diffusion generate images from prompts such as “College Student Programming,” while the section reports more precise alignment for Firefly.
- Video generation: Video-generation tools create new videos from textual or visual inputs, including RunwayML Gen-2, Imagen Video, Make-A-Video, Parti, and DALL-E-2.Some systems accept images and videos in addition to text and transform them into novel video compositions.
- Code generation: Code-generation tools translate textual descriptions into code blocks using models trained on extensive public code repositories.Their stated objective is to assist developers by converting plain English into functional code.
E. MUSIC GENERATION
The section catalogs generative AI tools and applications spanning music, science, speech, chatbots, video, code, and images. It emphasizes broad industrial relevance and the expanding impact of generative AI across sectors.
- E. MUSIC GENERATION: Music generation composes new music from text, musical notes, or audio samples, targeting rhythm, melody, chords, and instrumentation.MuseNet and Jukebox are identified as prominent examples.
- G. SCIENTIFIC CONTENT GENERATION: Scientific content generation covers mathematics, physics, chemistry, and biology and aims to produce accurate, insightful material for disseminating scientific knowledge.
- Speech generation: Speech generation uses textual or audio input and can involve synthesis, enhancement, and conversion, including noise handling, tone modulation, and emotion conveyance.
- Generative AI tools: The tool catalog includes generative systems for text-to-text, text-to-image, text-to-video, text-to-code, text-to-music, text-to-science, and text-to-speech tasks.Examples listed include ChatGPT, Bard, Firefly, Stable Diffusion, Gen-2, Codex, AudioCraft, Galactica, and WaveNet.
- Generative AI tools: The catalog also lists tools for conversational responses, code generation, image creation, music production, scientific work, speech, and video generation.Figures and entries include ChatGPT, Bard, Codey, DALL-E 2, RoomGPT, StyleGAN, Stable Diffusion, MuseNet, Jukebox, and Make-A-Video.
- Industrial relevance: Generative AI is described as exerting exponential impact across a broad spectrum of industries, motivating detailed examination of the most affected sectors.
A. MEDIA AND ENTERTAINMENT
Generative AI is beginning to affect entertainment despite being in its early stages. Its influence spans writing, audio, games, virtual worlds, marketing, and image creation.
- A. MEDIA AND ENTERTAINMENT: Entertainment applications include scriptwriting and storyboarding for novels, plays, and films.
- A. MEDIA AND ENTERTAINMENT: Generative AI is also used in audio production, including composition, arrangement, and mixing.
- A. MEDIA AND ENTERTAINMENT: Additional entertainment domains include game design, character creation, virtual worlds, marketing campaigns, and moving or static image generation.
B. EDUCATION AND RESEARCH
Generative AI is expanding education through personalized content and real-time learner support while also stimulating substantial new research activity. These developments are attracting global academic and institutional interest.
- Education: GPT-3, GPT-4, and Bard can generate tailored lessons, quizzes, and study guides for individual learners and instructors.AI chatbots and virtual tutors additionally provide explanations, answers, and personalized feedback.
- Education: AI-driven chatbots and virtual tutors provide students with real-time explanations, answers, and personalized feedback.
- Research: Rapid development of Generative AI tools has created an array of research opportunities for researchers and academics worldwide.
- Research: Technology companies and research institutions are investing significant resources in developing new Generative AI tools and technologies.
C. HEALTHCARE
Generative AI is being applied in healthcare to expand medical-imaging datasets, support diagnosis, streamline administration, and enable new therapeutic research. Healthcare-specific language-model initiatives further extend these applications.
- Healthcare: Generative AI synthesizes medical data to address limited datasets and improve the quality and diversity of medical images.The paper links these capabilities to disease detection and diagnosis.
- Healthcare: Generative AI is transforming patient-care administration through streamlined processes and virtual health services.
- Healthcare: Synthetic-protein generation opens avenues for therapeutic solutions targeting challenging incurable diseases.
- Healthcare: Google and Cognizant are collaborating on a healthcare-specific large language model focused on improving administrative tasks.The initiative uses Google Cloud and its framework to develop generative healthcare solutions.
D. BUSINESS
Generative AI is becoming commercially significant and is expected to affect industries including manufacturing, finance, agriculture, healthcare, entertainment, education, and transportation. Its future combines transformative possibilities with uncertainty and concerns.
- Business: $137 billion in 2023 and $1.3 trillion by 2030 are Bloomberg Intelligence's projected Generative AI revenues.The paper describes these projections alongside the subscription-based commercial model of many applications.
- Business: Generative AI applications operate across manufacturing, wholesale, retail, banking, and agriculture, demonstrating broad commercial reach.
- Future outlook: Generative AI's future offers transformative possibilities across domains but also involves uncertainty and concerns requiring further exploration.
- Healthcare: Healthcare applications include drug discovery focused on protein molecules, with major technology-company investments signaling anticipated advances.
- Entertainment: Generative AI may dominate entertainment content creation, from scripts and scenes to characters and music.The passage also raises the possibility of deceased artists releasing new albums.
- Education: ChatGPT, Google Bard, and related tools are presented as evidence of Generative AI's growing accessibility in education.The paper anticipates more personalized and adaptive educational resources.
- Manufacturing: Integrating Generative AI with robotics is expected to produce further advancements in advanced manufacturing industries.
- Applications: Generative AI is described as enabling possibilities spanning military technology, industrial product formulation, and self-driving vehicles.
B. JOB MARKET SHIFTING
Generative AI is reshaping employment through new AI-related roles, automation of repetitive work, and risks to existing careers. The paper also highlights cybersecurity, impersonation, misinformation, and the need for balanced governance and further research.
- Job market shifting: 84% of the U.S. workforce holds positions that could leverage Generative AI to automate a significant portion of repetitive tasks.47% of U.S. executives expect Generative AI integration to increase productivity across industries.
- Job market shifting: Generative AI is creating emerging roles such as AI Explainability and Generative AI engineering.McKinsey's analysis projects gradually rising job openings in professions exposed to Generative AI until roughly 2030.
- Job market shifting: Routine and repetitive tasks performed by clerks, analysts, telemarketers, assistants, authorizers, checkers, and tellers have high automation potential.The paper says workers should prioritize reskilling and adaptability for AI-driven jobs.
- Privacy and security concerns: Generative AI is driving rapid cybersecurity transformation while increasing concerns about sophisticated cyberwarfare and malicious tools.
- Privacy and security concerns: AI-powered malware and ransomware may subvert existing encryption methods and threaten the resilience of cybersecurity systems.The paper identifies potential consequences for national critical infrastructure.
- Privacy and security concerns: AI-generated voice and media imitations have intensified concerns about privacy breaches, impersonation, and misinformation.The paper cites fake tracks emulating Drake and The Weeknd as an example.
- Conclusion: Further research, mitigation strategies, regulation, explainability, responsiveness, and privacy preservation are presented as necessary for balancing Generative AI's benefits and risks.