Symbolic AI is the approach to artificial intelligence that represents knowledge through symbols, rules and logic. Instead of learning patterns from thousands of examples, the system follows rules written by people and draws conclusions from them.

It dominated AI research in the early decades of the field and is also called classical AI or GOFAI, acronym in English for good old fashioned AI.

Como funciona

The system has a knowledge base with facts and rules, and an inference engine that combines these elements to reach answers. Rules typically follow the "if this, then that" format.

A simple example of a rule base:

Texto · regras.txt
SE temperatura > 38 E tosse = sim ENTÃO sugerir consulta médica
SE pedido > 500 E cliente = novo ENTÃO pedir análise manual

Because each step can be made explicit, you can know exactly why the system reached a conclusion. This transparency is one of the biggest advantages of the approach.

Common structures in symbolic AI include expert systems, knowledge graphs, ontologies and logic programming.

Exemplo prático

An insurance company uses rules to approve small claims. If the amount is below a limit and the policy is up to date, the system approves. Otherwise, it sends it to an analyst.

Everyone in the company can read the rules, question them and update them. When the law changes, you just edit the corresponding rule, with no retraining needed.

Para que serve

Symbolic AI is used for problems where the rules are clear and decisions need to be explainable and auditable: compliance validation, tax calculations, guided diagnostics, product configuration and planning.

Today it also appears combined with machine learning, in approaches called neurosymbolic. The idea is to unite the flexibility of neural networks with the clarity of rules.

Diferença entre IA simbólica e machine learning

In symbolic AI, humans write the rules. In machine learning, the system discovers patterns on its own from data.

The symbolic advantage is explainability and control. The downside is that too many rules become hard to maintain and do not cover unforeseen situations, such as understanding informal natural language or recognizing images.

That is why many modern projects combine both: a language model interprets the user's request and a set of rules validates the final decision. For decisions with financial or legal impact, this combination provides more safety.