Waitlist open Our new book, AI Engineering For Production, is coming before the end of 2026. Get the release date first.New book: AI Engineering For Production, coming before the end of 2026. Join the waitlist
Name: Towards AI Legal Name: Towards AI, Inc. Description: Towards AI is the world's leading artificial intelligence (AI) and technology publication. Read by thought-leaders and decision-makers around the world. Phone Number: +1-650-246-9381 Email: pub@towardsai.net
228 Park Avenue South New York, NY 10003 United States
Website: Publisher: https://towardsai.net/#publisher Diversity Policy: https://towardsai.net/about Ethics Policy: https://towardsai.net/about Masthead: https://towardsai.net/about
Name: Towards AI Legal Name: Towards AI, Inc. Description: Towards AI is the world's leading artificial intelligence (AI) and technology publication. Founders: Roberto Iriondo, , Job Title: Co-founder and Advisor Works for: Towards AI, Inc. Follow Roberto: X, LinkedIn, GitHub, Google Scholar, Towards AI Profile, Medium, ML@CMU, FreeCodeCamp, Crunchbase, Bloomberg, Roberto Iriondo, Generative AI Lab, Generative AI Lab VeloxTrend Ultrarix Capital Partners Denis Piffaretti, Job Title: Co-founder Works for: Towards AI, Inc. Louie Peters, Job Title: Co-founder Works for: Towards AI, Inc. Louis-François Bouchard, Job Title: Co-founder Works for: Towards AI, Inc. Cover:
Towards AI Cover
Logo:
Towards AI Logo
Areas Served: Worldwide Alternate Name: Towards AI, Inc. Alternate Name: Towards AI Co. Alternate Name: towards ai Alternate Name: towardsai Alternate Name: towards.ai Alternate Name: tai Alternate Name: toward ai Alternate Name: toward.ai Alternate Name: Towards AI, Inc. Alternate Name: towardsai.net Alternate Name: pub.towardsai.net
5 stars – based on 497 reviews

Frequently Used, Contextual References

TODO: Remember to copy unique IDs whenever it needs used. i.e., URL: 304b2e42315e

Resources

Evolution of NLP: TF-IDF to Agents
Latest   Machine Learning

Evolution of NLP: TF-IDF to Agents

Last Updated on July 16, 2026 by Editorial Team

Author(s): Zoumana Keita

Originally published on Towards AI.

How search progressed from exact-term matching to systems that decide how to gather evidence.

A search box can create the impression that a computer understands a question. For much of the history of information retrieval, that impression was misleading. A system could locate the words a person typed, rank the documents containing them, and return a long list without fully understanding what the person actually meant. The familiar experience of receiving many results but no useful answer begins with this gap between matching language and understanding intent.

Evolution of NLP: TF-IDF to Agents

Evolution of NLP: TF-IDF to Agents

After introducing the motivation, the article walks through how retrieval evolved—from inverted indices with TF-IDF/BM25 that rank by lexical relevance, to semantic search using vector embeddings that recover meaning across different phrasings, and then hybrid retrieval that combines exact identifiers with conceptual recall. It explains how LLMs brought fluent generation but are limited by training data, leading to traditional RAG systems that fetch external passages at query time to ground answers. The author then covers improvements like query rewriting, retrieval reranking, and more accurate pipelines, before introducing agentic RAG, where an agent decides dynamically whether to search, which sources to consult, how to verify evidence, and when it has enough information to answer—enabling multi-step investigation and synthesis. Finally, it notes emerging vulnerabilities from this added autonomy and concludes that the main trend isn’t just better writing, but better information-seeking decisions: where to search, what to trust, and how to ensure evidence is sufficient.

Read the full blog for free on Medium.

Join thousands of data leaders on the AI newsletter. Join over 80,000 subscribers and keep up to date with the latest developments in AI. From research to projects and ideas. If you are building an AI startup, an AI-related product, or a service, we invite you to consider becoming a sponsor.

Published via Towards AI


Towards AI Academy

We Build Enterprise-Grade AI. We'll Teach You to Master It Too.

15 engineers. 100,000+ students. Towards AI Academy teaches what actually survives production.

Start free — no commitment:

→ AI Engineering For Production — our new book, coming before the end of 2026. Join the waitlist.

→ Agents Architecture Cheatsheet — 3 years of architecture decisions in 6 pages

Our courses:

→ AI Engineering Certification — 90+ lessons from project selection to deployed product. The most comprehensive practical LLM course out there.

→ Agent Engineering Course — Hands on with production agent architectures, memory, routing, and eval frameworks — built from real enterprise engagements.

→ AI for Work — Understand, evaluate, and apply AI for complex work tasks.

Note: Article content contains the views of the contributing authors and not Towards AI.