AI_ 8 Weak Slot and Filler Structure

832 views 15 slides May 26, 2021
Slide 1
Slide 1 of 15
Slide 1
1
Slide 2
2
Slide 3
3
Slide 4
4
Slide 5
5
Slide 6
6
Slide 7
7
Slide 8
8
Slide 9
9
Slide 10
10
Slide 11
11
Slide 12
12
Slide 13
13
Slide 14
14
Slide 15
15

About This Presentation

Frame Representation and Semantic Representation


Slide Content

Artificial Intelligence
Chap.8 Weak Slot and Filler
Structure
Prepared by:
Prof. KhushaliB Kathiriya

Outline
Semantic Net
Frame Representation
Prepared by: Prof. Khushali B Kathiriya
2

Artificial Intelligence
Semantic net representation
Prepared by:
Prof. KhushaliB Kathiriya

2. Semantic net representation
Semanticnetworksarealternativeofpredicatelogicforknowledge
representation.InSemanticnetworks,wecanrepresentourknowledgein
theformofgraphicalnetworks.Thisnetworkconsistsofnodesrepresenting
objectsandarcswhichdescribetherelationshipbetweenthoseobjects.
Semanticnetworkscancategorizetheobjectindifferentformsandcan
alsolinkthoseobjects.Semanticnetworksareeasytounderstandandcan
beeasilyextended.
Prepared by: Prof. Khushali B Kathiriya
4

2. Semantic net representation (Cont.)
Following are some statements which we need to represent in the form of
nodes and arcs.
1.Jerry is a cat.
2.Jerry is a mammal
3.Jerry is owned by Priya.
4.Jerry is brown colored.
5.All Mammals are animal.
Prepared by: Prof. Khushali B Kathiriya
5

2. Semantic net representation (Cont.)
Drawbacks in Semantic representation:
1.Semanticnetworkstakemorecomputationaltimeatruntimeasweneedto
traversethecompletenetworktreetoanswersomequestions.Itmightbe
possibleintheworstcasescenariothataftertraversingtheentiretree,we
findthatthesolutiondoesnotexistinthisnetwork.
2.Semanticnetworkstrytomodelhuman-likememory(Whichhas1015
neuronsandlinks)tostoretheinformation,butinpractice,itisnotpossible
tobuildsuchavastsemanticnetwork.
3.Thesetypesofrepresentationsareinadequateastheydonothaveany
equivalentquantifier,e.g.,forall,forsome,none,etc.
4.Semanticnetworksdonothaveanystandarddefinitionforthelinknames.
5.Thesenetworksarenotintelligentanddependonthecreatorofthesystem.
Prepared by: Prof. Khushali B Kathiriya
6

2. Semantic net representation (Cont.)
Advantages of Semantic network:
1.Semanticnetworksareanaturalrepresentationofknowledge.
2.Semanticnetworksconveymeaninginatransparentmanner.
3.Thesenetworksaresimpleandeasilyunderstandable.
Prepared by: Prof. Khushali B Kathiriya
7

2. Semantic net representation (Cont.)
Represent following sentences using semantic networks.
Isa(person, mammal)
Instance(Mike-Hall, person)
Team(Mike-Hall, Cardiff)
Prepared by: Prof. Khushali B Kathiriya
8

2. Semantic net representation (Cont.)
Prepared by: Prof. Khushali B Kathiriya
9

Artificial Intelligence
Frame Representation
Prepared by:
Prof. KhushaliB Kathiriya

3. Frame Representation
ThisconceptwasintroducedbyMarvinMinskyin1975.theyaremostlyused
whenthetaskbecomesquitecomplexandneedsmorestructured
representation.
Morestructuredthesystembecomesmorewouldbetherequirementof
usingframeswhichwouldprovebeneficial.Generallyframesarerecord
likestructuresthatconsistsofacollectionofslotsorattributesandthe
correspondingslotvalues.
Slotscanbeofanysizeandtype.Theslotshavenamesandvaluescalled
asfacts.Facetscanhavenamesornumberstoo.Asimpleframeisshown
infigforpersonram.
Prepared by: Prof. Khushali B Kathiriya
11

3. Frame Representation (Cont.)
Prepared by: Prof. Khushali B Kathiriya
12
Ram Brothers Laxman Cat
Bharat
Grey
Color

3. Frame Representation (Cont.)
Sr. No. Slot Value
1 Ram -
2 Profession Professor
3 Age 50
4 Wife Sita
5 Children LuvKush
6 Address 4C gbRoad
7 City Banaras
8 State UP
9 Zip 400615
Prepared by: Prof. Khushali B Kathiriya
13

3. Frame Representation (Cont.)
Advantages of frame representation:
1.Theframeknowledgerepresentationmakestheprogrammingeasierby
groupingtherelateddata.
2.Theframerepresentationiscomparablyflexibleandusedbymany
applicationsinAI.
3.Itisveryeasytoaddslotsfornewattributeandrelations.
4.Itiseasytoincludedefaultdataandtosearchformissingvalues.
5.Framerepresentationiseasytounderstandandvisualize.
Prepared by: Prof. Khushali B Kathiriya
14

3. Frame Representation (Cont.)
Disadvantages of frame representation:
1.Inframesysteminferencemechanismisnotbeeasilyprocessed.
2.Inferencemechanismcannotbesmoothlyproceededbyframe
representation.
3.Framerepresentationhasamuchgeneralizedapproach.
Prepared by: Prof. Khushali B Kathiriya
15
Tags