Markov LogicOverviewThe Interface LayerNetworkingDatabasesArtificial IntelligenceSlide 7Slide 8Slide 9Slide 10Slide 11Markov NetworksSlide 13First-Order LogicSlide 15Slide 16DefinitionExample: Friends & SmokersSlide 19Slide 20Slide 21Slide 22Slide 23Slide 24Slide 25Markov Logic NetworksSlide 27Relation to Statistical ModelsRelation to First-Order LogicSlide 30InferenceMost Probable Explanation (MPE) InferenceMPE InferenceSlide 34Slide 35Slide 36Computing Probabilities: Marginal InferenceMarginal InferenceSlide 39Belief PropagationSlide 41Slide 42Slide 43Lifted Belief PropagationSlide 45Slide 46Slide 47Learning ParametersSlide 49Slide 50Slide 51Slide 52Slide 53Learning Parameters (Discriminative)Learning Parameters (Discriminative)Learning StructureSlide 57Slide 58Slide 59Slide 60ApplicationsEntity ResolutionSlide 63Slide 64Slide 65PredicatesPredicates & FormulasSlide 68Slide 69Slide 70Discovery of Social Relationships in Consumer Photo CollectionsMLN RulesModels ComparedResults (7 Different Relationships)AlchemyMarkov LogicParag SinglaDept. of Computer Science University of Texas, AustinOverviewMotivationBackgroundMarkov logicInferenceLearningApplicationsThe Interface LayerInterface LayerApplicationsInfrastructureNetworkingInterface LayerApplicationsInfrastructureInternetRoutersProtocolsWWWEmailDatabasesInterface LayerApplicationsInfrastructureRelational ModelQueryOptimizationTransactionManagementERPOLTPCRMArtificial IntelligenceInterface LayerApplicationsInfrastructureRepresentationLearningInferenceNLPPlanningMulti-AgentSystemsVisionRoboticsArtificial IntelligenceInterface LayerApplicationsInfrastructureRepresentationLearningInferenceNLPPlanningMulti-AgentSystemsVisionRoboticsFirst-Order Logic?Artificial IntelligenceInterface LayerApplicationsInfrastructureRepresentationLearningInferenceNLPPlanningMulti-AgentSystemsVisionRoboticsGraphical Models?Artificial IntelligenceInterface LayerApplicationsInfrastructureRepresentationLearningInferenceNLPPlanningMulti-AgentSystemsVisionRoboticsStatistical + Logical AIArtificial IntelligenceInterface LayerApplicationsInfrastructureRepresentationLearningInferenceNLPPlanningMulti-AgentSystemsVisionRoboticsMarkov LogicOverviewMotivationBackgroundMarkov logicInferenceLearningApplicationsMarkov NetworksUndirected graphical modelsCancerCoughAsthmaSmokingPotential functions defined over cliquesSmoking Cancer Ф(S,C)False False 4.5False True 4.5True False 2.7True True 4.5cccxZxP )(1)(xcccxZ )(Markov NetworksUndirected graphical modelsLog-linear model:Weight of Feature i Feature iotherwise0CancerSmokingif1)CancerSmoking,(1f5.11wCancerCoughAsthmaSmokingiiixfwZxP )(exp1)(First-Order LogicConstants, variables, functions, predicatesAnna, x, MotherOf(x), Friends(x,y)Grounding: Replace all variables by constantsFriends (Anna, Bob)Formula: Predicates connected by operatorsSmokes(x) Cancer(x)Knowledge Base (KB): A set of formulasCan be equivalently converted into a clausal formWorld: Assignment of truth values to all ground predicatesOverviewMotivationBackgroundMarkov logicInferenceLearningApplicationsMarkov LogicA logical KB is a set of hard constraintson the set of possible worldsLet’s make them soft constraints:When a world violates a formula,It becomes less probable, not impossibleGive each formula a weight(Higher weight Stronger constraint) satisfiesit formulas of weightsexpP(world)DefinitionA Markov Logic Network (MLN) is a set of pairs (F, w) whereF is a formula in first-order logicw is a real numberTogether with a finite set of constants,it defines a Markov network withOne node for each grounding of each predicate in the MLNOne feature for each grounding of each formula F in the MLN, with the corresponding weight wExample: Friends & Smokers)()(),(,)()(ySmokesxSmokesyxFriendsyxxCancerxSmokesxExample: Friends & Smokers)()(),(,)()(ySmokesxSmokesyxFriendsyxxCancerxSmokesx1.15.1Example: Friends & SmokersTwo constants: Ana (A) and Bob (B))()(),(,)()(ySmokesxSmokesyxFriendsyxxCancerxSmokesx1.15.1Example: Friends & SmokersCancer(A)Smokes(A) Smokes(B)Cancer(B)Two constants: Ana (A) and Bob (B))()(),(,)()(ySmokesxSmokesyxFriendsyxxCancerxSmokesx1.15.1Example: Friends & SmokersCancer(A)Smokes(A)Friends(A,A)Friends(B,A)Smokes(B)Friends(A,B)Cancer(B)Friends(B,B)Two constants: Ana (A) and Bob (B))()(),(,)()(ySmokesxSmokesyxFriendsyxxCancerxSmokesx1.15.1Example: Friends & SmokersCancer(A)Smokes(A)Friends(A,A)Friends(B,A)Smokes(B)Friends(A,B)Cancer(B)Friends(B,B)Two constants: Ana (A) and Bob (B))()(),(,)()(ySmokesxSmokesyxFriendsyxxCancerxSmokesx1.15.1Example: Friends & SmokersCancer(A)Smokes(A)Friends(A,A)Friends(B,A)Smokes(B)Friends(A,B)Cancer(B)Friends(B,B)Two constants: Ana (A) and Bob (B))()(),(,)()(ySmokesxSmokesyxFriendsyxxCancerxSmokesx1.15.1Example: Friends & SmokersCancer(A)Smokes(A)Friends(A,A)Friends(B,A)Smokes(B)Friends(A,B)Cancer(B)Friends(B,B)Two constants: Ana (A) and Bob (B))()(),(,)()(ySmokesxSmokesyxFriendsyxxCancerxSmokesx1.15.1State of the World {0,1} Assignment to the nodesMarkov Logic NetworksMLN is template for ground Markov networksProbability of a world x:One feature for each ground formula formulasgroundkkkxfwZxP )(exp1)(otherwise 0x given satisfied isformula if1)(kth xfkMarkov Logic NetworksMLN is template for ground Markov netsProbability of a world x:Weight of formula i No. of true groundings of formula i in x formulas MLN)(exp1)(iiixnwZxP formulasgroundkkkxfwZxP )(exp1)(Relation to Statistical ModelsSpecial cases:Markov networksMarkov random fieldsBayesian networksLog-linear modelsExponential modelsMax. entropy modelsGibbs distributionsBoltzmann machinesLogistic regressionHidden Markov modelsConditional random fieldsObtained by making all predicates zero-arityMarkov logic allows objects to be interdependent (non-i.i.d.)Relation to First-Order LogicInfinite weights First-order logicSatisfiable KB, positive weights Satisfying assignments = Modes of distributionMarkov logic allows contradictions between
View Full Document