Generative AI Flashcards

Core Concepts of Generative AI

  • Definition: Generative Artificial Intelligence (GenAI) leverages machine learning to create content such as text, images, audio, video, code, and 3D3D models.
  • Prompts: These are constructed inputs (natural language) used to generate specific outputs from AI models.
  • Generative AI Systems: Examples include image generators like Midjourney and DALL-E 3, video generators such as Sora and Runway, and audio tools like VALL-E.

Large Language Models (LLMs)

  • Definition: A type of machine learning algorithm based on neural networks (Transformers) designed to understand and process human language.
  • Parameters: These are numerical values adjusted autonomously during training. GPT-4 uses an estimated 1.76T1.76T (MoE) parameters, while Gemini Ultra 1.0 uses 1.5T1.5T.
  • Training: Models are trained on massive datasets (e.g., Wikipedia, Common Crawl) to predict the next token in a sequence based on surrounding context.
  • Top Citation Domains: Research indicates that LLMs frequently cite sources like reddit.com (40.11%40.11\%), wikipedia.org (26.33%26.33\%), and youtube.com (23.52%23.52\%).

Tokens and Context Windows

  • Tokens: The basic units of text or code processed by LLMs (100100 tokens is approximately 7575 words). A common rule of thumb is that 11 token corresponds to about 44 characters.
  • Context Window: The maximum length of text the model can process in a single instance. GPT-4 has a window of 128,000128,000 tokens, and Gemini 1.5 Pro can analyze up to 1 million1\,million multimodal tokens.
  • Variables: Performance can be adjusted using temperature (creativity), frequency penalty (limiting repetition), and presence penalty (encouraging diversity).

Prompt Engineering and Frameworks

  • Zero-shot Learning: Prompting the model with instructions but no examples.
  • One-shot and Few-shot: Providing one or several demonstrations (e.g., 10+10+) within the prompt to guide the model.
  • CIDI Framework:
    • Context: Defining the role or persona (e.g., "Act as an educator").
    • Instructions: Clear "I will / You will" statements to define task structure.
    • Details: Specifying tone, style, and target audience.
    • Input: Providing the specific data or samples to be processed.

Impact and Specialized Tooling

  • Code Generation: GitHub Copilot uses OpenAI Codex to suggest functions and code snippets in real-time.
  • Audio Generation: Microsoft VALL-E can simulate a person's voice using a 3 second3\,second audio sample while preserving emotional tone.
  • Music and Video: Tools like Suno generate hip-hop or other styles from text, while Sora produces high-fidelity video.
  • Education and Industry: A report titled "Generative AI in Ireland 2024" from Microsoft and Trinity College Dublin shows that nearly half of Irish public and private organizations have started adopting GenAI.

Strategic Considerations in Education

  • Instructional Focus: AI should reduce administrative "busy work" to allow more one-to-one or small group instruction.
  • Cognition Bypassing: Educators must monitor tools that may bypass critical thinking, such as calculators or automatic translators.
  • Human in the Loop: Maintaining a critical human role is essential to assess the quality and ethics of AI-generated content and assessment designs.