Skip to content

PEFT and ICL: Change Parameters or Change the Input | CMU 10-423 Topic Guide

Sep 30, 20261 min
TL;DRAdapting without retraining every weight can mean two different things. LoRA-style PEFT still trains some parameters. ICL supplies examples in context without updating parameters during that inference. The source spans the end of Lecture 9, Lecture 10, and the ICL material in Lecture 11.

Look up & save

Loading dictionary…

🌏 中文版

Video status: recordings require login or course authorization. Recording source

Adapting without retraining every weight can mean two different things. LoRA-style PEFT still trains some parameters. ICL supplies examples in context without updating parameters during that inference. The source spans the end of Lecture 9, Lecture 10, and the ICL material in Lecture 11.

Choose a lesson

The course map lists the core path. This page is a topic guide, not an additional lecture. Choose the question you need to answer and follow its lesson.

A worked comparison

Teaching example: classify a phrase as positive or negative. ICL puts labeled examples in the prompt, consuming context while leaving model weights unchanged. LoRA propagates training error into an adapter, so later requests need not repeat those examples. For a toy 4×4 weight matrix, rank-one A has shape 1×4 and B has shape 4×1: eight adapter parameters rather than sixteen full-update parameters. This is a calculation for that matrix, not a universal model-wide savings ratio.

Check your understanding

Does persistent behavior without repeating examples prove LoRA was used?

Answer and criterion

No. Existing capability, a system prompt, memory, or another training method could explain it. Inspect parameter updates and request context rather than inferring the mechanism from output alone.

How to use this map

Before reading the answer, identify the inputs, what changes, and the outputs. Then complete the linked lesson’s variation. If two mechanisms seem identical, trace where their conditions or data paths diverge. This page checks relationships and boundaries; it does not replace the derivations, implementations, or evaluations in the individual lessons.

The source edition is Spring 2026. Teaching examples are not official assessments or reconstructed classroom speech. Recordings remain subject to course authorization.

Course video sources

The official Spring 2026 course site directs recordings to SCS Panopto. On 2026-10-12, the anonymous reader returned an unloaded folder and a sign-in prompt; it did not provide playable lecture content. This establishes an access limit, not the absence of recordings. This guide uses public written materials and provides no reconstructed classroom speech or original-audio transcript.

Update Log

  • 2026-10-11: Rebuilt the teaching scope, worked example, and self-check; retained the original URL and publication date.

  • 2026-10-10: Added explicit video status and checked recording sources and access notes.

  • 2026-10-10: Rechecked video status. The login wall is confirmed (anonymous Panopto folder lists no videos and prompts sign-in); the official pages link no public YouTube version, so the status is unchanged.

References