Frame (artificial intelligence): Difference between revisions

Content deleted Content added
GreenC bot (talk | contribs)
Reformat 1 archive link. Wayback Medic 2.5 per WP:URLREQ#citeftp
m What Are Frames in Artificial Intelligence
Tags: Reverted Visual edit
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]]".
 
== What Are Frames in Artificial Intelligence ==
== Frame structure ==
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.
The frame contains information on how to use the frame, what to expect next, and what to do when these expectations are not met.
 
=== Examples of Frames in AI: ===
Some information in the frame is generally unchanged while other information, stored in "terminals", usually change. Terminals can be considered as variables.
Frames represent a disease (e.g., “diabetes”) with slots like symptoms, treatments, risk factors. AI uses this to match patient data.
 
Chatbots use frames to recognize conversation types (complaint, inquiry) and respond using pre-filled responses.
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.
 
Frames define traffic objects (e.g., pedestrian, stop sign) with rules on behavior and context.
Each piece of information about a particular frame is held in a slot.
 
Frames define user shopping habits with slots for item type, time, and frequency, enabling personalized offers.
The information can contain:
 
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>
* Facts or Data
** 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 ==