Questionário vinculado ao guia · Médio Nível

Questionário de decodificação especulativa

Abrange decodificação de rascunho e verificação, preservação exata da distribuição de alvos, limites de taxa de aceitação e medições práticas de aceleração.

Caminhos de guia relacionadosDecodificação Especulativa
Pergunta 1 de 8

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

Visualize cada pergunta8 perguntas

As respostas e explicações aparecem conforme você responde ao teste.

  1. How does speculative decoding speed up generation from a large model?
    • Um modelo de rascunho pequeno adivinha vários tokens que o modelo grande verifica em paralelo
    • Comprimindo o modelo para metade do seu tamanho permanentemente
    • Removendo o mecanismo de atenção
    • Treinando o modelo com mais dados
  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
    • O modelo preliminar é treinado novamente imediatamente
    • The matching prefix is kept, the target token is used at the mismatch, and later draft tokens are discarded
    • A qualidade da saída degrada permanentemente
  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. O que determina mais diretamente a aceleração da decodificação especulativa?
    • A taxa de aceitação das suposições do modelo preliminar
    • A cor da GPU
    • O comprimento do nome do modelo
    • A hora do dia
  6. O que Medusa e EAGLE têm em comum como abordagens?
    • Eles exigem hardware quântico
    • Eles eliminam a necessidade de um modelo de rascunho independente e separado
    • Eles excluem o modelo de destino
    • Eles só funcionam em imagens
  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