Mit dem Guide verknüpftes Quiz · Mittel Ebene

Spekulatives Dekodierungsquiz

Behandelt die Draft-and-Verify-Dekodierung, die exakte Erhaltung der Zielverteilung, Akzeptanzratengrenzen und praktische Geschwindigkeitsmessungen.

Verwandte FührungspfadeSpekulative Dekodierung
Frage 1 von 8

How does speculative decoding speed up generation from a large model?

Sehen Sie sich jede Frage in der Vorschau an8 Fragen

Während Sie am Quiz teilnehmen, werden Antworten und Erklärungen angezeigt.

  1. How does speculative decoding speed up generation from a large model?
    • Ein kleines Entwurfsmodell errät mehrere Token, die das große Modell parallel überprüft
    • Komprimieren Sie das Modell dauerhaft auf die Hälfte seiner Größe
    • Entfernen des Aufmerksamkeitsmechanismus
    • Trainieren Sie das Modell anhand weiterer Daten
  2. For a large model at low batch size, why can one-token autoregressive decoding be slow?
    • Each token requires internet access
    • Repeated reads of large model weights can make decoding memory-bandwidth bound
    • The model permanently stores a full copy of every possible output
    • The tokenizer performs the model’s matrix multiplications
  3. In greedy speculative decoding, what happens at the first token where draft and target predictions disagree?
    • The whole conversation is thrown away and restarted from scratch
    • Das Entwurfsmodell wird sofort neu trainiert
    • The matching prefix is kept, the target token is used at the mismatch, and later draft tokens are discarded
    • Die Ausgabequalität nimmt dauerhaft ab
  4. Under exact speculative sampling, how does the output distribution compare with sampling from the target model alone?
    • It is always lower quality but faster
    • It is identical only when the draft model is larger
    • It becomes deterministic regardless of target sampling
    • It is identical in distribution
  5. Was bestimmt am direktesten die Beschleunigung durch spekulative Dekodierung?
    • Die Akzeptanzrate der Vermutungen des Modellentwurfs
    • Die Farbe der GPU
    • Die Länge des Modellnamens
    • Die Tageszeit
  6. Was haben Medusa und EAGLE als Ansätze gemeinsam?
    • Sie erfordern Quantenhardware
    • Sie machen einen separaten, eigenständigen Entwurfsmodell überflüssig
    • Sie löschen das Zielmodell
    • Sie arbeiten nur an Bildern
  7. What should a serving team measure before claiming speculative decoding will speed up its workload?
    • Only the target model’s parameter count
    • Only whether the draft produces fluent text
    • Draft cost, target verification cost, accepted tokens and end-to-end latency under representative traffic
    • The number of tokenizer files
  8. In exact speculative sampling, what happens when a proposed token is rejected?
    • The whole conversation is discarded
    • The target model is permanently changed
    • The rejected token is kept without verification
    • A correction step samples from the distribution needed to preserve the target model’s output distribution