Aritificial Intelligence - Knowledge Representation

Knowledge Representation in Artificial Intelligence

 
Aritificial Intelligence - Knowledge Representation

Knowledge Representation (KR) is a key concept in artificial intelligence. It helps machines store, organize, and understand information in a way that somewhat mirrors human thinking. Just like people use language, symbols, or diagrams to express thoughts, AI needs structured formats to understand and interact with the world.

With KR, AI systems can make sense of data, solve problems, and take decisions by keeping the information in an organized format. It helps machines use stored knowledge to act more intelligently.

What is Knowledge Representation in AI?

Knowledge Representation is how AI systems capture and save knowledge in a form that computers can use to reason and make decisions. It lets machines process information, understand what’s going on, and learn from what happened before.

  • KR helps in organizing complex or large data in a structured and simpler way.
  • A well-structured knowledge system supports learning and helps AI find patterns.
  • KR can be used in many fields like healthcare, robotics, and banking, allowing AI to perform better in different jobs.
  • When knowledge is well-organized, it makes it easier and faster for AI to choose the right option.



What Kind of Knowledge is Represented?

AI systems need to represent different types of knowledge:

  • Object Knowledge: This is about items and what they’re made of. For example, "A laptop has a keyboard and screen", or "Trees have leaves and branches." It helps AI recognize things.
  • Event Knowledge: This covers what happens, like "The traffic light turns red" or "Someone presses a button." It helps machines understand actions and what follows.
  • Performance Knowledge: This is about how to do things. Like, "How to bake a cake" or "How to fix a printer." It teaches AI the steps needed to do tasks.
  • Meta Knowledge: It tells the system what it knows, and when to update or use that info. It helps AI know what’s useful in certain situations.
  • Factual Knowledge: These are true statements like, "Water boils at 100°C." AI uses them to reason and make decisions.
  • Knowledge Base: This is where facts, rules, and steps are stored. AI refers to this to solve problems or answer questions.



How Knowledge and Intelligence Are Connected

In AI, knowledge is the information the system has, while intelligence is how it uses that info. When AI has more knowledge, it can appear smarter because it makes better decisions.

  • Without knowledge, even a smart system won’t have enough to work with.
  • Without intelligence, knowledge is just data sitting there.

 

Example: Online shopping sites suggest items based on what users saw before. That’s the system using knowledge and applying intelligence.


Types of Knowledge in AI

Here are the main kinds of knowledge AI uses:


1. Declarative Knowledge

This kind tells “what is.” It includes facts or truths. It doesn’t describe how to do something — just what’s true.

Examples:

  • “The sky is blue.”
  • “Delhi is the capital of India.”
  • “A triangle has three sides.”
  • It answers "what" rather than "how".
  • Easy to write down or save.
  • AI uses this type for problem-solving and answering questions.


AI Use: In a chatbot, this knowledge helps answer questions like “What’s the capital of France?”


2. Procedural Knowledge

This kind tells “how to” do something. It includes steps, actions, or methods.

Example: Solving a math equation by applying a formula step-by-step.

  • It’s learned by practice and not always easy to explain clearly.
  • It's used in robots, automation, and expert systems.

 

AI Use: A robot cook might use this to follow a tea recipe — boil water, add tea leaves, pour, then mix in sugar and milk.


3. Meta Knowledge

This is “knowledge about knowledge.” It helps AI know what it knows, when to trust it, and how to use it.

  • It lets the system pick the right info and question its sources.
  • Important for learning and checking itself for mistakes.

AI Use: A chatbot that knows its info is from a reliable source will trust its answer more.

In self-driving cars, this knowledge helps recognize false readings, like fog affecting sensors.


4. Heuristic Knowledge

This is knowledge based on experience — a shortcut or guess that helps solve problems when full details aren’t available.

  • Comes from common sense or experience.
  • Helps AI make faster choices without doing deep calculations.

 

AI Use: In chess, AI uses heuristics to quickly pick strong moves without checking every option.


5. Structural Knowledge

This explains how different things are connected or related.

  • Shown using graphs or trees.
  • Helps AI understand how one thing leads to another.

 

Example: In medical AI — "Fever is a symptom of flu. Flu is a virus. Viruses are treated with antivirals."

  • It makes problem-solving easier by organizing knowledge clearly. 

AI Use: Used in knowledge graphs and semantic networks to link data and make smart guesses.