Skip to content
  • The Modern AI Landscape · Artificial Intelligence

The Modern AI Landscape

LearnViaNotes @learnvianotes· 4 min read

Today “AI” usually means machine learning, and especially deep learning and large language models. But the classical ideas in these notes — search, constraints, logic, probability, decision theory — are still inside modern systems, often combined with learned components.

How the pieces fit

ParadigmKnowledge comes fromCore techniquesWhere to read more
Search & planningA problem formulationBFS/A*, alpha-beta, MCTS, STRIPS planners, CSP solversThis subject
Logic & knowledgeHand-written facts and rulesResolution, chaining, ontologies, knowledge graphsThis subject
Probabilistic reasoningExpert-built or learned modelsBayesian networks, HMMs, MDPsThis subject
Machine learningLabelled/unlabelled dataRegression, trees, SVMs, clustering, evaluationMachine Learning, Data Science
Deep learningLarge datasets + gradient descentCNNs, RNNs, Transformers, generative modelsDeep Learning
Generative AI / LLMsWeb-scale pretraining + fine-tuning + RLHFPrompting, RAG, agents, evaluationGenerative AI
Reinforcement learningInteraction and rewardQ-learning, policy gradients, self-playThis subject (intro) + Deep Learning

Classical AI inside modern systems

Classical ideaStill used in
A* and graph searchMaps and ride-hailing routing, game path-finding, robot motion planning
Minimax / MCTSChess engines (Stockfish: alpha-beta + a neural evaluation), AlphaZero, game AI
Constraint solving & SATAirline crew and timetable scheduling, chip verification, package managers' dependency resolution
Planning (PDDL/HTN)Logistics, space missions, NPC behaviour in games, LLM agents that decompose tasks
Logic & knowledge graphsSearch-engine knowledge panels, business rules engines, grounding LLM answers (RAG over graphs)
Bayesian reasoning & HMMsSpam filters, medical decision support, Kalman/particle filters in robots and GPS
MDPs & RLRecommendation, ad bidding, robotics, and RLHF for aligning LLMs
Beam searchDecoding text in translation and speech models

Natural language processing

EraApproachExample
1960s–80sHand-written rules and grammarsELIZA, SHRDLU
1990s–2000sStatistical: n-gram language models, HMMs, CRFsStatistical machine translation, POS tagging
2013–2017Word embeddings + RNN/LSTM sequence modelsword2vec, seq2seq translation
2018–nowPretrained Transformers, then LLMsBERT, GPT family, instruction-tuned chat models

The idea behind every language model is the same — predict the next word from the context. A bigram model is the smallest version:

Python
from collections import Counter, defaultdict

corpus = "the cat sat on the mat . the cat ate the fish . the dog sat on the log .".split()
bigrams = defaultdict(Counter)
for w1, w2 in zip(corpus, corpus[1:]):
    bigrams[w1][w2] += 1

def next_word_probs(word):
    counts = bigrams[word]
    total = sum(counts.values())
    return {w: round(c / total, 2) for w, c in counts.most_common()}

def generate(word, n=5):
    out = [word]
    for _ in range(n):
        word = bigrams[word].most_common(1)[0][0]     # greedy decoding
        out.append(word)
    return " ".join(out)

print(next_word_probs("the"))     # {'cat': 0.33, 'mat': 0.17, 'fish': 0.17, 'dog': 0.17, 'log': 0.17}
print(generate("dog"))            # dog sat on the cat sat ← greedy decoding soon loops

An LLM replaces the one-word context with thousands of tokens and the count table with a Transformer of billions of parameters — see the Deep Learning (Transformers) and Generative AI notes.

NLP taskInput → output
Classification (sentiment, spam, intent)Text → label
Named-entity recognition, POS taggingText → label per token
Machine translation, summarisationText → text
Question answering, retrievalQuestion (+ documents) → answer
Speech recognition / synthesisAudio ↔ text

Computer vision

TaskOutputTypical models
Image classificationOne label per imageCNNs (ResNet), Vision Transformers
Object detectionBoxes + labelsYOLO, DETR
SegmentationA label per pixel (semantic / instance)U-Net, Mask R-CNN, SAM
Tracking, pose, depthTrajectories, keypoints, 3-D structureSpecialised CNN/Transformer heads
Generation & editingNew imagesDiffusion models
Vision–languageCaptions, answers about imagesCLIP-style encoders, multimodal LLMs

Vision went through the same shift as NLP: hand-designed features (edges, SIFT, HOG) + a classifier, replaced after 2012 by features learned end-to-end by CNNs, and more recently by Transformers and multimodal models.

robotics · speech · recommender systems · autonomous vehicles · multi-agent systems · AI for science (protein folding) · neuro-symbolic AI

Is classical (symbolic) AI obsolete now that we have deep learning?

What is the difference between narrow AI systems today and AGI?

Free for students and teachers

Write notes like this one

Cards for every idea, quizzes and flashcards, read aloud — on the web and your phone.

Something wrong with this note? Open it to report