Frame (artificial intelligence): Difference between revisions

Content deleted Content added
m What Are Frames in Artificial Intelligence
Tags: Reverted Visual edit
m Restored revision 1292512077 by GreenC bot (talk): Spam
Line 8:
According to [[Stuart J. Russell|Russell]] and [[Peter Norvig|Norvig]]'s ''[[Artificial Intelligence: A Modern Approach]]'', structural representations assemble "[...]facts about particular objects and event types and arrange the types into a large [[taxonomy|taxonomic]] hierarchy analogous to a [[biological taxonomy]]".
 
== Frame structure ==
== What Are Frames in Artificial Intelligence ==
The frame contains information on how to use the frame, what to expect next, and what to do when these expectations are not met.
In AI, frames are data structures used for representing stereotyped situations. They allow systems to understand, interpret, and respond like humans by organizing knowledge into slots and facets—like a mental blueprint.
 
Some information in the frame is generally unchanged while other information, stored in "terminals", usually change. Terminals can be considered as variables.
=== Examples of Frames in AI: ===
Frames represent a disease (e.g., “diabetes”) with slots like symptoms, treatments, risk factors. AI uses this to match patient data.
 
Top-level frames carry information, that is always true about the problem in hand, however, terminals do not have to be true. Their value might change with the new information encountered. Different frames may share the same terminals.
Chatbots use frames to recognize conversation types (complaint, inquiry) and respond using pre-filled responses.
 
Each piece of information about a particular frame is held in a slot.
Frames define traffic objects (e.g., pedestrian, stop sign) with rules on behavior and context.
 
The information can contain:
Frames define user shopping habits with slots for item type, time, and frequency, enabling personalized offers.
 
* Facts or Data
Frames help AI systems organize and retrieve information efficiently, making them crucial in expert systems, robotics, and natural language processing (NLP).<ref>{{Cite web |last=khan |first=hammad |date=June 24, 2025 |title=The Best Artificial Intelligence Opportunities in Pakistan 2025 |url=https://smarttoolblog.com/the-best-artificial-intelligence-opportunitiesin-in-pakistan-2025/ |url-status=live |access-date=June 25, 2025 |website=smart tool blog}}</ref>
** Values (called facets)
* Procedures (also called procedural attachments)
** IF-NEEDED: deferred evaluation
** IF-ADDED: updates linked information
* Default Values
** For Data
** For Procedures
* Other Frames or Subframes
 
== Features and advantages ==