Cyc

Also known as: Cycorp knowledge base

On this page 7

Cyc is a long-running symbolic artificial intelligence project that encodes everyday common-sense knowledge as formal logical assertions, together with an inference engine that draws conclusions from them. Started by Douglas Lenat in 1984 and continued by the company Cycorp, it is the largest and oldest attempt in symbolic AI & reasoning to hand-build the background knowledge that people use without noticing.

The underlying bet is that brittleness in expert systems comes from missing common sense rather than from weak algorithms. Cyc therefore aims to store the millions of implicit facts a human takes for granted, such as that objects fall when dropped or that people cannot be in two places at once, so that specialized applications can reason on top of a shared foundation. It is often described simply as the Cycorp knowledge base.

How Cyc represents knowledge

Cyc stores knowledge in CycL, a representation language based on first-order predicate calculus with extensions toward higher-order logic. Every concept is a named constant, traditionally written with the #$ prefix, and every fact is an assertion that links constants through predicates such as #$isa (instance of) and #$genls (subclass of).

The knowledge base is organized into an upper ontology of very general concepts, a middle layer of everyday notions and domain-specific layers for areas such as biology, geography or military planning. Each assertion lives in a microtheory, a named context that holds a consistent set of beliefs. Microtheories let Cyc keep locally consistent but globally contradictory knowledge, for example physics as taught in school alongside a fictional universe.

The table below summarizes the main building blocks of the representation and what each one contributes to reasoning.

ElementWhat it isRole in reasoning
ConstantNamed term for a concept or individualBasic vocabulary of all assertions
CollectionClass of things, linked by subclass relationsInheritance of properties down the taxonomy
PredicateTyped relation between termsStates facts and constrains arguments
RuleImplication with variablesDerives new facts from existing ones
MicrotheoryContext holding a consistent set of assertionsLimits search and isolates contradictions
Default assertionStatement that can be overriddenSupports non-monotonic conclusions
Core elements of the Cyc representation

How the Cyc inference engine reasons

A general resolution theorem prover over tens of millions of assertions would be far too slow, so Cyc relies on a large set of specialized reasoning modules. Each module handles a common pattern, such as transitivity of subclass relations or arithmetic comparison, much faster than general deduction. A harness chooses among these modules and falls back to general methods only when no shortcut applies.

Cyc combines deductive reasoning with default reasoning: many rules hold only typically, and more specific knowledge overrides more general knowledge. This makes the system non-monotonic, because adding a fact can withdraw an earlier conclusion. Queries are posed within a microtheory, and the engine considers only assertions visible from that context, which keeps the search space manageable.

The next table lists typical reasoning tasks and the mechanism Cyc uses for each.

Reasoning taskMechanismTypical result
Taxonomic inferenceCached subclass and instance closureA dog is known to be an animal
Rule chainingBackward chaining with heuristic orderingAnswers to open questions with variables
Exception handlingDefault rules with overridesPenguins are birds that do not fly
Context reasoningMicrotheory inheritanceSeparate answers for history and fiction
JustificationStored proof treesHuman-readable explanation of an answer
Reasoning tasks and Cyc mechanisms

Cyc compared with other knowledge approaches

Cyc sits between narrow expert systems and web-scale ontologies. Unlike a classic expert system built with an expert system shell, it aims at breadth of common sense rather than one domain. Unlike description logic ontologies written in the Web Ontology Language, it uses a more expressive logic, which gains expressiveness at the cost of decidability and predictable reasoning time.

The comparison below places Cyc beside related approaches that a practitioner might consider.

ApproachScopeLogicMain trade-off
CycBroad common sense plus domainsHigher-order extensions of first-order logicExpressive but costly to build and query
Expert systemSingle narrow domainProduction rulesFast to deploy but brittle outside its domain
OWL ontologyDomain vocabularyDescription logicDecidable but less expressive
Knowledge graphLarge factual coverageSimple triplesScales well but holds few rules
Large language modelBroad implicit knowledgeNo explicit logicFluent but unverifiable and inconsistent
Cyc and related knowledge systems

History and versions of Cyc

The project began in 1984 at the Microelectronics and Computer Technology Corporation in Austin, Texas, and moved to the independent company Cycorp in 1994. Lenat estimated that encoding common sense would take many hundreds of person-years, and most knowledge was entered by trained ontologists rather than learned automatically.

  • OpenCyc offered a free subset of the ontology from 2002 until it was withdrawn in 2017.
  • ResearchCyc gave academic researchers licensed access to a much larger portion of the knowledge base.
  • Commercial Cyc has been deployed for clients in areas such as medical research queries, intelligence analysis and enterprise data integration.
  • After Lenat died in 2023, Cycorp continued the work, while debate about the project’s legacy intensified.

Limitations and criticism of Cyc

Cyc is the best-known illustration of the knowledge acquisition bottleneck: hand-encoding knowledge is slow, expensive and never complete. Critics also point to limited external evaluation, because most of the knowledge base has been proprietary, and to the difficulty of connecting symbols to perception and natural language.

The table below lists frequent problems and the usual response in practice.

WeaknessCauseTypical mitigation
Incomplete coverageManual knowledge entryDomain experts extend the relevant microtheories
Slow complex queriesExpressive logic and huge search spaceSpecialized modules and narrower contexts
Natural language gapSymbols lack groundingParsers and, more recently, language models
Steep learning curveLarge ontology and complex syntaxTrained ontologists and curated templates
Known weaknesses and typical mitigations

A common misconception is that Cyc failed because symbolic AI cannot work. A more balanced view is that Cyc showed how much tacit knowledge intelligence requires, and that its explicit, explainable reasoning remains valuable in neuro-symbolic systems that pair learned models with verifiable logic.

In plain words

Cyc is a huge, hand-written encyclopedia of common sense that a computer can reason with. People wrote down millions of simple facts. Examples are that water is wet and that a person has one mother. They also wrote rules that connect these facts.

When you ask Cyc a question, it follows these rules step by step and can show how it reached its answer. The key idea is simple. Computers lack the background knowledge that people pick up as children, so Cyc tries to type it in by hand.

A real-world example

A hospital research team wants to find patients who developed an infection after a specific type of heart surgery. Writing such a query directly against clinical databases normally requires a database specialist and several days of work. With a Cyc-based system, a researcher types the question in structured English, and the system maps the words to Cyc concepts such as surgical procedure, infection and time interval.

Cyc then uses its common-sense rules to fill gaps the researcher never stated, for example that an infection after surgery must occur later than the operation and in the same patient. It translates the result into database queries and returns the matching cases with an explanation of each inference step. The outcome is that clinical researchers can answer complex questions in hours instead of waiting days for custom queries.