Connect a vision encoder to an LLM: projector or Q-Former?
MediumConcept15 minRERSMLEPro outline
The question
Explain how a vision encoder is connected to a language model. Compare a simple MLP projector with a Q-Former, and explain why attention scores are divided by the square root of d.
What the interviewer is looking for
- Explains patch tokens from a ViT
- Contrasts MLP projector (many tokens) with Q-Former (fixed queries)
- Discusses token count and detail trade-off
- Explains the variance argument for sqrt(d)
Your answer
Saved in this browser only. Nobody else sees it.
Why this question
Written by BlogLLM in the style of a publicly reported Baidu ERNIE question type: multimodal architecture: adapters, Q-Former, ViT and the square root of d scaling.
Reported in: mj.mianlingai.com
Practice question written by BlogLLM based on publicly reported interview formats. Not an official Baidu ERNIE question.