A Quick Romp ThroughProbabilistic Relational Models.ppt
《A Quick Romp ThroughProbabilistic Relational Models.ppt》由会员分享,可在线阅读,更多相关《A Quick Romp ThroughProbabilistic Relational Models.ppt(54页珍藏版)》请在麦多课文档分享上搜索。
1、A Quick Romp Through Probabilistic Relational Models,Teg Grenager NLP Lunch February 13, 2003,Agenda,Bayesian Networks Probabilistic Relational Models Learning PRMs Expressivity Applications to NLP,Agenda,Bayesian Networks Probabilistic Relational Models Learning PRMs Expressivity Applications to NL
2、P,Propositional Logic,Ontological commitment: the world consists of propositions, or facts, which are either true or false: HighPaperRating Set of 2n possible worlds one for each truth assignment to the n propositions Propositional logic allows us to compactly represent restrictions on possible worl
3、ds: If HighPublicationRating then HighPaperRating Means that we have eliminated the possible worlds where HighPublicationRating is true but HighPaperRating is false.,Propositional Uncertainty,To model uncertainty we would like to represent a probability distribution over possible worlds. To represen
4、t the full joint distribution we would need 2n-1parameters (infeasible) Insight: the value of most propositions isnt affected by the value of most other propositions! More formally, some propositions are conditionally independent of each other given the value of other propositions,Bayesian Networks,
5、We use a directed acyclic graph to encode these independence assumptionsThis model encodes the assumption that each variable is independent of its non-descendents given its parents,AuthorInstitution,PaperRating,AuthorRating,JournalRating,PaperCited,Factorization,If a BN encodes the true independence
6、 assumptions of a distribution, we can use a factored representation for the distribution:To specify the full joint we need only the conditional probabilities of a variable given its parents,Bayesian Networks,The full joint over these five binary variables would need 25-1=31 parameters, but this fac
7、tored representation only needs 10!,AuthorInstitution,PaperRating,AuthorRating,JournalRating,PaperCited,Inference in Bayes Nets,Query types (given evidence z): Conditional probability query: what is the probability distribution over the values of subset y? Most probable explanation query: what is th
8、e most likely assignment of values to all remaining variables x-z? Maximum a posteriori query: what is the most likely assignment of values to subset y? Worst case, inference is NP-hard In practice, much easier,Variable Elimination,AuthorInstitution,PaperRating,AuthorRating,JournalRating,PaperCited,
9、Learning Bayes Nets,We want to learn a BN from a dataset D that consists of m tuples, each of the form x(m), specifying the value of all variables xi Two problems: Given a graphical model G, estimate the the conditional probability distribution at each node (parameter estimation) Select the best gra
10、phical model (structure learning),Parameter Estimation,Note that we can decompose this and estimate the parameters separately:Can also take a Bayesian approach,Structure Learning,Hypothesis space: Exponential number of possible structures over the variables Scoring function (minimum description leng
11、th or Bayesian) includes: Likelihood of the structure given the data and the maximum likelihood parameters Description length of the graph and CPDs Search algorithm: Operators: add, delete, and reverse an edge Greedy hill-climbing with random restart,Agenda,Bayesian Networks Probabilistic Relational
12、 Models Learning PRMs Expressivity Applications to NLP,Bayes Net Shortcomings,BNs lack the concept of an object Cannot represent general rules about the relations between multiple similar objects For example, if we wanted to represent the probabilities over multiple papers, authors, and journals: We
13、 would need an explicit random variable for each paper/author/journal The distributions would be separate, so knowledge about one wouldnt impart any knowledge about the others,Relational Models,Relational models make a stronger ontological commitment: the world consists of objects, and relations ove
14、r them There are many possible relational models (more on this later) PRMs are based on a particular “relational logic” borrowed from databases:,Relational Schema,We define a relational schema to consist of A set of n classes X = X1,Xn Given a class X, a set of attributes A(X) Attribute A of class X
15、 is denoted X.A, and its space of values is denoted V(X.A) Given a class X, a set of reference slots R(X) Reference slot of class X is denoted X., with domain type X and range type of some class Y Each reference slot has an inverse slot -1 A slot chain is a sequence of slots 1, k such that for all i
16、, Range(i)=Domain(I+1),Relational Model Example,Modeling Uncertainty,Given a schema, a possible world specifies: A set of objects in each class An assignment of objects to reference slots An assignment of values to attributes The set of possible worlds is infinite, hard to define a distribution over
17、 Thus a PRM only specifies a distribution over the possible assignment of values to attributes given a set of ground objects and the relations between them,Modeling Uncertainty,More formally, we define: A relational skeleton, , to be a set of objects and relations between them (defined as reference
18、slot values) An instance, , to be an assignment of values to attributes A PRM defines a probability distribution over possible completions of a skeleton Let x.A be the value of x.A in instance ,Relational Model Example,Paper,Publication,Rating,Title,Author,Institution,Rating,Name,Authorship,Paper,Au
19、thor,Citation,From,To,Publication,Rating,Name,Paper,Proc. IJCAI,Publication,5,Rating,OOBNs,Title,Author,U. Maryland,Institution,3,Rating,D. Koller,Name,Authorship,Learning in PRMs,Paper,D. Koller,Author,Publication,3,Rating,Proc. UAI,Name,Author,Institution,Rating,L. Getoor,Name,Authorship,Learning
20、in PRMs,Paper,D. Koller,Author,Authorship,Learning in PRMs,Paper,L. Getoor,Author,Paper,Proc. IJCAI,Publication,Rating,Learning in PRMs,Title,Publication,Rating,Proc. IJCAI,Name,Citation,Learning in PRMs,From,OOBNs,To,PRM Dependency Structure,PRMs assume that the attribute values of objects are each
21、 influenced by only a few other attribute values (as in a BN) Thus we associate with each attribute X.A a set of parents Pa(X.A) These are formal parents; they will be instantiated differently for different objects These sets of parents (one for each attribute) define the dependency structure S of t
22、he PRM,Types of Parents,We define two types of parents for X.A: Another attribute X.B of the same class X E.g., Author.Rating could depend on Author.Institution An attribute of a related object X.B where is a slot chain E.g., Paper.Rating could depend on Paper.Publication.Rating,Relational Model Exa
23、mple,Multisets as Parents,But what if X.B points to more than one value? E.g., Paper.Authorship.Author.Rating points to the ratings of all coauthors of the paper We define an aggregate function, , to map from a multiset of attributes to a summary value (e.g., sum, mean, max, cardinality) We allow X.
24、A to have as a parent (X.B) E.g., Paper.Rating depends on mean(Paper.Authorship.Author.Rating),Relational Model Example,PRM Parameters,As in a BN, for each attribute we define a conditional probability distribution (CPD) over the values of the attribute given the values of the parents More precisely
- 1.请仔细阅读文档,确保文档完整性,对于不预览、不比对内容而直接下载带来的问题本站不予受理。
- 2.下载的文档,不会出现我们的网址水印。
- 3、该文档所得收入(下载+内容+预览)归上传者、原创作者;如果您是本文档原作者,请点此认领!既往收益都归您。
下载文档到电脑,查找使用更方便
2000 积分 0人已下载
下载 | 加入VIP,交流精品资源 |
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- AQUICKROMPTHROUGHPROBABILISTICRELATIONALMODELSPPT

链接地址:http://www.mydoc123.com/p-373178.html