Next Article in Journal
Big Data and Actuarial Science
Next Article in Special Issue
Networks and Stories. Analyzing the Transmission of the Feminist Intangible Cultural Heritage on Twitter
Previous Article in Journal
A Traffic Analysis on Serverless Computing Based on the Example of a File Upload Stream on AWS Lambda
Previous Article in Special Issue
Using Big and Open Data to Generate Content for an Educational Game to Increase Student Performance and Interest
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Annotation-Assisted Clustering of Player Profiles in Cultural Games: A Case for Tensor Analytics in Julia

Humanistic and Social Informatics Lab, Department of Informatics, Ionian University, 49100 Corfu, Greece
*
Author to whom correspondence should be addressed.
Big Data Cogn. Comput. 2020, 4(4), 39; https://doi.org/10.3390/bdcc4040039
Submission received: 7 October 2020 / Revised: 2 December 2020 / Accepted: 7 December 2020 / Published: 12 December 2020
(This article belongs to the Special Issue Big Data Analytics for Cultural Heritage)

Abstract

:
Computer games play an increasingly important role in cultural heritage preservation. They keep tradition alive in the digital domain, reflect public perception about historical events, and make history, and even legends, vivid, through means such as advanced storytelling and alternative timelines. In this context, understanding the respective underlying player base is a major success factor as different game elements elicit various emotional responses across players. To this end, player profiles are often built from a combination of low- and high-level attributes. The former pertain to ordinary activity, such as collecting points or badges, whereas the latter to the outcome of strategic decisions, such as participation in in-game events such as tournaments and auctions. When available, annotations about in-game items or player activity supplement these profiles. In this article, we describe how such annotations may be integrated into different player profile clustering schemes derived from a template Simon–Ando iterative process. As a concrete example, the proposed methodology was applied to a custom benchmark dataset comprising the player base of a cultural game. The findings are interpreted in the light of Bartle taxonomy, one of the most prominent player categorization. Moreover, the clustering quality is based on intra-cluster distance and cluster compactness. Based on these results, recommendations in an affective context for maximizing engagement are proposed for the particular game player base composition.

1. Introduction

Cultural heritage preservation has been a persistent topic in most societies. Computer games can contribute by offering unhindered access to cultural content in a fun and vivid way [1]. Games promoting cultural heritage preservation rely on affective learning, namely the human ability to understand and internalize complex concepts through intense emotions and joyful activities, to successfully introduce its player base to cultural content. The latter may well include famed monuments, works of art such as paintings and films, and even anecdotal stories and myths. Each of these cultural items, material or not, cause positive or even negative sentimental reactions. It has has long been the objective of numerous private and public research initiatives to create such games [2]. The gaming industry has also been involved. One recent example is Assassin’s Creed Origins which takes place in Egypt near the end of the Ptolemaic period (BC 49-44) and represents this era with great historical accuracy and making it accessible to a much greater audience.
There has been a trend towards the development of more complex, serious games, which are informed by both pedagogical and game-like, fun elements. Under this framework, the ANTIKLEIA project introduces the implementation of a specific gamified module application [3] applied on real-life content mostly collected from the Europeana repository [4]. More specifically, the interactive platform of ANTIKLEIA employs a collection of cultural content files [5] in order to be further modified by individual users, as well as groups of users, through its software components, while making them directly available to the general public. Furthermore, metadata from existing files and related collections support a cultural gamified experience, allowing large collections to be restored and managed through coordinated individual or collective efforts. This kind of (semi-)automatic enrichment can be beneficial for activating recovery, even across many languages, and adding a conceptual framework to the resources that will be accessible through its platform.
In order to keep player interest unabated, cultural games often depend on eliciting affective responses from players on two distinct levels. Low-level activity relates to simple decisions such as using in-game items. In contrast, high-level activity relies heavily on the outcome of conscious strategic decisions ranging from behavior in in-game tournaments to how game connections to the real word are exploited. Since both attributes ultimately describe player behavior from different perspectives, it makes perfect sense to combine them in player profiles. Once such profiles are created, the game player base can be better understood under Bartle taxonomy or any other player classification for that matter. To achieve that, profiles have to be clustered, as ground truth regarding player types is typically unavailable. This is essentially the principal motivation behind this work.
The primary research objective of this article is twofold. First, a template Simon–Ando iterative scheme for clustering the player profiles of a cultural game based on the Bartle player taxonomy is developed. Second, the effect of including user annotations about in-game items or player activity to the above scheme is evaluated. As a secondary objective, practical recommendations for selecting game elements based on maximizing the affective potential are given. The above were implemented in Julia and differentiate this work from previous ones. Moreover, the core of the proposed methodology will be incorporated in the aforementioned ANTIKLEIA project framework.
The remainder of this work is structured as follows. The recent scientific literature is briefly reviewed in Section 2. In Section 3, the Bartle player taxonomy and the low- and high-level attributes are presented. The proposed tensor based methodology is the focus of Section 4. The experimental setup, the results, and their analysis are given in Section 5, while the recommendations coming from this analysis are discussed in Section 6. Section 7 concludes this article by recapitulating the main findings and delineating future research directions. Tensors are represented by capital calligraphic, matrices by boldface capital, and vectors by boldface small letters. Each technical abbreviation is defined the first time it is met in the text. Finally, the notation of this article is summarized in Table 1.

2. Previous Work

Games have been proven to be excellent tools for recreation and learning [6,7]. Their design is based on properties such as immersion and engagement [8]. To this end, the elements of points, leaderboard, and badges (collectively known as PBL) take advantage of the player engagement loop [9,10]. Games designed for cultural heritage preservation are explored in [11,12]. The Bartle taxonomy is examined in [13]. The mechanisms behind leaderboard operation based on personality traits are explored in [14], whereas personality patterns can be discovered through gaming [11,15]. Affective learning can be applied to gaming [12,16] in conjunction with big data [17] and machine learning (ML) techniques [18,19]. Clustering can be applied to emotional and physiological states [20]. Finally, if properly processed, voice can be a major indicator of human emotional state [21].
Tensor algebra extends linear algebra beyond two dimensions as explained in [22]. Tensor operations such as Tucker decomposition [23], Kruskal factorization [24], and higher order singular value decomposition (HOSVD) [25] naturally discover the multilinear interplay between a number of factors in the same way the singular value decomposition (SVD) can reveal linear dependencies between two vector spaces [26]. Tensor stack networks (TSNs) rely on neural network stacking in order to perform classification tasks [27], evaluate graph resiliency [28] and discover higher-order graph structures [29], and learn large vocabularies [30,31]. TSNs have also been applied to image compression as shown in [32] and in discovering geo-linguistic communities in Twitter [33]. TensorFlow is an open source low level framework for tensor operations including tensor eigenvectors and higher order SVD (HOSVD) [34,35]. Finally, in [36], a toolkit with extensive TSN functionality is described.

3. Players

3.1. Bartle Taxonomy

Bartle taxonomy describes four fundamental player types according to their objectives and how they accomplish them, the interactions with other players, and their relationship with the in-game world [13]. The four fundamental player types according to the Bartle taxonomy and potential factors behind the interest of each such type in cultural games are the following:
  • Explorers: Every new game is a new world and they are determined to discover it. They enjoy visiting and recording every aspect of the game world, especially Easter eggs, loot boxes, cultural references, one-time items, and even game bugs. Since cultural games are frequently built around vast—and often past—worlds abounding with items, they are literally treasure houses for them.
  • Socializers: Their gaming experience essentially comes down to intricate interaction with others and exploiting every game mechanism to achieve that. Cultural games offer an excellent chance for initiating conversations about a plethora of topics and for interaction through text chats, voice messages, and writing in in-game items such as chalk boards, portraits, mirrors, and books.
  • Achievers: Working tirelessly towards accomplishing game objectives and ultimately achieving them, preferably first, is why they signed up. Appearing on leaderboards adds greatly to their gaming experience. Cultural games are ideal as there is a multitude of tournaments to participate in, myriad badges and one-time items to collect, and thousands of points to accumulate.
  • Killers: As their name suggests, they seek to eliminate others, preferably accomplished players. They will relate if a game recreates military campaigns such as Cæsar’s Gallic Wars (BC 58–51) or it is alternative history themed such as an open-ended American Civil War (1861–1865).
The above qualitative taxonomy can be seen from another view. This is comprised of two axes, each with two points representing the two possible options in a fundamental decision, namely:
  • Action vs. Interaction: The degree the actions of a player are one- or two-way.
  • Environment vs. Players: The degree a player prefers the game environment or other players.
Figure 1 shows how each player category fits in this two dimensional (2D) space set forth by the above axes. This representation contains more semantic content in comparison to a single categorical scale. According to this systematic view, there exists the following two pairs of opposite categories:
  • Achievers and socializers: Achievers are highly competitive players since they often race against both the clock and other achievers of comparable or even superior skills to fulfill a set of objectives. On the contrary, socializers are very cooperative and seek harmonic and mutually beneficial coexistence with other players usually in a more relaxed style.
  • Killers and explorers: Explorers aim at learning whatever is possible to be known about the game and even some more. In that sense, they are the least invasive player category as they tend to observe and not act upon the game world. On the other hand, killers do change the game world, especially if they act en masse, in numerous ways.
When designing game mechanics, the behavior of the player types and their expectations from the game should should be taken into consideration in order for their interest to remain unabated. Player categorization is not static. Instead, changes occur for one or more of the following reasons:
  • Seeking different goals after gaining enough experience from the cultural game.
  • Joining a team with a culture of explicit or implicit peer pressure.
  • Cooperating with or competing against influential players or teams.
Detecting player categorization changes can be done with an LMS-like algorithm monitoring tensor gradient [37]. Such a scheme tracks separately each factor of the higher-order dynamics of the player profile. This is impossible for a matrix method, as it mixes these factors in a gradient vector.

3.2. Player Types and Game Elements

The relationship between the player types and certain low- and high-level game elements is critical for the cultural game success. Both element categories, taken from the literature, are shown in Table 2 and explained here. They belong to one of the three primary axes of world immersion, reward system, and engagement loop, namely affective mechanisms closely related to learning [9].
A very common player engagement system applying to all player types is the triplet of points, badges, and leaderboards (PBL). This system can be broken down to its constituent parts as follows:
  • Points can be found in the overwhelming majority of games. Players learn to devise strategies for point maximization. Such is the case of arcade games where points are collected in large numbers.
  • Badges indicate special achievements which may well be unique for every player. They can be seen approximately as the digital counterparts of real world military medals or sports cups.
  • Leaderboards are highly advertised player rankings. A very high score hints at an alternative ending path. Thus, players finishing with a lower score were indirectly invited to play again.
Loot boxes, namely stashes with special rewards, are very common in cultural gaming. Easter eggs, namely humorous references to other games or real events, are also cases of special interest. Their use is perhaps most highlighted in the film of the universe Ready Player One [38]. Moreover, one-time items, typically available during holidays or anniversaries, increase player interest and many have been reported to be sold in both in-game and out-of-game auctions [17]. Such rewards are valuable for explorers, achievers, and conditionally for killers if they contain special equipment [16]. Writable objects such as mirrors and books are new item types where players may write something visible to others, acting thus as a local in-game chat and as a focal point for explorers and socializers.
In-game events such as auctions and tournaments are also an integral part of storytelling in cultural games attracting mainly explorers, achievers, and socializers [14]. In auctions literally everything can be sold. Prime examples include classical, renaissance, or Victorian monuments, inscriptions, paintings, statues, and decorated columns, as well as handcraft objects including jewellery, vessels, books, and ordinary household belongings. Tournaments may also be held on a regular or sporadic basis. There, killers have plenty of opportunities to compete with each other and socializers to cooperate [9]. Carefully designed tournaments may well also be special cases of an inducement prize contest, benefiting ultimately the player, typically an achiever or killer, giving the prize.
In an open world, player characters are free to roam in a huge digital world, which is particularly appealing to explorers and killers [9]. An expanding world is in fact a strong motive for players not only to keep playing, but also to return once they have completed the game. Depending on its theme, a cultural game may well have secret rooms, namely bonus areas filled with rewards.
An open universe allows the plot to be expanded in a number of worlds or for a character to be developed across various game installments. Perhaps the most well-known example is the Wing Commander space opera series [39], which is famed for its original and effective immersion mechanisms. It was possible to transfer the same player character along six game installments [40,41] allowing the racking of an impressive score and resulting in a more continuous and coherent story. Such a universe is appealing to all four fundamental player types for different reasons.
Despite coming from the digital realm, a cultural game may have extensions to the outside world. This can be carried out in many ways including scanning quick response (QR) codes, taking pictures, or recording street noise. Moreover, tangible rewards such as material badges are strong motives for players, especially for achievers and explorers. More recently augmented reality (AR), virtual reality (VR), and haptic systems bridge the gap between human senses and the game world, making games even more immersive. Explorers and socializers are typically fond of this type of features [6].
The role of artificial intelligence (AI) or non-playable characters (NPCs) is instrumental in most in-game worlds. Interacting with NPCs adds ways explorers can learn about the game and well designed NPCs may well capture the attention of socializers, especially if they have advanced AI. Moreover, they may provide critical hints to achievers and serve as cannon fodder for killers. A significant design principle is that of the uncanny valley stating that NPCs should look convincingly human in order to be realistic but not too human as in this case they may look disturbing [42].
Storytelling techniques are essential to the game world evolution and all elements must have a place in that story, especially since it influences all four player types [9,14]. The classical Aristotelian structure is considered appropriate when simplicity is sought or when a clear message is to be given. On the contrary, the in media res storytelling of the Homeric sagas is considered suitable for games with open ended worlds or many installments with prequels and sequels. Other techniques such as the traditional Japanese storytelling [43] may be instrumental in games with experimental or specialized mechanics. Occasionally, alternate timelines or crossovers may make a linear story more interesting.
The affective reaction of the four player categories to these elements is important for cultural game mechanics if player interest is to be stimulated. Said reaction will be examined in terms of the emotion wheel model of Figure 2. The basic emotions under this model are anger, anticipation, joy, trust, fear, surprise, sadness, disgust, and the neutral emotional state.
Table 2 contains the emotions the most common gaming elements are most likely to trigger to the four player categories. Note that this table has been compiled under a statistical approach from reports and works (e.g., [14,16,44]). The upper half of the table has low level attributes, whereas the lower half has the high level ones. Observe the rich variability of emotional reactions.

3.3. Low Level Attributes

Low level attributes examined in this work pertain primarily to the way players interact with in-game items. Since they do not involve interaction with other players or with the broader in-game world, they are classified as low-level in the sense that no strategic thinking has to take place prior to or during interaction. Nonetheless, these kind of features are indicative of player psychology as they relate to unconscious and almost instinctive decisions or decisions with minor cognitive effort [6]. These features have been selected on literature recommendations [6,15,45] and are shown in Table 3.
The low-level player profile for the ith player is the numerical vector p L i of length Q 0 = 8 with the structure of Equation (1). The latter also contains symbolic names for clarity and readability in Algorithms 1 and 2. The proposed methodology can be extended to any number of attributes.
p L i = p L i 1 , , p L i Q 0 T V 0 Q 0 × 1
In Equation (1), the value set V 0 is 1 / 5 , 2 / 5 , 3 / 5 , 4 / 5 , 1 . Because of its structure, the symbolic five star scale of Table 4 is used throughout the text to make it more legible and intuitive-friendly. To enhance legibility, symbolic names consist of only one word without any modifiers.
These symbolic values are also linearly ordered not only because they represent actual numerical values where comparisons make perfect sense, but also because of their very context they represent distinct ranking levels. Thus, for instance, Weak < High or Medium > Low are valid comparisons.
The values of V 0 have been chosen in order to address the following reasons:
  • The large variance of players and items involved may not always lead to numerical scales.
  • Ranking ensures that attribute values remain at the same scale.
  • The ranking indicates how the community is going as opposed to individual player performance.
  • Ranking can be applied at various stages of the game or even for different player subsets.
Notice that the number of attributes Q 0 in this work is the number of low-level elements found in the recent scientific literature. This number by no means limits the generality of the proposed methodology. In fact, the only actual hard constraint regarding how many attributes may be used is that the low- and high-level player profiles have the same number of components.
The distance between two low level profiles is defined as in Equation (2):
l p L i , p L j = l i , j = exp p L i p L j 2 2 2 Q 0

3.4. High Level Attributes

High level game attributes pertain to player actions with higher semantic content as well as with conscious decisions. They mainly involve interaction with other players, strategic decisions, and dealing with the in-game world. As with the previous case, the high level profile of the ith player is a numerical vector p H i with the structure of Equation (3) and with the same length as p L i :
p H i = p H i 1 , , p H i Q 0 T V 0 Q 0 × 1
The components of each profile vector p H i along with the respective mnemonic names, added for enhanced readability of Algorithm 2, are shown in Table 5. Observe that the high level attributes can add more semantic context since they directly reflect decisions which require at least some cognitive effort and they can be described with annotations or a restricted vocabulary as explained in [46]. Moreover, they are indicative of the social intelligence of the players, especially in the way they choose to compete against or cooperate with each other [47]. The same quantile-based scheme of the previous case and the same five star scale are used to obtain the respective values for each player for consistency.
The similarity metric between two high level profiles is the Gaussian kernel of Equation (4):
h p H i , p H j = h i , j = exp p H i p H j 2 2 2 Q 0

3.5. First- and Higher-Order Player Profiles

From the attributes described earlier it is possible to classify players according to the Bartle taxonomy. This is a first order player classification as it is based solely on features of a single player. Although this approach certainly has merit as is based on ground truth directly deriving from player activity, higher-order methodologies tend to systematically yield more robust player classifications as they aggregate not only local ground truth states but also information implicitly encoded in similarity matrices constructed from pairwise profile distance metrics such as those of Equations (1) and (3). Among the reasons favoring higher-order approaches are the following [14,15]:
  • They rely on significantly more information regarding player profiles. As such, they can mine latent patterns, encoded for instance as profile similarities, player interactions, or player clusters.
  • Higher-order methods tend to ignore the effect of outliers, typically expressed as unusual or missing attribute values. Properly designed methods can provide estimates for erroneous values.
  • Most games create their own environment through rules or storytelling and players adapt to it. Thus, higher-order methodologies tend to reveal player types relative to the that environment.
  • Gaming is mainly a social activity. Thus, although players have their own style, they may copy individual elements. For large player bases this leads to cluster formation over time.
The mapping of profiles to the Bartle taxonomy types will take two different forms depending whether only low-level attributes are available. This is necessitated by the form of some of the higher-order methods. When only the low-level attributes are available, Algorithm 1 applies.
Notice that in both Algorithms 1 and 2 the inequality symbols ≥ and ≤ can be applied to the symbolic values of Table 4 reserved for the profile attributes. In these cases, they are to be interpreted taking into consideration the linear order of the symbolic values. Therefore, for instance, the inequality points ≥ High is true when points has the values Strong or High and it is false otherwise.
Algorithm 1 relies on a number of observations about player activity as reflected in the low-level attributes. Achievers care for points and badges, which eventually will bring them to a prominent position in the leaderboard [14]. Explorers seek to find loot boxes, one-time boxes, secret rooms, or Easter eggs with the latter three being more important. This implies that explorers may well accumulate significant points in the process, so points alone cannot distinguish between these player types [14,44]. Socializers can be recognized by their extended use of writeable objects in order to communicate with other players as well as their drive to find secret rooms with the hope of finding more players there. These factors may result in an increased number of badges related to player activity [15]. Killers are less easy to define through a set of rigid rules since their objective may be simple, but in order to achieve it they frequently resort in activities which are also common in the other player types. For instance, they may seek secret rooms as socializers and explorers do, they may collect badges similar to achievers and socializers, they want one-time items as explorers do, and they share with achievers the excitement for points as well as for a prominent leaderboard position [6].
Algorithm 1 Mapping of low-level attributes to Bartle taxonomy.
Require: 
Low-level profile as described in Equation (1).
Ensure: 
A first-order mapping to one of the four player types of the Bartle taxonomy.
 1:
if [points ≥ High] and [at least one of badges, points ≥ High] then
 2:
 type = achiever
 3:
else if [loot ≥ High] and [at least two of rooms, loot, eggs ≥ High] then
 4:
 type = explorer
 5:
else if [writeable ≥ High] and [at least one of badges, rooms ≥ Medium] then
 6:
 type = socializer
 7:
else
 8:
 type = killer
 9:
end if
 10:
return type
When both low- and high-level attributes are available in player profiles, then the more complex set of rules outlined in Algorithm 2 is used instead for the mapping to the Bartle taxonomy.
Algorithm 2 Mapping of high-level attributes to Bartle taxonomy.
Require: 
High-level profiles as in Equation (3).
Ensure: 
A first-order mapping to one of the four player types of the Bartle taxonomy.
 1:
if [tours ≥ High ] and [competition ≤ High cooperation ≥ Weak] then
 2:
 type = achiever
 3:
else if [at least one of timelines, crossovers, world ≥ High] and [tours ≥ Weak npcs ≥ Medium] then
 4:
 type = explorer
 5:
else if [at least one of players, npcs ≥ High] and [cooperation ≥ Medium] then
 6:
 type = socializer
 7:
else
 8:
 type = killer
 9:
end if
 10:
return type
Algorithm 2 connects high-level attributes to player types. Achievers are more likely to participate to in-game tournaments in order to accomplish game-wide objectives, possibly with the help of other players [8]. Explorers tend to investigate both the in-game world and its extensions such as crossovers and alternative timelines. In addition, they may occasionally take part in tournaments in order to find one-time boxes, loot items, or other prizes [14]. Socializers interact with other players or NPCs, and they may tend to help others in in-game events [7]. As in the previous case, killers are difficult to discern from other players as killers may join in-game events like achievers. Some killers search the game world as explorers. In addition, killers and socializers interact with other players and NPCs.
Higher-order methods may well use first-order profile classifications are starting points since the latter are obtained from ground truth data. Depending on the data representations, options include vector clustering, string matching, decision trees, or graph matching. Since here profiles are represented as numerical vectors, clustering techniques are more appropriate. In particular, iterative schemes coming from a template Simon–Ando scheme were selected and tested, as explained below.

4. Proposed Clustering Methodology

4.1. Template Simon–Ando Clustering

The algorithmic cornerstone for clustering player profiles is the Simon–Ando iterative scheme, which is based on the power method. The latter estimates the primary eigenvector g of a matrix M R n × n through a matrix-vector computation and normalization cycle, as shown in Algorithm 3.
Algorithm 3 The power method.
Require: 
Matrix M and numerical tolerance ξ 0
Ensure: 
The primary eigenvector g of M is computed
 1:
initialize vector g 0 ; normalize g 0 g 0 / g 0 1
 2:
repeat
 3:
 compute g k + 1 M g k ; normalize g k + 1 g k + 1 / g k + 1 1
 4:
until  g k + 1 g k 1 ξ 0
 5:
return  g
The main parameter of the power iteration is the initialization of vector g 0 . In the general case, initialization takes place with random elements or with information extracted from matrix M itself. In the former case, it is advisable that Algorithm 3 be executed many times as a random vector many not contain the direction of g , especially when the dimension of the column space of M is large.
The Simon–Ando iteration is similar to the power method with one major difference: it terminates when the elements of g k are clustered. To this end, a different termination criterion τ 0 is necessary. Analysis of the power method indicates that it undergoes the stages described below [45,48]:
  • For few iterations, the elements of g k remain close to the random starting points of g 0 .
  • As the iteration progresses, the elements of g k move from their original positions.
  • For a narrow window of iterations, the Simon–Ando phase, the elements of g k are clustered.
  • After the Simon–Ando phase, the elements of g k are driven away from this clustering.
  • The power method converges to g and terminates.
Algorithm 4 is the template Simon–Ando scheme from which the three iterative schemes are derived. It is a matrix free algorithm and multiplications can be seen as passing the vector v k to a kernel T · and retrieving the result v k + 1 . In this work, selecting the particular form of T · uniquely determines the iterative scheme. Additionally in the template v k + 1 is normalized by a generic norm · H in a Hilbert space, but the specific norm depends on the selection of T · as well.
Algorithm 4 The template Simon–Ando scheme.
Require: 
Functions of Equations (2) and (4).
Ensure: 
Players are clustered based on the basic Bartle types
 1:
initialize vector g 0 ; normalize g 0
 2:
initialize matrices L and H as in Equation (9)
 3:
if annotations are used then
 4:
 scale matrix H once as H H N
 5:
end if
 6:
compute kernel T · as a function of L and H
 7:
repeat
 8:
 compute g k + 1 T g k ; normalize g k + 1 g k + 1 / g k + 1 H
 9:
until termination criterion τ 0 is true
 10:
return
The termination criterion τ 0 is a key component of Algorithm 4 since it determines clustering quality. The critical requirement for τ 0 is to detect the Simon–Ando phase before it is over. One way to achieve this is to compute the elementwise harmonic mean of the second order difference between three successive versions g k 1 , g k , and g k + 1 as shown in Equation (5), assuming their length is n:
τ 0 k = n j = 1 n 2 g k + 1 j 2 g k j + g k 1 j η 0
The harmonic mean has been selected in this work for the following reasons:
  • Robustness: The harmonic mean in sharp contrast to the geometric mean is immune to erroneous values close to zero or to outliers in general.
  • Reliability: For stochastic input, even for a relatively few observations and for a wide array of distributions, the harmonic mean converges to its true value.
To understand why the eingenstructure of M appears in the Simon–Ando clustering, consider the following: Let g i be a fixed element of g . For the very small number of iterations of the Simon–Ando phase, the multiplication with M should at most perturb the clustering of the elements of g . By construction, the elements of the former are weighted linear combinations of the elements of the latter, as shown in Equation (6). It follows then that for each of the n elements of g k it holds that:
g k + 1 i = j = 1 n M i , j g k j , 1 i n
If some g k j does not appear in (6), namely it is zero, then it can be added into both sides. Then, by stacking the n equations and casting them in an equivalent matrix notation leads to Equation (7):
g k + 1 1 g k + 1 2 g k + 1 n = M 1 , 1 M 1 , 2 M 1 , n M 2 , 1 M 2 , 2 M 2 , n M n , 1 M n , 2 M n , n g k 1 g k 2 g k n
Under the assumption that for two successive steps in the clustering phase of the Simon–Ando g k + 1 g k Equation (7) can be cast as a linear equation or as an eigenvalue problem as in (8):
g k = A g k A I n g k = 0
Matrices L and H in (9) contain the low- and high-level attribute distance metrics, respectively, as:
L = 1 l 1 , 2 l 1 , P 0 l 2 , 1 1 l 2 , P 0 l P 0 , 1 l P 0 , 2 1 H = 1 h 1 , 2 h 1 , P 0 h 2 , 1 1 h 2 , P 0 h P 0 , 1 h P 0 , 2 1
In Equation (9), P 0 is the total number of players. Because of the form of the Gaussian kernel both distance matrices L and H are symmetric and their diagonal elements equal one.
The user annotation weight matrix N is defined elementwise as in Equation (10). It is based on the annotations of Table 6. As a sign of the pairwise joint player activity between players i and j, the harmonic mean of the ratio of the annotation references to either player for the three annotation categories of Table 6 to the respective maximum is computed. This choice yields a real symmetric N .
N i , j = min μ 0 , 3 k = 1 P 0 f k 1 + f k 2 f i 1 + f j 1 + f i 2 + f j 2 + k = 1 P 0 f k 3 f i 3 + f j 3 + k = 1 P 0 f k 4 + f k 5 f i 4 + f j 4 + f i 5 + f j 5 1 i , j P 0
In the above equation, f i k is the frequency of annotation a k regarding player i in the dataset and μ 0 is a small positive constant. The rationale behind the selection of the particular weight of Equation (10) is that joint player activity should be high when they are of the same type since they have similar objectives and in-game behavior. Additionally, this choice allows the separate treatment of different annotation categories. Notice that annotations a 4 and a 5 refer to opposing behaviors, namely cooperation and competition in tournaments. In this case, for most players, either one of the frequencies f i 4 and f i 5 will be high but not both. Of course both can be down as well. There are many ways of selecting the constant μ 0 . Since it represents the minimum amount of player interaction in the game, here it was set to be the minimum non-zero value of Equation (10).
The scheme named matrix is derived from the Simon–Ando template by selecting the kernel T · to be matrix L and the scheme named comb is the half-sum of matrices L and H . Therefore, the former iteration relies only only on low- level player attributes, whereas the latter exploits both low- and high-level ones. If the matrix N is used, then it multiplies H from right once before iteration starts. This is called scheme comb-a (see Table 7 for an overview of the clustering methods).

4.2. Tensor-Based Clustering

Tensors allow similarity metrics modeling simultaneous linear dependencies between sets of variables. Although from a programming perspective a tensor is a multidimensional array indexed by an array of p integers, where p is the tensor order, the formal tensor definition is the following:
Definition 1.
A pth order tensor T , where p Z * , is a linear mapping coupling p non necessarily distinct vector spaces S k , 1 k p . If S k = R I k , then T R I 1 × × I p .
Tensor multiplication along the kth dimension G = X × k Y between tensors X of order p and Y of order q can occur if both tensors have the same number of entries I k in the kth dimension.
Definition 2
(Tensor multiplication). The multiplication of X and Y along the kth dimension is defined as:
X × k Y i 1 , i p , j 1 , j k 1 , j k + 1 , j q = i k = 1 I k X i 1 , , i k , , i p Y j 1 , , i k , , j q
Observe that, as a special case, a tensor-vector product X × k v along the kth dimension where X R I 1 × × I p is a pth order tensor and v R I k is a vector is defined elementwise as:
X × k v i 1 , , i k 1 , i k + 1 , , i p = i k = 1 I k X i 1 , , i k , , i p v i k
The result is a tensor of order p 1 . Therefore, for a third order tensor the result is a matrix.
Definition 3
(Frobenius norm). The Frobenius norm of a pth order tensor X R I 1 × × I p is:
X F = i 1 = 1 I 1 i p = 1 I p X i 1 , , i p 2 1 2
Given the above, the iterations named tensor and tensor-a in the experiments are built around the third-order tensor T P × P × L , where L 0 is the available level of attributes, namely two in this case. If more levels were available, then the proposed approach could be extended to use them by adding one layer per level. This demonstrates the generality as well as the simplicity of this particular method. Notice that each level of T is a proper matrix by itself. The geometric insight for it can be seen as stacking matrices L and H along the third dimension, as shown in Figure 3.
The computation part of the iteration loop has the block form of Equation (14). When the annotation weight matrix N is used, H is multiplied from the right by it once during initialization.
H = H N , G 0 = g L 0 g H 0 , Y k + 1 = T × 1 G k , G k + 1 = J 2 Y k + 1
The above iteration is based on running the low- and high-level cluster schemes separately and then combining them. An optional weight deriving from annotations for the high-level attributes can be added. The iteration steps of the computation part of the loop of Algorithm 4 are as follows:
  • The two cluster schemes for g L 0 and g H 0 are initialized with random entries.
  • If user annotations are used, then H is multiplied by N once during initialization.
  • Tensor T multiplies matrix G k , essentially filtering g L k and g H k through L and H , respectively.
  • At the next step, the two columns of matrix Y k + 1 are swapped through matrix J 2 .
In this case, the kernel T · of Algorithm 4 is an implicit function of L , H , and J 2 . Moreover, at the end of the computation part of the loop, normalization is done with the Frobenius norm, which is valid since matrices are tensors of order two. This happens as now iterations are about matrices.
Table 7 offers an overview of the iterative clustering schemes deriving from the template of Algorithm 4. It is based on applicable standard criteria for classifying iterative schemes [37].

5. Results

5.1. Setup

Table 8 shows the experimental setup for evaluating the proposed methodology. It contains those parameters indirectly influencing clustering, but they have to be manually inserted by the developer.
The experiments are designed to answer the following questions:
  • First vs. higher order: These tests examine the clustering quality achieved by the first-order mappings of Algorithms 1 and 2 compared to that of the higher-order iterative clustering methods. Recall that the latter aggregate local ground truth to reveal global properties.
  • Tensor vs. matrix: From the iteration template of Algorithm 4, matrix- and tensor-based clustering schemes are derived as outlined in Table 7. The objective is to determine whether switching to the latter can offer an advantage concerning player clustering ignoring annotations.
  • Effect of annotations: These experiments aim at evaluating the effect of user annotations. To this end, the methods relying on user annotations to obtain weights for the high-level attributes are compared against their counterparts without these weights.

5.2. Dataset Synopsis

The dataset serving as benchmark to test the proposed methodology as well as the effect of user annotations was obtained from Kaggle. It comprises of L 0 rows pertaining to an anonymized fantasy-style cultural game involving a number of late Roman and medieval historical elements including gladiatorial style combats, castle building, and knight quests, with jousting tournaments being one of the main in-game events. These rows had the following fields:
  • Annotator: The user creating the annotation. This field is independent of the player(s) involved in the activity. As such, it was ignored as it did not contribute information to the experiments.
  • Timestamp: Automatically generated date and time of the annotation in ISO 8601 format. This field was also ignored as it was not relevant to the analysis conducted here.
  • Category: It is one of the possible categories: Interaction of a player with a player or with an NPC, presence of a player in the alternative timelines, and interaction with players in a tournament.
  • Subject: The player who does or initiates an action, as described in the respective field. To keep annotations simple, even in multiplayer events only elementary actions were recorded.
  • Object: The player or NPC who is the target of the action, where applicable. It has the same format with the previous field but its semantics are much different from an analysis perspective.
  • Action: Although there are many actions, here stand out the cooperation and the competition in tournaments and the participation to timelines. Everything else is listed as generic interaction.
The above annotations come from N 0 distinct players, they refer to the in-game events, and they were drawn from a restricted list with a total of E 0 options. The latter means that annotating users had to choose only from a pre-specified set of annotations intended for the game designers to understand how certain game elements were understood by the player base. Therefore, there were no missing or erroneous values in the various fields of the dataset and the semantics were well defined. Observe that the number of annotators is significantly larger than the number of players the annotations are about. A possible explanation is that annotators chose to provide information about players with considerable in-game activity. Additionally, the relatively small number and format of options E 0 in the annotations list made them easy to remember, therefore making easy their creation. In turn, this is an important incentive for creating a large number of them over a short amount of time.
Table 6 has the meaning of each user annotation as well as the category it belongs to. It resulted from processing the raw dataset and extracting player as well as action information. The latter was the grouping factor for the processed L 0 rows in order to form the annotations categories a 1 to a 5 .
Table 9 contains the distribution of each of the five categories in the resulting dataset. Observe that this distribution is rather balanced, therefore greatly facilitating analysis. Notice there is only one category probability, namely that of generic interaction, is much larger than the other ones.

5.3. Number of Iterations and Floating Point Operations

The primary figure of merit for each iterative algorithm is the number of iterations. Table 10 presents for the methodologies of Table 7 the number of iterations required to achieve the same level of convergence η 0 . Since the starting point is random, the number of iterations is a stochastic quantity. Therefore, for each scheme was run R 0 and the mean and variance were computed. Moreover, as an additional safeguard, a maximum of η 1 iterations was included.
The termination criterion τ 0 used to achieve the number of iterations of the above figure was that of Equation (5) with a parameter of η 0 selected, as shown in Table 8. This value is low enough to achieve convergence without allowing the power method proceeding too far. From the results in Table 10, the following can be inferred about the number of iterations for each of the clustering schemes:
  • The matrix based methods systematically yield a higher number of iterations. Thus, their convergence to the same level is slower compared to the tensor based ones.
  • The annotation based methods achieve systematically lower number of iterations from their counterparts. This is a clear indication that they contribute to the overall clustering quality.
  • The combination of tensor representation with the user annotations resulted in the lowest number of iterations. Therefore, they contribute individually to mining knowledge from the dataset.
Table 11 has the average number of floating point operations (flops) for each method. Again, since the clustering schemes are stochastic, the procedure of the previous case was applied.
From the results in Table 11, the following conclusions can be drawn regarding the scaling:
  • The tensor based methods achieve a somewhat lower number of flops although they contain more expensive operations of linear algebra. This can be attributed to the lower number of iterations.
  • The cost for incorporating annotations is negligible, as can be seen from the entries for flops. Thus, it pays off to have them in the scheme as part of the mining strategy.

5.4. Cluster Distance

As ground truth is unavailable for the processed dataset, the following quality metrics were used. They rely solely on the results of the experiments and do not require tuning or hyperparameters.
  • The average inter-cluster d ¯ distance of Equation (16)
  • The maximum inter-cluster d * distance of Equation (17)
  • The average intra-cluster distance D ¯ of Equation (19)
Table 12 shows the normalized values of d ¯ , d * , and D ¯ for each clustering scheme. The reason for this is that a relative indicator of clustering quality sheds more light to the performance of each algorithm. Each clustering scheme was normalized to its respective minimum.
Let C i and C j be the ith and jth cluster and C 0 the total number of available clusters. Then,
d i , j = 1 C i C j w C i w C j d w , w
In (15), C i and C j are the number of data points of clusters C i and C j . Then,
d ¯ = 1 C 0 2 i , j d i , j = 2 C 0 C 0 1 i , j d i , j
Along a similar line of reasoning, d * is the maximum over all pairwise distances d i , j :
d * = max d i , j
Another figure of merit is how compact clusters are. This is measured by the average distance D ¯ between any two points in a cluster. The intra-cluster distance D i for C i is defined as in Equation (18):
D i = 1 C j C j 1 w , w d w , w
Metric D ¯ is obtained by averaging the intra-cluster distances as in Equation (19):
D ¯ = 1 C 0 i = 1 C 0 D i
From the entries of Table 12, the following observations can be made:
  • The tensor based methods consistently result in better separated clusters both in the average distance case and in the maximum distance as indicated respectively by the high values of d ¯ and d * . This means that bounds between clusters contains fewer data points and are more clear.
  • The tensor based methods yield more compact clusters compared to the matrix based ones, as indicated by the low values of D ¯ . This complements the findings for d ¯ and d * , as more distant clusters “push” the same number of data points to smaller regions, resulting in higher density.
  • Both the above hold even more when the annotation-based methods are compared against their counterparts. This is a clear indication that the inclusion of user annotations improves the overall clustering process. Combined with the tensor representation, this is even more enhanced.

5.5. Player Type Distribution

Once profile clustering is complete, two player type distributions are of interest:
  • First-order distributions: It is the player type distribution as obtained by Algorithms 1 and 2. Therefore, the mapping from the player profile to the Bartle taxonomy is based on the former.
  • Higher-order distributions: Once a clustering scheme is complete, clusters are formed, profiles are mapped as before, and then each player receives the majority type of the respective cluster.
From the entries of Table 13, the following can be said:
  • All methods yield approximately the same percentage for achievers. This also almost holds for socializers. This is an indication these player categories may have distinct behavior which can be almost directly translated to both low- and high-level attributes.
  • The first-order distributions and the matrix method give a very high number for killers which is inconsistent with the very low number obtained from the remaining methods. A possible explanation is they tend to treat as killers every profile not fulfilling the criteria for the other types.
  • The tensor-based methods yield almost identical distributions. This may be an indication that despite the different starting points they both eventually converge to the same distribution exploiting higher order patterns with annotations accelerating this convergence.
  • The above is also true but to a lesser extent for the results from the comb and the comb-a iterative schemes. This can be attributed to the fact that annotations help the clustering process but do not suffice by themselves to uncover all the patterns in the processed dataset.

5.6. Discussion

The results obtained earlier agree with these reported elsewhere in the recent scientific bibliography. In particular, the combination of low- and high-level player attributes to improve player experience has been proposed [19]. Moreover, in [14], it is maintained that players can easier fit the Bartle taxonomy when their collective behavior is taken into consideration. The need for an advanced player clustering scheme is highlighted in [17]. Tensor clustering fulfills these requirements.
Based on the experiment results the inclusion of user annotations to the clustering scheme seem to make a difference both in clustering quality and in scalability. In addition, it should be highlighted that the tensor representation for player profiles and the user annotations are two different factors contributing in their own way to clustering. The results presented here are consistent with the findings of Yang et al. [49] where high quality labeling rules for reducing annotation cost were derived by crowdsourcing. In [50], these rules are augmented with ones mined with ML. Large-scale data annotation is indispensable for other type of games including serious games [51]. Annotations have also been proposed as a supplementary mechanism for understanding player actions in affective games [52]. To this end, games intended for cultural preservation may well benefit from including a dedicated module designed for collecting and processing them such as the one described in [53]. Since human activity patterns are to be extracted from gaming activity, it makes perfect sense that mining algorithms may rely on human assistance, even a partial one like annotations.
Regarding the role of user annotations in general, if they are utilized properly, they can be instrumental in the disambiguation of player activity [52]. As such, they can significantly boost the performance of mining algorithms by providing the initial information and ontological structure they can start from. The primary reasons for this happening are listed below [17]:
  • Humans can almost immediately understand both the complex semantics inherent in player actions and the possible ultimate objectives of other players, especially in the context of the game.
  • Moreover, dedicated or even casual players can draw on considerable information from their respective gaming experience in order to interpret the actions of other players.
As a specific example for the above, we plan to incorporate the strategy proposed in this work within the gamification module of the ANTIKLEIA project in order to exploit the user annotations. Through a suite of open markup technologies, such as the extensible markup language (XML), the resource description framework (RDF), and JavaScript Object Notation (JSON), as well as open protocols such as Dublin core, annotations can be driven as ground truth data from the dedicated user interface (UI) component to the data management one. Meta-data have been known to boost the performance of mining algorithms in terms of accuracy and robustness [54].
In this framework, Figure 4 depicts how annotations fit in the software architecture of ANTIKLEIA. Once the raw annotations are extracted, they are first locally stored as JSON documents. The underlying storage could very well be a document database, such as MongoDB, but a relational database is suitable as well. Then, the following analysis takes place in parallel:
  • Annotations, as explained above, are driven to the data mining algorithms for interpreting the actions of the players. In turn, this leads to a better understanding of the player base.
  • Annotations are also analyzed in terms of the players who gave them. This gives insight into the segment of players who are willing to improve the game, participating thus in a deeper level.
  • The value of the available cultural objects for the player base is estimated through analytics based on the annotations. This is an important cultural preservation function.
Besides game designers, the above analytics may be of use to cultural enthusiasts, cultural professionals, and independent developers alike, as further described in the ANTIKLEIA use cases [3]. User annotations can even contribute to the data-driven construction of massive ontologies for cultural items [55]. The latter can reveal how the player base sees these items based on diverse criteria that clearly go beyond the scope of the present work.

6. Recommendations

With knowledge of the particular player base composition certain recommendations can be stated for game designers and practitioners with the explicit aim of keeping player interest unabated from an affective perspective. It is a long running tenet of the gaming industry that a successful game should be played more than once [11]. Several criteria for this purpose have been proposed in the literature with engagement, replayability, and immersion being among them [14,20]. The strategy in this work will be to maximize engagement, which will be achieved based on the following data:
  • Table 2 will serve as a guide for the relationship between game elements and the basic emotions they elicit across player types. However, this is only a statistical approach.
  • The last column of Table 13, namely the results of clustering with the tensor-a methodology, will be considered as the true player base distribution.
The analysis will be based on two complementary factors. First, emphasis will be placed on those gaming elements which attract the majority of player types. Conversely, elements eliciting negative emotions to the majority of players will be in general ignored. To this end, the following analysis will be used: Each basic emotion of Figure 2 is assigned the value ± 1 depending on its polarity, whereas the neutral state is assigned the value zero. For each element, the score of Equation (20) is computed:
σ i = t e i , t p t
In Equation (20), e i , t is the statistical emotional response of players of category t to the ith game element, while t ranges over the four player types. Given the above, Table 14 is generated for the elements used in the low- and high-level player profiles in Table 3 and Table 5, respectively. This analysis can be conducted for the remaining elements of Table 2 or any other game elements for that matter.
Given the values of Table 14, for the specific player base, priority should be given to widening the in-game world, creating alternative timelines, and including loot boxes. In addition, tournaments should be cooperative instead of competitive. On the contrary, writeable objects and the inclusion of more NPCs will offer little to the in-game experience as they attract only a small number of players.

7. Conclusions and Future Work

Games in the digital era promote cultural heritage by relying on several affective capabilities. This article has a twofold focus. First, a template Simon–Ando iterative scheme is developed for clustering player profiles consisting of attributes with affective content. Certain schemes deriving from this template are evaluated based on inter- and intra-clustering distances as well as on the number of iterations and the number of floating point operations required. The former are indicators of clustering quality, while the latter of scalability. The results are interpreted in light of the Bartle taxonomy. Understanding the player base in this way can lead to recommendations about placing emphasis on specific game elements. Second, the role of user annotations on clustering is evaluated by deriving versions using weight matrices based on them. Experiment results clearly show that in every case the inclusion of user annotations had a distinct positive effect.
Concerning future research directions, the algorithmic aspect of the proposed methodology can be improved by examining alternative combinations of attributes and tensors utilizing them. Moreover, the stability properties as well as its complexity should be carefully evaluated through extensive simulations. Another possible research direction lies in constructing more datasets from diverse player audience. This will lead to better evaluation of alternative player clustering methodologies.

Author Contributions

G.D. did the coding and developed the algorithmic strategy; Y.V. contributed to the algorithmic approach and did the bibliographic search; and P.M. provided guidance and oversight. All authors have read and agreed to the published version of the manuscript.

Funding

This research was co-financed by the European Union and Greek national funds through the Competitiveness, Entrepreneurship and Innovation Operational Programme, under the Call “Research-Create-Innovate”; project title: “Development of technologies and methods for cultural inventory data interoperability—ANTIKLEIA”; project code: T1EDK-01728; MIS code: 5030954.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Squire, K. Cultural framing of computer/video games. Game Stud. 2002, 2, 1–13. [Google Scholar]
  2. Mortara, M.; Catalano, C.E.; Bellotti, F.; Fiucci, G.; Houry-Panchetti, M.; Petridis, P. Learning cultural heritage by serious games. J. Cult. Herit. 2014, 15, 318–325. [Google Scholar] [CrossRef] [Green Version]
  3. ANTIKLEIA Greek Web Site. Available online: https://www.antikleia.gr (accessed on 20 November 2020).
  4. Europeana Web Site. Available online: https://www.europeana.eu/en (accessed on 20 November 2020).
  5. ANTIKLEIA Web Site. Available online: http://antikleia.website/ (accessed on 20 November 2020).
  6. Lumsden, J.; Edwards, E.A.; Lawrence, N.S.; Coyle, D.; Munafò, M.R. Gamification of cognitive assessment and cognitive training: A systematic review of applications and efficacy. JMIR Ser. Games 2016, 4, e11. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  7. Lister, M. Gamification: The effect on student motivation and performance at the post-secondary level. Issues Trends Educ. Technol. 2015, 3, 112–120. [Google Scholar] [CrossRef]
  8. Streukens, S.; van Riel, A.; Novikova, D.; Leroi-Werelds, S. Boosting customer engagement through gamification: A customer engagement marketing approach. In Handbook of Research on Customer Engagement; Edward Elgar Publishing: London, UK, 2019. [Google Scholar]
  9. Landers, R.N.; Bauer, K.N.; Callan, R.C. Gamification of task performance with leaderboards: A goal setting experiment. Comput. Hum. Behav. 2017, 71, 508–515. [Google Scholar] [CrossRef]
  10. Huang, B.; Hew, K.F. Do points, badges and leaderboard increase learning and activity: A quasi-experiment on the effects of gamification. In Proceedings of the 23rd International Conference on Computers in Education, Ishikawa, Japan, 30 November–4 December 2015; pp. 275–280. [Google Scholar]
  11. Seaborn, K.; Fels, D.I. Gamification in theory and action: A survey. Int. J. Hum.-Comput. Stud. 2015, 74, 14–31. [Google Scholar] [CrossRef]
  12. Triantoro, T.; Gopal, R.; Benbunan-Fich, R.; Lang, G. Would you like to play? A comparison of a gamified survey with a traditional online survey method. Int. J. Inf. Manag. 2019, 49, 242–252. [Google Scholar] [CrossRef]
  13. Menéndez, H.D.; Vindel, R.; Camacho, D. Combining time series and clustering to extract gamer profile evolution. In International Conference on Computational Collective Intelligence; Springer: Heidelberg, Germany, 2014; pp. 262–271. [Google Scholar]
  14. Jia, Y.; Liu, Y.; Yu, X.; Voida, S. Designing leaderboards for gamification: Perceived differences based on user ranking, application domain, and personality traits. In Proceedings of the Conference on Human Factors in Computing Systems, Denver, CO, USA, 6–11 May 2017; pp. 1949–1960. [Google Scholar]
  15. Codish, D.; Ravid, G. Detecting playfulness in educational gamification through behavior patterns. IBM J. Res. Dev. 2015, 59, 1–6. [Google Scholar] [CrossRef] [Green Version]
  16. Conejo, F. Loyalty 3.0: How to revolutionize customer and employee engagement with big data and gamification. J. Consum. Mark. 2014, 31, 86–87. [Google Scholar]
  17. Kim, B. The Popularity of Gamification in the Mobile and Social Era. Libr. Technol. Rep. 2015, 51, 5–9. [Google Scholar]
  18. Kyriazidou, I.; Drakopoulos, G.; Kanavos, A.; Makris, C.; Mylonas, P. Towards Predicting Mentions to Verified Twitter Accounts: Building Prediction Models over MongoDB with keras. In WEBIST; ScitePress: Setubal, Portugal, 2019; pp. 25–33. [Google Scholar]
  19. Tekofsky, S.; Van Den Herik, J.; Spronck, P.; Plaat, A. PsyOps: Personality assessment through gaming behavior. In Proceedings of the International Conference on the Foundations of Digital Games, SASDG, Crete, Greece, 14–17 May 2013. [Google Scholar]
  20. Yang, W.; Rifqi, M.; Marsala, C.; Pinna, A. Physiological-based emotion detection and recognition in a video game context. In Proceedings of the IJCNN, Rio de Janeiro, Brazil, 8–13 July 2018; pp. 1–8. [Google Scholar]
  21. Drakopoulos, G.; Pikrammenos, G.; Spyrou, E.D.; Perantonis, S.J. Emotion Recognition from Speech: A Survey. In Proceedings of the 2014 International Conference on Circuits, Systems, Communication and Information Technology Applications (CSCITA), Mumbai, India, 4–5 April 2019; pp. 432–439. [Google Scholar]
  22. De Lathauwer, L. Signal Processing Based on Multilinear Algebra. Ph.D. Thesis, KU Leuven, Leuven, Belgium, 1997. [Google Scholar]
  23. De Lathauwer, L.; De Moor, B. From matrix to tensor: Multilinear algebra and signal processing. In Institute of Mathematics and Its Applications Conference Series; Oxford University Press: Oxford, MA, USA, 1998; Volume 67, pp. 1–16. [Google Scholar]
  24. Papalexakis, E.E.; Pelechrinis, K.; Faloutsos, C. Spotting misbehaviors in location-based social networks using tensors. In Proceedings of the WWW 14: 23rd International World Wide Web Conference, Seoul, Korea, 7–11 April 2014; pp. 551–552. [Google Scholar] [CrossRef]
  25. Papalexakis, E.E.; Faloutsos, C. Fast efficient and scalable core consistency diagnostic for the PARAFAC decomposition for big sparse tensors. In Proceedings of the ICASSP 2015, Brisbane, Australia, 19–24 April 2015; pp. 5441–5445. [Google Scholar]
  26. Alexopoulos, A.; Drakopoulos, G.; Kanavos, A.; Mylonas, P.; Vonitsanos, G. Two-Step Classification with SVD Preprocessing of Distributed Massive Datasets in Apache Spark. Algorithms 2020, 13, 71. [Google Scholar] [CrossRef] [Green Version]
  27. Bao, Y.T.; Chien, J.T. Tensor classification network. In MLSP; IEEE: Piscataway, NJ, USA, 2015; pp. 1–6. [Google Scholar]
  28. Drakopoulos, G.; Mylonas, P. Evaluating graph resilience with tensor stack networks: A keras implementation. Neural Comput. Appl. 2020, 32, 4161–4176. [Google Scholar] [CrossRef]
  29. Benson, A.R.; Gleich, D.F.; Leskovec, J. Tensor spectral clustering for partitioning higher-order network structures. In ICDM; SIAM: New Delhi, India, 2015; pp. 118–126. [Google Scholar]
  30. Yu, D.; Deng, L.; Seide, F. The deep tensor neural network with applications to large vocabulary speech recognition. IEEE Trans. Audio Speech Lang. Process. 2012, 21, 388–396. [Google Scholar] [CrossRef]
  31. Yu, D.; Deng, L.; Seide, F. Large vocabulary speech recognition using deep tensor neural networks. In Proceedings of the INTERSPEECH 2012 ISCA’s 13th Annual Conference, Portland, OR, USA, 9–13 September 2012. [Google Scholar]
  32. Ma, J.; Liu, X.Y.; Shou, Z.; Yuan, X. Deep tensor admm-net for snapshot compressive imaging. In Proceedings of the 2019 IEEE/CVF International Conference on Computer Vision (ICCV), Seoul, Korea, 27 October–2 November 2019; pp. 10223–10232. [Google Scholar]
  33. Drakopoulos, G.; Stathopoulou, F.; Kanavos, A.; Paraskevas, M.; Tzimas, G.; Mylonas, P.; Iliadis, L. A genetic algorithm for spatiosocial tensor clustering: Exploiting TensorFlow potential. Evol. Syst. 2019. [Google Scholar] [CrossRef]
  34. Abadi, M.; Barham, P.; Chen, J.; Chen, Z.; Davis, A.; Dean, J.; Devin, M.; Ghemawat, S.; Irving, G.; Isard, M.; et al. TensorFlow: A system for large-scale machine learning. In OSDI’16; USENIX Association: Berkeley, CA, USA, 2016; pp. 265–283. [Google Scholar]
  35. Abadi, M. TensorFlow: Learning functions at scale. In SIGPLAN International Conference on Functional Programming; ACM: New York, NY, USA, 2016; pp. 1–8. [Google Scholar]
  36. Palzer, D.; Hutchinson, B. The tensor deep stacking network toolkit. In IJCNN; IEEE: Piscataway, NJ, USA, 2015; pp. 1–5. [Google Scholar]
  37. Drakopoulos, G.; Mylonas, P.; Sioutas, S. A Case of Adaptive Nonlinear System Identification with Third Order Tensors in TensorFlow. In INISTA; IEEE: Piscataway, NJ, USA, 2019; pp. 1–6. [Google Scholar] [CrossRef]
  38. imdb. Ready Player One. Available online: imdb.com/title/tt16777720 (accessed on 28 September 2020).
  39. Star Citizen. Wing Commander I 25th Anniversary Gameplay Video. Available online: https://www.youtube.com/watch?v=ADrl5uWckJw (accessed on 28 September 2020).
  40. imdb. Wing Commander. Available online: imdb.com/title/tt0245563 (accessed on 28 September 2020).
  41. WC CIC. Wing Commander. Available online: www.wcnews.com (accessed on 28 September 2020).
  42. Mori, M.; MacDorman, K.F.; Kageki, N. The uncanny valley [from the field]. IEEE Robot. Autom. Mag. 2012, 19, 98–100. [Google Scholar] [CrossRef]
  43. Bryan, J.I. Japanese Story-Telling. Lotus Mag. 1914, 5, 407–412. [Google Scholar]
  44. Chou, Y.k. Actionable Gamification: Beyond Points, Badges, and Leaderboards; Packt Publishing Ltd.: Birmingham, UK, 2019. [Google Scholar]
  45. Levin, S.A. The architecture of robustness. In Global Challenges, Governance, and Complexity; Edward Elgar Publishing: Cheltenham, UK, 2019. [Google Scholar]
  46. Vallet, D.; Fernandez, M.; Castells, P.; Mylonas, P.; Avrithis, Y. A contextual personalization approach based on ontological knowledge. Contexts Ontol. Theory Pract. Appl. 2006, 2006, 35. [Google Scholar]
  47. Diplaris, S.; Sonnenbichler, A.; Kaczanowski, T.; Mylonas, P.; Scherp, A.; Janik, M.; Papadopoulos, S.; Ovelgoenne, M.; Kompatsiaris, Y. Emerging, collective intelligence for personal, organisational and social use. In Next Generation Data Technologies for Collective Computational Intelligence; Springer: Berlin, Germany, 2011; pp. 527–573. [Google Scholar]
  48. Hartfiel, D. Proof of the Simon-Ando theorem. Proc. Am. Math. Soc. 1996, 124, 67–74. [Google Scholar] [CrossRef] [Green Version]
  49. Yang, J.; Fan, J.; Wei, Z.; Li, G.; Liu, T.; Du, X. Cost-effective data annotation using game-based crowdsourcing. PVLDB 2018, 12, 57–70. [Google Scholar] [CrossRef] [Green Version]
  50. Yang, J.; Fan, J.; Wei, Z.; Li, G.; Liu, T.; Du, X. A game-based framework for crowdsourced data labeling. VLDB J. 2020, 29, 1311–1336. [Google Scholar] [CrossRef]
  51. Seneviratne, L.; Izquierdo, E. An interactive framework for image annotation through gaming. In Proceedings of the International Conference on Multimedia Information Retrieval, Philadelphia, PA, USA, 29–31 March 2010; pp. 517–526. [Google Scholar]
  52. Yannakakis, G.N.; Paiva, A. Emotion in games. In Handbook on Affective Computing; Springer: Berlin/Heidelberg, Germany, 2014; pp. 459–471. [Google Scholar]
  53. Liu, T.; Yang, J.; Fan, J.; Wei, Z.; Li, G.; Du, X. CrowdGame: A Game-Based Crowdsourcing System for Cost-Effective Data Labeling. In Proceedings of the International Conference on Management of Data, Amsterdam, The Netherlands, 30 June–5 July 2019; pp. 1957–1960. [Google Scholar]
  54. Voutos, Y.; Drakopoulos, G.; Mylonas, P. Metadata-enriched Discovery of Aspect Similarities Between Cultural Objects. In SMAP; IEEE: Piscataway, NJ, USA, 2020. [Google Scholar] [CrossRef]
  55. Drakopoulos, G.; Voutos, Y.; Mylonas, P. Recent Advances On Ontology Similarity Metrics: A Survey. In SEEDA-CECNSM; IEEE: Piscataway, NJ, USA, 2020. [Google Scholar] [CrossRef]
Figure 1. Bartle taxonomy in two dimensions (Source: Authors).
Figure 1. Bartle taxonomy in two dimensions (Source: Authors).
Bdcc 04 00039 g001
Figure 2. Emotion wheel (Source: Wikipedia).
Figure 2. Emotion wheel (Source: Wikipedia).
Bdcc 04 00039 g002
Figure 3. Tensor structure (Source: Authors).
Figure 3. Tensor structure (Source: Authors).
Bdcc 04 00039 g003
Figure 4. Annotations and the architecture of project ANTIKLEIA (Source: Authors).
Figure 4. Annotations and the architecture of project ANTIKLEIA (Source: Authors).
Bdcc 04 00039 g004
Table 1. Notation of this article.
Table 1. Notation of this article.
SymbolMeaningIntroduced in
= Definition or equality by definitionEquation (1)
s 1 , , s n Set with elements s 1 , , s n Equation (1)
t 1 , , t n Tuple with elements t 1 , , t n Equation (16)
S Cardinality of set or tuple SEquation (18)
× k Tensor multiplication along dimension kEquation (11)
I n n × n identity matrixEquation (8)
J n n × n column reversal matrixEquation (14)
Table 2. Emotions triggered by low-(upper half) and high-level (lower half) elements (Source: See text).
Table 2. Emotions triggered by low-(upper half) and high-level (lower half) elements (Source: See text).
ElementExplorersSocializersAchieversKillers
PointsNeutralNeutralJoyNeutral
BadgesAnticipationNeutralAnticipationJoy
LeaderboardsNeutralAnticipationJoyJoy
One-time itemsSurpriseNeutralJoyJoy
Easter eggsJoyNeutralJoyNeutral
Loot boxesJoyJoyJoyNeutral
Secret roomsAnticipationNeutralJoyNeutral
Writable objectsNeutralAnticipationNeutralNeutral
Cultural referencesJoyAnticipationNeutralNeutral
Interaction with playersJoyTrustNeutralAnticipation
Interaction with NPCsNeutralAnticipationNeutralAnticipation
In-game tournamentsSurpriseNeutralSurpriseNeutral
Cooperation in tournamentsNeutralJoyNeutralAnger
Competition in tournamentsNeutralAngerNeutralJoy
Alternative timelinesAnticipationJoyAnticipationAnticipation
CrossoversJoyNeutralNeutralNeutral
Linear storytellingNeutralNeutralNeutralJoy
In media res storytellingJoyNeutralNeutralAnticipation
Open worldJoyJoyAnticipationJoy
Open universeAnticipationAnticipationJoyJoy
Connection to physical worldAnticipationJoyNeutralNeutral
Table 3. Elements and mnemonic names for the low-level player profile (Source: [6,15,45]).
Table 3. Elements and mnemonic names for the low-level player profile (Source: [6,15,45]).
ElementMnemonicQuantile MeaningElementMnemonicQuantile Meaning
p L i 1 pointsPoints accumulated p L i 5 eggsEaster eggs found
p L i 2 badgesBadges collected p L i 6 lootLoot boxes found
p L i 3 boardLeaderboard position p L i 7 roomsSecret rooms found
p L i 4 itemsOne-time items collected p L i Q 0 writeableWritable objects used
Table 4. Symbolic names for the numerical attribute scale (Source: Authors).
Table 4. Symbolic names for the numerical attribute scale (Source: Authors).
Numerical 1 / 5 2 / 5 3 / 5 4 / 5 1
SymbolicWeakLowMediumHighStrong
Table 5. Elements and mnemonic names for the high-level player profile (Source: [7,8,14]).
Table 5. Elements and mnemonic names for the high-level player profile (Source: [7,8,14]).
ElementMnemonicQuantile MeaningElementMnemonicQuantile Meaning
p H i 1 playersInteraction with players p H i 5 competitionTournament competition
p H i 2 npcsInteraction with NPCs p H i 6 timelinesParticipation to timelines
p H i 3 toursTournament participation p H i 7 crossoversParticipation to crossovers
p H i 4 cooperationTournament cooperation p H i Q 0 worldFraction of world explored
Table 6. Annotations description (Source: See text).
Table 6. Annotations description (Source: See text).
AnnotationSymbolCategoryMeaning
Player a 1 InteractionA player has interacted with another (not in tournament)
NPC a 2 InteractionA player has interacted with an NPC (not in tournament)
Timelines a 3 Game worldA player participates to an in-game alternative timeline
Cooperation a 4 Tournament activityA player has cooperated with another player
Competition a 5 Tournament activityA player has competed against another player
Table 7. Overview of iterative clustering schemes (Source: Authors).
Table 7. Overview of iterative clustering schemes (Source: Authors).
MethodKernelExplicitAttributesAnnotations
matrixMatrixYesLowNo
combMatrixYesLow+HighNo
comb-aMatrixYesLow+HighYes
tensorTensorNoLow+HighNo
tensor-aTensorNoLow+HighYes
Table 8. Experimental setup (Source: Authors).
Table 8. Experimental setup (Source: Authors).
ParameterValueParameterValue
Number of attributes Q 0 8Attribute groups P 0 2 (low and high)
Maximum vector size1 MBProcessorIntel Core i5 3210M @ 1.6 GHz
Maximum matrix size8 MBMain memory size16 GB
Maximum tensor size16 MBL1/L2/L3 cache size1/3/4 MB
Raw dataset rows L 0 175 KProcessed dataset rows L 0 64 K
Number of annotators N 0 8617Annotation options E 0 11
Number of players P 0 1024Termination threshold η 0 0.2
Number of runs R 0 1000Maximum number of iterations η 1 1024
Table 9. Category distribution in the processed dataset (Source: Authors)
Table 9. Category distribution in the processed dataset (Source: Authors)
PlayerNPCTimelinesCooperationCompetition
24.25 % 19.5 % 18.25 % 20 % 18 %
Table 10. Iterations for each method (Source: Authors).
Table 10. Iterations for each method (Source: Authors).
MatrixCombComb-aTensorTensor-a
mean 262.6178 234.1333 224.3334 205.9500 193.0333
var 44.1445 42.1133 42.4467 41.3345 40.9987
Table 11. Flops for each method (Source: Authors).
Table 11. Flops for each method (Source: Authors).
MatrixCombComb-aTensorTensor-a
mean 414.867 409.556 407.332 397.403 394.309
var 37.497 38.683 40.803 40.6711 38.445
Table 12. Clustering metrics for each scheme (Source: Authors).
Table 12. Clustering metrics for each scheme (Source: Authors).
MatrixCombComb-aTensorTensor-a
d ¯ 1 1.2276 1.9937 2.2816 3.0145
d * 1 1.3333 2.4423 2.8497 3.9973
D ¯ 2.8936 2.3444 2.0025 1.1215 1
Table 13. Player type distributions (Source: Authors).
Table 13. Player type distributions (Source: Authors).
Algo. 1Algo. 2MatrixCombComb-aTensorTensor-a
Achievers 33.6666 % 32.7500 % 25.7500 % 36.7500 % 33.3334 % 36.2534 % 36.5000 %
Explorers 11.5000 % 32.5000 % 30.3334 % 37.1250 % 34.6666 % 32.7066 % 32.5000 %
Socializers 18.5000 % 8.500 % 21.2500 % 23.2500 % 25.2500 % 26.0400 % 24.3366 %
Killers 26.3334 % 26.2500 % 22.6666 % 2.875 % 6.7500 % 5.0000 % 6.6634 %
Table 14. Scores for the game elements (Source: Authors).
Table 14. Scores for the game elements (Source: Authors).
ElementScoreElementScoreElementScoreElementScore
Points 0.3650 Eggs 0.6900 Players 0.6350 Competition 0.1766
Badges 0.7567 Boxes 0.9333 NPCs 0.3100 Alternative1
Leaderboards 0.6750 Rooms 0.6900 Tournaments 0.6900 Crossovers 0.3250
One-time 0.7567 Writable 0.24333 Cooperation 0.1766 World1
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Drakopoulos, G.; Voutos, Y.; Mylonas, P. Annotation-Assisted Clustering of Player Profiles in Cultural Games: A Case for Tensor Analytics in Julia. Big Data Cogn. Comput. 2020, 4, 39. https://doi.org/10.3390/bdcc4040039

AMA Style

Drakopoulos G, Voutos Y, Mylonas P. Annotation-Assisted Clustering of Player Profiles in Cultural Games: A Case for Tensor Analytics in Julia. Big Data and Cognitive Computing. 2020; 4(4):39. https://doi.org/10.3390/bdcc4040039

Chicago/Turabian Style

Drakopoulos, Georgios, Yorghos Voutos, and Phivos Mylonas. 2020. "Annotation-Assisted Clustering of Player Profiles in Cultural Games: A Case for Tensor Analytics in Julia" Big Data and Cognitive Computing 4, no. 4: 39. https://doi.org/10.3390/bdcc4040039

Article Metrics

Back to TopTop