commonsense
play

Commonsense resources Grandmas glasses Toms grandma was reading a - PowerPoint PPT Presentation

Commonsense resources Grandmas glasses Toms grandma was reading a new book, when she dropped her glasses. She couldnt pick them up, so she called Tom for help. Tom rushed to help her look for them, they heard a loud crack. They


  1. Commonsense resources

  2. Grandma’s glasses Tom’s grandma was reading a new book, when she dropped her glasses. She couldn’t pick them up, so she called Tom for help. Tom rushed to help her look for them, they heard a loud crack. They realized that Tom broke her glasses by stepping on them. Promptly, his grandma yelled at Tom to go get her a new pair.

  3. Humans reason about the world with mental models [Graesser, 1994]

  4. Humans reason about the world with mental models [Graesser, 1994] Personal experiences [Conway et al., 2000]

  5. Humans reason about the world with mental models [Graesser, 1994] Personal World knowledge experiences and commonsense [Conway et al., 2000] [Kintsch, 1988]

  6. Humans reason about the world with mental models [Graesser, 1994] Commonsense resources aim to be a bank of knowledge for machines to be able to reason about the world in tasks Personal World knowledge experiences and commonsense [Conway et al., 2000] [Kintsch, 1988]

  7. Tom’s grandma was reading a new book, when she dropped her glasses. She couldn’t pick them up, so she called Tom for help. Tom rushed to help her look for them, they heard a loud crack. They realized that Tom broke her glasses by stepping on them. Promptly, his grandma yelled at Tom to go get her a new pair.

  8. usedFor ConceptNet Tom’s grandma was reading a new book, when she dropped her glasses. ATOMIC She couldn’t pick them up, so she called Tom for help. Y will Tom rushed to help her look for them, they heard a loud crack. They realized that Tom broke her glasses by stepping on them. Y will want Promptly, his grandma yelled at Tom to go get her a new pair.

  9. activity corrective lens relaxing typeOf subeventOf typeOf usedFor ConceptNet Tom’s grandma was reading a new book, when she dropped her glasses. ATOMIC capableOf She couldn’t pick them up, so she called Tom for help. improve Y will ones vision usedFor Tom rushed to help her look for them, they heard a loud crack. people X feels They realized that Tom broke her glasses by stepping on them. nervous Y will want express Promptly, his grandma yelled at Tom to go get her a new pair. anger X wanted to

  10. Overview of existing resources Cyc (Lenat et al., 1984) today

  11. Overview of existing resources Cyc OpenCyc ResearchCyc OpenCyc 4.0 (Lenat et al., 1984) (Lenat, 2004) (Lenat, 2006) (Lenat, 2012) today

  12. Overview of existing resources Open Mind Common Sense (Minsky, Singh & Havasi, 1999) Cyc OpenCyc ResearchCyc OpenCyc 4.0 (Lenat et al., 1984) (Lenat, 2004) (Lenat, 2006) (Lenat, 2012) today

  13. Overview of existing resources Open Mind Common Sense ConceptNet ConceptNet 5.5 (Minsky, Singh & Havasi, 1999) (Liu & Singh, 2004) (Speer et al., 2017) Cyc OpenCyc ResearchCyc OpenCyc 4.0 (Lenat et al., 1984) (Lenat, 2004) (Lenat, 2006) (Lenat, 2012) today

  14. Overview of existing resources Web Child Web Child 2.0 (Tandon et al., 2014) (Tandon et al., 2017) NELL NELL (Carlson et al., 2010) (Mitchell et al., 2015) Open Mind Common Sense ConceptNet ConceptNet 5.5 (Minsky, Singh & Havasi, 1999) (Liu & Singh, 2004) (Speer et al., 2017) Cyc OpenCyc ResearchCyc OpenCyc 4.0 (Lenat et al., 1984) (Lenat, 2004) (Lenat, 2006) (Lenat, 2012) today

  15. Overview of existing resources ATOMIC (Sap et al., 2019) Web Child Web Child 2.0 (Tandon et al., 2014) (Tandon et al., 2017) NELL NELL (Carlson et al., 2010) (Mitchell et al., 2015) Open Mind Common Sense ConceptNet ConceptNet 5.5 (Minsky, Singh & Havasi, 1999) (Liu & Singh, 2004) (Speer et al., 2017) Cyc OpenCyc ResearchCyc OpenCyc 4.0 (Lenat et al., 1984) (Lenat, 2004) (Lenat, 2006) (Lenat, 2012) today

  16. How do you create a commonsense resource?

  17. Desiderata for a good commonsense resource Coverage Useful • Large scale • High quality knowledge • Diverse knowledge types • Usable in downstream tasks

  18. Desiderata for a good commonsense resource Coverage Useful • Large scale • High quality knowledge • Diverse knowledge types • Usable in downstream tasks Multiple resources tackle different knowledge types

  19. Creating a commonsense resource Symbolic Representation Natural language Domain-specific Knowledge type Semantic Inferential

  20. C ONCEPT N ET : semantic knowledge in natural language form http://conceptnet.io/

  21. What is ConceptNet? • General commonsense knowledge • 21 million edges and over 8 million nodes (as of 2017) • Over 85 languages • In English: over 1.5 million nodes • Knowledge covered: • Open Mind Commonsense assertions • Wikipedia/Wiktionary semantic knowledge • WordNet, Cyc ontological knowledge http://conceptnet.io/

  22. A TOMIC : inferential knowledge in natural language form https://mosaickg.apps.allenai.org/kg_atomic

  23. X repels Y’s attack A TOMIC : 880,000 triples for AI systems to reason about causes and eff ffects of everyday situations

  24. nine inference dimensions X repels Y’s attack

  25. Causes X repels Y’s attack

  26. X repels Y’s attack Effects

  27. Dynamic X repels Y’s attack

  28. Static X repels Y’s attack

  29. Voluntary X repels Y’s attack

  30. X repels Y’s attack Involuntary

  31. X repels Agent Y’s attack

  32. X repels Theme Y’s attack

  33. 300,000 event nodes to date X repels Y’s attack 880,000 if -Event- then -* knowledge triples

  34. A TOMIC : knowledge of cause and effect Theory of Mind • Humans have th theory ry of f min ind, allowing us to • make inferences about people’s mental states • understand li likely ly events that precede and follow (Moore, 2013)

  35. A TOMIC : knowledge of cause and effect Theory of Mind • Humans have th theory ry of f min ind, allowing us to • make inferences about people’s mental states • understand li likely ly events that precede and follow (Moore, 2013) • AI systems struggle with in inferential reasoning • only find comple lex corr rrela latio ional l patterns in data • li limit ited to th the domain in they are trained on (Pearl; Davis and Marcus 2015; Lake et al. 2017; Marcus 2018)

  36. Overview of existing resources ATOMIC (Sap et al., 2019) Web Child Web Child 2.0 (Tandon et al., 2014) (Tandon et al., 2017) NELL NELL (Carlson et al., 2010) (Mitchell et al., 2015) Open Mind ConceptNet ConceptNet 5.5 Common Sense (Liu & Singh, 2004) (Speer et al., 2017) (Singh, 2002) Cyc OpenCyc ResearchCyc OpenCyc 4.0 (Lenat et al., 1984) (Lenat, 2004) (Lenat, 2006) (Lenat, 2012) today

  37. Existing knowledge bases ATOMIC (Sap et al., 2019) NELL (Mitchell et al., 2015) ConceptNet 5.5 (Speer et al., 2017) OpenCyc 4.0 (Lenat, 2012)

  38. Existing knowledge bases Represented in symbolic logic Represented in natural language (e.g., LISP-style logic) (how humans talk and think ) NELL OpenCyc 4.0 ConceptNet 5.5 ATOMIC (Mitchell et al., 2015) (Lenat, 2012) (Speer et al., 2017) (Sap et al., 2019)

  39. Existing knowledge bases Represented in symbolic logic Represented in natural language (e.g., LISP-style logic) (how humans talk and think ) NELL OpenCyc 4.0 ConceptNet 5.5 ATOMIC (Mitchell et al., 2015) (Lenat, 2012) (Speer et al., 2017) (Sap et al., 2019) (#$implies (#$and (#$isa ?OBJ ?SUBSET) (#$genls ?SUBSET ?SUPERSET)) (#$isa ?OBJ ?SUPERSET))

  40. Existing knowledge bases Represented in symbolic logic Represented in natural language (e.g., LISP-style logic) (how humans talk and think ) NELL OpenCyc 4.0 ConceptNet 5.5 (Mitchell et al., 2015) (Lenat, 2012) (Speer et al., 2017) Knowledge of “ what ” (taxonomic: A isA B ) Knowledge of “ why ” and “ how ” ATOMIC (inferential: causes and effects ) (Sap et al., 2019)

  41. Q: How do you gather commonsense knowledge at scale? A: It depends on the type of knowledge

  42. Extracting commonsense from text Based on information extraction (IE) methods 1. Read and parse text 2. Create candidate rules 3. Filter rules based on quality metric isA(senator,Brownback) location(Kansas,Brownback) Advantage: isA(senator,Kansas) ... can extract knowledge automatically Example system: Never Ending Language Learner ( NELL; Carlson et al., 2010) … more on this later with temporal commonsense

  43. Some commonsense cannot be extracted Text is subject to reportin ing bias (Gordon & Van Durme, 2013) • Idioms & figurative usage “Black sheep problem” • Noteworthy events Murdering 4x more common than exhaling Commonsense is not often written - > Grice’s maxim of quantity found when extracting commonsense knowledge on four large corpora using Knext (Gordon & Van Durme, 2013)

  44. Eliciting commonsense from humans Experts create knowledge base • Advantages: • Quality guaranteed • Can use complex representations (e.g., CycL, LISP) • Drawbacks: • Time cost • Training users OpenCyc 4.0 WordNet (Lenat, 2012) (Miller et al., 1990)

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend