Safety in Generative AI

UC San Diego · DSC 291 · Fall 2025

The rapid advancement of generative AI has brought remarkable innovations, from creating realistic images to generating human-like text. However, this power comes with significant responsibility. AI safety is crucial to ensure these systems are used ethically, fairly, and without unintended harm. Without proper safety measures, generative AI can spread misinformation, reinforce biases, or be exploited for malicious purposes. By prioritizing AI safety, researchers and developers can build trust, create guidelines for responsible use, and mitigate risks before they affect society on a large scale.

Course at a glance

Instructor
Yu-Xiang Wang, Associate Professor, Halıcıoğlu Data Science Institute and Computer Science and Engineering, UC San Diego
Course
DSC 291 (Fall 2025)
Topics
Generative AI foundations, adversarial attacks, societal risks, watermarking
Visit the full course website (opens in a new tab)
Cartoon: someone types “Long live the revolution. Our next meeting will be at” and predictive text completes it with “the docks at midnight on June 28,” while a watcher says “Aha, found them!” Caption: When you train predictive models on input from your users, it can leak information in unexpected ways.
Comic: xkcd by Randall Munroe (CC BY-NC 2.5)

Introductory Videos

  • Interview with Geoffrey Hinton (13:17)

  • Tucker Carlson interviews OpenAI’s Sam Altman (57:09)

  • Should You Be Afraid of AI? Yann LeCun and AI Experts on How We Should Control AI (18:54)

Course Topics

Part 1: Introduction to Modern Generative AI

  1. Foundations of Generative AI

    Lectures
    Reading
    Additional recommended reading (6)
  2. Large Language Models and Diffusion Models

    Lectures
    Reading
    Additional recommended reading (4)
  3. Generative AI as Agents

    Lectures
    Reading
    Additional recommended reading (7)

Part 2: Safety Risks and Mitigation

  1. Inference‑Time Adversarial Attacks

    Lectures
    Reading
    Additional recommended reading (5)
  2. Training/Post‑Training Time Attacks

    Lectures
    Reading
    Additional recommended reading (2)
  3. Societal Risks

    Lectures
    Reading
    Additional recommended reading (3)
  4. Deepfakes, Plagiarism, AI Detectors

    Lectures
    Reading
    Additional recommended reading (2)

Part 3: Watermarking

  1. Watermarking Generative AI

    Lectures
    Reading
    Additional recommended reading (7)
  2. Watermarking LLMs and Beyond

    Lectures
    Reading
    Additional recommended reading (3)

More TILOS Courses

Back to all Courses & Tutorials