what makes a good teacher? a computational study · n. gierasimczuk what makes a good teacher? a...

51
Motivation A High-Level Perspective A Low-Level Perspective Conclusions What makes a good teacher? A Computational Study Nina Gierasimczuk Institute for Logic, Language and Computation Universiteit van Amsterdam Logic Tea, November 30 th 2009, Amsterdam N. Gierasimczuk What makes a good teacher? A Computational Study

Upload: others

Post on 16-Oct-2020

0 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: What makes a good teacher? A Computational Study · N. Gierasimczuk What makes a good teacher? A Computational Study. Motivation A High-Level Perspective A Low-Level Perspective Conclusions

MotivationA High-Level PerspectiveA Low-Level Perspective

Conclusions

What makes a good teacher?A Computational Study

Nina Gierasimczuk

Institute for Logic, Language and ComputationUniversiteit van Amsterdam

Logic Tea, November 30th 2009, Amsterdam

N. Gierasimczuk What makes a good teacher? A Computational Study

Page 2: What makes a good teacher? A Computational Study · N. Gierasimczuk What makes a good teacher? A Computational Study. Motivation A High-Level Perspective A Low-Level Perspective Conclusions

MotivationA High-Level PerspectiveA Low-Level Perspective

Conclusions

Outline

Motivation

A High-Level PerspectiveSabotage Learning GamesComplexity of Sabotage-Type LearningNon-strict Alternation

A Low-Level PerspectiveFinite IdentifiabilityThe Computational Complexity of Finite Identifiability CheckMinimal Definite Finite Tell-taleMinimal Definite Finite Tell-tale of Minimal Size

Conclusions

N. Gierasimczuk What makes a good teacher? A Computational Study

Page 3: What makes a good teacher? A Computational Study · N. Gierasimczuk What makes a good teacher? A Computational Study. Motivation A High-Level Perspective A Low-Level Perspective Conclusions

MotivationA High-Level PerspectiveA Low-Level Perspective

Conclusions

Outline

Motivation

A High-Level PerspectiveSabotage Learning GamesComplexity of Sabotage-Type LearningNon-strict Alternation

A Low-Level PerspectiveFinite IdentifiabilityThe Computational Complexity of Finite Identifiability CheckMinimal Definite Finite Tell-taleMinimal Definite Finite Tell-tale of Minimal Size

Conclusions

N. Gierasimczuk What makes a good teacher? A Computational Study

Page 4: What makes a good teacher? A Computational Study · N. Gierasimczuk What makes a good teacher? A Computational Study. Motivation A High-Level Perspective A Low-Level Perspective Conclusions

MotivationA High-Level PerspectiveA Low-Level Perspective

Conclusions

General Motivation: Learning

I Learning — getting to know and generalizing:I language learning (grammar inference),I scientific and medical (empirical) inquiry, etc.

I Worked out in formal learning theory and applied paradigms.

I Analyzing complexity is difficult.

N. Gierasimczuk What makes a good teacher? A Computational Study

Page 5: What makes a good teacher? A Computational Study · N. Gierasimczuk What makes a good teacher? A Computational Study. Motivation A High-Level Perspective A Low-Level Perspective Conclusions

MotivationA High-Level PerspectiveA Low-Level Perspective

Conclusions

General Motivation: Teaching

I Focus on single agent learning.

I Arbitrary environment.

I But complexity depends on data.I Learning can be facilitated by clever teaching.

I Is there a point to even start?I What information is relevant?I What is the most efficient way?

N. Gierasimczuk What makes a good teacher? A Computational Study

Page 6: What makes a good teacher? A Computational Study · N. Gierasimczuk What makes a good teacher? A Computational Study. Motivation A High-Level Perspective A Low-Level Perspective Conclusions

MotivationA High-Level PerspectiveA Low-Level Perspective

Conclusions

Sabotage Learning GamesComplexity of Sabotage-Type LearningNon-strict Alternation

Outline

Motivation

A High-Level PerspectiveSabotage Learning GamesComplexity of Sabotage-Type LearningNon-strict Alternation

A Low-Level PerspectiveFinite IdentifiabilityThe Computational Complexity of Finite Identifiability CheckMinimal Definite Finite Tell-taleMinimal Definite Finite Tell-tale of Minimal Size

Conclusions

N. Gierasimczuk What makes a good teacher? A Computational Study

Page 7: What makes a good teacher? A Computational Study · N. Gierasimczuk What makes a good teacher? A Computational Study. Motivation A High-Level Perspective A Low-Level Perspective Conclusions

MotivationA High-Level PerspectiveA Low-Level Perspective

Conclusions

Sabotage Learning GamesComplexity of Sabotage-Type LearningNon-strict Alternation

Motivation: illustration

d1

d2

d3

d4

. . .

A class of hypotheses, with one distinguished goal and Learnergenerates a map of the possible mind changes of Learner.

N. Gierasimczuk What makes a good teacher? A Computational Study

Page 8: What makes a good teacher? A Computational Study · N. Gierasimczuk What makes a good teacher? A Computational Study. Motivation A High-Level Perspective A Low-Level Perspective Conclusions

MotivationA High-Level PerspectiveA Low-Level Perspective

Conclusions

Sabotage Learning GamesComplexity of Sabotage-Type LearningNon-strict Alternation

Motivation: illustration

d1

d2

d3

d4

. . .

A class of hypotheses, with one distinguished goal and Learnergenerates a map of the possible mind changes of Learner.

N. Gierasimczuk What makes a good teacher? A Computational Study

Page 9: What makes a good teacher? A Computational Study · N. Gierasimczuk What makes a good teacher? A Computational Study. Motivation A High-Level Perspective A Low-Level Perspective Conclusions

MotivationA High-Level PerspectiveA Low-Level Perspective

Conclusions

Sabotage Learning GamesComplexity of Sabotage-Type LearningNon-strict Alternation

Motivation: illustration

d1

d2

d3

d4

. . .

A class of hypotheses, with one distinguished goal and Learnergenerates a map of the possible mind changes of Learner.

N. Gierasimczuk What makes a good teacher? A Computational Study

Page 10: What makes a good teacher? A Computational Study · N. Gierasimczuk What makes a good teacher? A Computational Study. Motivation A High-Level Perspective A Low-Level Perspective Conclusions

MotivationA High-Level PerspectiveA Low-Level Perspective

Conclusions

Sabotage Learning GamesComplexity of Sabotage-Type LearningNon-strict Alternation

Motivation: illustration

d1

d2

d3

d4

. . .

A class of hypotheses, with one distinguished goal and Learnergenerates a map of the possible mind changes of Learner.

N. Gierasimczuk What makes a good teacher? A Computational Study

Page 11: What makes a good teacher? A Computational Study · N. Gierasimczuk What makes a good teacher? A Computational Study. Motivation A High-Level Perspective A Low-Level Perspective Conclusions

MotivationA High-Level PerspectiveA Low-Level Perspective

Conclusions

Sabotage Learning GamesComplexity of Sabotage-Type LearningNon-strict Alternation

Motivation: illustration

d1

d2

d3

d4

. . .

A class of hypotheses, with one distinguished goal and Learnergenerates a map of the possible mind changes of Learner.

N. Gierasimczuk What makes a good teacher? A Computational Study

Page 12: What makes a good teacher? A Computational Study · N. Gierasimczuk What makes a good teacher? A Computational Study. Motivation A High-Level Perspective A Low-Level Perspective Conclusions

MotivationA High-Level PerspectiveA Low-Level Perspective

Conclusions

Sabotage Learning GamesComplexity of Sabotage-Type LearningNon-strict Alternation

Motivation: illustration

A class of hypotheses, with one distinguished goal and Learnergenerates a map of the possible mind changes of Learner.

N. Gierasimczuk What makes a good teacher? A Computational Study

Page 13: What makes a good teacher? A Computational Study · N. Gierasimczuk What makes a good teacher? A Computational Study. Motivation A High-Level Perspective A Low-Level Perspective Conclusions

MotivationA High-Level PerspectiveA Low-Level Perspective

Conclusions

Sabotage Learning GamesComplexity of Sabotage-Type LearningNon-strict Alternation

Motivation: Learning/Teaching Game

I Learning situations as graphs.I Learning as a game between Teacher and Learner played on a

graph:I A step-by-step process in which Learner changes his state.I Successful if the goal is eventually reached.I Teacher’s feedback rules out possible changes of mind.

N. Gierasimczuk What makes a good teacher? A Computational Study

Page 14: What makes a good teacher? A Computational Study · N. Gierasimczuk What makes a good teacher? A Computational Study. Motivation A High-Level Perspective A Low-Level Perspective Conclusions

MotivationA High-Level PerspectiveA Low-Level Perspective

Conclusions

Sabotage Learning GamesComplexity of Sabotage-Type LearningNon-strict Alternation

Learning as a graph-game (1)

Learning Model The graph

hypotheses states

correct hypothesis goal state

possibility of a mind change fromhypothesis a to hypothesis b

edge from a to b

a mind change from hypothesis ato hypothesis b

transition from a to b

giving a counterexample thateliminates the possibility of amind change from a to b

removing a transition be-tween a and b

N. Gierasimczuk What makes a good teacher? A Computational Study

Page 15: What makes a good teacher? A Computational Study · N. Gierasimczuk What makes a good teacher? A Computational Study. Motivation A High-Level Perspective A Low-Level Perspective Conclusions

MotivationA High-Level PerspectiveA Low-Level Perspective

Conclusions

Sabotage Learning GamesComplexity of Sabotage-Type LearningNon-strict Alternation

Sabotage?

N. Gierasimczuk What makes a good teacher? A Computational Study

Page 16: What makes a good teacher? A Computational Study · N. Gierasimczuk What makes a good teacher? A Computational Study. Motivation A High-Level Perspective A Low-Level Perspective Conclusions

MotivationA High-Level PerspectiveA Low-Level Perspective

Conclusions

Sabotage Learning GamesComplexity of Sabotage-Type LearningNon-strict Alternation

Sabotage?

N. Gierasimczuk What makes a good teacher? A Computational Study

Page 17: What makes a good teacher? A Computational Study · N. Gierasimczuk What makes a good teacher? A Computational Study. Motivation A High-Level Perspective A Low-Level Perspective Conclusions

MotivationA High-Level PerspectiveA Low-Level Perspective

Conclusions

Sabotage Learning GamesComplexity of Sabotage-Type LearningNon-strict Alternation

Sabotage?

N. Gierasimczuk What makes a good teacher? A Computational Study

Page 18: What makes a good teacher? A Computational Study · N. Gierasimczuk What makes a good teacher? A Computational Study. Motivation A High-Level Perspective A Low-Level Perspective Conclusions

MotivationA High-Level PerspectiveA Low-Level Perspective

Conclusions

Sabotage Learning GamesComplexity of Sabotage-Type LearningNon-strict Alternation

Sabotage?

N. Gierasimczuk What makes a good teacher? A Computational Study

Page 19: What makes a good teacher? A Computational Study · N. Gierasimczuk What makes a good teacher? A Computational Study. Motivation A High-Level Perspective A Low-Level Perspective Conclusions

MotivationA High-Level PerspectiveA Low-Level Perspective

Conclusions

Sabotage Learning GamesComplexity of Sabotage-Type LearningNon-strict Alternation

Sabotage?

N. Gierasimczuk What makes a good teacher? A Computational Study

Page 20: What makes a good teacher? A Computational Study · N. Gierasimczuk What makes a good teacher? A Computational Study. Motivation A High-Level Perspective A Low-Level Perspective Conclusions

MotivationA High-Level PerspectiveA Low-Level Perspective

Conclusions

Sabotage Learning GamesComplexity of Sabotage-Type LearningNon-strict Alternation

Sabotage Learning Game

DefinitionA Sabotage Learning Game is a Game played between Learner andTeacher on a directed multi-graph with an initial vertex and a“goal” vertex.

N. Gierasimczuk What makes a good teacher? A Computational Study

Page 21: What makes a good teacher? A Computational Study · N. Gierasimczuk What makes a good teacher? A Computational Study. Motivation A High-Level Perspective A Low-Level Perspective Conclusions

MotivationA High-Level PerspectiveA Low-Level Perspective

Conclusions

Sabotage Learning GamesComplexity of Sabotage-Type LearningNon-strict Alternation

Levels of cooperativeness

N. Gierasimczuk What makes a good teacher? A Computational Study

Page 22: What makes a good teacher? A Computational Study · N. Gierasimczuk What makes a good teacher? A Computational Study. Motivation A High-Level Perspective A Low-Level Perspective Conclusions

MotivationA High-Level PerspectiveA Low-Level Perspective

Conclusions

Sabotage Learning GamesComplexity of Sabotage-Type LearningNon-strict Alternation

Levels of cooperativeness

N. Gierasimczuk What makes a good teacher? A Computational Study

Page 23: What makes a good teacher? A Computational Study · N. Gierasimczuk What makes a good teacher? A Computational Study. Motivation A High-Level Perspective A Low-Level Perspective Conclusions

MotivationA High-Level PerspectiveA Low-Level Perspective

Conclusions

Sabotage Learning GamesComplexity of Sabotage-Type LearningNon-strict Alternation

Levels of cooperativeness

N. Gierasimczuk What makes a good teacher? A Computational Study

Page 24: What makes a good teacher? A Computational Study · N. Gierasimczuk What makes a good teacher? A Computational Study. Motivation A High-Level Perspective A Low-Level Perspective Conclusions

MotivationA High-Level PerspectiveA Low-Level Perspective

Conclusions

Sabotage Learning GamesComplexity of Sabotage-Type LearningNon-strict Alternation

Various scenarios

Game Winning Condition

SLGUE Learner wins iff he reaches the goal state,

unhelpful T., eager L. Teacher wins otherwise.

SLGHU Teacher wins iff Learner reaches the goal state,

helpful T., unwilling L. Learner wins otherwise.

SLGHE Both players win iff Learner reaches the goal state,

helpful T., eager L. Both lose otherwise.

N. Gierasimczuk What makes a good teacher? A Computational Study

Page 25: What makes a good teacher? A Computational Study · N. Gierasimczuk What makes a good teacher? A Computational Study. Motivation A High-Level Perspective A Low-Level Perspective Conclusions

MotivationA High-Level PerspectiveA Low-Level Perspective

Conclusions

Sabotage Learning GamesComplexity of Sabotage-Type LearningNon-strict Alternation

Sabotage Modal Logic

Sabotage ModelTake a finite Σ. The model M = 〈W , (Rai )ai∈Σ,Val〉 is given by

W 6= ∅, Rai ⊆ W ×W , Val : PROP→ P(W )

Removal OperationLet M = 〈W , {Ra | a ∈ Σ},Val〉 be a Sabotage Model.

Mai

(v ,v ′) := 〈W ,Ra1 , . . . Rai−1 ,Rai \ {(v , v ′)},Rai+1 , . . . Ran ,Val〉

N. Gierasimczuk What makes a good teacher? A Computational Study

Page 26: What makes a good teacher? A Computational Study · N. Gierasimczuk What makes a good teacher? A Computational Study. Motivation A High-Level Perspective A Low-Level Perspective Conclusions

MotivationA High-Level PerspectiveA Low-Level Perspective

Conclusions

Sabotage Learning GamesComplexity of Sabotage-Type LearningNon-strict Alternation

Sabotage Modal Logic

Sabotage Modal LanguageLanguage: ϕ ::= p | ¬ϕ | ϕ ∨ ϕ | 3aϕ | −3aϕ p ∈ PROP, a ∈ Σ

Abbreviations: 3ϕ :=∨

a∈Σ3aϕ −3ϕ :=∨

a∈Σ−3aϕ

Semantics

M,w |= −3aϕ iff there is (u, v) ∈ Ra s. t. Ma(u,v),w |= ϕ

TheoremModel checking of SML is PSPACE-complete (combined compl.).

N. Gierasimczuk What makes a good teacher? A Computational Study

Page 27: What makes a good teacher? A Computational Study · N. Gierasimczuk What makes a good teacher? A Computational Study. Motivation A High-Level Perspective A Low-Level Perspective Conclusions

MotivationA High-Level PerspectiveA Low-Level Perspective

Conclusions

Sabotage Learning GamesComplexity of Sabotage-Type LearningNon-strict Alternation

Characterization Results

Theorem

Game Existence of winning strategy Winner

SLGUE γUE0 := goal , Learner

unhelpful T., eager L. γUEn+1 := goal ∨3−2γUE

n

SLGHU γHU0 := goal , Teacher

helpful T., unwilling L. γHUn+1 := goal ∨ (3> ∧ (2−3γHU

n ))

SLGHE γHE0 := goal , Both

helpful T., eager L. γHEn+1 := goal ∨3−3γHE

n

N. Gierasimczuk What makes a good teacher? A Computational Study

Page 28: What makes a good teacher? A Computational Study · N. Gierasimczuk What makes a good teacher? A Computational Study. Motivation A High-Level Perspective A Low-Level Perspective Conclusions

MotivationA High-Level PerspectiveA Low-Level Perspective

Conclusions

Sabotage Learning GamesComplexity of Sabotage-Type LearningNon-strict Alternation

Complexity of Sabotage-Type Learning

Theorem

Game Winning Condition Complexity

SLGUE Learner wins iff he reaches the goalstate, Teacher wins otherwise

PSPACE-complete

SLGHU Teacher wins iff Learner reaches thegoal state, Learner wins otherwise.

PSPACE-complete

SLGHE Both players win iff Learner reachesthe goal state. Both lose otherwise.

redNL-complete

N. Gierasimczuk What makes a good teacher? A Computational Study

Page 29: What makes a good teacher? A Computational Study · N. Gierasimczuk What makes a good teacher? A Computational Study. Motivation A High-Level Perspective A Low-Level Perspective Conclusions

MotivationA High-Level PerspectiveA Low-Level Perspective

Conclusions

Sabotage Learning GamesComplexity of Sabotage-Type LearningNon-strict Alternation

Local vs global moves

I Players’ moves are of a different nature:

I Learner moves by local transitions.I Teacher moves by globally removing an edge.

I Teacher only needs to act when necessary.

N. Gierasimczuk What makes a good teacher? A Computational Study

Page 30: What makes a good teacher? A Computational Study · N. Gierasimczuk What makes a good teacher? A Computational Study. Motivation A High-Level Perspective A Low-Level Perspective Conclusions

MotivationA High-Level PerspectiveA Low-Level Perspective

Conclusions

Sabotage Learning GamesComplexity of Sabotage-Type LearningNon-strict Alternation

Strict vs non-strict alternation

Theorem

1. Learner has a w.s. in SLG ∗UE iff he has a w.s. in SLGUE .

2. Teacher has a w.s. in SLG ∗HU iff she has a w.s. in SLGHU .

3. Teacher and Learner have a joint w.s. in SLG ∗HE iff they have

a joint w.s. in SLGHE .

Corollary

I SLG ∗: same complexity and characterization results as SLG .

N. Gierasimczuk What makes a good teacher? A Computational Study

Page 31: What makes a good teacher? A Computational Study · N. Gierasimczuk What makes a good teacher? A Computational Study. Motivation A High-Level Perspective A Low-Level Perspective Conclusions

MotivationA High-Level PerspectiveA Low-Level Perspective

Conclusions

Sabotage Learning GamesComplexity of Sabotage-Type LearningNon-strict Alternation

High-level summary

Judging learnability/teachability with the assumption of

1. full cooperation — NL-complete (easy);

2. asymmetric obstruction — PSPACE-complete (difficult?).

N. Gierasimczuk What makes a good teacher? A Computational Study

Page 32: What makes a good teacher? A Computational Study · N. Gierasimczuk What makes a good teacher? A Computational Study. Motivation A High-Level Perspective A Low-Level Perspective Conclusions

MotivationA High-Level PerspectiveA Low-Level Perspective

Conclusions

Finite IdentifiabilityThe Computational Complexity of Finite Identifiability CheckMinimal Definite Finite Tell-taleMinimal Definite Finite Tell-tale of Minimal Size

Outline

Motivation

A High-Level PerspectiveSabotage Learning GamesComplexity of Sabotage-Type LearningNon-strict Alternation

A Low-Level PerspectiveFinite IdentifiabilityThe Computational Complexity of Finite Identifiability CheckMinimal Definite Finite Tell-taleMinimal Definite Finite Tell-tale of Minimal Size

Conclusions

N. Gierasimczuk What makes a good teacher? A Computational Study

Page 33: What makes a good teacher? A Computational Study · N. Gierasimczuk What makes a good teacher? A Computational Study. Motivation A High-Level Perspective A Low-Level Perspective Conclusions

MotivationA High-Level PerspectiveA Low-Level Perspective

Conclusions

Finite IdentifiabilityThe Computational Complexity of Finite Identifiability CheckMinimal Definite Finite Tell-taleMinimal Definite Finite Tell-tale of Minimal Size

Motivation

I High-level analysis, the cooperative case.

I How to make learning efficient?I Explicit:

I objects to be learned,I structure of information,I learning paradigm.

N. Gierasimczuk What makes a good teacher? A Computational Study

Page 34: What makes a good teacher? A Computational Study · N. Gierasimczuk What makes a good teacher? A Computational Study. Motivation A High-Level Perspective A Low-Level Perspective Conclusions

MotivationA High-Level PerspectiveA Low-Level Perspective

Conclusions

Finite IdentifiabilityThe Computational Complexity of Finite Identifiability CheckMinimal Definite Finite Tell-taleMinimal Definite Finite Tell-tale of Minimal Size

Framework

L = {L1, L2, . . .} — an indexed family of languages.

Definition (Positive presentation)

By a positive presentation of L, ε, we mean an infinite sequence ofelements from L such that it enumerates all and only the elementsfrom L allowing repetitions.

Definition

I Let L be a class of languages, then IL = {i | Li ∈ L};I ϕ : (

⋃L)∗ → IL is a learning function.

N. Gierasimczuk What makes a good teacher? A Computational Study

Page 35: What makes a good teacher? A Computational Study · N. Gierasimczuk What makes a good teacher? A Computational Study. Motivation A High-Level Perspective A Low-Level Perspective Conclusions

MotivationA High-Level PerspectiveA Low-Level Perspective

Conclusions

Finite IdentifiabilityThe Computational Complexity of Finite Identifiability CheckMinimal Definite Finite Tell-taleMinimal Definite Finite Tell-tale of Minimal Size

Finite identifiability

Definition (Finite identification)

A learning function ϕ:

1. finitely identifies Li ∈ L on ε iff, when inductively given ε, atsome point ϕ outputs i , and stops;

2. finitely identifies Li ∈ L iff it finitely identifies Li on every εfor Li ;

3. finitely identifies L iff it finitely identifies every Li ∈ L;

4. a class L is finitely identifiable iff there is a learning functionϕ that finitely identifies L.

N. Gierasimczuk What makes a good teacher? A Computational Study

Page 36: What makes a good teacher? A Computational Study · N. Gierasimczuk What makes a good teacher? A Computational Study. Motivation A High-Level Perspective A Low-Level Perspective Conclusions

MotivationA High-Level PerspectiveA Low-Level Perspective

Conclusions

Finite IdentifiabilityThe Computational Complexity of Finite Identifiability CheckMinimal Definite Finite Tell-taleMinimal Definite Finite Tell-tale of Minimal Size

Definition (Mukouchi 1992)

A set Si is a definite finite tell-tale, DFTT, of Li ∈ L if

1. Si ⊆ Li ,

2. Si is finite, and

3. for any index j , if Si ⊆ Lj then Li = Lj .

Theorem (Mukouchi 1992)

A class L is finitely identifiable from positive data iff there is aneffective procedure that enumerates all elements of a definite finitetell-tale Si of Li for any i .

Each set has a finite subset that distinguishes it from all other sets.

N. Gierasimczuk What makes a good teacher? A Computational Study

Page 37: What makes a good teacher? A Computational Study · N. Gierasimczuk What makes a good teacher? A Computational Study. Motivation A High-Level Perspective A Low-Level Perspective Conclusions

MotivationA High-Level PerspectiveA Low-Level Perspective

Conclusions

Finite IdentifiabilityThe Computational Complexity of Finite Identifiability CheckMinimal Definite Finite Tell-taleMinimal Definite Finite Tell-tale of Minimal Size

DefinitionL — a class of languages, and x ∈

⋃L. The eliminating power of

x wrt L is determined by the function ElL :⋃L → ℘(IL), such

that:ElL(x) = {i |x /∈ Li}.

Additionally, we will use ElL(X ) for⋃

x∈X ElL(x).

ElL(x) gives indices of sets in L that are inconsistent with x .

N. Gierasimczuk What makes a good teacher? A Computational Study

Page 38: What makes a good teacher? A Computational Study · N. Gierasimczuk What makes a good teacher? A Computational Study. Motivation A High-Level Perspective A Low-Level Perspective Conclusions

MotivationA High-Level PerspectiveA Low-Level Perspective

Conclusions

Finite IdentifiabilityThe Computational Complexity of Finite Identifiability CheckMinimal Definite Finite Tell-taleMinimal Definite Finite Tell-tale of Minimal Size

Finite identifiability and eliminating power

TheoremA class L is finitely identifiable from positive data iff there is aneffective procedure that for any i enumerates all elements of afinite set Si ⊆ Li , such that

ElL(Si ) = {j |Lj ∈ L} − {i}.

N. Gierasimczuk What makes a good teacher? A Computational Study

Page 39: What makes a good teacher? A Computational Study · N. Gierasimczuk What makes a good teacher? A Computational Study. Motivation A High-Level Perspective A Low-Level Perspective Conclusions

MotivationA High-Level PerspectiveA Low-Level Perspective

Conclusions

Finite IdentifiabilityThe Computational Complexity of Finite Identifiability CheckMinimal Definite Finite Tell-taleMinimal Definite Finite Tell-tale of Minimal Size

Finite teachability is in PTIME

TheoremChecking whether a finite class of finite sets is finitely identifiableis polynomial wrt the size of the class.

Proof.

1. Compute ElL(x).

2. Check whether for each Li ∈ L, ElL(Li ) = IL − {i}.

N. Gierasimczuk What makes a good teacher? A Computational Study

Page 40: What makes a good teacher? A Computational Study · N. Gierasimczuk What makes a good teacher? A Computational Study. Motivation A High-Level Perspective A Low-Level Perspective Conclusions

MotivationA High-Level PerspectiveA Low-Level Perspective

Conclusions

Finite IdentifiabilityThe Computational Complexity of Finite Identifiability CheckMinimal Definite Finite Tell-taleMinimal Definite Finite Tell-tale of Minimal Size

DefinitionL — a finitely identifiable class of languages, and Li ∈ L. Aminimal DFTT of Li in L is Si ⊆ Li , such that

1. Si is a DFTT for Li in L, and

2. ∀X ⊂ Si ElL(X ) 6= {j |j ∈ IL} − {i}.

N. Gierasimczuk What makes a good teacher? A Computational Study

Page 41: What makes a good teacher? A Computational Study · N. Gierasimczuk What makes a good teacher? A Computational Study. Motivation A High-Level Perspective A Low-Level Perspective Conclusions

MotivationA High-Level PerspectiveA Low-Level Perspective

Conclusions

Finite IdentifiabilityThe Computational Complexity of Finite Identifiability CheckMinimal Definite Finite Tell-taleMinimal Definite Finite Tell-tale of Minimal Size

Example

L = {L1 = {1, 3, 4}, L2 = {2, 4, 5}, L3 = {1, 3, 5}, L4 = {4, 6}}

x ElL(x)

1 {2, 4}2 {1, 3, 4}3 {2, 4}4 {3}5 {1, 4}6 {1, 2, 3}

set a minimal DFTT

{1, 3, 4} {3, 4}{2, 4, 5} {4, 5}{1, 3, 5} {3, 5}{4, 6} {6}

N. Gierasimczuk What makes a good teacher? A Computational Study

Page 42: What makes a good teacher? A Computational Study · N. Gierasimczuk What makes a good teacher? A Computational Study. Motivation A High-Level Perspective A Low-Level Perspective Conclusions

MotivationA High-Level PerspectiveA Low-Level Perspective

Conclusions

Finite IdentifiabilityThe Computational Complexity of Finite Identifiability CheckMinimal Definite Finite Tell-taleMinimal Definite Finite Tell-tale of Minimal Size

Minimal finite teachability is in PTIME

TheoremLet L be a finitely identifiable finite class of finite sets. Finding aminimal DFTT of Li ∈ L can be done in polynomial time wrt tothe size of the class.

Proof.

1. Set X := Li .

2. Look for x ∈ X such that El(X − {x}) = IL − {i}.I If no such, then X is the desired reduct.I If there is, set X := X − {x}, and repeat the procedure.

N. Gierasimczuk What makes a good teacher? A Computational Study

Page 43: What makes a good teacher? A Computational Study · N. Gierasimczuk What makes a good teacher? A Computational Study. Motivation A High-Level Perspective A Low-Level Perspective Conclusions

MotivationA High-Level PerspectiveA Low-Level Perspective

Conclusions

Finite IdentifiabilityThe Computational Complexity of Finite Identifiability CheckMinimal Definite Finite Tell-taleMinimal Definite Finite Tell-tale of Minimal Size

Efficient teachability is NP-complete

DefinitionL — a finitely identifiable class of languages, and Li ∈ L. Aminimal DFTT of minimal size of Li in L is a smallest Si ⊆ Li ,such that

1. Si is a DFTT for Li in L, and

2. ∀X ⊂ Si ElL(X ) 6= {j |j ∈ IL} − {i}.

N. Gierasimczuk What makes a good teacher? A Computational Study

Page 44: What makes a good teacher? A Computational Study · N. Gierasimczuk What makes a good teacher? A Computational Study. Motivation A High-Level Perspective A Low-Level Perspective Conclusions

MotivationA High-Level PerspectiveA Low-Level Perspective

Conclusions

Finite IdentifiabilityThe Computational Complexity of Finite Identifiability CheckMinimal Definite Finite Tell-taleMinimal Definite Finite Tell-tale of Minimal Size

Finding minimal DFTTs of minimal size

Perform a search through all the subsets of Li starting fromsingletons, looking for the first Xi ⊆ Li , such thatElL(Xi ) = IL − {i}.

N. Gierasimczuk What makes a good teacher? A Computational Study

Page 45: What makes a good teacher? A Computational Study · N. Gierasimczuk What makes a good teacher? A Computational Study. Motivation A High-Level Perspective A Low-Level Perspective Conclusions

MotivationA High-Level PerspectiveA Low-Level Perspective

Conclusions

Finite IdentifiabilityThe Computational Complexity of Finite Identifiability CheckMinimal Definite Finite Tell-taleMinimal Definite Finite Tell-tale of Minimal Size

Example

L = {L1 = {1, 3, 4}, L2 = {2, 4, 5}, L3 = {1, 3, 5}, L4 = {4, 6}}.

x ElL(x)

1 {2, 4}2 {1, 3, 4}3 {2, 4}4 {3}5 {1, 4}6 {1, 2, 3}

set min DFTTs of min size

{1, 3, 4} {1, 4} or {3, 4}{2, 4, 5} {2}{1, 3, 5} {1, 5} or {3, 5}{4, 6} {6}

N. Gierasimczuk What makes a good teacher? A Computational Study

Page 46: What makes a good teacher? A Computational Study · N. Gierasimczuk What makes a good teacher? A Computational Study. Motivation A High-Level Perspective A Low-Level Perspective Conclusions

MotivationA High-Level PerspectiveA Low-Level Perspective

Conclusions

Finite IdentifiabilityThe Computational Complexity of Finite Identifiability CheckMinimal Definite Finite Tell-taleMinimal Definite Finite Tell-tale of Minimal Size

NP-completeness

Min DFTTs of min size - a complete search through a large space.

Definition (MinDFTTMin Problem)

Instance A finite class of finite sets L, a set Li ∈ L, and a positiveinteger k ≤ |Li |.

Question Is there a minimal DFTT Xi ⊆ Li of size ≤ k?

Is Li ∈ L finitely teachable from a sample of size k or smaller?

N. Gierasimczuk What makes a good teacher? A Computational Study

Page 47: What makes a good teacher? A Computational Study · N. Gierasimczuk What makes a good teacher? A Computational Study. Motivation A High-Level Perspective A Low-Level Perspective Conclusions

MotivationA High-Level PerspectiveA Low-Level Perspective

Conclusions

Finite IdentifiabilityThe Computational Complexity of Finite Identifiability CheckMinimal Definite Finite Tell-taleMinimal Definite Finite Tell-tale of Minimal Size

NP-completeness

TheoremThe MinDFTTMin Problem is NP-complete.

Definition (MinDFTTMin Problem)

Instance A finite class of finite sets L, a set Li ∈ L, and a positiveinteger k ≤ |Li |.

Question Is there a minimal DFTT Xi ⊆ Li of size ≤ k?

Definition (Minimal Cover Problem)

Instance: Collection P of subsets of a finite set F , positive integerk ≤ |P|.

Question: Does P contain a cover for X of size k or less, i.e. a subsetP ′ ⊆ P with |P ′| ≤ k such that every element of X belongs toat least one member of P ′?

N. Gierasimczuk What makes a good teacher? A Computational Study

Page 48: What makes a good teacher? A Computational Study · N. Gierasimczuk What makes a good teacher? A Computational Study. Motivation A High-Level Perspective A Low-Level Perspective Conclusions

MotivationA High-Level PerspectiveA Low-Level Perspective

Conclusions

Finite IdentifiabilityThe Computational Complexity of Finite Identifiability CheckMinimal Definite Finite Tell-taleMinimal Definite Finite Tell-tale of Minimal Size

Low-level summary

I Judging finite teachability — PTIME;I Teaching in a

1. relevant way — PTIME (easy);2. the most efficient way — NP-complete (difficult?).

N. Gierasimczuk What makes a good teacher? A Computational Study

Page 49: What makes a good teacher? A Computational Study · N. Gierasimczuk What makes a good teacher? A Computational Study. Motivation A High-Level Perspective A Low-Level Perspective Conclusions

MotivationA High-Level PerspectiveA Low-Level Perspective

Conclusions

Outline

Motivation

A High-Level PerspectiveSabotage Learning GamesComplexity of Sabotage-Type LearningNon-strict Alternation

A Low-Level PerspectiveFinite IdentifiabilityThe Computational Complexity of Finite Identifiability CheckMinimal Definite Finite Tell-taleMinimal Definite Finite Tell-tale of Minimal Size

Conclusions

N. Gierasimczuk What makes a good teacher? A Computational Study

Page 50: What makes a good teacher? A Computational Study · N. Gierasimczuk What makes a good teacher? A Computational Study. Motivation A High-Level Perspective A Low-Level Perspective Conclusions

MotivationA High-Level PerspectiveA Low-Level Perspective

Conclusions

Conclusions and Further Work

Summary:

I Teachability can give a measure of difficulty for learning.

I Different approaches to the same epistemological problem:game theory, modal logic, formal learning theory,computational complexity.

I Higher resolution — higher complexity.

Further work:

I Specific graph structures for specific learning algorithms.

I Applicability to belief revision and belief merge.

N. Gierasimczuk What makes a good teacher? A Computational Study

Page 51: What makes a good teacher? A Computational Study · N. Gierasimczuk What makes a good teacher? A Computational Study. Motivation A High-Level Perspective A Low-Level Perspective Conclusions

MotivationA High-Level PerspectiveA Low-Level Perspective

Conclusions

References

N. Gierasimczuk, L. Kurzen and F. Velazquez-Quesada,Learning and Teaching as a Game: A Sabotage Approach, X.He, J. Horty, and E. Pacuit (Eds.): LORI 2009, LNAI 5834,pp. 119-132, 2009.

N. Gierasimczuk and D. de Jongh, On the Minimality ofDefinite Tell-tale Sets in Finite Identification, manuscript 2009.

N. Gierasimczuk What makes a good teacher? A Computational Study