ArticleslgStudy

computer science

Generative AI

Generative AI is a computer science topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Generative AI rather than just read about it. In short: Generative artificial intelligence (GenAI) is a subfield of artificial intelligence (AI) that uses generative models to generate text, images, videos, audio, computer code or other forms of digital data. These models are created by using machine learning to encode underlying patterns and structures in their training data, and then are used to generate new data in response to input, which often takes the form of natu…

Generative AI — main illustration
Generative AI — illustration

Key takeaways

  • Generative AI belongs to computer science; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Generative AI to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Generative AI from memory before moving on to harder problems.

Reference excerpt

Generative artificial intelligence (GenAI) is a subfield of artificial intelligence (AI) that uses generative models to generate text, images, videos, audio, computer code or other forms of digital data. These models are created by using machine learning to encode underlying patterns and structures in their training data, and then are used to generate new data in response to input, which often takes the form of natural language prompts. The prevalence of generative AI tools has increased significantly since the AI boom of the early 2020s. This boom was made possible by improvements in deep neural networks, particularly large language models (LLMs), which are based on the transformer architecture. Generative AI applications include chatbots such as ChatGPT, Claude, Microsoft Copilot, DeepSeek, Doubao, Google Gemini, Grok, Kimi and Qwen; text-to-image models such as DALL-E, Adobe Firefly, Stable Diffusion, and Midjourney; text-to-speech models such as 15.ai and ElevenLabs; text-to-music models such as Suno and Udio; translation models such as Google Translate and DeepL; and text-to-video models such as Veo, LTX and Sora. Concerns around generative AI include the production of incorrect answers or "hallucinations"; usage for cybercrime and for deceiving and manipulating people through fake news and deepfakes; the training on copyrighted works without the rightsholders' permission; and the environmental impacts of data centers, which include electronic waste, consumption of fresh water for cooling and high energy consumption and are estimated to grow steadily.

History

Early history The origins of algorithmically generated media can be traced to the development of the Markov chain, which has been used to model natural language since the early 20th century. Russian mathematician Andrey Markov introduced the concept in 1906, including an analysis of vowel and consonant patterns in Eugene Onegin. Once trained on a text corpus, a Markov chain can generate probabilistic text. By the early 1970s, artists began using computers to extend generative techniques beyond Markov models. Harold Cohen developed and exhibited works produced by AARON, a pioneering computer program designed to autonomously create paintings. The terms generative AI planning or generative planning were used in the 1980s and 1990s to refer to AI planning systems, especially computer-aided process planning, used to generate sequences of actions to reach a specified goal. Generative AI planning systems used symbolic AI methods such as state space search and constraint satisfaction and were a "relatively mature" technology by the early 1990s. They were used to generate crisis action plans for military use, process plans for manufacturing and decision plans such as in prototype autonomous spacecraft.

Generative neural networks (since the late 2000s)

Machine learning uses both discriminative models and generative models to predict or generate data. Beginning in the late 2000s and early 2010s, advances in deep learning led to major improvements in image classification, speech recognition, and natural language processing. Neural networks in this period were typically trained as discriminative models due to the relative difficulty of training generative models. In 2014, the introduction of models such as the variational autoencoder (VAE) and generative adversarial network (GAN) enabled effective deep generative modeling of complex data such as images. In 2017, the paper "Attention Is All You Need" proposed that transformer architecture could enable further advances in generative modeling compared to earlier long short-term memory (LSTM) networks. This led to the development of generative pre-trained transformer (GPT) models, beginning with GPT-1 in 2018.

Generative AI adoption

In March 2020, the pseudonymous developer 15 launched 15.ai, a free, non-commercial text-to-speech website that let users generate new dialogue in the voices of fictional characters. It used deep learning to reproduce realistic voices from relatively little recorded dialogue, and was capable of varying the emotional delivery of the generated speech. 15.ai is considered the first generative AI application of the AI boom, and popularized AI-generated voices in content creation and entertainment. In January 2021, OpenAI launched DALL-E, a closed-source transformer-based text-to-image generation model. Open-source approaches such as VQGAN+CLIP and DALL·E Mini (later renamed Craiyon) made similar text-to-image systems more accessible to the public. Dream by Wombo was released at the end of 2021, followed by the releases of Midjourney and Stable Diffusion in 2022. In November 2022, ChatGPT was released to the public. By 2023, it popularized generative AI for general-purpose text-based tasks.

In a 2024 survey by marketing research firm Ipsos, Asia–Pacific countries were significantly more optimistic than Western societies about generative AI and show higher adoption rates. Despite expressing concerns about privacy and the pace of change, 68% of Asia-Pacific respondents believed that AI was having a positive impact on the world, compared to 57% globally. According to a survey by SAS and Coleman Parkes Research, as of 2023, 83% of Chinese respondents were using the technology, exceeding both the global average of 54% and the U.S. rate of 65%. A UN report indicated that Chinese entities filed over 38,000 generative AI patents from 2014 to 2023, more than any other country. A 2024 survey by the Just So Soul social media app reported that 18% of respondents born after 2000 used generative AI "almost every day", and that over 60% of respondents like or love AI-generated content (AIGC), while less than 3% dislike or hate it. By mid-2025, companies were increasingly abandoning generative AI pilot projects as they had difficulties with integration, data quality and unmet returns, leading analysts at Gartner and The Economist to characterize the period as entering the Gartner hype cycle's "trough of disillusionment" phase. In an October 2025 survey by the Federal Reserve, one in four U.S. workers reported using generative AI at work during the previous month. An analysis in August 2026 estimated that just under 25% of pages on the public-facing web pages contain text written or substantially modified by generative AI, with a rate of change that is increasing.

Applications

… excerpt ends here. Continue reading the full article.

Illustrations

Generative AI illustration
Generative AI illustration
Generative AI: Above: An image classifier, an example of a neural network trained with a discriminative objective. Below: A text-to-image model, an example of a network trained with a generative objective.
Above: An image classifier, an example of a neural network trained with a discriminative objective. Below: A text-to-image model, an example of a network trained with a generative objective.
Generative AI: Estimated share of people (aged 15-64) who use generative AI
Estimated share of people (aged 15-64) who use generative AI
Generative AI: AI generated images have become much more advanced.
AI generated images have become much more advanced.

Worked examples

Example 1 — a first encounter with Generative AI

Start with the simplest possible case. Write down what Generative AI claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In computer science, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Generative AI before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Generative AI ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Generative AI

In research
Generative AI appears in computer science research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Generative AI in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Generative AI is common in secondary-school and first-year university syllabi. It links to neighbouring topics 2020s fads and trends, 2020s in computing, 2023 in computing, so understanding it makes those chapters shorter.
In everyday life
Look for Generative AI outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Generative AI” →

How to study Generative AI in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Generative AI means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Generative AI out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Generative AI in simple terms?

Generative artificial intelligence (GenAI) is a subfield of artificial intelligence (AI) that uses generative models to generate text, images, videos, audio, computer code or other forms of digital data. These models are created by using machine learning to encode underlying patterns and structures…

Why does Generative AI matter?

Because it connects several computer science ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Generative AI?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Generative AI.

Tags

  • 2020s fads and trends
  • 2020s in computing
  • 2023 in computing
  • 2024 in computing
  • 2025 in computing
  • Artificial neural networks
  • Deep learning
  • Generative AI
  • Machine learning

Keep exploring