Skip to main content
Sensors (Basel, Switzerland) logoLink to Sensors (Basel, Switzerland)
. 2017 Jul 20;17(7):1669. doi: 10.3390/s17071669

User Interaction Modeling and Profile Extraction in Interactive Systems: A Groupware Application Case Study

Cristina Tîrnăucă 1,*, Rafael Duque 1, José L Montaña 1
PMCID: PMC5539516  PMID: 28726762

Abstract

A relevant goal in human–computer interaction is to produce applications that are easy to use and well-adjusted to their users’ needs. To address this problem it is important to know how users interact with the system. This work constitutes a methodological contribution capable of identifying the context of use in which users perform interactions with a groupware application (synchronous or asynchronous) and provides, using machine learning techniques, generative models of how users behave. Additionally, these models are transformed into a text that describes in natural language the main characteristics of the interaction of the users with the system.

Keywords: human–computer interaction, user modeling, mobile interfaces, weighted automaton, clustering

1. Introduction

At present, a proliferation of groupware applications (social networks, shared editors, messaging services, etc.) can be observed, enabling collaboration between users The computer-supported collaborative work (CSCW) research field [1] has focused on studying how technology can effectively support these collective processes. One of the main purposes of the CSCW has been the identification of methodologies that provide a systematic approach for discovering the users’ requirements, and for evaluating the degree to which these systems allow users to be aware of, modify or interact with the work of other users.

One of the most frequent characterizations of the groupware systems is based on the following two dimensions of their contexts of use [2]: (1) time, whether users collaborate synchronously (they collaborate at the same time) or asynchronously (they collaborate at different moments); and (2) space, whether users are co-located or geographically distributed. Currently, most users of smart-phones use groupware applications that allow them to collaborate synchronously and/or asynchronously while being geographically distributed. Therefore, the evaluation of these groupware applications should assess the versatility of the systems to support synchronous and asynchronous interactions and whether the system is adapted to the users’ mental model so they do not have to make any effort to use the system’s features.

In order to carry out these evaluations, this article describes a methodological approach (see Figure 1) that identifies the context of use in which the users perform the interactions (synchronous or asynchronous) and generates descriptive models of how these users orchestrate the interactions with the system. Finally, these models are processed to create a descriptive text in natural language of the main characteristics of the users’ interaction with the system. Thus, the designer can verify whether the system offers a natural interaction experience to its users in each context of use and whether users deviate substantially from the task model used to design the system. The task models are specifications widely used in the human–computer interaction (HCI) field to describe the logical activities that have to be performed in order to reach the users’ goals. Therefore, the evaluation of the system should analyze the users’ behaviors to verify that it is not hard for them to follow the sequence of actions specified by the task model. Moreover, the users of the system can have different behaviors so the task model must also be flexible enough to enable the users to reach their goals in different ways. With this aim, we propose a methodology that processes log repositories with information of the user interactions and also models the behavior of the users. Then, the users with similar behaviors are grouped together and for each set of similar users, a profile (in the form of a weighted automaton) is generated. Finally, these weighted automata are transformed into descriptive text that capture the characteristics of those different user profiles, which is valuable information that allows for the design of a task model according to the users’ natural behavior. With respect to our previous work [3], we introduce two new models for the users’ behavior, one of them allowing for more flexibility (the user is no longer represented by a fixed-length vector), and we highlight the pros and cons of using any of the three proposed models. The experimental section is modified accordingly.

Figure 1.

Figure 1

Main steps of the methodology.

Note that user modeling can be understood in a more general context (from an artificial intelligence perspective), as the process through which systems obtain information about the individual characteristics of users [4,5]. On the other hand, in the HCI field, a lot of work has been done on ontology-based models, where three aspects are considered: user, context and device [6,7,8,9] (we refer the reader to [10] for a very good chronological review of the evolution of user models).

2. Related Work

Suarez et al. [11] establish a classification of interactive systems and point out that specific evaluation criteria should be applied to each one, according to their features and complexity. This classification includes the groupware as a specific type of application. Among the specific features of the groupware applications, it is noteworthy that they enable not only the communication between users but also the collaborative building of artifacts in a shared workspace. The groupware applications support user interactions whose effects can be perceived by at least another member of the group or another community. Therefore, the evaluation should consider specific criteria such as the effectivity of the awareness and social support of the application. Molina et al. [12] propose a combination of techniques (questionnaires, empirical testing, heuristic evaluation, eye tracking) to analyze the awareness support of groupware applications. Neale et al. [13] propose some specific measurements to evaluate the degree to which an application intuitively enables social interactions.

These evaluations have been automated using tools such as Tatiana, which is independent of any groupware system and allows us to configure and to automate the analysis of interactions recorded in log files by means of several socio-cognitive methodologies. Moreover, Tatiana provides support to perform non-automated analysis, where collaborative activity is reproduced by video and the users introduce annotations or categorizations about the users’ interactions. ProM [14] is another tool that facilitates this kind of analysis: it allows users to select different data mining algorithms in order to analyze the work-flows recorded in log files.

Thaler [15] uses the term usability mining for the evaluation process of information systems based on analyzing log traces. In this case, the goal is to derive a model of usage of the system that includes information about the users behavior (irrelevant actions, undo actions, using help function, etc.). The users’ actions can be analyzed using statistical techniques that generate quantitative information. These measures are known as low-level indicators [16], as they usually do not provide an interpretation of the user’s activity. The indicators whose values provide an interpretation (cognitive, technological, etc.) of the user’s activity are known as high-level indicators.

3. Data Flow Representation

The data flow generated by the interactions of users with a computerized system can be seen as a stream of tuples D of the form (id,t,a), where id is the user’s identifier in the system and t represents the instant of time when the action a took place.

More precisely, D is a sequence of the form [(idi,ti,ai)]1iN where each (idi,ti,ai) belongs to U×T×A, U is a finite set of user identifiers, T is a finite set of instants in which the process is observed and A is a finite set of actions. We assume that titi+1, for 1i<N1. The information contained in D can be segmented according to different criteria. If we are interested in the case in which D is partitioned according to the user identifiers, U:={u1,...,ul}, each segment of information is of the form:

D(k):=[(ai,ti):idi=uk]=[(ai1,ti1),(ai2,ti2),,(aiNk,tiNk)]

That is, segment D(k) is the subsequence of D formed by those tuples (ai,ti) in which action ai is performed by the user whose identifier is uk (the user’s id information is the same for all tuples in D(k) and thus it is omitted). We call segment D(k) a trace (also path or trajectory) of user uk in the system.

For data analysis and user profiling, one might be interested in the duration of transitions between actions and not in the exact instance of time in which actions take place. In such cases, we can rewrite the trace D(k) as a new path of the form:

π(k):=[(ai1,di1),,(aiNk1,diNk1),(aiNk,)] (1)

where dij:=tij+1tij is the time elapsed between action aij and action aij+1, for 1j<Nk, and thus is a continuous attribute. We can discretize these durations into a fixed number of categories, say C:={c1,,cL}, where each value ci represents a time interval chosen ad hoc for the system under study.

4. User Interaction Models

The problem of modeling the user interactions can be approached from two very different perspectives. One possibility is to identify each user with its trajectory and determine which users behave similarly using a path-similarity measure. The other option is to find a generative model that behaves in the same way as the user does in the interactive system. A priori there is no restriction on the nature of the generative model, which could be a Markov model, an automaton, a Bayesian network, etc. We explore here a Markov-like structure called weighted automaton.

Definition 1.

Weighted automaton (see [17]). Let Σ be a finite alphabet of symbols and n a positive natural number. A weighted automaton over Σ with n states is a tuple M:=(in,out,{Wσ}σΣ), where in and out are vectors in Rn representing features of the empty prefix and of the empty suffix, respectively, and Wσ is an n×n-matrix with real entries representing transition weights. In some situations we can omit in and out if they are not relevant for the problem.

Let A be the set of actions that can be performed by a user in a given interactive system. For each user uk, we build the path π(k) as in (1). In this path, actions aij are in A and durations dij and belong to some interval c in C, where C={c1,,cL} is a finite set of time intervals as explained in Section 3. We define the weighted automaton Muk:=({Wck}cC) over the alphabet C with M=|A| states, in which the matrices of weights are defined as follows:

Wck(a,a):=countc(a,a), forallcC and a,aA

where countc(a,a):=|{j{1,,Nk1}a=aij,a=aij+1,dijc}|, that is, the number of times action a precedes action a in the trajectory π(k) of the respective user and the time elapsed between the two actions is in the time category c.

Depending on the application under study, we may be interested in the sequentiality of the user’s actions (see Model a below) or in the frequency with which each action is performed (Model b). Alternatively, the user’s behavior can be described by its path, which also leads to further categorization based on the number of previous actions we consider (Model 0, Model 1, Model 2, etc.).

  • Model a: we identify the user uk with a point of the affine space RLM2 defined by,
    Auk:=(Wck(a,a))(c,a,a)C×A×ARLM2 (2)
  • Model b: the behavior of user uk is a point of the affine space RLM defined by,
    Buk:=(aAWck(a,a))(c,a)C×ARLM (3)
  • Model p, p0: we identify the user uk with a trace of variable length defined by,
    πp(k):=[(ai1,ci1,,aip+1,cip+1),(ai2,ci2,,aip+2,cip+2),,(ain1p,cin1p,,ain1,cin1)],
    where cij is the time interval to which dij belongs and p0. In particular, if p=0, we have:
    π0(k):=[(ai1,ci1),,(ain1,cin1)].

Determining whether two users have a similar behavior can then be done via distance measures or similarity measures. If users are represented as paths of variable length, their similarity can be calculated using a Monte Carlo estimation of the crossed entropy between their respective traces (see Equation (7) in [18] or Equation (11) in [19]).

HMC(πp(k1),πp(k2)):=1ni=1nlogj=1mI{oj}(oi)m (4)

where πp(k1)=[o1,,on],πp(k2)=[o1,,om] and I{oj} is the indicator function of the set {oj}.

Moreover, to improve estimations when the available traces are too short and do not cover the entire set of available actions (along with their respective time intervals), we can use Laplace smoothing, and modify the equation as follows (see Equation (8) in [18] or Equation (12) in [19]).

HMC(πp(k1),πp(k2)):=1ni=1nlogj=1mI{oj}(oi)+1m+(|A|×|C|)p+1 (5)

The more similar traces are the smaller values of HMC we obtain, but the zero can only be reached when both traces consist of a constant number of identical elements. For this reason, HMC cannot be considered a distance function. Also, note that in general HMC(πp(k1),πp(k2)) and HMC(πp(k2),πp(k1)) are not equal. Nevertheless, this can be fixed by using the following formula.

dMC(πp(k1),πp(k2)):=HMC(πp(k1),πp(k2))+HMC(πp(k2),πp(k1))2 (6)

For users represented as vectors of fixed length x=(x1,,xp) and y=(y1,,yp), the distance between them can be calculated using the Minkowski metric:

dg(x,y):=(|x1y1|g+|x2y2|g++|xpyp|g)1/g (7)

The commonly used Euclidean distance is obtained for g=2, the Manhattan distance (also called city block) for g=1 and the Chebyshev distance for g=.

An alternative concept to that of the distance is the similarity function. When the angle between the two vectors is a meaningful measure, one may consider the cosine measure,

cos(x,y):=x,yx·y, (8)

where ·,· is the Euclidean inner product in Rp, and · is the norm induced by the inner product, or the normalized Pearson correlation:

cor(x,y):=xx¯,yy¯xx¯·yy¯, (9)

where x¯ denotes the average feature value of x over all dimensions.

In practice, we use dcos(x,y):=1cos(x,y) and dcor(x,y):=1cor(x,y) in order to have dcos(x,x)=dcor(x,x)=0 as in the case of the above mentioned distances.

Note that each of the distances introduced so far corresponds to different goals, and choosing one of them should be made accordingly. In the sequel, we outline their differences using an oversimplified example in which we have only two possible actions (M=2 and A={a1,a2) and we consider only one time interval (L=1 and C={c1}).

Example 1.

Let π0(1)=[a1,a2,a1,a2], π0(2)=[a1,a2,,a1,a2] and π0(3)=[a1,a2,a1,a1] be the traces of three different users, of length 4, 40 and 4, respectively (the time interval is dropped for better readability).

Model a Model b Model 0 Model a Model b Model 0
u1 (0, 2, 1, 0) (2, 2) π0(1) u1 (0, 2, 1, 0) (2, 2) π0(1)
u2 (0, 20, 19, 0) (20, 20) π0(2) u3 (1, 1, 1, 0) (3, 1) π0(3)
d1 36.000 36.000 - d1 2.000 2.000 -
d2 25.456 25.456 - d2 1.414 1.414 -
d 18.000 18.000 - d 1.000 1.000 -
dcos 0.044 0 - dcos 0.225 0.106 -
dcor 0.081 nan - dcor 0.478 nan -
dMC - - 0.693 dMC - - 0.752

Based on the Minkowski metrics, user 3 is much more similar than user 2 to user 1 in both Model a and Model b, while the metrics that measure the angle between vectors show user 2 to be much more similar than user 3 to user 1 (the equality of Model a and Model b values for the Minkowski metrics are fortuitous). The Monte Carlo-like estimation also marks user 2 as being more similar than user 3 to user 1. Therefore, if one wants to group together those users that perform actions in a similar fashion ignoring the length of their traces, then Minkowski metrics should be avoided. In contrast, these metrics are highly recommended when the length of the trace is an important user behavior aspect for the application under study.

5. User Interaction Group Profiles

Next, we are interested in clustering the users into a certain non-specified quantity of representative user profiles such that users in the same group (cluster) behave more similarly to each other than to users in other clusters. To this end, we use agglomerative hierarchical clustering with three linkage criteria: single, complete and average (see [20] for more details). Given a set of l users to be clustered and a fixed number kl of desired clusters, the basic process of our hierarchical clustering is as follows.

  • Step 1. Start by assigning each user to its own cluster, so that if we have l users, in this initial stage we have l clusters, each containing just one user.

  • Step 2. Set the distances between the clusters equal the distances between the users they contain.

  • Step 3. Find the closest (most similar) pair of clusters and merge them into a single cluster, so that now we have one less cluster.

  • Step 4. Compute distances between the new cluster and each of the old clusters.

  • Step 5. Repeat steps third and fourth until users are clustered into k clusters.

Depending on the type of linkage chosen, the distance between two clusters is computed with one of the three formulas:

  • single linkage: d(G,G)=minxG,xGd(x,x)

  • complete linkage: d(G,G)=maxxG,xGd(x,x)

  • average linkage: d(G,G)=(xG,xGd(x,x))/(|G|·|G|)

where d(x,y) can be any of the distances previously defined.

We denote by k the number of representative user profiles in an interactive system. The correct choice of k depends most of the time on the application. The optimal k will strike a balance between maximum compression of user profiles using a single cluster, and maximum accuracy by assigning each profile to its own cluster (having one cluster per user). If an appropriate value of k is not apparent from prior knowledge on the properties of the profile set, it must be somehow determined. In the literature, there are several proposals for making this decision effective (see [20] for a survey). One popular proposal is to use the so called elbow method. The intuition behind this method is that one should choose k such that adding another cluster does not give much better modeling of the data.

However, because of the myriad of different settings (users represented as traces or as vectors, different distance metrics, different number of time intervals, different linkage criteria, etc.), we face a supplementary complication in determining the best k (see Example 2).

Example 2.

Let us consider the following users (represented as vectors):

u1=(1,2),u2=(1,3),u3=(3,1),u4=(5,4),u5=(6,3).

and assume we want to perform hierarchical clustering using the Manhattan distance with two linkage criteria: single and complete. The hierarchy of clusters obtained for both linkage methods happens to be the same (see Figure 2a,b): (((u1,u2),u3),(u4,u5)), but if we were to plot the number of clusters k against the distance between the last two clusters merged when transitioning from the best k-clustering to the best k1 clustering (according to the particular linkage method chosen), one would get a contradictory situation. Namely, although we have the exact same clustering, the change in tendency is when k=3 if single linkage is used, and k=4 when using complete linkage (see Figure 2c,d).

Figure 2.

Figure 2

Hierarchical clustering for the group of users in Example 2, (a) dendogram for single linkage; (b) dendogram for complete linkage; (c) number of clusters against distance between clusters for single linkage; (d) number of clusters against distance between clusters for complete linkage.

Therefore, we propose a uniform way of deciding the best k. Given a set {u1,,ul} of users and a particular partition G1,,Gk of this set into k clusters, we compute the LM2-dimensional vectors Au1,,Aul as per Model a (see Equation (2)) and then we evaluate the within-cluster sum of squares (WCSS) error:

WCSS=j=1kuGjAuqj2 (10)

where qj=1|Gj|uGjAu is the centroid of the points representing users in Gj.

Note that, in principle, Model b could also be used to represent users, but Model a offers a finer description. Moreover, partitioning-based clustering methods allow us to find groups of similar users that optimize the WCSS error. In particular, the k-means algorithm, a heuristic method commonly employed that converges quickly to a local optimum (see [21]), was used in a related study [22]. Nevertheless, there are several reasons for which hierarchical clustering is a better option in this case:

  • k-means is very sensitive to outlier examples (such examples can affect the mean by a lot),

  • k-means works well only for round-shaped, and roughly equal sizes/density clusters (and performs badly if the clusters have non-convex shapes),

  • in hierarchical clustering, we do not actually need the value of k; instead, the clusterings obtained for different values of k can be “visualized” (via the dendrogram) even for points in higher dimensional spaces (helping decide where to cut).

Once k is chosen and the groups of similar users are identified, the next step is to find a model that describes the profile of each group of users. Note that groups of users that contain less than 10% of the population are considered outliers (the threshold can be modified depending on the application). We propose to train a weighted automaton for each group of users (representing a cluster). We define the group profile of cluster G as the weighted automaton MG:={WcG}cC over alphabet C with |A| states, in which the weights matrices are defined as follows.

WcG(a,a)=ukGWck(a,a)cCaAukGWck(a,a), forall cC and a,aA (11)

Initial and final probabilities can be similarly defined, but they are not relevant in this case so we omit giving explicit formulas. According to [23], the previous automaton maximizes the likelihood of the observations.

6. Case Study: Collaborative Sports Betting

Our proposal was applied to a case study in which thirty users interacted with a mobile groupware application that supports sports betting. These thirty users were randomly grouped in ten groups of three members. They were requested to collaboratively make five bets. The interactions of the users with the application were stored in a log repository.

The process of creating a bet is made up of three main steps. First, a user proposes a bet to the other members of the group. This proposal includes a result of a sport event and an amount of money. Second, the members of the group use a chat tool (see Figure 3, right) to analyze the result and the stake of the bet. Third, the members of the group use a voting panel (see Figure 3-center) to accept or reject the bet that has been proposed. Figure 3, left, shows the main user interface of this application with its six panels that allows the user to: propose a new bet to the other members of the group, see the state of the bets or proposals made previously, use a chat to discuss about a proposal, and create a new group of users or see a tutorial that explains how to use the application. The appendix of this paper includes a specification of the actions supported by the application.

Figure 3.

Figure 3

User interface of the groupware system. Main user interface (left), chat tool (center), voting panel (right).

We have set L=2 and discretized all time durations into two intervals. The precise intervals are (time is expressed in seconds): c1=[0,104],c2=[107,5251], that is, c1 corresponds to short actions (that take less than one minute and three quarters), and c2 corresponds to long actions (longer than one minute and three quarters). The threshold is set such that 50% of all possible durations are short and the other 50% are long.

For each of the three linkage criteria, we generated all possible clusterings (each clustering containing k groups, with k in {2, …, 30}) for all the models listed in Table 1, each of them with the corresponding distances. This accounts for a total of 1131=(5×3+5×3+3×3)×29 distinct ways of grouping the same set of users, albeit many of them give the same output. In a real life setting, one should be able to choose a priory which model and which measure of similarity is the most appropriate for the application under study. Nevertheless, here we perform an a posteriori analysis, which allows us to select the best combination for our case study.

Table 1.

Summary of models used for clustering.

User’s Model Measure of Similarity Linkage
Euclidian
Model a Manhattan single
Chebyshev complete
Model b Cosine average
Correlation
Model 0 simple
Model 1 Monte Carlo complete
Model 2 average

First of all, we turned our attention to the linkage criteria and we observed the following:

  • The single-link or average-link clustering methods detect many outliers before starting to output reasonable sized groups. We report below (see Table 2) the values of k at which a second group of at least three users is identified.

  • Out of the total of 464=2+3++30 groups created for different values of k, only a very few of them were proper (having at least 2 members) in the case of average linkage and even fewer for the single linkage criteria. The number of proper groups is presented in Table 3.

Therefore, we concluded that the complete-link clustering methods usually produce more compact clusters and more useful hierarchies than the other two clustering methods.

Table 2.

The minimum number of clusters for which a second group of at least three users is identified.

Single/Complete/Average Euclidean Manhattan Chebyshev Cosine Correlation Monte Carlo
Model a never/5/9 never/4/8 14/4/6 7/5/6 7/2/6 -
Model b 11/5/6 12/2/6 9/4/6 8/5/6 8/3/6 -
Model 0 - - - - - never/3/6
Model 1 - - - - - 20/3/6
Model 2 - - - - - never/2/never

Table 3.

The total number of proper groups identified.

Single/Complete/Average Euclidean Manhattan Chebyshev Cosine Correlation Monte Carlo
Model a 31/61/47 28/67/44 31/49/42 62/127/100 63/138/104 -
Model b 43/87/69 35/94/68 43/82/69 57/105/90 61/111/94 -
Model 0 - - - - - 43/107/73
Model 1 - - - - - 42/126/84
Model 2 - - - - - 28/139/39

Once chosen the type of linkage, we had to determine which of the five models should be used, and which is the most appropriate measure of similarity between users. As mentioned in Section 5, we plotted the WCSS error against the size of the clustering. The obtained graphics are illustrated in Figure 4.

Figure 4.

Figure 4

Distance against number of clusters for the complete linkage criteria.

Inspecting the plots, we can see that for our case study, the three Minkowski type metrics are better: there is a clear steep for small values of k, followed by a smooth descent after the “elbow” point. Also, in almost all models, k=5 seems to be an inflection point. And between Euclidean, Manhattan and Chebyshev, we choose Manhattan (with k=5) because, in comparison with the two other distances, Manhattan provides the highest number of proper groups and the lowest k at which a second group of at least three users is identified. Note that for the chosen k, Model a and Model b give the same clusterings (this is not true though for k=2 or k=3).

The weighted finite automaton generated for each of the two bigger groups identified with this metric are presented in Figure 5 (the other three groups contained at most two users each, and their characteristics are described in Table 4). A description for each action is provided in the Appendix. A transition from a state ap to a state ar labeled i/x has to be interpreted as WciG(ap,ar)=x. Note that for a better readability, transitions with weights less than 0.1 are omitted.

Figure 5.

Figure 5

Weighted automata for two profiles; colors indicate the panel to which a given action belongs: orange for Chat, blue for New Bet, green for Proposals, pink for Tutorial and salmon for My bets.

Table 4.

Description of the profiles.

Group Description of Profiles and Rules that Are Activated
Number/
Number
of Users
1 / 1 The members of this group can be considered as outliers (Rule 1). The members of this group have used the system in a synchronous context (Rule 3).
2 / 1 The members of this group can be considered as outliers (Rule 1). The members of this group have used the system in an asynchronous context (Rule 2). The members of this group have used the system in a synchronous context (Rule 3). During the interaction process, the members of this group never used the voting panel (Rule 5).
3 / 9 The members of this group have used the system in an asynchronous context (Rule 2). The members of this group have used the system in a synchronous context (Rule 3). During the interaction process the members of this group never used action reject of the voting panel (Rule 4).
4 / 17 The members of this group have used the system in an asynchronous context (Rule 2). The members of this group have used the system in a synchronous context (Rule 3). During the interaction process the members of this group never used the voting panel (Rule 5).
5 / 2 The members of this group can be considered as outliers (Rule 1). The members of this group have used the system in a synchronous context (Rule 3). During the interaction process the members of this group never used action reject of the voting panel (Rule 4). During the interaction process the members of this group never used the tutorial panel (Rule 5).

These automata provide information used to generate a set of rules that enables us to build a description in natural language of the main characteristics of each user profile. Thus, this methodology allows us to build expert system that take as input log files with the users’ interactions and generate as output a textual description of the main user profiles. The following five rules are applied for this purpose:

  • Rule 1: If |G|<10%*l for a cluster GThe members of G can be considered as outliers.

  • Rule 2: If a,a such that Wc2G(a,a)>0.10The members of G have used the system in an asynchronous context.

  • Rule 3: If a,a such that Wc1G(a,a)>0.10The members of G have used the system in a synchronous context.

  • Rule 4: If aA such that WcG(a,a)=WcG(a,a)=0,cC,aADuring the interaction process, the members of G never used action a of panel A.

  • Rule 5: If AA such that WcG(a,a)=WcG(a,a)=0,cC,aAandaADuring the interaction process, the members of G never used panel A.

Table 4 includes a textual description of the five profiles generated in this case study by means of these five rules. We can observe that the application was often used in a synchronous way. Moreover, we can observe that most users never perform some of the actions supported by the voting panel and some users (groups 2 and 4) access this panel but they do not use all its actions. By simply checking the generated weighted automata, evaluators of the system can easily detect that the actions of accept and reject are very seldom used. The users of the third group accept some proposal of other partners to generate new bets in the list of active bets. However, these users use the chat to answer the proposal of bets that they reject. This illustrates how the automaton and the textual information enable designers to understand the natural user behavior and adapt the system to them. Previous work [3] identified situations in which the users only use some of the actions supported by a specific panel. This new methodological contribution enables us to generate also profiles of users who never use some panel of the interactive system.

Note that there are some actions that are never used by any of the users (actions a12 and a13 of the proposals panel and actions a5a8 of the chat panel. These are included separately in the final report and are ignored in the description of the user profiles since they are not specific to any of the five identified profiles.

7. Conclusions

We have proposed a methodology for the automatic generation of user interaction models in interactive systems that combines unsupervised and supervised learning. We record the logs of the users in the system in the form of traces and, after a pre-processing phase consisting of describing actions and durations, we use these trajectories (either directly or by compressing them into feature vectors) as input to (various) agglomerative hierarchical clustering algorithms (unsupervised phase) in order to obtain groups of users by similarity of the empirical distributions of actions, durations and transitions. Once this process is completed, we model each group of users by means of a weighted automaton (supervised phase). This finite state machine is what we call a user profile. User profiles, as intended in this paper, constitute a low-level representation of user patterns in interactive systems. From the low-level representation we derive a profile in text form using rules that automatically generate a text identifying some features being representative of the group of users under consideration. As future work we plan to apply our technique to inverse software engineering, using the weighted automaton to infer a task model of the interactive system under study that may help the software engineer to improve the system’s design.

Acknowledgments

This work was partially supported by project PAC::LFO (MTM2014-55262-P) of Ministerio de Ciencia e Innovación (MICINN), Spain. We are grateful to the referees for their constructive input.

Abbreviations

The following abbreviations are used in this manuscript:

CSCW computer-supported collaborative work
WCSS within-cluster sum of squares
HCI human–computer interaction

Appendix A

The following table describes the semantics of the actions of the interactive groupware system used for the experimentation. The actions supported by the tool to generate groups of users are omitted because they were managed by the evaluators and the users of the system never performed these actions.

Table A1.

Actions of the groupware system.

Identifier Panel Description of the Action
a1 Chat Access to this space
a2 Chat Send a “fre” message
a3 Chat Send a “Why...” message
a4 Chat Send a “Because” message
a5 Chat Send a “I think that” message
a6 Chat Send a “I don’t agree” message
a7 Chat Send a “The beast team is” message
a8 Chat Send a “My vote will be” message
a9 Proposals Access to this space
a10 Proposals Reject a proposal
a11 Proposals Accept a proposal
a12 Proposals A proposal was accepted by the group
a13 Proposals A proposal was rejected by the group
a14 My Bets Access to this space
a15 Tutorial Access to this space
a16 New Bet See sport events
a24 New Bet Access to this space
a25 New Bet Send a proposal

Author Contributions

Cristina Tîrnăucă and José L. Montaña designed the methodology proposed in this paper, Cristina Tîrnăucă performed the experiments, and Rafael Duque provided the case study and conceived the idea of text profiles.

Conflicts of Interest

The authors declare no conflict of interest. The founding sponsors had no role in the design of the study; in the collection, analysis, or interpretation of data; in the writing of the manuscript, and in the decision to publish the results.

References

  • 1.Grudin J. Computer-Supported Cooperative Work: History and Focus. Computer. 1994;27:19–26. doi: 10.1109/2.291294. [DOI] [Google Scholar]
  • 2.Cruz A., Correia A., Paredes H., Fonseca B., Morgado L., Martins P. Towards an Overarching Classification Model of CSCW and Groupware: A Socio-technical Perspective. In: Herskovic V., Hoppe H.U., Jansen M., Ziegler J., editors. Proceedings of the 18th International Conference on Collaboration and Technology; Raesfeld, Germany. 16–19 September 2012; Berlin, Germany: Springer; 2012. pp. 41–56. Lecture Notes in Computer Science. [Google Scholar]
  • 3.Tirnăucă C., Duque R., Montaña J.L. Automatic Generation of User Interaction Models. In: García C.R., Caballero-Gil P., Burmester M., Quesada-Arencibia A., editors. Proceedings of the Ubiquitous Computing and Ambient Intelligence—10th International Conference, UCAmI 2016, San Bartolomé de Tirajana; Gran Canaria, Spain. 29 November–2 December 2016; Berlin, Germany: Springer; 2016. pp. 406–418. Part I. Lecture Notes in Computer Science. [Google Scholar]
  • 4.Kobsa A. Generic User Modeling Systems. User Model. User-Adapt. Interact. 2001;11:49–63. doi: 10.1023/A:1011187500863. [DOI] [Google Scholar]
  • 5.Kobsa A., Pohl W. The User Modeling Shell System BGP-MS. User Model. User-Adapt. Interact. 1995;4:59–106. doi: 10.1007/BF01099428. [DOI] [Google Scholar]
  • 6.Skillen K., Chen L., Nugent C.D., Donnelly M.P., Burns W., Solheim I. Ontological User Profile Modeling for Context-Aware Application Personalization. In: Bravo J., López-de-Ipiña D., Moya F., editors. Proceedings of the Ubiquitous Computing and Ambient Intelligence—6th International Conference, Vitoria-Gasteiz; Spain. 3–5 December 2012; Berlin, Germany: Springer; 2012. pp. 261–268. Lecture Notes in Computer Science. [Google Scholar]
  • 7.Castillejo E., Almeida A., de Ipiña D.L. Ontology-Based Model for Supporting Dynamic and Adaptive User Interfaces. Int. J. Hum.–Comput. Interact. 2014;30:771–786. doi: 10.1080/10447318.2014.927287. [DOI] [Google Scholar]
  • 8.Razmerita L., Angehrn A.A., Maedche A. Ontology-Based User Modeling for Knowledge Management Systems. In: Brusilovsky P., Corbett A.T., de Rosis F., editors. Proceedings of the User Modeling 2003 9th International Conference; Johnstown, PA, USA. 22–26 June 2003; Berlin, Germany: Springer; 2003. pp. 213–217. Lecture Notes in Computer Science. [Google Scholar]
  • 9.Hatala M., Wakkary R. Ontology-Based User Modeling in an Augmented Audio Reality System for Museums. User Model. User-Adapt. Interact. 2005;15:339–380. doi: 10.1007/s11257-005-2304-5. [DOI] [Google Scholar]
  • 10.Castillejo E., Almeida A., López-de-Ipiña D., Chen L. Modeling Users, Context and Devices for Ambient Assisted Living Environments. Sensors. 2014;14:5354–5391. doi: 10.3390/s140305354. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 11.Suárez Torrente M.C., Martínez Prieto A.B., Alvarez Gutiérrez D., Alva de Sagastegui M.E. Sirius: A heuristic-based framework for measuring web usability adapted to the type of website. J. Syst. Softw. 2013;86:649–663. doi: 10.1016/j.jss.2012.10.049. [DOI] [Google Scholar]
  • 12.Molina A.I., Gallardo J., Redondo M.A., Bravo C. Evaluating the Awareness Support of COLLECE, a Collaborative Programming Tool; Proceedings of the Interacción ’14 XV International Conference on Human Computer Interaction, Puerto de la Cruz; Tenerife, Spain. 10–12 September 2014; New York, NY, USA: ACM; 2014. pp. 11:1–11:2. [Google Scholar]
  • 13.Neale D.C., Carroll J.M., Rosson M.B. Evaluating Computer-supported Cooperative Work: Models and Frameworks; Proceedings of the CSCW ’04 2004 ACM Conference on Computer Supported Cooperative Work; Chicago, IL, USA. 6–10 November 2004; New York, NY, USA: ACM; 2004. pp. 112–121. [Google Scholar]
  • 14.Van der Aalst W.M.P. Exploring the CSCW Spectrum Using Process Mining. Adv. Eng. Inform. 2007;21:191–199. doi: 10.1016/j.aei.2006.05.002. [DOI] [Google Scholar]
  • 15.Thaler T. Towards Usability Mining. In: Plödereder E., Grunske L., Schneider E., Ull D., editors. Proceedings of the 44. Jahrestagung der Gesellschaft für Informatik, Informatik 2014, Big Data—Komplexität meistern; Stuttgart, Deutschland, Germany. 22–26 September 2014; Bonn, Germany: LNI; Gesellschaft für Informatik e. V. (GI); 2014. pp. 2269–2280. [Google Scholar]
  • 16.Bravo C., Redondo M.A., Verdejo M.F., Ortega M. A framework for process-solution analysis in collaborative learning environments. Int. J. Hum.-Comput. Stud. 2008;66:812–832. doi: 10.1016/j.ijhcs.2008.08.003. [DOI] [Google Scholar]
  • 17.Culik K., Karhumaki U. Finite Automata Computing Real Functions. SIAM J. Comput. 1994;23:789–814. doi: 10.1137/S0097539791224893. [DOI] [Google Scholar]
  • 18.Tirnăucă C., Montaña J.L., Ontañón S., Gonzalez A.J., Pardo L.M. Behavioral Modeling Based on Probabilistic Finite Automata: An Empirical Study. Sensors. 2016;16:958. doi: 10.3390/s16070958. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 19.Ontañón S., Montaña J.L., González A.J. A Dynamic-Bayesian Network framework for modeling and evaluating learning from observation. Expert Syst. Appl. 2014;41:5212–5226. doi: 10.1016/j.eswa.2014.02.049. [DOI] [Google Scholar]
  • 20.Rokach L. A survey of Clustering Algorithms. In: Maimon O., Rokach L., editors. Data Mining and Knowledge Discovery Handbook. 2nd ed. Springer; New York, NY, USA: 2010. pp. 269–298. [Google Scholar]
  • 21.Everitt B.S., Landau S., Leese M., Stahl D. Cluster Analysis. 5th ed. John Wiley & Sons; Chichester, UK: 2011. [Google Scholar]
  • 22.Duque R., Montaña J.L., Tîrnăucă C. Mining the dataflow in interactive systems: Automatic generation of user behavior patterns; Proceedings of the Actas de la XVII Conferencia de la Asociación Española para la Inteligencia Artificial (CAEPIA ’16), Parte IV.-VIII Simposio Teoría y Aplicaciones de Minería de Datos (TAMIDA ’16); Salamanca, Spain. 14–15 September 2016; pp. 885–894. [Google Scholar]
  • 23.Dupont P., Denis F., Esposito Y. Links between probabilistic automata and hidden Markov models: Probability distributions, learning models and induction algorithms. Pattern Recognit. 2005;38:1349–1371. doi: 10.1016/j.patcog.2004.03.020. [DOI] [Google Scholar]

Articles from Sensors (Basel, Switzerland) are provided here courtesy of Multidisciplinary Digital Publishing Institute (MDPI)

RESOURCES