Zubnet AIसीखेंWiki › Instruction Following
Using AI

Instruction Following

Instruction Adherence
एक model की ability कि वो accurately execute करे जो user ask करे — format constraints, length requirements, style specifications, और behavioral instructions respect करते हुए। “French में X के बारे में exactly 3 bullet points लिखो” instruction following test करता है: response bullets होना चाहिए (paragraphs नहीं), exactly 3 (2 या 5 नहीं), French में (English में नहीं), और X के बारे में (Y के बारे में नहीं)।

यह क्यों matter करता है

Instruction following सबसे practically important LLM capability है। Users कम care करते हैं कि एक model ज़्यादा facts “जानता” है और ज़्यादा कि क्या वो actually जो उन्होंने पूछा वो करता है। एक model जो beautiful prose लिखता है लेकिन आपके format requirements ignore करता है, वो एक model से कम useful है जो reliably instructions follow करे। यही वजह है कि IFEval और दूसरे instruction-following benchmarks model evaluation के central बन गए हैं।

Deep Dive

Instruction following is trained through instruction tuning (SFT on instruction-response pairs) and refined through RLHF/DPO (learning to prefer responses that accurately follow instructions). The quality of instruction-following depends heavily on the diversity and precision of the training data: models that see many examples of "exactly 3 items" learn to count; models that only see vague instructions don't.

Where Models Fail

Common instruction-following failures: ignoring length constraints ("be brief" → still writes paragraphs), format drift (starting with the requested format but reverting to prose), constraint amnesia (following the first constraint but forgetting later ones in a complex instruction), and over-following (interpreting ambiguous instructions too literally or too broadly). These failures are more common in smaller models and become rarer with scale, but even frontier models occasionally miss constraints.

System Prompts and Hierarchy

Instruction following becomes complex when instructions conflict: the system prompt says "always respond in JSON" but the user says "write me a poem." Most models implement an instruction hierarchy where system-level instructions take precedence over user messages, but the boundaries are fuzzy. Well-designed applications structure their instruction hierarchy clearly and test edge cases where different levels of instructions might conflict.

संबंधित अवधारणाएँ

← सभी Terms
← Inference Instruction Tuning →