Sie sind auf Seite 1von 5

A Multiagent System using Associate Rule Mining (ARM), a collaborative filtering

approach
Prakash Ranganathan, Juan Li, Kendall Nygard
Department of Computer Science
North Dakota State University, Fargo, ND 58102
email:prakashranganathan@mail.und.edu

Abstract___Agent Oriented Programming (AOP) is a recent Keywords: Collaborative filtering, intelligent agents
promising software paradigm that brings concepts from the
theories of artificial intelligence into the mainstream realm I. INTRODUCTION
of distributed systems, and yet it is rather difficult to find a
successful application of agent oriented system (specifically) The concept and practice of distance education has
when large-scale systems are considered. When adopting an evolved tremendously at numerous educational
agent-oriented approach to solve a problem, there are a
number of domain independent issues that must always be
institutions and are growing exponentially in recent years
solved, such as how to model agent behavior to predict around the world and yet there is not much research done
future action and how to allow agents to communicate to employ adaptive learning agents or algorithms which
rather than expecting developers to develop this core can predict the behavior of student users to make their
infrastructure themselves. In our paper, we address several learning process easier in an e-learning environment.
problems that exist in a socialized e-learning environment Current e-learning system in literatures does not cite any
and provide solutions to these problems through smart and use of rigorous adaptive software agents in detail to study
collaborative agent behavior modeling which learn and the behavior of student users in promoting their
adapt themselves through prior experiences, thereby knowledge base or assist in their e-learning environment.
assisting in successful implementation of this large scale e-
learning system. In this paper, the author (s) proposes an
Effective e-learning systems should include advanced
implementation of a complete distributed e-learning system functions with adaptive learning methods and their
based on Collaborative filtering (CF) method. The system interface should hide their complexity to learners,
has intelligent collaborative filtering based tutoring system providing an easy interaction grasping the student’s
(ICFTS) capabilities that allow contents, presentation and interest. Despite of this, we often find a mere electronic
navigation to be adapted according to the learner’s transposition of traditional material, provided through
requirements. In order to achieve that development, two rigid interaction schemes and awkward interfaces.
concepts were put together: multi-agent systems and data
mining techniques (specifically, the ARM algorithm). All the In our paper we follow a Market basket approach, but
implementation code is developed using MATLAB GUI
environment.
here the customers are students in e-learning environment
and the products they shop are the query they visit in an
To our best knowledge, very few literatures discusses a online interface, So, we call our approach as Query
portion of e-learning environment using adaptive software Basket Analysis, as seen in Fig.1 below. Frequent item set
agents, but none of the current literatures addresses a mining leads to the discovery of associations and
complete implementation of their learning system in detail. correlations among items in large transactional or
The goal of the paper is to implement one such multi-agent relational data sets. With massive amounts of data
based e-learning system which learns from its prior user continuously being collected and stored, many industries
experiences on top of an agent-oriented middleware that are becoming interested in mining such patterns from
provides the domain-independent infrastructure, allowing
the developers to focus on building the key logic behind it. In
their databases. The discovery of interesting correlation
this system, relationships among huge amounts of business (query)
the agents follow an adaptive cognitive learning approach, transaction records can help in many e-learning (business)
where the agent learns through user decision making processes, such as course design, cross
behaviors via a collaborative filtering technique, or marketing, and student shopping-behavior-analysis.
experiencing and then processing and remembering the
information in an e-learning environment. The paper will In our paper, we present an agent oriented e-learning
utilize agent (a piece of code) based environment in our e- framework employing adaptive software agents, which
learning system using ARM [1][2]. The paper follows a learns from user behavior (via a participation of rating
learning approach based cognitive domain of Bloom's
Taxonomy such as Analyze, Evaluate, Create, Apply,
scheme) who share similar experience in their learning
understand and remember. using collaborative filtering technique [5][6]. In our
method, the student users rates the difficulty or

c
978-1-4244-6349-7/10/$26.00 2010 IEEE V7-574
completion level of the questions in a course using a Our collaborative filtering algorithm uses a collection of
rating scale ranging from 0 to 5 with 0 (1 or 2 or 3 or 4) student user profiles to identify “interesting information"
being higher difficulty level in understanding the problem for these users. A particular student user gets a
signifying the student need more attention or help in recommendation based on the user profiles of other,
solving the problem further and 5 being a rating where similar users. User profiles are commonly obtained by
student user can easily or moderately understand the explicitly asking users to rate the items. Collaborative
problem stated. filtering has often been formulated as a
Self-contained problem, apart from the classic
information retrieval problem (i.e. ad hoc text retrieval).
The rest of the paper is divided into following sections:
Which questions are
frequently visited by GUI Introduction and Learning Interface, Agent behavior
my students? model, Query Association Rule and Conclusion
Q1 Q2

Q3 Qn
ĞͲŶĂůLJƐƚ

Fig.1 Query (Market) Basket Analysis 

We focus on a 5 star rating scheme in our problem to


filter out students who are not having trouble in solving
the problem. These students experience are shared to
determine and predict whether the next student will
complete the query in the course interface. Then, a Fig.3 A generic e-learning system architecture
recommendation agent is deployed to the student interface
for student users who are unable to complete the question,
II. E-LEARNING INTERFACE
by providing more help to the student associated with the
particular problem that he or she having difficulty in
Our MATLAB based GUI interface has question set on
understanding the query or the problem. The
recommendation agent deploys various e-assist tools on the right side relating to a course and five agents at the
the problem to the student agent, such as an e-help entry login phase such as Instructor Agent, Behavior or
window on the particular problem, an instructor – student Recommendation Agent, Prospective Student Agent,
chat interface to further assist the student [7] seen in Fig Directory agent, Grader agent and Service agent. We will
2. Thus provide a high degree of adaptive intelligent primarily focus on Recommendation agent employing
learning mechanism according to their logged history of Collaborative filtering method to study the behavior of the
attended student user queries.
users in the system.

Fig.2 Use-case diagram of a Student User


Fig.4 A model of MATLAB/JADE Interface representing multi-agent e-
learning System

[Volume 7] 2010 2nd International Conference on Computer Engineering and Technology V7-575
a course. For our simplicity, we have adapted a Data
The Foundation for Intelligent Physical Agents (FIPA) is Structure course in C++ programming environment. Our
an international organization that is dedicated to paper describes an ARM implementation in MATLAB
promoting the industry of intelligent agents by openly GUI/JADE using CF.
developing specifications to support interoperability 
amongst agents and agent-based systems. JADE is a FIPA

compliant agent platform and development framework.
Agent platforms are responsible for dealing with agent
services such as messaging (transport, encoding and
parsing), scheduling, agent lifecycle management and
other common resources. JADE agents are executed in a
container where they share these services with other
agents present in the container. Our main interest in the
JADE platform is to build a adaptive learning agent and
implement an multi-agent oriented framework[3][4].

III. III. AGENT BEHAVIOR MODEL USING
COLLABORATIVE FILTERING (CF) 
Fig.5 Behavior Prediction using Collaborative filtering
Collaborative-filtering algorithms aim to identify users
that have relevant interests and preferences by calculating A. Association Rule Mining (ARM)
similarities and dissimilarities between user profiles Association rule mining consists of first finding frequent
(Herlocker et al., 2004) [9]. The idea behind this method item sets (set of items such as A and B, satisfying a
is that, it may be of benefit to one’s search for information minimum support threshold, or percentage of the task-
to consult the behavior of other users who share the same relevant tuples) from which strong association rules in the
or relevant interests and whose opinion can be trusted. So, form of A=>B are generated. These rules also satisfy a
our collaborative filtering technique assumes the minimum confidence threshold (a pre-specified
following: 1. Student Users who were behaved (rated) probability of satisfying B under the condition that A is
similar in the past are likely to be behaving similar in the satisfied). Associations can then be further analyzed to
future. 2. Use similar users’ behaviors to make uncover correlation rules, which convey statistical
recommendations [4].3. All student user must have a correlations between item sets A and B. Recommendation
fixed timeframe (say 15 minutes) in responding to each agents need to employ efficient prediction algorithms so
question on the agent interface.4. All e-assist tools are as to provide accurate recommendations to users. If a
deployed ahead (say 3 minutes) before the closing of each prediction is defined as a value that expresses the
query session.5. We assume a predefined behavior predicted likelihood that a user will ‘‘like’’ an item, then a
through a behavior rating Table containing 4 users and 5 recommendation is defined as the list of n items with
sample queries in a course. respect to the top-n predictions from the set of items
available. Improved prediction algorithms indicate better
recommendations. This explains the essentiality of
The purpose of our e-learning system is to learn the exploring and understanding the broad characteristics and
behavior of each student user through their responses to a potentials of prediction algorithms and the reason why
set number of questions and adapt to offer a personalized this work concentrates on this research direction. In our
solution through agent oriented programming paper, we use the ARM based CF technique to predict the
automatically, if the student had problem in understanding student user behavior and make recommendation to
the question. We decide to use association rule mining support a student or not in their learning process.
(ARM), since it discovers associations between sets of
virtual agent communities that are shared across many IV. IV. QUERY ASSOCIATION RULE
student users [2] [9]. By virtual community we mean "a (QAR), SUPPORT AND CONFIDENCE
group of agents who share characteristics and interact in
RULE
essence or effect only". In other words, people in a virtual
community influence each other as though they interacted
but they do not interact. To carry out this agent based
We define some definitions for Associative Rule Mining
adaptive learning task, we developed the e-learning
on Student Collaborative Filtering (SCF) data, such as the
interface using MATLAB GUI environment. Our e-
entities U (i.e., the set of Student Users ) and q (i.e., the
learning system assumes a pre-defined set of questions
set of queries or questions of multiple choice type in a
(five questions, in our example) pertaining to a problem in
course), and for any subset of rating values, R ⊂ {0,1,2,3,

V7-576 2010 2nd International Conference on Computer Engineering and Technology [Volume 7]
4, 5}, a R refers to a rating relationship relating user, u, to
question q, iff u rates q with a rating from R, e.g., for
R={0,1,2,3,4,5} in RT listed below. If a user rates to a
question, then he has attended and successfully responded q1 q2 q3 q4 q5 Ui
to the question and it is assigned a 1 in the Routing Table
or else a zero as shown in the routing table. It is important
to note that a 0 in the Routing Table implies that the U1 1 0 0 0 0 1
student user either not visited this question on the GUI
interface or visited, but failed to complete successfully or U2 1 1 0 1 0
the user may have rated 1, 2, 3 or 4 rating for the query. 3
Let A, be a set of questions, then the User set of A with
respect to R, UsetR(A), is the set of users, u, such that U3 1 0 1 0 0 2
∀a∈A, u Rrates a [(UsetR({q1,q2})= {u2,u4})]. Similarly,
the User count of A w.r.t R, UcountR(A), is the count of u U4 1 0 1 0
such that ∀a∈A, u Rrates a ? 3
[(UcountR({q1,q2})=|{u2,u4}|=2)]. User ratio of A w.r.t R,
UratioR(A), is the ratio of u such that ∀a∈A, u Rrates a. mũ 4 2 1 2 0
[(UratioR{q1,q2}=UcountR{q1,q2}/4=2/4)].

TABLE 1: BEHAVIOR ROUTING TABLE


u ∈QsetR(u)
ratings for q∈ User rates 5* , System assigns a 1 in the
BRT to represent query completed
U1 r(u1,q1) User rates 0,1,2,3 or 4 - query not visited/
U2 r(u2,q1) r(u2,q2) r(u2,q4) not completed or having difficulty, the
U3 r(u3,q1) r(u3,q3) system assigns 0 for all of the above ratings
U4 r(u4,q1) r(u4,q2) r(u4,q4)
Fig. 7 (a and b): User- Query Behavior Ratings Table (BRT)

Goal: Predict the behavior of student user SU4 in visiting query


q2 (i.e., rate) in the JADE/GUI interface?

Notes on Fig 7.a: 1 means that the user has chosen this query
and completed the query successfully in the JADE/GUI interface
and a 0 means that the user has not chosen this query or not
completed the question successfully in the JADE/GUI interface

We mainly rely on two factors to make a predictive


decision using the minimum Support (Supportmini) and
Confidence rule to understand the behavior of student
learners in the JADE interface.
The User set [count] {ratio=support} of QAR, AÆC,
w.r.t R can be written as, UsetR(AÆC) [UcountR(AÆC)]
Fig.6 or {UratioR(AÆC)}, is that of A∪C. Note: In ARM,
Routing Table Graph UratioR(AÆC) is called “support” of AÆC,
UsupR(AÆC). The User confidence of a QAR, AÆC,
We develop a new Query Association Rule (a QAR), w.r.t R, UconfR(AÆC) can be thought as
where A→C, associates two disjoint sets A and C ⊂ Q. UsupR(A∪C)/UsupR(A) or countR(A∪C)/UcountR(A).
We form new set A called the antecedent, because it is ARM Data Miners typically want to find all Rstrong
listed first in the RT graph and a set C, the consequent, as Rules, A→C, i.e., those with UsupR(A→C) > Supportmini
it listed last in RT graph. and UconR(A→C) > Confidencemini
(i.e. QsupR(AÆC) > Supportmini QsupR(AÆC) >
Confidencemini) with A and C form a Rstrong Correlation,
A↔C, if both AÆC and CÆA are Rstrong rules. So for
a particular q, look for n such that UcountR(m,n) >
UcountR(n)* Confidencemini. It is to be noted that

[Volume 7] 2010 2nd International Conference on Computer Engineering and Technology V7-577
UcountR(n) > UcountR(m,n) at always. So for the discussed an implementation of ARM based Collaborative
example at right, let’s do ARM to predict (u,q) = (u4,q2). filtering in e-learning environment using MATLAB
interface. A work in progress on similar implementation
We look for q ≠ n ∈ QsetR(u4) such that to test them in a JADE interface for verification with our
Ucount(q2,n)>Ucount(n) * (7/8). We find the Ucount’s preliminary confidence metric results large data set with
values are taken with u4 removed, so we get a user chosen detailed semantic rules.
number for Confidencemini = 7/8.
REFERENCES
Using the condition: Ucount(q2,n)>Ucount(n) [1] FIPA, "FIPA Agent Message Transport Service Specification," 2002.
* (7/8) [2] Charu C. Aggarwal, Zheng Sun, and Philip S. Yu, Online Algorithms
n=q1, 1 > 3 * (7/8) FALSE forFinding Profile Association Rules, Proceedings of the ACM CIKM
n=q4, 1 > 1 * (7/8) TRUE Conference, 1998, pp 86-95
[3] FIPA, "FIPA Agent Message Transport Protocol for WAP
Specification," 2002.
[4] FIPA, "FIPA Agent Message Transport Protocol for IIOP
Fig.8 User Confidence condition
Specification," 2002.
[5] Qualitative analysis of user-based and item-based prediction
So {q4}Æ{q2} is a confident rule and therefore, likely,
algorithms for recommendation agents, Manos Papagelisa, Dimitris
since q4 rates u4, q2 likely will too. As we know now that Plexousakisa, ELSEVIER, Engineering Applications of Artificial
the student user U4 will visit and complete q2, then this Intelligence 18 (2005) 781–789.
user need not need any help. On the other hand, if the [6] CSCI783/785, Dr. William Perizzo Notes in High Performance
value turn to be 0 i.e., had the confidence rule failed or Computing, Computer Science, North Dakota State University
student not visited q2, then the recommendation agent [7]. B. Sarwar, G. Karypis, J. Konstan, J. Riedl, Analysis of
will be automatically called up into the GUI interface to recommendation algorithms for e-commerce, in: Proceedings of ACM
assist the student in wondering about query-2 and provide ECommerce,2000
personalized assistance in completing the problem, [8]. H. Nwana, D. Ndumu, A perspective on software agents research,
thereby creating an adaptive learning environment using Knowledge Engineering Review 14 (2) (1999) 1–18.
[9] Herlocker, J., Konstan, J.A., Terveen, L., Riedl, J., 2004. Evaluating
CF approach.
collaborative filtering recommender systems. ACM Transactions on
Information Systems (TOIS).
V. V. RESULTS

We have tested the query rules with smaller data set of 10


students and 5 queries (multiple runs), which is pretty
small on MATLAB GUI environment using Associative
Rule Mining (ARM), but our result show a confidence
and support metric greater than 60% for each user
participation reflecting the potential of using ARM based
environment in future e-learning system.

VI. VI. CONCLUSION

It is evident that agent based learning object repositories


are part of the future of e-Learning system, because of the
great level of potential for cost reduction and personalized
instruction[8]. The approach presented, could be
expanded easily to each course being considered as a
learning object, with a objective description of the course
given by its title, number, list of pre-requisites and so on.
We do see several challenges before learning objects can
fulfill their potential, especially large data set for
automated deployment of e-assist tools. We believe that
collaborative filtering and rules has good potential in this
kind of learning environment. We have demonstrated and

V7-578 2010 2nd International Conference on Computer Engineering and Technology [Volume 7]

Das könnte Ihnen auch gefallen