Maximum Entropy Model课件.ppt

  1. 1、本文档共63页,可阅读全部内容。
  2. 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
  3. 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载
  4. 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
Maximum Entropy Model LING 572 Fei Xia 02/08/07 Topics in LING 572 Easy: kNN, Rocchio, DT, DL Feature selection, binarization, system combination Bagging Self-training Topics in LING 572 Slightly more complicated Boosting Co-training Hard (to some people): MaxEnt EM History The concept of Maximum Entropy can be traced back along multiple threads to Biblical times. Introduced to NLP area by Berger et. al. (1996). Used in many NLP tasks: Tagging, Parsing, PP attachment, LM, … Outline Main idea Modeling Training: estimating parameters Feature selection during training Case study Main idea Maximum Entropy Why maximum entropy? Maximize entropy = Minimize commitment Model all that is known and assume nothing about what is unknown. Model all that is known: satisfy a set of constraints that must hold Assume nothing about what is unknown: choose the most “uniform” distribution ? choose the one with maximum entropy Ex1: Coin-flip example (Klein Manning 2003) Toss a coin: p(H)=p1, p(T)=p2. Constraint: p1 + p2 = 1 Question: what’s your estimation of p=(p1, p2)? Answer: choose the p that maximizes H(p) Coin-flip example (cont) Ex2: An MT example (Berger et. al., 1996) An MT example (cont) An MT example (cont) Ex3: POS tagging (Klein and Manning, 2003) Ex3 (cont) Ex4: overlapping features (Klein and Manning, 2003) Modeling the problem Objective function: H(p) Goal: Among all the distributions that satisfy the constraints, choose the one, p*, that maximizes H(p). Question: How to represent constraints? Modeling Reference papers (Ratnaparkhi, 1997) (Ratnaparkhi, 1996) (Berger et. al., 1996) (Klein and Manning, 2003) ? Different notations. The basic idea Goal: estimate p Choose p with maximum entropy (or “uncertainty”) subject to the constraints (or “evidence”). Setting From training data, collect (a, b) pairs: a: thing to be predicted (e.g., a class in a classification problem) b: the context Ex: POS tagging: a=NN b=the words in a window and previous two

文档评论(0)

shenlan2 + 关注
实名认证
内容提供者

该用户很懒,什么也没介绍

1亿VIP精品文档

相关文档