WritingScalewayScalewaypublished Nov 8, 2023seen 5d

Symbolic AI is dead… long live symbolic AI!

Open original ↗

Captured source

source ↗
published Nov 8, 2023seen 5dcaptured 3dhttp 200method plain

Symbolic AI is dead… long live symbolic AI! Build • James Martin • 08/11/23 • 5 min read

Generative AI (GAI) has been the talk of the town since ChatGPT exploded late 2022. But it’s not the only type of artificial intelligence. Symbolic AI is also known as Good Old-Fashioned Artificial Intelligence (GOFAI), as it was influenced by the work of Alan Turing and others in the 1950s and 60s. And yet, it remains relevant today.

Notably because symbolic AI is far less resource-intensive than GPU-heavy GAI. It can therefore work perfectly with standard CPUs , and hence more cheaply. As it uses a pre-established set of rules and symbols to represent and manipulate data, it doesn’t need training. It is fully capable of functions like natural language processing — think Siri, or Alexa — or of knowledge management applications, like filtering emails.

So let’s take a look at why and how symbolic AI is still widely used today, “old-fashioned” as it may be .

How Symbolic AI remains relevant today

So called because it relies on rules and symbols to make “if this then that”-type determinations , symbolic AI effectively began in 1959, with Herbert Simon, Allen Newell and Cliff Shaw, who aimed to build a computer that could solve problems in a similar way as our brains do. Together, they built the General Problem Solver , which uses formal operators via state-space search using (the principle which aims to reduce the distance between a project’s current state and its goal state).

Jump ahead to today, and symbolic AI remains widely used, across four main case types:

Expert systems : AI applications that use knowledge and rules to mimic the decision-making process of human experts in a specific domain.

Usages include medical diagnosis — for example, for detecting tumors — financial analysis, and customer service.

Natural Language Processing (NLP) : AI applications that can understand and generate human language.

Usages cover language translation, text analysis and speech recognition, as with Apple’s Siri, for example.

Robotics : AI apps powering robots of many kinds.

Usages include robots that can navigate in an unknown environment, avoid obstacles, and interact with humans.

Knowledge representation : Symbolic AI can be used to represent knowledge in a structured and logical way.

Usages can be applications such as databases and knowledge management systems, like Golem.ai’s email sorting solution, InBoxCare (below).

Just as naturally, symbolic AI has its limits. Facial recognition, for example, is impossible, as is content generation.

But let’s stay focused on what it can do: you might be surprised!

Why CPU beats GPU for AI efficiency

Unlike ML, which requires energy-intensive GPUs, CPUs are enough for symbolic AI’s needs. This means symbolic AI is considerably more frugal than GAI .

In ML, knowledge is often represented in a high-dimensional space, which requires a lot of computing power to process and manipulate. In contrast, symbolic AI uses more efficient algorithms and techniques, such as rule-based systems and logic programming, which require less computing power .

Symbolic AI needs, on average, 143 times less energy than a classic machine learning (ML) model . And this naturally translates to less emissions. French startup Golem.ai has notably established that one of their email-sorting AI models emits 1000 less CO2eq than GPT-3 :

Golem.ai vs GPT-3

This impact is further reduced by choosing a cloud provider with data centers in France, as Golem.ai does with Scaleway. As carbon intensity (the quantity of CO2 generated by kWh produced) is nearly 12 times lower in France than in the US , for example, the energy needed for AI computing produces considerably less emissions. More on AI’s environmental impact here .

How Golem.ai uses Symbolic AI

Golem.ai uses Natural Language Processing (NLP) to perform tasks such as creating a spreadsheet or dashboard from a 300-page document, or automatically sorting and forwarding emails to the right person . This naturally leads to considerable time savings.

“One of our clients has about 15,000 emails coming in every day on its main inbox”, says Golem.ai CEO Killian Vermersch . “One customer might try to order something, another may be asking about pricing. These are two very similar emails, but they’re not processed in the same way. If the customer wants to order one specific thing, our AI will search the catalog to see if what they want is there . And then prepare that for the sales team. All while keeping the human in the loop; that's quite important to us.”

As such, Golem.ai applies linguistics and neurolinguistics to a given problem, rather than statistics. Their algorithm includes almost every known language, enabling the company to analyze large amounts of text. And it does so whilst using minimal resources. Notably because unlike GAI, which consumes considerable amounts of energy during its training stage, symbolic AI doesn’t need to be trained .

Golem.ai also leans on external data, including from Scaleway, to tell clients “on a day to day basis how much CO2 equivalent we produce, and how much we save,” says Vermersch. “ We want the market to move in a frugal direction. We actually need this planet to work in order to do business! ”

Furthermore, unlike GAI companies like OpenAI, Golem.ai is totally transparent about how its symbolic AI works , and openly provides data on how its AIs come up with their results. Responsible and accountable!

How other companies use Symbolic AI

Some companies have chosen to ‘boost’ symbolic AI by combining it with other kinds of artificial intelligence. Inbenta works in the initially-symbolic field of Natural Language Processing, but adds a layer of ML to increase the efficiency of this processing . The ML layer processes hundreds of thousands of lexical functions, featured in dictionaries, that allow the system to better ‘understand’ relationships between words. It calls this approach neuro-symbolic AI.

So, as Inbenta explains here , if someone types “ how much wll me cost to call to francw ” (typos deliberate) into a chatbot, Inbenta’s systems will first analyze the request like this, giving semantic weighting percentages to pick out those words with the most meaning in the query:

Inbenta word recognition

Then the algorithm works out the relationships between words, based on the aforementioned dictionaries, to establish their meanings:

Inbenta word correlation

This will give a “…

Excerpt shown — open the source for the full document.