Teadmiste formaliseerimine: erinevus redaktsioonide vahel

Allikas: Lambda
Mine navigeerimisribale Mine otsikasti
228. rida: 228. rida:
* Read from the Jurafsky and Martin book: [https://web.stanford.edu/~jurafsky/slp3/25.pdf chapter 25: Question Answering]  
* Read from the Jurafsky and Martin book: [https://web.stanford.edu/~jurafsky/slp3/25.pdf chapter 25: Question Answering]  
* Read from the Jurafsky and Martin book: [https://web.stanford.edu/~jurafsky/slp3/26.pdf chapter 26: Dialogue Systems and Chatbots] and the supporting slides [https://web.stanford.edu/~jurafsky/slp3/slides/convagents1.pdf for conversational agents]
* Read from the Jurafsky and Martin book: [https://web.stanford.edu/~jurafsky/slp3/26.pdf chapter 26: Dialogue Systems and Chatbots] and the supporting slides [https://web.stanford.edu/~jurafsky/slp3/slides/convagents1.pdf for conversational agents]
* Not obligatory, but highly recommended and cool 15-minute philosophy podcast episode to listen: [https://philosophybites.com/2015/03/jonathan-webber-on-deceiving-with-words.html Jonathan Webber on deceiving with words]


=== Lecture: vector representation of words ===
=== Lecture: vector representation of words ===

Redaktsioon: 19. märts 2020, kell 23:18

teadmised
teadmised

Name: Knowlege representation
Code: ITI8700
Link: http://lambda.ee/Teadmiste_formaliseerimine
Lecturer: Tanel Tammet
Practice work: Priit Järv
Contact: tanel.tammet@ttu.ee, 6203457, TTÜ ICT-426
Archives of previous years: 2019.

Aine õppimine piirangurezhiimis

Loengud

  • Loenguajaks paneb õppejõud üles senisest detailsemad soovitused, et mida kuni järgmise loenguajani iseseisvalt lugeda.
  • Lisaks teeb õppejõud kas väikese sissejuhatava video või jutu nende asjade kohta, mida lugeda antakse, ja see video/jutt läheb vastava loengu peatükki wikis.
  • Esimene piiranguaja loeng/materjalid on 20 märtsi omad siin allpool NLP blokis.

Praktikumid

Priit andis praktikumide jaoks järgmised juhtnöörid:

Kodutööde esitamiseks avasime moodles lehe:

https://ained.ttu.ee/course/view.php?id=320

Kõik üliõpilased, kes on midagi juba esitanud, on ka ainesse enrollitud ja gruppidesse pandud. Kui keegi on kogemata vales grupis (või ei õpi enda teada üldse seda ainet :) siis andke palun teada.

Kodutööd esitage kirjalikult, vajalik info on olemas moodles. Õppematerjalid, näited jne on endiselt lambda wikis http://lambda.ee/wiki/Teadmiste_formaliseerimine

Diskussioon kodutööde kohta võiks toimuda esialgu siin:

https://ained.ttu.ee/mod/forum/view.php?id=11102

Katsetame selle formaadi sobivust. See toimib eelkõige siis, kui küsite ja kommenteerite julgesti.

Time, place, result

Lectures: Friday 10:15-11:45 room ICT-315
Practical work: Friday 12:00-13:30 room ICT-315
Practical work will give 40% and exam 60% of points underlying the final grade. The exam will consist of several small excercises.

The first practical work time on 31. January at 12:00 will be used for introducing the practice work. Some of the last lecture times at the end of the course may be used as additional seminars/labs.

Focus

The main focus of the course is on knowledge representation and reasoning (KR), a part of symbolic AI, on a spectrum from simple (representing and using knowledge in databases) to complex (meaning of sentences in natural language and commonsense knowledge).

The overall goal of the labwork to understand issues facing a task of building a natural language question answering system a la Watson and to see and experiment with existing parts of the solution.

The course contains the following blocks:

  • Representing knowledge in the SQL and document databases and hybrids.
  • Representing and using simple facts and rules in symbolic AI and logic.
  • General-knowledge databases: wikidata, wordnet, yago, conceptnet, nell, cyc.
  • Knowledge conveyed by natural sentences: both statistical methods like word2vec and logic-based methods.
  • More about reasoners and question answering systems.
  • Confidence and relevance.
  • Context, time, location, events, causality.

Check out this description of the whole KR area.

Books to use


Observe that a noticeable part of the course contents are not covered by these books: use the course materials and links to papers, standards and tutorials provided.

Practical work

There are three labs. They are all steps in a single project: build a simple natural-language question-answering system about geography.

The labs have to be presented to the course teachers and all students present at labwork time.

The labs can be prepared alone or by teams of two or three people.


Each lab is evaluated independently and gives the same number of points. NB! When you do not meet the lab deadline, you will be awarded half of the points for this lab.

First lab

Please read about the task for the first lab. Deadline: 28. February. It is better to present it earlier to have more time for the following labs.

Second lab

Deadline: 3 april.

The task in the second lab is to

  • write a small set of additonal, nontrivial rules for geography not present in Yago or Wordnet,
  • actually answering simple questions using logic and rules with the help of a reasoner.

See Details of the KR second lab in 2020


Third lab

Deadline: 8. may.

Add a simple NLP component to the second lab to answer questions posed in natural language. I.e, the NLP component should convert a natural language query to logic usable by your system. Details and instructions will appear here later.

Block 1: knowledge in the SQL and document databases and hybrids.

Lecture: Intro and background, 31. Jan

Lecture materials:

Lecture: Nosql, json and rdf in databases. 7. Feb


Block 2: simple facts and rules in symbolic AI and logic

Lecture: simple rules in rdfs, logic and owl. 14. Feb

Have a brief a look of these, no need to read thoroughly:

More resources:

Lecture: rules in logic with provers to answer questions, 21. Feb

These should be looked at in parallel:

Lecture: what the reasoner does, 28. Feb

We will look in detail into the same presentation:

and will explain details of the second practice work.

Block 3: General-knowledge databases

Lecture: looking into main large knowledge bases. 6. March

We will have a look at the goals, main content and differences between:

Lecture 6: Big annotation systems. 13. March.

First, big annotation systems:

Importantly, see also:

Block 4: natural language and question answering

Lecture: Intro to NLP. 20 March and the following self-study week

A lot of reading this week. The main material is in the following chapters 25 and 26 of the Jurafsky and Manning book, the rest is relevant overviews/background. Lecture materials for the week:

Lecture: vector representation of words

Lecture materials:

Useful additional materials from (roughly) easier to more complex:

Probabilistic models:

Also interesting to read:

Block 5: More about reasoners and symbolic question answering

TPTP and the landscape of reasoners

Blocks world

Some axiom sets:

And some planning problems to solve from these axiom sets:

Also:

Alternative axiomatization

Block 6: confidence and relevance

Lecture: various classical ideas for discrete reasoning with uncertainty

We will look at some discrete ways:

And start with numeric:

Lecture: various classical ideas for numeric reasoning with uncertainty

Classical numeric ways to reason about uncertainty:

Some newer approaches:

Block 7: context, time, location, events, causality.

To be filled.