Artificial Intelligence (AI) & VisiRule
People often ask 'What is AI?' and 'Where is the AI in VisiRule?' and 'Can I see the AI?' This page attempts to answer these questions.
AI is new and shiny - right?
You may be thinking that Artificial intelligence (AI) is some new area of computing, based on Deep Learning, which plans to build intelligent machines to take over from humans? Wrong!!
Is AI some super new idea?
No! AI is not new -- it's been around for over 60 years. The initial Dartmouth Summer Research Project on Artificial Intelligence, often seen as the start of AI, was held in 1956; that's over 60 years ago!
So what happened to AI back then?
AI has lived before and 'died' in various AI Winters. LPA were formed in 1981 and was one its first contracts was to supply Prolog to British Telecom who were building expert systems fault-finders on 640K MS-DOS PCs!
Is human creativity a wall AI can never scale?
Forget about Big Blue vs. Kasparov – one test of artificial intelligence is to ask a computer to write a story.
Long before he created Watson, Dave Ferrucci with Selmer Bringsjord used LPA Prolog and Flex to implement Brutus.1, a software agent that creates short tales of betrayal, self-deception, and evil worthy of a human creator. In their book, Artificial Intelligence and Literary Creativity, they push AI toward a time when machines can write not just humdrum stories of the sort seen for years in AI, but first-rate fiction thought to be the province of human genius.
Now GPT-AI has also shown how AI can generate quite plausible and well constructed text. But is it innovation? Is it creative??
When will AI replace Humans?
Probably not for a while - so you can relax (for now).
AI is dumb, stupid!
AI is dumb; but even dumb things can appear smart and to do 'clever' things.
Is AI an Oxymoron?
Hard to say -- but AI is certainly more 'artificial' than 'intelligent' at present.
So: what exactly is AI?
AI is a 'broad church' or mixed bag of many algorithms and techniques Machine Learning and Deep Learning are just two strands of AI research which happen to be very popular and fashionable right now. As to AI's potential usage, that is for philosophical and political debate.
How might we define Artificial Intelligence?
AI is something which mimics the jobs normally associated with humans and appears to display intelligence
AI is something which is internally constructed in a way which supports or reflects human reasoning
Symbolic vs Sub-symbolic AI
Symbolic AI focuses on the high-level symbolic (human-readable) representation of problems, logic, and search. Sub-symbolic AI such as used in LLM (large language models) and GPT-AI builds executable models using low-level machine oriented structures.
AI as a Capability
Some people argue that AI is not so much a thing as a capability. AI enables software to look or appear to have:
I know what I know - right?
Yes & No - just because you know how to say fix something, does not mean you know what you know nor how to express and explain it in a coherent way. For instance, a fraud investigator may be good at spotty dodgy claims, but may struggle to explain what alerted them to that claim.
What is Knowledge?
Knowledge Identification, Extraction & Elicitation
One of the big challenges for expert systems is 'knowledge elicitation' how to get subject matter experts to specify their knowledge in an organized and unambiguous way.
How does VisiRule help capture Knowledge?
Having access to a soft, visual tool such as VisiRule is a great aid in helping capture and validate knowledge. Ideas can be rapidly drawn and tested.
Why use a Visual Representation?
Visual models are far more powerful than pages of If-Then rules which often get inter-connected and messy from a structural point-of-view.
Where has AI been applied successfully?
Rules-based expert AI have historically been successfully applied in:
Interactive Expert Advice Systems
Automated Document Generation
Scheduling and Resource Allocation optimization
Distribution and Rostering
The AI Effect
Artificial Intelligence has always had an identity problem. AI often refers to ideas and techniques which haven't as yet been fully discovered. Once they emerge out of the bag of tricks known as AI, they often get their own distinct name such as Vision Recognition, Language Processing and are no longer attributed to AI. This is known as the AI Effect.
John McCarthy, the Father of AI, famously said: "As soon as it works, no one calls it AI any more."
Leading researcher Rodney Brooks says "Every time we figure out a piece of it, it stops being magical; we say, 'Oh, that's just a computation.'"
Nick Bostrom, Director of the Future of Humanity Institute at Oxford University states: "A lot of cutting edge AI has filtered into general applications, often without being called AI because once something becomes useful enough and common enough it's not labelled AI anymore."
What is Machine Learning?
Machine Learning offers the potential to learn how to predict future actions by analysing historical data. Intelligent algorithms can be used to train software to recognize, detect and classify certain situations. A lot has been written about ML especially Deep Learning but to make it work you need a LOT of good, clean, and UNBIASED data and a lot of processing power.
What is wrong with Machine Learning?
Machine learning can help identify problems which are about to occur, but can not help determine what to do about it, nor explain its reasoning. VisiRule FastChart allows you to leverage machine learning to generate brand new charts from existing data sets.
As Bill Ruh, CEO at GE Digital and chief digital officer at GE states: "AI will never be able to give the user the correct answer to the question of what to do next. The only way to do it is through modeling and simulation, looking at every instance of corrosion to understand the physics of what is happening to the pipeline. AI doesn’t understand this physics; it understands patterns.”
You can read what Forbes has to say about Machine Learning and Deep Learning and Expert Systems.
What are AI/Expert Systems?
AI Expert Systems use rules to replicate the behaviour of human experts. Rules can work forwards i.e. from data to conclusions; often called data-driven, or backwards i.e. from conclusions to data; often called goal-driven.
What is Human Expertise?
Humans are good at doing things --- they often have years of experience in doing something and have learnt to recognize and detect what to do in certain situations. People have the ability to make jumps in analysis and link in information outside of the box.
Rule-based AI vs Machine Learning
Machine Learning requires a lot of data points of a high quality. This is not always available, Rule-based systems or rules-based AI require a clear set of well understood and stable operational rules. Read the article by Mario Grunitz entitled: "Rule-based AI vs machine learning: what’s the difference?".
VisiRule FastChart allows charts to be derived from data using algorithms, and then refined by human experts using their own know-how.
It is interesting to note, harking back again to the exponential growth of information technology, that the hardware on which Watson ran in 2011 was said to be about the size of the average bedroom. Today, we are told, it runs on a machine that is the size of three pizza boxes, and by the early 2020s Watson will sit comfortably in a smartphone."
― Richard Susskind, The Future of the Professions:
How Technology Will Transform the Work of Human Experts
Expert Systems & Big Data
Within the symbolic, rules-based cluster of AI techniques, are Expert Systems. In "Best Practices to Building an Expert System", John Etherington explains how this 50-year-old AI innovation may solve big data problems.
Expert Systems look to provide advice and guidance of a quality and consistency comparable to that of a suitably skilled and experienced human expert. An expert system is an example of a knowledge-based system, where rules are used to represent the knowledge of the expert, rather than embedded in formulae or code. The goal of knowledge-based systems is to make the critical information required for the system to work explicit rather than implicit. This means that the expert knowledge or 'know-how' is more easy to identify, discuss, refine, revise and extend. It also means that systems built on this knowledge can use that same knowledge to explain how a conclusion was reached, as opposed to Neural Nets which can not explain how they arrived at any given conclusion.
In "Expert Systems, Artificial Intelligence and the Behavioural Co-ordinates of Skill", H. M. Collins classifies expert systems into four levels beginning with computerization of a rule book, followed by the incorporation of heuristics obtained by interviewing experts but used by humans only as an adviser, followed by expert systems acting autonomously and, finally, by systems with common sense. VisiRule is at level 2 with plans for level 3.
Rule-based systems are used as a way to store and manipulate knowledge to interpret information in a useful way. Rule-based expert systems have long been associated with AI and the provision of a dedicated data structure to model human reasoning is one of the characteristics of AI.
The area of Knowledge-based Systems and rule-based inference falls under what is now sometimes referred to as "Good Old Fashioned Artificial Intelligence", or GOFAI, and is often characterized by symbolic reasoning, non-deterministic search and meta-level reasoning. VisiRule supports all of these, but chooses to present a 'simple' story using a familiar mechanism, namely the flowchart, which in VisiRule also resembles a decision tree.
Different Types of AI
Narrow vs General AI
The White House "Preparing for the Future of AI" report stated:
"Remarkable progress has been made on what is known as Narrow AI, which addresses specific application areas such as playing strategic games, language translation, self-driving vehicles, and image recognition. Narrow AI underpins many commercial services such as trip planning, shopper recommendation systems, and ad targeting, and is finding important applications in medical diagnosis, education, and scientific research. These have all had significant societal benefits and have contributed to the economic vitality of the Nation."
"General AI (sometimes called Artificial General Intelligence, or AGI) refers to a notional future AI system that exhibits apparently intelligent behaviour at least as advanced as a person across the full range of cognitive tasks. A broad chasm seems to separate today’s Narrow AI from the much more difficult challenge of General AI. Attempts to reach General AI by expanding Narrow AI solutions have made little headway over many decades of research. The current consensus of the private-sector expert community, with which the NSTC Committee on Technology concurs, is that "General AI will not be achieved for at least decades."
You can read about this in VentureBeats "What is Artificial narrow AI (ANI)?".
Academic AI vs Pragmatic AI
Historically, there has been a disconnect between the theoretically inclined academic community and the more pragmatic industrial researchers looking at AI. The academics have been almost trying to solve the complete challenge of understanding, modelling and replicating human conscious thought processes, whereas the pragmatists have just tried to use AI techniques to solve specific challenges. A good example is Watson by IBM, a computer program which was designed solely to beat the world's leading players in Jeopardy and succeeded. Whilst Watson was never intended to do any deep semantic analysis or attempt to derive the meaning behind questions, it was subsequently heralded as the 'answer' to many questions in law, healthcare and others.
LPA are pragmatists. VisiRule strives to provide a transparent solution for delivering intelligent applications using both existing data and the knowledge of human experts, be they legal, medical, electrical or whatever.
Hard AI vs Soft AI
The ABA states in 'How artificial intelligence is transforming the legal profession': "There are two types of artificial intelligence—hard and soft. Hard AI is focused on having machines think like humans, while soft AI is focused on machines being able to do work that traditionally could only be completed by humans. The main difference is that soft AI doesn’t necessarily involve machines thinking like humans."
“Our perspective on artificial intelligence has changed significantly over the past several decades” says Jack Conrad, lead research scientist in corporate R&D at Thomson Reuters and president of the IAAIL. “AI failed to live up to the early expectations that focused largely on hard AI capabilities, such as the ability to perform human-like reasoning. When those lofty goals were not attained, researchers came to understand how difficult such achievements really were. After all, trying to teach computers to perform cognitive activities was an extremely challenging task. Over time, as expectations were lowered and research efforts became more narrowly directed, a shift towards ‘soft’ AI applications took place, focusing on providing intelligent tools and problem-solving resources to humans.”
A principal goal of VisiRule is to make it simple and easy-to-use, so that business users who understand their line of business can use it directly. Afterall, they hold the knowledge, and it is they that need help in extracting that precious knowledge and organizing it in a coherent and manageable way. VisiRule helps address this 'knowledge elicitation' problem, which historically has been the bottleneck in developing intelligent applications, by combining a visual model with rapid rule generation, instant compilation and immediate testing.
The key challenge is that of extracting and exposing knowledge which is buried within human brains, manuals, technical papers and transforming it into actionable rules to create automated systems. Experts do not know what they know, they often can not even explain how or why they came to a conclusion in a given situation. Concepts such as 'intuition' and 'instinct' are very, very hard to quantify and capture. VisiRule helps experts explore their own knowledge by providing a very soft and flexible framework.
VisiRule is a graphical tool which also plays the role of a rule generator. Rather than require the author define the rules using some rule language, the author simply draws a connected diagram which the VisiRule compiler translates into executable rules. The drawing task is helped by VisiRule knowing, to some extent, what the intended meaning and context is of each box as it is being drawn and/or linked. As the generated rule-base is executed, and questions presented, VisiRule can present a graphical view of the original chart and the active session.
The common wisdom about artificial intelligence is that we are building increasingly intelligent machines that will ultimately surpass human capabilities and possibly even threaten mankind. This narrative is both misguided and counterproductive. Framing AI as a natural expansion of longstanding efforts to automate tasks makes it easier to predict the likely benefits and pitfalls of this important technology.
Jerry Kaplan—CodeX Fellow and Visiting Lecturer, Computer Science, Stanford University
AI Material by Adrian Hopgood
"Artificial Intelligence for All" is an excellent introductory lecture by Prof Adrian Hopgood on YouTube which introduces the principles of AI with a focus on practical applications ranging from the control of manufacturing processes to the screening of mouth cancer. The fourth edition of Adrian's book called Intelligent Systems for Engineers and Scientists was just published in 2022.
The rule-based and uncertainty-based examples in the book are compatible with the Flex toolkit by Logic Programming Associates (LPA) and its Flint extension for handling uncertainty and fuzzy logic. Readers of the book can download this commercial software for use free of charge. This resource and many others are available at the author’s website: adrianhopgood.com.
LPA AI Technology Stack
LPA is a well established AI company with many years of experience in developing and deploying AI software solutions. LPA was recently recognized as a leading AI innovator by CV Magazine.
History of AI
Many people have written about the history of AI and its adoption over the years. Here are some 'good' ones.
The Turbulent Past and Uncertain Future of Artificial Intelligence: Is there a way out of AI's boom-and-bust cycle? by Eliza Strickland (Sept 2021)
Deep Learning's Diminishing Returns: The cost of improvement is becoming unsustainable by Neil C. Thompsom, et al (Sept 2021)
Why A.I. Moonshots Miss by Jeffrey Funk and Gary Smith (May 2021)
A Brief History of AI on AITopics detailing major events year by year
Expert decision-making: A closer look at rule-based approach in AI by Kerem Gülen April 25, 2023 in Artificial Intelligence
What is Artificial Intelligence? How Does AI Work? by Rose Velazquez, BuiltIn (Ju;y 2022)
Artificial Intelligence – Application in Legal by Ben Gardner (Mar 2016)
This season’s artificial intelligence (AI): is today’s AI really that different from the AI of the past? by Peter Smith and Laura Smith (November 2023)