Top Banner
Multipurpose ITS 20021169 김김김 Intelligent Multimedia Lab.
36

Multipurpose ITS 20021169 김계현 Intelligent Multimedia Lab.

Jan 16, 2016

Download

Documents

Brendan Lawson
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Multipurpose ITS 20021169 김계현 Intelligent Multimedia Lab.

Multipurpose ITS

20021169김계현

Intelligent Multimedia Lab.

Page 2: Multipurpose ITS 20021169 김계현 Intelligent Multimedia Lab.

Current State And Future Works

Up To Now… Modularize the system Build whole running sequence Concrete designed modules

Inference process=> Just implement

Make some examplesSome grammars for NL recognition=> Make whole grammars and Implement parser

Need to be more concrete…Knowledge Base + Knowledge GeneratorStudent Model Generator=> Once implement, and then revise them

Page 3: Multipurpose ITS 20021169 김계현 Intelligent Multimedia Lab.

System Overview

Page 4: Multipurpose ITS 20021169 김계현 Intelligent Multimedia Lab.

Knowledge Base & Generator

Concept-Relation Network Example:

“The referencing environment is the collection of all names that are visible”

=>The referencing environment – (B)is (=equal to)the collection of all names - (C)that are (=and)visible – (D)

=> B ≡ C & D

Page 5: Multipurpose ITS 20021169 김계현 Intelligent Multimedia Lab.

Knowledge Base & Generator (cont’d)

Page 6: Multipurpose ITS 20021169 김계현 Intelligent Multimedia Lab.

Knowledge Base & Generator (cont’d)

“Visible” – (D) Can be referenced in that statement – (E) Possible to see – (F) => D ≡ E, D ≡ F

Page 7: Multipurpose ITS 20021169 김계현 Intelligent Multimedia Lab.

Knowledge Base & Generator (cont’d)

Use Inference Engine Make Assumptions:

=> B ≡ C & D => B ≡ C & E (∵ D ≡ E) => B ≡ C & F (∵ D ≡ F)

Questions and Answers: “Is it true that the referencing environment is

collection of all names that can be referenced in that statement ?” – “Yes ”

“Is it true that ~ all names that is possible to see ?” – “No ”

Page 8: Multipurpose ITS 20021169 김계현 Intelligent Multimedia Lab.

Knowledge Base & Generator (cont’d)

“The referencing environment is the collection of all names that are visible”

(Visible means, “Can be referenced in that statement”)

Page 9: Multipurpose ITS 20021169 김계현 Intelligent Multimedia Lab.

Inference Engine

Discourse-level Understanding Use Proof-Based Understanding Technique

(from Why2-Atlas)

Page 10: Multipurpose ITS 20021169 김계현 Intelligent Multimedia Lab.

Proof-Based Understanding Technique

Discourse-level understanding by interaction with the Knowledge Base

Query(KB, p)=> Proof(Right or Wrong)

Page 11: Multipurpose ITS 20021169 김계현 Intelligent Multimedia Lab.

Proof-Based Understanding:One Example

Problem: Suppose you are running in a straight line at constant speed. You throw a pumpkin straight up. Where will it land? Explain.

Korean Translation: 당신은 호박을 들고 등속도로 달리고 있습니다 . 이 상태에서 호박을 하늘로 똑바로 던지면 어디로 떨어질까요 ?

Page 12: Multipurpose ITS 20021169 김계현 Intelligent Multimedia Lab.

Correct Answer

Correct Answer : Falls on my hands

Page 13: Multipurpose ITS 20021169 김계현 Intelligent Multimedia Lab.

One Answer Of A Certain Student

Once the pumpkin leaves my hand, the horizontal force that I am exerting on it no longer exists, only a vertical force (caused by my throwing it).

As it reaches it's maximum height, gravity (exerted vertically downward) will cause the pumpkin to fall.

Since no horizontal force acted on the pumpkin from the time it left my hand, it will fall at the same place where it left my hands.

Page 14: Multipurpose ITS 20021169 김계현 Intelligent Multimedia Lab.

One Answer Of A Certain Student (cont’d)

Two misconceptions horizontal force that I am exerting on

등속도로 움직이는데도 힘을 가한다고 믿고 있음

explicit misconception fall at the same place where it left

힘을 가하지 않으면 속도가 줄어든다고 믿고 있음

implicit misconception – 문맥 속에 숨어있는 misconception

Page 15: Multipurpose ITS 20021169 김계현 Intelligent Multimedia Lab.

Existing Method: Statistical Approach

Latent Semantic Analysis, Naïve Bayes Recognize NL sentences using the pattern

matching Find some “Important” (relative to the expec

ted answer) words Evaluate the answer by the number of the

words

Page 16: Multipurpose ITS 20021169 김계현 Intelligent Multimedia Lab.

Misunderstanding Problem

Once the pumpkin leaves my hand … it will fall at the same place where it left my hands. (Wrong answer)

High information value (relative to the expected answer) : fall, my, hands

Statistical approaches conclude that the answer is Right

Page 17: Multipurpose ITS 20021169 김계현 Intelligent Multimedia Lab.

New Approach:Proof-Based Understanding

Do Not Have Predefined answers Instead, Analyze the answer in this way:

Translate each NL sentence to FOL proposition

and for the each proposition, Find Evidence Quary(KB, proposition) Output: Correctness of the proposition and

(sometimes) New Fact

Page 18: Multipurpose ITS 20021169 김계현 Intelligent Multimedia Lab.

Analyzing Each Sentence

Once the pumpkin leaves my hand, the horizontal force that I am exerting on it no longer….

Proposition: Before the release, the man is holding the pumpkin (=> Right)

Evidence: Given Problem

Page 19: Multipurpose ITS 20021169 김계현 Intelligent Multimedia Lab.

Misconception Is Detected

…leaves my hand, the horizontal force that I am exerting on it no longer exists, only a vertical force…

Proposition: The man exerts a nonzero horizontal force on the pumpkin (=>Wrong!)

Evidence: ∀x [ Say( x, [∀y∀z InContact(y, z) => ExertsForce(y, z)] ) => HasMisconception(x) ]

Page 20: Multipurpose ITS 20021169 김계현 Intelligent Multimedia Lab.

Further Analysis

…only a vertical force (caused by my throwing it)….

Proposition: After the release, nothing is touching the pumpkin

Evidence: Given Problem

Page 21: Multipurpose ITS 20021169 김계현 Intelligent Multimedia Lab.

Further Analysis (cont’d) …Since no horizontal force acted on the pu

mpkin from the time it left my hand,…

Proposition: After the release, the horizontal force is zero

Evidence: ∀x∀y, ¬ InContact(x,y)∧ ¬ ExtremelyHeavy(x) ∧ ¬ ExtremelyHeavy(y) => CantExertForceOn(x,y)∧CantExertForceOn(y,x)

Page 22: Multipurpose ITS 20021169 김계현 Intelligent Multimedia Lab.

Further Analysis (cont’d)

…the time it left my hand, it will fall at the same place where it left my hands.

Proposition: The pumpkin’s initial & final positions are equal

Evidence: ∀x ZeroDisplacement(x) Equals(InitialPosition(x), FinalPosition(x))

Page 23: Multipurpose ITS 20021169 김계현 Intelligent Multimedia Lab.

Analyzing the propositions

It is not sufficient consequence for decision of correctness (could not find implicit misconception)

Previous Proposition: The pumpkin’s initial & final positions are equal

New Proposition: The pumpkin’s horizontal velocity is zero

Evidence: ∀x∃t velocity(x) = displacement(x) /time(t)

Page 24: Multipurpose ITS 20021169 김계현 Intelligent Multimedia Lab.

Analyzing the propositions (cont’d)

Other Proposition: Pumpkin’s initial velocity is equal to that of the man (Given Problem)

Evidence: ∀x∀y, InContact(x,y) => velocity(x) = velocity(y)

Page 25: Multipurpose ITS 20021169 김계현 Intelligent Multimedia Lab.

Analyzing the propositions (cont’d)

Combine the two propositions The pumpkin’s horizontal velocity is zero Pumpkin’s initial velocity is equal to that of

the man

Consequence: Pumpkin’s horizontal velocity is decreased

Evidence: Former two propositions are treated as true

Page 26: Multipurpose ITS 20021169 김계현 Intelligent Multimedia Lab.

Other Misconception Is Detected

Previous Proposition: After the release, the horizontal force is zero

Previous Consequence: Pumpkin’s horizontal velocity is decreasing

=> Conflicts!

Evidence: Newton’s First Law ∀x∀t1∀t2∀t3∀t4 (t1<

t2)∧ForceOnDuring(x,t1,t2) = 0 (t1<t3 < t4< t2) ∧(VelocityAt(x,t3)=VelocityAt(x,t4))

Page 27: Multipurpose ITS 20021169 김계현 Intelligent Multimedia Lab.

Student Model Generator

Numeric Information정답을 말할 때까지 걸린 시간 , 한 문제당

오답을 말한 횟수 등Instructor need to provide some criteria

각 criterion 은 vector space 상에서 하나의 좌표축이 됨

Use unsupervised clustering methodMixture of Gaussian with arbitrary covariance ma

trixHow to decide K-value?

Page 28: Multipurpose ITS 20021169 김계현 Intelligent Multimedia Lab.

Student Model Generator (cont’d)

Linguistic Information철수는 축구를 좋아한다 . 영희는 여행을

많이 다녀 견문이 넓다 . 영수는 수학을 특히 못한다 . ….

취미 , 배경지식 등이 같은 학생끼리 Group을 만들 수 있음

K value 의 크기는 최소한 여기서 만들어진 Group 의 개수보다는 크다고 가정

Page 29: Multipurpose ITS 20021169 김계현 Intelligent Multimedia Lab.

Student Model Generator (cont’d)

Interaction어떤 group 에 속하는 학생들 중 얼마나 많은

학생들이 같은 cluster 에 속하는지 살핌결과의 판정 = cluster 상에서 각 group 의 varia

nce 의 총합결과가 좋지 않으면 K value 를 1 증가시키고

다시 clusteringMaximum K value = 전체 학생 수 /2

Page 30: Multipurpose ITS 20021169 김계현 Intelligent Multimedia Lab.

Student Model Generator (cont’d)

Numeric criteria = 2, Linguistic group = 3

Page 31: Multipurpose ITS 20021169 김계현 Intelligent Multimedia Lab.

Student Model Generator (cont’d)

Planning지도 방법 및 순서강의 진도는 자연히 맞춰짐이 system 에서는 action list 로서 정의

Action: ( 질문 , 정답 ) or ( 설명 )Do 질문 1, if ( 정답 1) thenDo 질문 2, if ( 정답 2) then …Do 질문 k, if (! 정답 k) break

각 cluster 별로 plan 을 관리use, update

Page 32: Multipurpose ITS 20021169 김계현 Intelligent Multimedia Lab.

Student Model Generator (cont’d)

Example – 관성의 법칙 Plan

( 이 학생은 요리가 취미이니 호박을 예로 들자 .) 힘이 작용하지 않을 때 물체의 속도는 ? – ( 등속 ) 힘의 작용 방향이 속도와 반대방향일 때 속도는 ? –

( 감소 ) 속도가 0 이 되고 나서도 계속 힘이 작용하면 ? –

( 힘의 방향으로 속도가 증가 ) Execution

선생 : 등속으로 뛰고 있던 사람이 , 들고있던 호박을 수직으로 위로 던지면 , 호박의 수평 속도는 얼마가 되니 ?

학생 : 0 이요 . (Unexpected)

Page 33: Multipurpose ITS 20021169 김계현 Intelligent Multimedia Lab.

Student Model Generator (cont’d)

Misconception이 학생은 호박에 수평방향의 힘이 작용하고

있다고 생각한다 . Misconception 을 바로잡기 위한 새로운 plan

을 삽입 New plan

호박에 작용한 힘은 무엇인가 ? – ( 공기저항 )공기저항은 없다고 가정한다 . 다른 힘은 ? –

( 없다 )호박의 수평 속도는 어떻게 되는가 ? –( 등속 )

Page 34: Multipurpose ITS 20021169 김계현 Intelligent Multimedia Lab.

Student Model Generator (cont’d)

Execution선생 : 너랑 등속도로 움직이던 호박의

속도가 0 이 되었다… 그러면 , 호박에 무언가 힘이 작용했다는 거네 ?

학생 : 아니요 . (Unexpected) Misconception

이 학생은 물체에 힘이 작용하지 않아도 물체의 속도가 변할 수 있다고 생각한다 .

New plan ….

Page 35: Multipurpose ITS 20021169 김계현 Intelligent Multimedia Lab.

Natural Language Recognizer

Use Context-Sensitive Grammar(History) (Current State) (Future Plan) =>

Given StringParsing 은 이와 반대로 이루어지므로 , 현재

가지고 있는 history 와 plan 에 대해 production rule 이 정의된 string 이 주어지면 reduce 한다 .

Page 36: Multipurpose ITS 20021169 김계현 Intelligent Multimedia Lab.

Natural Language Recognizer (cont’d)

<q32><down_response><q33> => <q32><down_cat>

<q32><up_response><q34>=> <q32><up_cat>

<down_cat> => <cat>‘down’ |<cat>‘downwards’ | <cat>‘towards earth’