Presentation Transcript
Slide1 : Sandro Spina, John Abela
Department of CS andamp; AI,
University of Malta.
Mutually compatible and incompatible merges for the search of the smallest consistent DFA Francois Coste
INRIA/IRISA, Campus de Beaulieu, 35042 Rennes Cedex, France
Slide2 :
The motivation behind our work was that of improving the (greedy) heuristic used by EDSM. Work was also carried out on diversification of the search strategy.
EDSM [Price98] is very effective at inferring regular languages, except when training data is sparse.
According to [Price98], Abbadingo style problems can be solved with high confidence (0.93) when the number of matched state labels is greater than 10.
EDSM determines its merge sequence (greedily) by using a heuristic which compares language suffixes between two states in a DFA.
Three Complementary Tracks
Improve on Heuristic Score.
Improve on Search Strategy.
Combine these two.
Evidence Driven State Merging
Slide3 : Q. Whenever EDSM does not correctly infer the target language, can we (using a greedy depth-first search) improve the learner’s merge path by gathering and combining information (state label matches) from multiple valid merges? Does the combination of their evidence scores result in valuable information? Can this information be used to guide the search?
We think so !!! Some of the initial results are encouraging.
Target Size Convergence Improves Drastically
Classification Rate Does Not Improve Consistently
EDSM score → focuses on single merge analysis
S-EDSM score → score is a combination of single merge analysis
Sharing Evidence
Slide4 : Let M be the set of all possible merges.
A merge M andlt;q1,q2andgt;, is said to be valid if all the states in the subtree of q1 are state compatible with the corresponding states in the subtree of q2.
Let M1, M2 2 M be two valid merges
We define the relation ↑ µ M X M as follows
M1↑M2 if M2 remains a valid merge in the hypothesis obtained by applying M1
If M1↑M2 , we say that M1 is pairwise compatible to M2
Pairwise Compatible Merges
Slide5 : Pairwise Compatible Merges (Simple) Example
Slide6 : Suppose that M1, M2 and M3 2 M where M1 ↑ M2 and M2 ↑ M3
This does not necessarily imply that M1↑M3. This is because some states in M2 can be labelled differently by M1 and M3.
Therefore ↑ is not transitive.
In order to make ↑ a transitive relation ( denoted as ↕ ), M1 ↑ M3 needs to be checked as well to create the set { M1, M2, M3 }
Set cardinality of mutual compatible merges can direct S-EDSM ‘s heuristic score. This is currently not implemented.
Mutual Compatible Merges
Slide7 : S-EDSM Algorithm
Slide8 : Shared Evidence Driven State Merging (S-EDSM) implements only pairwise compatibility by creating classes of M1 ↑ { M2 … Mn } for the top 30% valid merges. Scores are recalculated and the best merge is determined and executed. Various strategies can be implemented.
In terms of classification rate we are still not consistently performing better than classic EDSM.
S-EDSM approximates better the target size of the target automaton. However this improvement does NOT help on its own. It’s only (possibly) an indication of a direction to follow. Initial Results
Slide9 : Results II ( 400 State Target Size Convergence ) This graph documents 10 consecutive problems downloaded from
Gowachin. Training set consisted of 20,000 strings.
Results III (256 State Target Size Classification ) : Results III (256 State Target Size Classification )
Slide11 : Pairwise Incompatible Merges for Search m1M m2M m3M m5M m4M = ≠ Classical Search Tree: … … … … … = = = = ≠ ≠ ≠
Slide12 : Pairwise Incompatible Merges for Search m1M m2M m’3MI(m1) m’5MI(m2) m4M = ≠ Candidates limitation after backtrack: … … … … … = = = = ≠ ≠ ≠ ≠
Slide13 : Rationale:
A merge m’ I(m) may be tried after m.
Introduces diversity in the search
Edsm: I(m) may be computed [Coste andamp; Fredouille,ICGI’00]
S-Edsm: I(m) is available « for free »
Significant improvement when applied to the 3 first choices.
Best application of scheme after the choice m’3MI(m1) ?
After merging m’3 (=)
After not merging m’3 (≠) Pairwise Incompatible Merges for Search
Slide14 : Develop a calculus to describe merge interactions. Implement all the relations and functions ( mutual compatibility, dominance, etc. ) of the calculus. Analyse the results achieved from these different implementations.
Combine heuristic with better search strategies and study the best combination of heuristic and search strategy. Introduction of diversity in the exploration of the search space by limiting choice of candidate merges after a backtrack.
Noisy Data !! Can S-EDSM perform better by combining information between different merges. Maybe with information gathered from merge interactions S-EDSM can ‘discover’ noise in the training set.
Ultimately we want to see how far we can push, in terms of data sparseness, DFA learning.
Thank you.
Future Directions
Catch the
buzz on authorSTREAM
Copyright © 2002-2008 authorSTREAM. All rights reserved.