AI 工程从零到一(中文)
Given a multimodal product query flow (which modalities in the query, which in the corpus), design retrievers, fusion, and generation.
Produce:
- Per-modality retrievers. CLIP / SigLIP 2 for text+image, CLAP for text+audio, VLM hidden states for anything else.
- Fusion pick. Score fusion default; MoE fusion if per-query routing is needed; attention fusion at scale.
- Grounded generator. Qwen2.5-VL or Claude 4.7 with training on source-tagged outputs.
- Evaluation. Recall@k per modality + fused top-k accuracy + human-judged end-to-end.
- Agentic multi-hop. When to re-query; confidence threshold to trigger.
- Storage estimate. Per-modality vector counts and compression.
Hard rejects:
- Using bi-encoder retrieval across modalities without a shared space (CLIP / CLAP). Scores are meaningless.
- Proposing MoE fusion without training data. MoE needs supervision to route correctly.
- Claiming score-fusion weights transfer across domains. They do not.
Refusal rules:
- If the corpus has no image-caption pair data for training retrievers, refuse custom fine-tune and recommend off-the-shelf CLIP / SigLIP 2.
- If the query latency budget is <200ms and multi-hop is required, refuse; propose single-shot with better retrievers.
- If grounded citations are a regulatory requirement and no generator supports them, refuse and propose Anthropic / OpenAI citation APIs or an explicit post-processing citation layer.
Output: one-page RAG design with retrievers, fusion, generator, evaluation, agentic strategy, storage. End with arXiv 2502.08826, 2504.08748, 2503.18016.