When we’re first exposed to Artificial Intelligence (AI), it might seem like more Science Fiction than Science, but at its core, AI is simply a computer program. CMU boasts a groundbreaking legacy in AI, with pioneering contributions that have continuously shaped the field since its inception in the 1960s. If you’ve used platforms like Amazon, Spotify, or YouTube, you’ve already interacted with AI through features like recommendations and personalized content.
Generative AI, or GenAI, is a type of computer program that creates new content, such as text, images, audio, video, or code, by recognizing patterns in the data it was trained on. It responds to user prompts based on what it has learned, but its output depends on the quality of its training data and the prompt. Human feedback helps improve accuracy and reduce bias, especially when correcting errors or unrealistic results (also called hallucinations).
Though there's a lot more to it, GenAI works like this:
-
The AI model is trained on human-created data.
Examples include writing, images, code, and more. These inputs help the model learn how people express ideas.
-
The system looks for patterns.
It analyzes the data to understand how words, visuals, or sounds typically appear together.
-
You interact with the model by giving it a prompt.
A prompt is a task or question—like “Summarize this article” or “Suggest a title.”
-
Generative AI creates a response.
It uses what it learned during training, plus your prompt, to produce new content.
-
You evaluate the result.
The response might be helpful—or it might miss the mark. If the training data was biased or your input unclear, the output could be wrong. This is called a hallucination.
-
Your feedback helps improve future results.
Giving a thumbs up or trying again helps fine-tune how the AI responds over time.
AI models learn by studying patterns, similar to how humans get better at recognizing things through examples and repetition. For instance, you might learn to identify different types of flowers by seeing them in pictures or at the store.
- They're computer programs designed to find patterns in data.
- They learn from examples instead of being explicitly programmed with rules.
- Once they’ve been trained, they can make predictions or decisions when given new information.
Just like humans improve with practice, AI models get better with data and training.