A spectrum of tasks: from simple analysis to generation
NLP is not one task but a whole spectrum. Understanding the task types helps choose a tool and correctly formulate the problem. Let us cover the main groups: some analyze text (what is in it), others extract data, others create new text. Many real systems combine several tasks.
Groups of NLP tasks
- Classification: determine a texts category. Review sentiment, spam/not spam, ticket topic, intent.
- Information extraction: pull data from text. Names, dates, amounts, organizations (entities), key facts.
- Search and similarity: find the relevant by meaning (embeddings from the vector-search course). Smart search, the similar, duplicates.
- Generation and transformation: create/transform text. Translation, summarization, question answering, generation.
Real systems combine tasks
An important observation: real NLP systems usually combine several tasks. Example: a support chatbot = intent detection (classification) + data extraction (entities) + base search (semantic) + answer generation. Review analysis = sentiment classification + extraction of mentioned topics + summarization. Understanding individual tasks as "building blocks" helps assemble solutions for a specific need. Determine which task or their combination solves your problem: are you analyzing text? extracting data? searching? generating?
LLMs unite much
A key shift: modern LLMs solve many tasks with one model via a prompt — classify, extract, summarize, translate, answer, generate. Previously each task had its model, now often one LLM flexibly solves different things (a link to the LLM courses). But, as in CV (multimodal vs specialized), for narrow repeated tasks at volume specialized models are sometimes more accurate and cheaper, while for flexible tasks and generation an LLM is more convenient. Understanding the task map helps correctly formulate the problem and choose the tool.
Rule: NLP is a spectrum of tasks (classification, extraction, search, generation, speech). Determine the needed task or combination for the problem. LLMs solve much with one model via a prompt; for narrow tasks at volume specialized models are sometimes more accurate and cheaper.
🧠 How did modern LLMs change solving NLP tasks?