← Back to LLMs Mind Map
⚡ LLMsID: classic-tasks

Classic NLP Tasks

经典 NLP 任务
🎯Core Definition
pre- vs post-LLM paradigms for four classic tasks. (1) Text classification — before: TF-IDF/BOW + LR/GBDT feature engineering, or BERT's [CLS] into softmax(W⊤h[CLS])\text{softmax}(W^\top h_{\text{[CLS]}}); after: zero/few-shot prompts assign labels, or distill into a small model for cost. (2) NER — before: sequence labeling BiLSTM-CRF over BIO tags; after: LLMs emit JSON entity lists, unconstrained label sets, new entity types with zero training. (3) MT — before: SMT (phrase statistics) to NMT (Seq2Seq + Attention, BLEU); after: one multilingual model plus glossary constraints in-context. (4) Summarization — before: extractive (TextRank) and abstractive (BART/Pegasus, ROUGE); after: Map-Reduce chunked summarization for very long documents.
💡Use Cases
tech-selection when migrating to LLMs; keep traditional small models where throughput, latency, or privacy dominate; a classic interview question — classifying 10M customer-support tickets, balancing LLM vs fine-tuned small models.
⚡Key Problems Solved
the traditional paradigm needs task-specific labeled data, models, and feature engineering — slow cold starts per task. The LLM paradigm reduces task differences to prompt differences: few-shot cold start and reuse, at the cost of latency/cost/stability — which is why production often runs the hybrid "LLM annotates → distill to a small model" route.
🎯Core Interview Exam Points
Fundamentals · Production Scenarios · Deep Dive
Core Def
Explain the core definition, underlying mechanism/math, and key principles of Classic NLP Tasks.
Use Cases
In production engineering, what are the primary use cases for Classic NLP Tasks and what core pain points does it solve?
🔥 High-Frequency Deep-Dive Questions
1
LLM vs BERT for classification: accuracy, cost, latency, and cold-start trade-offs?
2
Sequence-labeling NER (BIO, BiLSTM-CRF) vs LLM extraction: pros and cons of each?
3
Why was NMT replacing SMT a milestone, and what role did BLEU play?
4
How do you design Map-Reduce summarization for very long documents, and how do you mitigate information loss at merge?
5
LLM-to-small-model distillation pipeline: how do you build training data and measure distillation loss?
📖 In-depth Guide:📄 nlp-tasks-and-ner →
Updated 2026-08-12
🎯
Verify Mastery: Practice Exam Questions for "Classic NLP Tasks"
Take pitfall multiple-choice questions with derivation options; mistakes are automatically logged.
🚀 Start Card Practice ➔
← Previous CardContext Engineering

🔗 More LLMs Knowledge Cards

引用出处: TalentMe 450+ 工业级 AI 架构考点知识库 (Tech Vault) · 遵循 CC-BY-4.0 知识共享协议
URL: https://talentme.airsota.com/resources/tech/roadmap/mindmap/LLM/card/classic-tasks
中文速览与面试要点

经典 NLP 任务 (Classic NLP Tasks)

定义: 四大经典任务在 LLM 前后的范式对比。(1) 文本分类——前:TF-IDF/BOW + LR/GBDT 特征工程,或 BERT 取 [CLS] 接 softmax(W^ h_ [CLS]);后:zero/few-shot 提示词直接判类,或蒸馏到小模型降本。(2) NER——前:序列标注 BiLSTM-CRF,输出 BIO 标签;后:让 LLM 输出 JSON 实体列表,不限定标签集,零训练即可换新实体类型。(3) 机器翻译——前:SMT(短语统计)到 NMT(Seq2Seq + Attention,BLEU 评测);后:单模型多语言 + 上下文术语表约束。(4) 摘要——前:抽取式(TextRank)与生成式(BART/Pegasus,ROUGE);后:超长文档用 Map-Reduce 分块摘要再合并。 使用场景: 迁移到 LLM 前的技术选型评估;高吞吐、低延迟、强隐私约束时仍选传统小模型;面试常以"给你 1000 万条客服工单分类,你怎么做"考 LLM 与模型微调的成本权衡。 解决的问题: 传统范式每个任务要专属标注数据、专属模型与特征工程,新任务冷启动慢;LLM 范式把任务差异收敛为提示词差异,少样本可启动、可复用,代价是延迟/成本/稳定性,因此实践上常走"LLM 标注 → 蒸馏小模型"的混合路线。

核心要点

  • 分类任务 LLM 与 BERT 范式对比:准确率、成本、延迟、冷启动分别什么表现?
  • NER 的序列标注路线(BIO、BiLSTM-CRF)与 LLM 抽取路线的优劣分别是什么?
  • 为什么说 NMT 取代 SMT 是深度学习的里程碑?BLEU 在其中扮演什么角色?
  • 超长文本摘要的 Map-Reduce 方案怎么设计?合并阶段的信息丢失如何缓解?
  • LLM 蒸馏到小模型的落地路径:如何构造标注数据、如何评估蒸馏损失?