What happened in AI (till now)
Symbolic AI → why rules hit a wall
Contrast symbolic/rule systems with learning systems at a systems level
- What is AI (and what it is not) (browse)
- Classical ML literacy (browse)
- Open-weight models vs closed APIs (browse)
Learning objectives
- Contrast symbolic/rule systems with learning systems at a systems level
- Name failure modes that pushed the field toward statistical ML
- Write a short essay tying one real product failure to brittleness of rules
Before "just call the model"
Artificial intelligence did not begin with transformers or even with neural networks in industry. For decades, much of what companies called "AI" meant symbolic systems: human experts encode knowledge as rules, facts, and logical relationships; the machine applies inference to reach conclusions. Expert systems, search algorithms like A*, knowledge graphs, semantic ontologies, and classical planners still run in production today — in fraud rule engines, tax software, network routing, and game AI.
Understanding symbolic AI matters for modern engineers because the pendulum swings back. LLM-powered agents are probabilistic and messy; teams reintroduce deterministic validators, policy engines, and schema checks to keep them safe. If you only know "call the API," you will not know where to draw the line between flexible generation and hard constraints.
This lesson names what symbolic systems do well, where they break, and why statistical learning became the default path for perception and language — setting up the rest of the field-map module.
What symbolic systems are
At a systems level, a symbolic AI pipeline looks like:
- Perception / parsing — convert raw input into symbols (tokens, entities, predicates).
- Knowledge base — facts and rules (
IF income > threshold AND region = X THEN flag_for_review). - Inference engine — forward or backward chaining, unification, constraint propagation.
- Explanation — which rules fired, which facts were used.
The representation is explicit. A compliance officer can read rule R12 and argue about it. That audit trail is symbolic AI's superpower.
Examples you may have encountered:
- Expert systems (1980s boom) — MYCIN for bacterial infections, early credit scoring rule sets.
- Classical search — A* pathfinding, SAT solvers, planning domains (STRIPS-style).
- Knowledge graphs — Google Knowledge Graph, Wikidata; entities and typed edges, often paired with rules or SPARQL queries.
- Business rules engines — Drools, custom DSLs in banks and insurers.
None of these are "old AI" in the sense of obsolete. They are narrow, structured tools that fail when the world stops fitting the schema.
What symbolic systems are good at
Symbolic approaches shine when the problem is closed-world and expert-enumerable:
| Strength | Why it matters in production |
|---|---|
| Clear audit trails | Regulated industries need "why was this denied?" |
| Hard constraints | Safety interlocks, legal caps, invariant checks |
| Fixed schemas | Tax forms, ISO codes, protocol state machines |
| Composability | Rules combine with predictable (if brittle) logic |
| No training data hunger | Experts write rules directly |
If your product owner can draw a flowchart with finite branches and legal can sign off on each branch, symbolic logic may be the right core — possibly with an LLM front-end for natural language I/O later.
Callout — hybrid is the modern default: Neural components propose (parse intent, draft text, classify sentiment); symbolic layers constrain (validate JSON schema, enforce spending limits, block PII patterns). You will rebuild this split in guardrails and agent harnesses later in the course.
Where symbolic systems break
The failures that pushed research and industry toward statistical ML were not philosophical — they were operational.
Coverage explosion
Natural language and vision have long tails. Hand-authoring rules for every phrasing of a support request, every accent, every lighting condition in a warehouse camera feed does not scale. Teams drown in edge cases. Each new rule fixes one failure and causes two regressions elsewhere ("rule interactions").
The perception gap
Symbolic AI assumes you already have symbols. But turning pixels, audio, or messy PDFs into reliable entities is the hard problem. OCR errors, ambiguous pronouns, sarcasm — the parser becomes a hidden ML system, often worse than end-to-end learning because it was designed by committee.
Maintenance debt
Rulesets require continuous curator labor. Product changes, new regulations, new slang — all become engineering tickets. Without strong tooling, rule bases turn into "no one knows why R847 exists" folklore.
Poor transfer
A medical diagnosis rule engine does not casually become a legal contract analyzer. Knowledge and inference are domain-bound. ML features (especially representation learning later) trade interpretability for reuse across tasks.
Brittleness under open world
Symbolic systems assume closed worlds: the set of entities and relations is known. The web, customer support, and autonomous agents operate in open worlds where new entities appear daily. Rules say "unknown → error" or worse, "unknown → default allow."
Learning systems trade some interpretability for coverage: they generalize from examples to similar cases they have never seen explicitly coded. That trade defined the classical ML era (next lesson) and accelerated with deep learning.
Contrast with learning systems (preview)
| Dimension | Symbolic | Learning (ML / DL) |
|---|---|---|
| Knowledge source | Experts write rules | Data + labels (or self-supervision) |
| Generalization | Only what rules encode | Similarity in feature/representation space |
| Debuggability | High for rule paths | Harder; attributions are approximate |
| Data needs | Low upfront | Often high; quality matters |
| Long-tail language/vision | Poor | Better (not perfect) |
Modern AI engineering is rarely either/or. Ask: which parts of the problem are closed-world? Routing among five known intent types with SLAs may stay rule-based; drafting empathetic reply text may be LLM-generated; refund eligibility may be SQL + rules.
Callout — agents without validators: Pure LLM agents with no schema validation or policy checks are the opposite failure mode from pure rules — flexible but unsafe. Production systems need both.
Engineering problem (staff framing)
Pure rules miss open-world language; pure LLMs miss hard policy. Decide which subsystem owns correctness vs fluency.
Diagram — Symbolic vs hybrid stacks
flowchart TB
subgraph Sym[Symbolic]
P[Parse] --> R[Rules/KB] --> I[Infer] --> E[Explain]
end
subgraph Hy[Hybrid prod]
L[LLM propose] --> V[Validators/policy] --> A[Actions] --> G[Audit]
end
Precise definitions & mental model
Symbolic AI, closed-world assumption, coverage explosion, hybrid (neural propose / symbolic dispose).
Tradeoffs — when to use what
| System | Audit | Coverage |
|---|---|---|
| Rules | Excellent | Poor on NL |
| LLM | Weak | Strong fluency |
| Hybrid | Good if logged | Best default |
Failure modes (interview + on-call)
Rule interactions; perception gap; open-world default-allow.
Production & OSS practices
Money/authz/compliance stay deterministic; LLMs draft/classify/retrieve; log rule IDs.
Interview cue card
Design a refund assistant: SQL/rules vs LLM? How do you audit?
Deep dive (FAANG / OSS bar)
Modern return of symbols
Compilers, typecheckers, linters, policy engines, and JSON Schema are symbolic. Agents that emit code or API calls should pass through these gates. The 1980s lesson was not "symbols bad" — it was "symbols alone cannot perceive the open world."
Micro-project: Short essay
In m1/essays/symbolic-wall.md (500–800 words):
- Pick one product domain: support routing, KYC identity verification, content moderation, dynamic pricing, or another you know.
- Describe a pure-rules approach: what facts you would store, what rules you would write, what the inference loop looks like.
- Name at least one concrete failure mode — coverage explosion, perception error, maintenance, rule conflict, open-world entity — with a scenario, not vague "AI is hard."
- State what you would keep symbolic even if you add an LLM (e.g., "refund amount capped by policy table," "blocklisted URLs," "mandatory human review flag").
Commit the essay to your portfolio. It becomes a linked artifact in your Milestone 1 field-map write-up.
Checklist
- Essay committed to
m1/essays/symbolic-wall.md - One concrete failure mode named with a scenario
- One keep-symbolic decision stated with rationale
ShipAI delivery model is: