Module 4 · Multimodal & agents revision
Revision guide · ~15 min · dense bullets, not full lessons
Chapters 4.1–4.2 are shorter stubs. Use this for vocabulary; dive into 2.9 for agent depth.
4.1 Vision-language & image generation
- VLM: joint model that maps images (and often text) into a shared space — caption, VQA, document understanding.
- Typical pattern: vision encoder → projector → LLM decoder. Tokenize image patches / features like “soft tokens”.
- Failure modes: OCR weakness, counting, spatial relations, hallucinated objects — evaluate on your image types.
- Image generation (diffusion / related): iterative denoising from noise conditioned on text. Prompting = subject + style + constraints; safety filters matter in prod.
- Multimodal RAG: retrieve images + text; cite visual evidence carefully.
4.2 Agentic systems (recap)
- Agent = LLM + tools + memory + control loop (not just a chat UI).
- Decompose tasks; verify with tools; escalate humans for high-risk actions.
- Orchestration: single agent with tools often beats premature multi-agent swarms.
- For full patterns (HITL, reflection, memory tiers, multi-agent), revise Cheat sheet · Module 2 section 2.9 and those lessons.
15-minute drill
- Contrast captioning vs VQA vs “open-world chat about an image”.
- List three agent failure modes (looping, tool misuse, context overflow).