0% found this document useful (0 votes)
72 views5 pages

2011, A Reasoning Method On Computational Network

The document presents an extensive model of computational networks that adds a sample problems component to represent how humans think about relating new problems to problems they have solved before. The model includes a set of variables, a set of sample problems, and a set of rules. It can be used to automatically solve algebraic problems by searching for a similar sample problem, applying the sample problem's solution, and using rules from the knowledge base and heuristics if needed. The model is applied to construct a system for solving algebraic problems commonly seen in middle school.

Uploaded by

toanho
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
72 views5 pages

2011, A Reasoning Method On Computational Network

The document presents an extensive model of computational networks that adds a sample problems component to represent how humans think about relating new problems to problems they have solved before. The model includes a set of variables, a set of sample problems, and a set of rules. It can be used to automatically solve algebraic problems by searching for a similar sample problem, applying the sample problem's solution, and using rules from the knowledge base and heuristics if needed. The model is applied to construct a system for solving algebraic problems commonly seen in middle school.

Uploaded by

toanho
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
You are on page 1/ 5

Nhon Do, Hien Nguyen A Reasoning Method on Computational Network and Its Applications

searching relating problems which have been solved before, and then proposing an appropriate solution for the problem. Besides that, we can use the result of relating problems for solving the problem. Such relating problems are called sample problems. In this paper, we extend the computational network by adding sample problems component to the knowledge of the system. This extension allows us to represent humans thought about finding sample problems before. In addition, this extensive model can be applied in constructing a system for automatically solving algebraic problems in middle school. II. THE EXTENSIVE
MODEL OF COMPUTATIONAL NETWORK

AbstractKnowledge base is an important component of expert systems and intelligent programs. Therefore, researching and development of models for knowledge representation play an important role in Artificial Intelligent. Besides known models, the Computational Network model is useful for representing computational knowledge of human. In this paper, an extensive model of computational network has been presented. This model will use Sample Problems such as the experience of human about practical problem for simulating the way of human thinking, and give good solutions for the practical problems faster and more effectively. This extensive model is applied to construct an automatic system for solving algebraic problems of middle school. Keywordsartificial intelligence, knowledge representation. expert systems,

I.

INTRODUCTION

Knowledge base has an important role in the design of expert systems. Building expert systems require designing knowledge bases and inference engine. Nowadays there are many various knowledge models have been suggested and applied, such as some model in [1, 2, 3, 4, 8]. Furthermore, we already knew some common methods for knowledge representation in designing knowledge base systems (see [5, 7, 9,11]). Nevertheless, those methods also have several drawbacks which make knowledge representation difficult to implement, especially for areas in general education such as plane geometry, analytic geometry, algebra, etc. Thus, the computational network has been introduced to represent humans knowledge, especially for computational knowledge (see [17]). Also, it has been applied to construct supporting programs in education (see [15]). In order for dealing with a practical problem, in [10], the author pointed out that we try to recognize something familiar with unknown problem: Relate the given situation to previous knowledge. Look at the unknown and try to recall a more familiar problem that has a similar unknown or involves similar principles. (G. Polya) Nhon Do is currently a senior lecturer in the faculty of Computer Science at the University of Information Technology, Ho Chi Minh City, Vietnam. He got his MSc

A. Computational Network: Definition 2.1: A computational network is a pair (M, R), in which M = {x1, x2, ..., xn} is a set of variables with simple values (or unstructured values), and R = {r1, r2, ..., rm} is a set of computational relations over the variables in the set M. Each computational relation r R has the following form: (i) An equation over some variables in M, or (ii) Deductive rule r : u(r) v(r), with u(r) M, v(r) M, and there are corresponding formulas to determine (or to compute) variables in v(r) from variables in u(r).We also define the set M(r) = u(r) v(r). Given a computational network (M, R), the popular problem arising from reality applications is that to find a solution to determine a set H M from a Goal. This problem is denoted by the symbol (H, Goal), with H is the hypothesis and Goal is the goal of the problem. Definition 2.2: Given a Computational Network (M, R). (i) For each A M and r R, denote r(A) = A M(r) be the set obtained from A by applying r. Let S = [r1, r2, ..., rk] be a list consisting relations in R, the notation S(A) = rk(rk-1( r2(r1(A)) )) is used to denote the set of variables obtained from A by

notation S(A) = rk(rk-1( r2(r1(A)) )) is used to denote the set of variables obtained from A by applying relations in S. (ii) The list S = [r1, r2, ..., rk] is called a solution of the problem (H, Goal) (H M) if S(H) satisfied Goal. Solution S is called a good solution if there is not a proper sublist S of S such that S is also a solution of the problem. The problem is solvable if there is a solution to solve it. Model Computational network which was presented in [15], [17] was used in the design of many applications in intelligent systems. However, the alternating current problems in practical domain of knowledge have specific characteristics so that a suitable model will be proposed to design a system to solve them. B. The Extensive model of Computational Network: When dealing with a practical problem, a convenient way to proceed is considering whether we have met a similar or relating problem before or not. If so, then the solution for the problem can be obtained effectively. Or we determine whether the result of relating problems can be used to solve the practical problem or not. This leads to a requirement that model of knowledge base needs to be furnished a new component which can capture this behavior of human. Definition 2.3: A sample problem has three components ( MP, Goal , Sol) in which: (i) (Mp, Goal) is a problem of computational network (ii) Sol: is a solution of problem (Mp, Goal) Example 2.1:
SAMPLE PROBLEM FOR SOLVING THE QUADRIC INEQUATION

Definition 2.4: The Extensive model of Computational network (ECN) is a model which consists of three following components: (M, Sample, R) (i) M = Mnum Mfunc is a set of attributes or objects, with simple valued (real or Boolean valued) or functional valued. Mnum = {O1, O2, O3, } is the set of simple valued objects. Mfunc = {f1, f2, f3, } is the set of functional valued objects. (ii) Sample = {S1, S2, S3,} is a set of sample problems. (iii) R = Rsample Rknowledge RHeuristic is a set of deduce rule, and R is the union of three subsets of rules Rsample , Rknowledge , RHeuristic. Each rule r has the form r: u(r)v(r), with u(r) is the hypotheses of r and v(r) is the conclusion of r. A rule is also one of the three cases below: Case 1: r Rsample. For this case, r is a rule for searching sample problem in Sample Case 2: r Rknowledge. For this case, r is a rule of knowledge domain. Case 3: r RHeuristic. For this case, r is a heuristic rule of knowledge domain. C. Example: Knowledge domain about algebra of middle school can be modeled by the ECN model with its components as follows: 1. M = Mnum Mfunc , in which: Mnum = {Real number; numeric expressions; Boolean expressions} E.g.: 2, 4.5 , 9+7+1, 16*18+84*18, 1/7 < 5

7/8

Mfunc = {functional valued objects} E.g.:


4 2 2 2 3 3 2

Object = a.x 2 + b.x + c > 0 assuming a > 0 We have rules for solving the quadric equation Rule r1: { Object } { a, b, c} ( a 0 ) Rule r2: { a, b, c} delta = b 4ac
2

a , a + 2a + 9, x y , x y , ( x+ y ) 0
2. Sample = { Sample problems for solving simple and quadratic equations; Sample problems for solving simple and quadratic inequations;

Rule r3: Compare delta and number 0 Rule r3.1: { delta < 0} { Root =

}
b 2a

Rule r3.2: { delta = 0} Root = \

Sample problems for computing the numeric expressions; } 3. R = Rsample Rknowledge RHeuristic , in which: Rsample: set of rules for searching sample problems in Sample set. E.g.: o Rule for searching the kind of Sample Problems Problems o Rule for comparising the goal of Sample o Rule for determining the Sample Problem Rknowledge: set of rules in knowledge domain about algebra of middle school. Etc.

Rule r3.3:

{ delta > 0} { Root = ( , x1 ) ( x2,+ ) }


(where x1 =

b b+ , x2 = 2a 2a

) Solution of problem is Sol = [r1, r2, r3] Now, we have the sample problem S for solving the quadric inequation as follow: S = (Mp, Goal, Sol) which: Mp = {Object, a > 0} Goal = (SOLVE, [Object]) Sol = [r1, r2, r3]

E.g.: o

( X Y )

= X 2 2*X *Y + Y 2

2 o { X 0} { X in

if (S found) then begin H H S.Goal; Add S.Sol to Solution; end; if (Goal is satisfied) then Solution_found true; Until Solution_found or not(S found); Step 3: if Solution_found then goto step 5; else goto step 4; Step 4: Repeat Hold H; Select r Rknowledge RHeuristic; while not Solution_found and (r found) do if (applying r from H produces new facts) then begin H H M(r); Add r to Solution; end; if (Goal is satisfied) then Solution_found true; Select new r Rknowledge RHeuristic; end while; Until Solution_found or (H = Hold); Step 5: if Solution_found then Solution is a solution of the problem; else There is no solution found; Algorithm 2.2: Find a sample problem from problem (P,O,F)Goal Step 1: SP Sample Sample_found false Step 2: Repeat Select S in SP if kind of F = kind of S.Mp then begin if kind of Goal = kind of S.Goal then Sample_found true Else if S.Mp H then Sample_found true end SP (SP S) Until SP = {} or Sample_found Step 3: if Sample_found then S is a sample problem of the problem; else There is no sample problem found; For the Extensive model of computational net (M, Sample, R), in many cases the problem (P,O,F)Goal has a solution S in which there are some redundant variables arise unexpectedly. For those situations, we need to omit these redundant variables of each step in the solving process. The following theorem shows the way to analyze the solution to determine necessary variables to be computed at each step. Theorem 2.2: Given a ECN model. Let [r1, r2, ..., rm] be a good solution of the problem (P,O,F) Goal denote A0 = H, Ai = [r1, r2, ..., ri](H), with i = 1, ..., m. Then there exists

o { X Y , Y Z} { X Z } D. Model of problem on Extensive model of Computational Network Definition 2.5: Given a extension model of Computational Network (M,Sample,R). Model of problem in ECN is denoted by the symbol: (P, O, F) Goal In which: (1) P = {m1, m2, m3, } is a set of parameter in problem (2) O = {O1, O2, O3, } is a set of Objects in problem (3) F = {fact1, fact2, } is a set of Facts in problem (4) Goal: the purpose of problem. The solution and good solution of problems on ECN have been defined as definition 2.2 Definition 2.6: Given a model ECN (M, Sample, R), and a problem H G on this model. It is easy to verify that there exists an unique maximum set H such that the problem H H is solvable. The set H is called the closure of H. Lemma: Given a model ECN (M, Sample, R), by definition 2.6, problem H H is solvable. Then, there exists an relation S = [r1, r2, ..., rk] such that S(H) = H . Theorem 2.1: Given a model ECN (M, Sample, R). The following statements are equivalent. (i) Problem H G is solvable. (ii) H G (iii) There exists a list of relations S such that S(H) G Proof: * The equivalent of (i) and (iii) can been checked easily. * (i) => (ii): Problem H G is solvable, but by definition 2.6, H is a maximum set such that problem H H is solvable, so G H . * (ii) => (iii): Problem H H is solvable, by lemma, there exists an relation S = [r1, r2, ..., rk] such that S(H) = H . But G H , so S(H) G E. Algorithms on Extensive model of Computational network Give the problem (P,O,F) Goal on model ECN as definition 2.4, base on theorem 2.1, these are algorithms for finding the solution of this problem. Algorithm 2.1: Find a solution of problem (P,O,F)Goal Step 1: Solution empty; Solution_found false; H O P; Step 2: Repeat Find a sample problem S

a list [B0, B1, ..., Bm-1, Bm] satisfying the following conditions: (1) Bm = Goal, (2) Bi Ai , with i=0, 1, ..., m. (3) For i = 1,..., m, [ ri ] is a solution of the problem Bi-1 Bi but not to be a solution of the problem B Bi , with B is any proper subset B of Bi-1 . Algorithm 2.3: Find a good solution from a solution S = [r1,r2, ..., rk] of the problem (P,O,F)Goal on the ECN model (M,Sample,R). Step 1: NewS [ ]; H O P; V Goal; Step 2: for i := k downto 1 do if v(ri) V then begin Insert ri at the beginning of NewS; V (V v(ri)) (u(ri) H); end Step 3: NewS is a good solution. III. THE SYSTEM FOR SOLVING ALGEBRAIC PROBLEMS
MIDDLE SCHOOL AUTOMATICALLY

etc.

Example 3.1: Factorize the following expression:

xy ( x + y ) + yz ( y + z ) + xz ( x + z ) + 2xyz
Solution is given by our system:

xy ( x + y ) + yz ( y + z ) + xz ( x + z ) + 2 xyz = x y + xy 2 + y 2 z + yz 2 + x 2 z + xz 2 + 2xyz
2

= ( xy 2 + xyz ) + ( y 2 z + yz 2 ) + ( xyz + xz 2 ) + ( x 2 y + x 2z ) = yx ( y + z ) + yz ( y + z ) + xz ( y + z ) + x 2 ( y + z ) = ( y + z ) ( yx + yz + xz + x 2 )

= ( y + z)

= ( y + z ) ( x ( z + x ) + ( x+ z ) y ) = ( y + z ) ( x + z ) ( x+ y )

( ( xz + x ) + ( yx + yz ) )
2

IN

Example 3.2: Consider the following equation:

By the Extensive model of Computational Network and the above algorithms, we have represented the knowledge base about algebra of middle school. In addition, the system for automatic solving algebraic problems has been built successfully. A. Designing knowledge base: The knowledge about algebra of middle school can be represented by the ECN model in section II.C B. Implementation and Testing: The knowledge of algebra in middle schools was built in section A. Based on the architecture of the system in [14], the system called The system for solving automatically algebraic problems of middle school has been built by using MAPLE and C#. The solution proposed by this system is intuitively natural and close with the way of thinking and solving of human. Moreover, this system was tested on all various kinds of algebraic exercises in middle-school algebra program of Vietnam ([12]). Some kinds of algebra problem can be solved by system are following: Compute the numerical expressions Solve equations and basic inequalities Solve the system of equation in two variables Factorize a polynomial Simplify algebraic expressions

x 2 2.m.x + 2m 1 = 0
with m is a parameter, and x is a variable. Find m such that this equation has at least one root. Solution is given by our system: The quadratic equation:

x 2 2.m.x + 2m 1= 0
have coefficients:

a =1
We have:

b = 2b '= 2m

c= 2m 1

delta ' = ( b ') 2 a * c

= ( m) 2 (2m 1) = m 2 2m + 1
This equation has at least one root if and only if:

delta' 0 m 2 2m + 1 0 ( m 1) 0
2

(true for all m)


So this equation has at least one root m Example 3.3: Consider the following equation:

Furthermore, our system can be applied to solve parameters rproblems such as: Find the parameters which satisfy some conditions of the problem, Solve equations and inequations based on parameters,

(m

4) x + 2 = m

with m is a parameter, and x is a variable. Solve this equation based on m. Solution is given by our system: Solve the equation:

(m (m
2

4) x + 2 = m

[5] [6] [7] [8] [9] [10] [11] [12] [13] [14]

4 ) x = 2 + m {2 , 2}

The coefficient of x has a set of roots:

+ if parameter m = 2 , then: This equation has no root + if parameter m = 2 , then: This equation has set of roots is real number set + if parameter m { 2 , 2} , then:

x=

2 + m 1 = 2 m 4 m+ 2

[15]

[16]

IV. CONCLUSION AND FUTURE WORK When dealing with practical problems, a human usually makes use of relating problems to solve them. In this paper, the reasoning method using Sample Problems as relating problems is presented and applied to the Computational Network model. This method is especially helpful for searching solution of problems on this model. Hence, the solving process of the system becomes more natural and similar to humans way of thinking. Using the extensive model of Computational Network, the system for solving automatically algebra problems is constructed successfully. The solution by this system is clear step-by-step, natural, precise and has reasoning way like humans. In addition, this system has received good comments from teachers and pupils used. Moreover, our system can solve parameters problems which are difficult problems and cannot be solved by usual systems. Moreover, the method using Sample Problems can be applied to other knowledge base models, such as ontology in [6] and [16]. In particular, the ontology COKB-ONT which was presented in [13] and [19] is a useful tool for designing practical knowledge bases, modeling complex problems. In the future, we will also continue our research in extending ontology COKB-ONT for designing a system that can solve the problems of plane geometry and physics (one-way electric, circuit electric, etc.) based on reasoning method using Sample Problems. REFERENCES
[1] [2] [3] [4]
Michel Chein & Marie-Laure Mugnier, 2009, Graph-based Knowledge representation: Computational foundations of Conceptual Graphs, Springer-Verlag London Limited. Frank van Harmelem & Vladimir & Bruce, 2008, Handbook of Knowledge Representation, Elsevier. Toshinori Munakata, 2008, Fundamentals of the New Artificial Intelligence: Neural, Evolutionary, Fuzzy and More, SpringerVerlag London Limited. F. Lehmann, 2008, Semantic Networks in Artificial Intelligence, Elsevier Science Ltd.

[17]

[18] [19]

M. Tim Jones, 2008, Artificial Intelligence: A System Approach, Infinity Science Press LLC. Asuncin Gmez-Prez, Mariano Frnandez-Lpez, and Oscar Corcho, 2004, Ontological Engineering, Springer-Verlag. Stuart Russell & Peter Norvig, 2003, Artificial Intelligence A modern approach (second edition), Prentice Hall. John F. Sowa, 2000, Knowledge Representation: Logical, Philosophical and Computational Foundations, Brooks/Cole. George F. Luger & William A Stubblefield, 1998, Artificial Intelligence, Addison Wesley Longman, Inc. G. Polya, 1997, How to solve it, VietNam Publisher of Education. Lakemeyer, G. & Nebel, B., 1994, Foundations of Knowledge representation and Reasoning. Berlin Heidelberg: Springer-Verlag. Vietnam Ministry of Education and Training, 2010, Textbook and workbook of algebra in middle school, Publisher of Education. Nhon Do, Model for Knowledge Bases of Computational Objects, IJCSI International Journal of Computer Science Issues, Vol. 7, Issue 3, No. 8, pp. 11 20, May 2010. Do Van Nhon, The architecture of a system for solving problems for learners and design techniques, Scientific journal of Education and Technology, University of Technical Education, Ho Chi Minh City, No. Nhon Van Do & Tam Pham Huu, Extensive Computational Networks And Applying in an Educational Software, In Proceeding of 2009 International Conference on Artificial Intelligence and Education (ICAIE 2009), vol. 2, ISBN 978-1-84626-010-0, pp. 720 727, Wuhan, China, 2009. Nie Guihua, Jiang Xiangjie, Chen Donglin, Liang Yueling, Li Xiaofei, The Research of Personalized Learning Based On Ontology, In Proceeding of 2009 International Conference on Artificial Intelligence and Education (ICAIE 2009), vol. 1, ISBN 9781-84626-010-0, pp. 22-26, Wuhan, China, 2009. Nhon Van Do, Computational Networks for Knowledge Representation, In Proceeding of World Academy of Science, Engineering and Technology (ICCSISE 2009), Volume 56, ISSN 2070 3724, Singapore, August 2009. Do Van Nhon, A program for studying and Solving problem s in Plane Geometry, In Proceeding of Conference on Artificial Intelligent 2000, pp. 1441-1447, Las Vegas, USA, 2000. Nhon Do, An ontology for knowledge representation and Applications, In Proceeding of World Academy of science, engineer and technology, August 2008, vol. 32, ISSN: 2070-3740, pp. 23 31, Singapore, 2008.

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy