<!DOCTYPE article PUBLIC "-//NLM//DTD JATS (Z39.96) Journal Archiving and Interchange DTD v1.0 20120330//EN" "JATS-archivearticle1.dtd">
<article xmlns:xlink="http://www.w3.org/1999/xlink">
  <front>
    <journal-meta />
    <article-meta>
      <title-group>
        <article-title>Towards Recognizing Abstract Activities: An Unsupervised Approach</article-title>
      </title-group>
      <contrib-group>
        <aff id="aff0">
          <label>0</label>
          <institution>Albert HEIN and Thomas KIRSTE Dept. of Computer Science University of Rostock 18059 Rostock</institution>
          ,
          <country country="DE">Germany</country>
        </aff>
      </contrib-group>
      <fpage>102</fpage>
      <lpage>114</lpage>
      <abstract>
        <p>The recognition of abstract high-level activities using wearable sensors is an important prerequisite for context aware mobile assistance, especially in AAL and medical care applications. A major difficulty in detecting this type of activities is that different activities often share similar motion patterns. One possible solution is to aggregate these activities from shorter, easier to detect base level actions, but the explicit annotation of these is not trivial and very time consuming. In this paper we introduce a simple clustering based method for the recognition of compound activities at a high level of abstraction using k-Means as an unsupervised learning algorithm. A general problem of these methods is that the resulting cluster affiliations are typically not human readable and some kind of interpretation is needed. To achieve this, we developed a hybrid approach using a generative probabilistic model built on top of the clusterer. We adapted a Hidden Markov Model for mapping the cluster memberships onto high-level activities and sucessfully evaluated the feasibility of this technique using experimental data from two test runs of a home care scenario showing a higher accuracy and robustness than conventional discriminative methods.</p>
      </abstract>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>1. Introduction</title>
      <p>Activity Recognition based on wearable sensors is a growing and fast changing field of
research and is widely seen as a major prerequisite for context aware computing and
mobile intelligent assistance systems. In our work we focus on assistive technology
supporting elderly people during ageing at home, a field of application often referred as
Ambient Assisted Living (AAL). But as technical aids cannot satisfy all requirements, at
some stage people depend on human medical care. An alternative to stationary treatment
is the professional ambulant elderly care at home. Especially this kind of service needs
accurate documentation of care activities to allow correct accounting for the health
insurances. The usual documentation process is to this day still done manually and takes
up to 40% of the working time, is error-prone and mostly inaccurate because it does not
happen in situ but afterwards. Our research tries to automate this documentation process
by recognizing these care activities.</p>
      <p>
        Using inertial measurement units consisting of accelerometers, gyroscopes,
magnetometers or combinations of them many research groups already reported successful
recognition of simple, often called "base level" activities [
        <xref ref-type="bibr" rid="ref1 ref2 ref3 ref4">1,2,3,4</xref>
        ]. Those natural
activities like walking, running, sitting, climbing stairs, etc. are characterized by a distinct
corresponding, often periodic motion pattern. In most cases simple discriminative
pattern recognition approaches, static classifiers like Support Vector Machines or Decision
Trees are sufficient for detecting this kind of activities at a surprisingly high rate.
Auxiliary generative models built upon the classifiers are mostly used as a kind of temporal
smoothing. Depending on the kind of activities to be detected usually only parameters
like extracted features and window lengths may vary. Unfortunately the care activities
are more complex.
      </p>
      <p>The recognition of higher-level activities still is a current research objective. These
are generally more abstract and artificially defined, compound activity sequences with
ambiguous motion patterns, where the described methods fail. Simple base-level actions
and motions are repeatedly shared between different activities. An example taken from
the care scenario would be the big vs. small morning toilet (washing whole body,
brushing teeth, shaving vs. only washing the body).</p>
      <p>Probabilistic models are capable of handling noisy, unsure and incomplete sensor
data and are able to include causal and temporal dependencies and prior knowledge into
the decision process which can, besides temporal smoothing, greatly enhance the
recognition rate of such complex activities. They are able to represent the compound
character at a higher level of abstraction making it possible to compose a compound activity
from several easily distinguishable base level actions like building a sentence from single
words. If supervised learning is used for the base level activity layer a very detailed
annotation of the underlying training material is essential. Each single action building block
like step, crouch, turn around, rotate wrist, lean forward, etc. must be tagged.
Selecting actions which are actually important or easily distinguishable (e.g. different types of
leaning forward) is a non-trivial, extremely time consuming and because of the available
sensor data a mostly unrealistic task which must be repeated for every single application
domain.</p>
      <p>Unsupervised machine learning techniques on the other hand don’t need any
annotated training data as they aim to find inherent structures. The main disadvantage of these
methods for the activity recognition task is that those structures - or clusters - are
generally not easily comprehensible as they don’t distinctly map to the anticipated activities.
Our approach uses generative probabilistic models for learning cluster memberships as
model state emissions to map them onto abstract activity classes.</p>
      <p>Our key contributions in this paper are: A novel method for recognizing very
abstract (arbitrarily defined) compound high-level activities containing shared and
repetitive occurring partial base level activities first published in this work. Furthermore we
reduced the annotation complexity through the use of unsupervised learning methods
needing only coarse annotation of the target activities for the overlying model. We realized
the interpretation of cluster affiliations, the inclusion of temporal and causal coherences
and of prior knowledge through a probabilistic model which is also capable of handling
very different sensor modalities and the automatic determination of model parameters
from training data considering individual linear reliability biases. Finally we evaluated
the feasibility of our approach regarding recognition accuracy and robustness where it
outperforms conventional supervised techniques.
Sensors</p>
      <p>Feature
Extraction</p>
      <p>Features
[fkt-·M· e·afnt+sδt] ltseu
r
C</p>
      <p>Clusters
ClusterinTgime (seconds)</p>
      <p>Classifier</p>
    </sec>
    <sec id="sec-2">
      <title>2. Technical Challenges</title>
      <p>NB
ttiicvyA
ititcyvA
While the recognition of basic low-level activTiimtei(esecsondsw)orks quTriutthe well using cTimle a(sescosndis)cal
patEstimate
tern recognition techniques, abstract and high-level activities are much more problematic
and the research at its beginnings. One can illustrate this problem imaginating a human
observer without special domain knowledge. While simply watching he can intuitively
distinguish between base-level actions due to their characteristic motion patterns, but he
would not be able to discriminate different abstract and arbitrarily defined activities as
he doesn’t know about their elementary base-level components.</p>
      <p>To summarize some general challenges:
• Interleaved or interrupted activities which are not executed sequentially
• Ambiguities between different activities sharing the same motions or gestures
• Variations in the activity performance between single or multiple subjects and
distortions by uninvolved persons
• Different levels of complexity between elementary or compound activities
• Different levels of granularity between coarse motion and fine grained gestures
A layered approach would address most of these problems by representing different
levels of abstraction by different model layers. Using discriminative supervised methods
for the underlying base-level recognition, as they have proven to be successful at this
task, brings out a new difficulty. Choosing relevant and easily distinguishable actions
and annotating them is non-trivial and very time consuming as already mentioned in the
introduction. Utilising unsupervised clustering methods avoids this problem, but does
not produce an interpretable classification result anymore, so some kind of mapping is
needed.</p>
    </sec>
    <sec id="sec-3">
      <title>3. Algorithms</title>
      <p>For detecting abstract compound and high-level activities we are following a hybrid
twolevel approach reflecting the inherent structure of the given activities. As they are
consisting of multiple base level actions corresponding to relatively easy to detect motion
patterns, we use an underlying unsupervised discriminative layer for identifying them.
As we are not interested in the actual sequence of these low-level actions but in the
highlevel activity trajectory these basic building blocks must be mapped to abstract activities
as we mentioned in the section before. For this task we assign the outputs of the
underlying layer as emissions of single states of a generative model (HMM), representing the
compound activities. An abstract overview of the system is given in Fig. 1.</p>
      <sec id="sec-3-1">
        <title>3.1. Related Work</title>
        <p>
          The idea of breaking the task of detecting activities into two steps is not new in
general. 2005 Lester et. al. [
          <xref ref-type="bibr" rid="ref1">1</xref>
          ] presented a related approach for detecting base level
activities which used a discriminative layer (boosted decision stumps) and a second layer of
HMMs as temporal smoothers. Wang et al. [
          <xref ref-type="bibr" rid="ref5">5</xref>
          ] increased the representational power of
the probabilistic model by adding a Dynamic Bayesian Network for including
temporal characteristics and RFID-based object detection. Our work extends these approaches
by using unsupervised learning for the basic actions and one single overlying HMM for
modelling and inferring the abstract activities.
        </p>
        <p>
          As noticed before the explicit labelling of each base level activity is extremely time
consuming and the selection of relevant and easy detectable classes is non-trivial, so an
unsupervised learning approach is highly desirable. Initial work of Huy`nh et al. [
          <xref ref-type="bibr" rid="ref6 ref7">6,7</xref>
          ]
(using multiple Eigenspaces) and Nguyen et al. [
          <xref ref-type="bibr" rid="ref8">8</xref>
          ] (a modified HMM based approach)
indicated that an unsupervised discovery of inherent structure in training data from
inertal sensors is feasible. Even simple k-Means clustering already showed good results
in grouping undefined activities [
          <xref ref-type="bibr" rid="ref9">9</xref>
          ]. As in general these inherent structures are not
directly corresponding to the appropriate activities. Hence Huy`nh et al. [
          <xref ref-type="bibr" rid="ref10">10</xref>
          ] extended the
k-Means clustering method with histogram based temporal smoothing and statistical
classifiers (Nearest Neighbours and SVM) for assigning them to the appropriate activity,
achieving recognition rates about 92% for three high level activities and compared them
to a less successful HMM working on the raw sensor data.
        </p>
      </sec>
      <sec id="sec-3-2">
        <title>3.2. Algorithmic Details</title>
        <p>
          The individual raw sensor data channels are being synchronized and then processed in
the feature extraction module. This module calculates 562 different features from half
overlapping windows of 1.28s, consisting of frequency domain, statistical, curve,
physical, correlation and step detection features (for a detailed explanation see [
          <xref ref-type="bibr" rid="ref11">11</xref>
          ]).
        </p>
        <p>
          In this work we also utilize the k-Means clustering algorithm for autonomous
identification and detection of simple base level motion patterns as it showed promising
behaviour in prior work [
          <xref ref-type="bibr" rid="ref10 ref9">9,10</xref>
          ], is easy to implement and resource-friendly, which is
important for mobile devices. As a comparison between supervised and unsupervised methods
we also evaluate Naive Bayes, the C4.5 Decision Tree and a Support Vector Machine as
statistical classifiers which all proved to be successful in terms of activity recognition.
        </p>
        <p>Above this layer the Hidden Markov Model is used for the interpretation of the
cluster affiliations. Every hidden state represents one high level activity and emits a cluster
membership at a certain probability each timestep. Therefore the model keeps an
emission probability table containing multinomial distributions for each state. The individual
transition probabilities reflect the likeliness of a state transition and implicitly model the
duration of the given activities through self referencing (loops). Together with the prior
probabilities this unveils a major problem of HMMs - the huge number of parameters to
set which normally is done initially and then refined using an Expectation Maximization
algorithm.</p>
        <p>
          In our approach we determine these parameters analytically from the training data
in a preprocess. That typically produces an optimal and therefore overfitted model which
represents the training examples best but does not generalize on unseen data. For this
reason we are using an ad-hoc regularization mechanism inspired by the Regularized
Discriminant Analysis (see [
          <xref ref-type="bibr" rid="ref12">12</xref>
          ], pp. 90-91). Therefore we introduced regularization factors
λprior for prior, λtrans transition and λobs emission observation probabilities (Eq. 1 to
3 shows how final priorP (St), state transition P (St|St−1) and observation probabilities
P (O|St) are obtained from weighted probabilities precalculated from the training data
and equally distributed probabilities). This results in weighting factors between λ = 0
(equally distributed / no training data) and λ = 1 (perfect fit to training data) which
allows a simple and intuitive manual control over the reliability of the model
parameters given the individual uncertainty. This way the model can be made resistant against
unsure, noisy and incomplete data.
        </p>
        <p>P (St) = λprior · P (St)calc + (1 − λprior) · P (St)equal
P (St|St−1) = λtrans · P (St|St−1)calc + (1 − λtrans) · P (St|St−1)equal
P (O|St) = λobs · P (O|St)calc + (1 − λobs) · P (O|St)equal
(1)
(2)
(3)</p>
        <p>
          Another advantage – not regarded in this paper, as the focus lies on IMU1 tracking,
but in prior work – is the possible inclusion of different sensor modalities on various
time bases (e.g. event based), particularly RFID object detection (see [
          <xref ref-type="bibr" rid="ref13 ref14 ref15 ref5">13,5,14,15</xref>
          ]). As
we suspect the state-conditional distributions of the observations to be non-gaussian and
multimodal in the general case, we are relying on a sample based modelling approach.
Therefore we use the HMM in conjunction with a particle filter [
          <xref ref-type="bibr" rid="ref16">16</xref>
          ].
        </p>
      </sec>
    </sec>
    <sec id="sec-4">
      <title>4. Experimental Setup and Sensors</title>
      <p>The following experiment was conducted to evaluate the feasibility of our unsupervised
approach for recognizing sufficiently realistic health care activities. The chosen repertory
only consists of compound activities at a high level of abstraction by trying to consider
all of the challenges specified in section 2. As we were interested in a general proof of
concept, we were not doing tests out of lab with authentic subjects inside a nursing home
at this early stage. It is best practice to carry out initial experiments in a controllable
environment under optimal observability. Therefore the test runs have additionally been
accompanied by video and audio surveillance to facilitate later manual annotation of the
ground truth.</p>
      <p>For our setting we roughly rebuilt the floor plan of an apartment consisting of a
bedroom, a bathroom, a living room and a kichenette in our laboratory. The test runs were
performed by professional care personnel (a geriatric nurse) and a student who helped
out as a patient. The scenery was observed by a fisheye and a ceiling mounted dome
camera (Example still frames see Fig 2). A general preselection of care activities was given,
as this is common for a care plan. The test agenda and the scenario have been developed
in close cooperation with a nursing service, which also provided authentic equipment for
the tests. We have sampled two runs of an authentic sequence of morning care activities
taken from a real person. The activities were directly taken from the service accounting
catalogue of the health insurances: "general service" (greeting, fetching newspaper, ...),
1Inertial Measurement Unit
"big morning toilet" (including washing whole body, brushing teeth), "micturition and
defecation", "administration of medications", "bandaging", "preparation of food" and
"documentation". We collected 14min (317mb) and 12 minutes (289mb) of raw data.
Additionally the experimental environment was equipped with RFID tags to support object
interaction detection, which is not in the focus of this paper. To avoid biasing, the test
subjects were not involved in planning and setting up the experiment or analyzing the
data afterwards in any way. Each subject was instructed to behave as natural as possible
and to try to ignore the attached sensors.</p>
      <p>
        We used three SparkFun IMU 6-DOF v3 sensor boards for our data collection. These
are equipped with a 3-axis Freescale MMA7260Q accelerometer, 3-axis InvenSense
IDG300 gyroscopes and a 2-axis Honeywell HMC1043 magnetometer. The LPC2138
ARM7 microcontroller is also capable of preprocessing the raw data onboard. We used
the IMU to sample relative motion and rotation at a rate of 50Hz at a range of 6g to fully
capture normal human motion as described in [
        <xref ref-type="bibr" rid="ref17">17</xref>
        ]. The raw data was instantaneously
transmitted via a class 1 bluetooth link with a max. operating distance of 30 to 100m.
Because of the compact size (51x41x23mm) the board could be attached at
unobtrusive positiones: at the dominant wrist for recording gestures and object motion, at the
chest/upper back and at the hip. These sensor positions have been shown to operate well
in the literature and in own prior work [
        <xref ref-type="bibr" rid="ref2 ref3 ref4">2,3,4</xref>
        ].
      </p>
      <p>For our initial tests we were recording raw data with a probably higher number of
sensors than actually required for the final appliance, so that it is possible to evaluate
single sensor channels or combinations of subsets afterwards on the original sensor data
later. All data streams were wirelessly transmitted to a laptop computer where they were
immediately formatted, synchronized and saved to disk.</p>
    </sec>
    <sec id="sec-5">
      <title>5. Evaluation</title>
      <p>Three different aspects were regarded during the evaluation of the clustering/model
algorithm. At first the best fitting number of underlying clusters was determined, then the
accuracy of the clustering approach was compared to conventional statistical classifiers
using the same abstract model. At last the robustness was tested by applying a model
trained on the first test run to the second. During this test optimal values for the model
regularization factors λobs and λtrans were determined. For all experiments the decoding
of the HMM was done using a particle filter with 100000 particles.</p>
      <sec id="sec-5-1">
        <title>5.1. Determining the optimal number of clusters</title>
        <p>The main idea behind the clustering approach is that all clusters represent single base
level actions which are the building blocks of the abstract activities. These actions are not
predefined, so the number of clusters/actions is an important parameter, as thek-Means
clustering algorithm is not able to find an optimal number of clusters itself but needs a
preset value for k. An optimal value will maximize the recognition accuracy of the whole
model.</p>
        <p>
          Finding the best value seems to be a typical task for the expectation maximization
algorithm. In this case the EM based parameter optimization fails as it leads to massive
overfitting. As too high values ofk simply allow to memorize specific training examples
which produces nearly perfect recognition rates, the EM algorithm simply increases k
until nearly each training example is represented by a single cluster. Hence we decided
to manually choose a value for k following the best practice of increasing k stepwise and
choosing the first local maximum ("kink", see [
          <xref ref-type="bibr" rid="ref12">12</xref>
          ], pp. 461-472) after which the ascent
of the recognition rate starts to flatten. This was done for both care test runs, resulting
in an optimal value of k = 35 (Tab. 1). For both test runs the model regularization
factors λprior, λtrans and λobs were set to 1 which equates a perfectly fitting model
with full trust in the sensor data and model probabilities to provide theoretically ideal
test conditions as we were only interested in the underlying clustering parameters at
this stage.The tests were conducted using a 10-fold stratified cross validation to ensure
a realistic estimization of the generalization error. Confusion matrices for k = 35 are
shown in Tab. 2. Notice that activity 6 ("documentation") was not carried out in the first
test run.
        </p>
      </sec>
      <sec id="sec-5-2">
        <title>5.2. Comparison of Supervised and Unsupervised Approaches</title>
        <p>After estimating the performance of the unsupervised clustering approach, we were
interested in how it compares to other conventional methods used in own and related prior
work. Therefore we simply replaced the k-Means Clusterer with several relevant
supervised learners while keeping the model. The same training data was learned by
statistical classifiers regarding the given annotated activity classes. Then the model parameters
were set equally to the unsupervised approach, again with λprior, λtrans and λobs set
to 1, and again cross validated. This proceeding assures direct comparability of the
underlying learning algorithms. As statistical classifiers we chose the C4.5 decision tree, a
Support Vector Machine (SVM) and Naive Bayes (NB). Table 3 shows the recognition
results of all four methods for both test runs. For the k-Means k was set to 35 (see above).</p>
        <p>C4.5
Support Vector Machine
Naive Bayes
k-Means (k = 35)</p>
        <p>For both test runs C4.5 and SVM showed a comparable recognition accuracy about
96% while Naive Bayes results were settled at 77% / 71% respectively. The best
recognition rates were achieved by the embedded clusterer by far with a recognition rate around
98% / 96%.</p>
        <p>The detailed results of this comparison on a continuous time trace are illustrated in
Fig. 3. The left side shows the outputs of the first layer which are the cluster affiliations
(k-Means) or class memberships (statistical classifiers). It can be clearly seen that the
k = 35 clusters do not correspond to the anticipated activity classes, while the output
of the C4.5, SVM and Naive Bayes represents the actual activities although being very
noisy. On the right the final outputs of the models are shown in comparison to the ground
truth.</p>
      </sec>
      <sec id="sec-5-3">
        <title>5.3. Robustness Experiments</title>
        <p>As the recognition accuracy of a model trained and evaluated on a single experiment
does not give any information regarding the robustness and generalized performance on
completely unseen activity sequences we estimated the general recognition rate with a
clusterer/model trained on the first test run and applied it to the second. This method is
rather brute force and can just give a hint on the real generalization performance due
to the lack of sufficient training data. For getting a more realistic estimation it would
be necessary to record a higher number of test runs and evaluate the recognition system
using leave-one-out cross validation.</p>
        <p>For estimating the achievable performance we had to determine the optimal
regularization factors λprior, λtrans and λobs, as a model 100% adapted to one test run is
unable to explain a differing second one. Factor λprior was left constant because the
prior probabilities in both test cases were the same, so a variation did not have any effect.
k-Means</p>
        <p>C4.5
SVM
NB
ltrseu
C
y
itit
cv
A
y
itit
cv
A
y
iitt
cv
A
y
iitt
cv
A
y
itit
cv
A
y
itit
cv
A
y
titi
cv</p>
        <p>A
Time (seconds)
Time (seconds)
Classifier</p>
        <p>Model
The regularization factors λtrans (representing the trust in the transition probabilities of
the model) and λobs (representing the trust in the cluster assignments) were gradually
altered. The size of the steps was decreased in regions where the changes in performance
were more significant.λtrans = 1.00 was not applicable in this test as the model did not
allow any temporal changes in the activity trajectory of the test run, which causes the
particle filter to make all particles die immediately at the first time the observations don’t
fit the states anymore.</p>
        <p>The actual recognition results are illustrated in Tab. 4 and Fig. 4. The best
performance was achieved for λtrans = 0.99 and λobs = 0.05. We were surprised by the
relatively high recognition rate of about 75%. As we observed a very high variance in the
performance of the test subject we were expecting a very low accuracy. A closer look at
the regularization factors shows that recognition results are significantly better when the
trust in the model state transition is very high and far away from equally distributed. The
optimal trust in the cluster affiliation observation is relatively low and settled around 5%</p>
        <p>75,6%
which indicated two things: First, the implicit knowledge saved in the generative model
is of superior importance for the robust recognition of abstract activities. Second, the
variability in the execution of the two test runs was very high, resulting in highly
differentiating cluster affiliation probabilities for the activities of both test runs which again
could be expected due to the high variability in execution. Although the trust in cluster
observations is relatively low the clustering is an essential step. Letting λobs converge to
zero the recognition rate rapidly falls off with an activity trajectory ending in a flat line
or complete chaos respectively.</p>
        <p>Besides the high executional variety, the diagram (Fig. 5) and the confusion matrix
(Tab. 5) reveal some further problems: First, the test subject did not make any
documentation in the first test run, so the model was not trained on this activity and unable to detect
it. Therefore it interpreted "documentation" (activity 6) as "general service" (activity 1).
Second: Some activities just had a very small number of training examples, which itself
already causes some fundamental problems for machine learning algorithms, especially
in a high dimensional feature space, regardless the applied learning method.</p>
        <p>If we again compare the clustering approach to the supervised methods the clustering
method significantly outperforms the conventional methods by more than 40% (Tab. 6).</p>
        <p>Time (seconds)</p>
        <p>A surprising exception seems to be the Naive Bayes Classifier with a recognition rate of
more than 80%. Unfortunately a closer look unveils the "fraud". The output classes of
the classifier caused the HMM to simply detect the two most common activities ("big
morning toilet" and "bandaging") which make about 80% of the recorded data and ignore
the rest. Hence this approach is completely unusable, although the recognition rate seems
exceptionally high.</p>
        <p>C4.5
Support Vector Machine
Naive Bayes
k-Means (k = 35)
care1 → care2</p>
      </sec>
    </sec>
    <sec id="sec-6">
      <title>6. Conclusion</title>
      <p>The major goal of this paper was to evaluate the feasibility of a simple clustering based
method for the recognition of compound activities at a high level of abstraction. As one of
the main difficulties in detecting this type of activities are similar motion patterns shared
between multiple activities we proceeded to aggregate these activities from shorter, easier
to detect base level actions. As the explicit annotation of these is not trivial and very
time consuming we were looking for an unsupervised learning algorithm. A general
problem of these methods is that the resulting cluster affiliations are typically not human
readable and some kind of interpretation is needed. To achieve this, we developed a
hybrid method using a generative probabilistic model built on top of the clusterer. We
adapted a Hidden Markov Model for mapping the cluster memberships onto high level
activities and evaluated this technique using experimental data from two test runs of a
home care scenario. A welcome side effect of this type of model is the ability to also
include knowledge about temporal and causal dependencies.</p>
      <p>It could be shown that the hybrid k-Means/HMM approach outperforms classical
hybrid discriminative/generative methods built upon statistical classifiers significantly in
terms of accuracy and robustness. It was found that best overall results could be obtained
at a number of about 35 clusters which shows that already about 35 base level actions are
able to disambiguate the anticipated high level activities successfully. When using the
trained model on a completely unseen test run the recognition accuracy noticably drops
from about 96% to 75%, which is still much above random guessing (14%) and above the
conventional approaches (31%, Naive Bayes’ impressive "bogus" results disregarded).
We expect this value to be better in future experiments, as we were relying on very
few training data which overemphasized the variability between both test runs. The bad
recognition results of the statistical classifiers suggest that conventional methods trying
to handle compound activities in a monolithic manner are inappropriate in principle as
they do not generalize well.</p>
      <p>As k-Means is a very simple algorithm we do not expect it to be the method of
choice in general, other clusterers may be even more successful. Probably also supervised
learning methods can outperform this simple approach, provided that the appropriate
base level actions have been annotated in advance, but as mentioned before this would
not be practicable.</p>
      <p>We also proposed a simple method for automatically determining the necessary
model parameters without time consuming learning under consideration of a few
intuitive regularization factors comparable to laplacian correction.</p>
      <p>Due to the limited amount of data our results can just be seen as initial steps towards
an approach for recognizing abstract high level activities in a manner requiring much
less supervision. The next logical step will be collecting a much larger and more realistic
out-of-lab dataset recorded during the day to day work inside a nursing home.</p>
      <p>
        We noticed one general disadvantage of the chosen HMM during the evaluation. As
the state transition probabilities include both the probability of switching to the next state
and the average duration of the current state, the interpretation of this transition matrix
is somehow inconvenient and not very handy. Hence we have already started to modify
our model to explicitly incorporate state durations disentangled from state switching
probabilities. Another thing we are currently investigating is the integration of partial
order task models into the modelling process.
The project MArika [
        <xref ref-type="bibr" rid="ref18">18</xref>
        ] is funded by the state of Mecklenburg-Vorpommern,
Germany within the scope of the LFS-MA project. The care experiments were supported by
Informatik-Forum Rostock e.V..
      </p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          [1]
          <string-name>
            <given-names>J.</given-names>
            <surname>Lester</surname>
          </string-name>
          ,
          <string-name>
            <given-names>T.</given-names>
            <surname>Choudhury</surname>
          </string-name>
          ,
          <string-name>
            <given-names>N.</given-names>
            <surname>Kern</surname>
          </string-name>
          , G. Borriello, and
          <string-name>
            <given-names>B.</given-names>
            <surname>Hannaford</surname>
          </string-name>
          , “
          <article-title>A hybrid discriminative/generative approach for modeling human activities,” in IJCAI (L. P. Kaelbling and A</article-title>
          . Saffiotti, eds.), pp.
          <fpage>766</fpage>
          -
          <lpage>772</lpage>
          , Professional Book Center,
          <year>2005</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          [2]
          <string-name>
            <given-names>J.</given-names>
            <surname>Parkka</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Ermes</surname>
          </string-name>
          ,
          <string-name>
            <given-names>P.</given-names>
            <surname>Korpipaa</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J.</given-names>
            <surname>Mantyjarvi</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J.</given-names>
            <surname>Peltola</surname>
          </string-name>
          ,
          <string-name>
            <surname>and I. Korhonen</surname>
          </string-name>
          , “
          <article-title>Activity classification using realistic data from wearable sensors,” Information Technology in Biomedicine, IEEE Transactions on</article-title>
          , vol.
          <volume>10</volume>
          , no.
          <issue>1</issue>
          , pp.
          <fpage>119</fpage>
          -
          <lpage>128</lpage>
          , Jan.
          <year>2006</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          [3]
          <string-name>
            <given-names>N.</given-names>
            <surname>Ravi</surname>
          </string-name>
          ,
          <string-name>
            <given-names>N.</given-names>
            <surname>Dandekar</surname>
          </string-name>
          ,
          <string-name>
            <given-names>P.</given-names>
            <surname>Mysore</surname>
          </string-name>
          , and
          <string-name>
            <given-names>M. L.</given-names>
            <surname>Littman</surname>
          </string-name>
          , “
          <article-title>Activity recognition from accelerometer data,” in</article-title>
          <string-name>
            <surname>AAAI (M. M. Veloso</surname>
          </string-name>
          and S. Kambhampati, eds.), pp.
          <fpage>1541</fpage>
          -
          <lpage>1546</lpage>
          , AAAI Press / The MIT Press,
          <year>2005</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          [4]
          <string-name>
            <given-names>L.</given-names>
            <surname>Bao</surname>
          </string-name>
          and
          <string-name>
            <given-names>S. S.</given-names>
            <surname>Intille</surname>
          </string-name>
          , “
          <article-title>Activity recognition from user-annotated acceleration data,” in Pervasive (A. Ferscha and F</article-title>
          . Mattern, eds.), vol.
          <volume>3001</volume>
          of Lecture Notes in Computer Science, pp.
          <fpage>1</fpage>
          -
          <lpage>17</lpage>
          , Springer,
          <year>2004</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          [5]
          <string-name>
            <given-names>S.</given-names>
            <surname>Wang</surname>
          </string-name>
          ,
          <string-name>
            <given-names>W.</given-names>
            <surname>Pentney</surname>
          </string-name>
          ,
          <string-name>
            <surname>A.-M. Popescu</surname>
            ,
            <given-names>T.</given-names>
          </string-name>
          <string-name>
            <surname>Choudhury</surname>
            , and
            <given-names>M.</given-names>
          </string-name>
          <string-name>
            <surname>Philipose</surname>
          </string-name>
          , “
          <article-title>Common sense based joint training of human activity recognizers,” in</article-title>
          <string-name>
            <surname>IJCAI (M. M. Veloso</surname>
          </string-name>
          , ed.), pp.
          <fpage>2237</fpage>
          -
          <lpage>2242</lpage>
          ,
          <year>2007</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          [6]
          <string-name>
            <given-names>T.</given-names>
            <surname>Huynh</surname>
          </string-name>
          and
          <string-name>
            <given-names>B.</given-names>
            <surname>Schiele</surname>
          </string-name>
          , “
          <article-title>Unsupervised discovery of structure in activity data using multiple eigenspaces</article-title>
          ,” in 2nd International Workshop on Location- and
          <string-name>
            <surname>Context-Awareness</surname>
          </string-name>
          (LoCA), (Dublin, Ireland), Springer, May
          <year>2006</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          [7]
          <string-name>
            <given-names>T.</given-names>
            <surname>Huynh</surname>
          </string-name>
          and
          <string-name>
            <given-names>B.</given-names>
            <surname>Schiele</surname>
          </string-name>
          , “
          <article-title>Towards less supervision in activity recognition form wearable sensors</article-title>
          ,”
          <source>in Proceedings of the 10th IEEE International Symposium on Wearable Computing (ISWC)</source>
          , (Montreux, Switzerland),
          <year>October 2006</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          [8]
          <string-name>
            <given-names>A.</given-names>
            <surname>Nguyen</surname>
          </string-name>
          ,
          <string-name>
            <given-names>D.</given-names>
            <surname>Moore</surname>
          </string-name>
          ,
          <string-name>
            <surname>and I. McCowan</surname>
          </string-name>
          , “
          <article-title>Unsupervised clustering of free-living human activities using ambulatory accelerometry</article-title>
          ,
          <source>” Engineering in Medicine and Biology Society</source>
          ,
          <year>2007</year>
          .
          <source>EMBS 2007. 29th Annual International Conference of the IEEE</source>
          , pp.
          <fpage>4895</fpage>
          -
          <lpage>4898</lpage>
          ,
          <fpage>22</fpage>
          -
          <lpage>26</lpage>
          Aug.
          <year>2007</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref9">
        <mixed-citation>
          [9]
          <string-name>
            <given-names>T.</given-names>
            <surname>Huynh</surname>
          </string-name>
          and
          <string-name>
            <given-names>B.</given-names>
            <surname>Schiele</surname>
          </string-name>
          , “
          <article-title>Analyzing features for activity recognition,” in Proceedings of the 2005 joint conference on Smart objects and ambient intelligence: innovative context-aware services: usages and technologies</article-title>
          , (Grenoble, France), pp.
          <fpage>159</fpage>
          -
          <lpage>163</lpage>
          , ACM Press New York, NY, USA,
          <year>2005</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref10">
        <mixed-citation>
          [10]
          <string-name>
            <given-names>T.</given-names>
            <surname>Huynh</surname>
          </string-name>
          ,
          <string-name>
            <given-names>U.</given-names>
            <surname>Blanke</surname>
          </string-name>
          , and
          <string-name>
            <given-names>B.</given-names>
            <surname>Schiele</surname>
          </string-name>
          , “
          <article-title>Scalable recognition of daily activities with wearable sensors,” in 3rd International Symposium on Location-</article-title>
          and
          <string-name>
            <surname>Context-Awareness (LoCA)</surname>
          </string-name>
          ,
          <year>2007</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref11">
        <mixed-citation>
          [11]
          <string-name>
            <given-names>A.</given-names>
            <surname>Hein</surname>
          </string-name>
          , “
          <article-title>Echtzeitfähige merkmalsgewinnung von beschleunigungswerten und klassifikation von zyklischen bewegungen,” Master's thesis</article-title>
          , University of Rostock, 11
          <year>2007</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref12">
        <mixed-citation>
          [12]
          <string-name>
            <given-names>T.</given-names>
            <surname>Hastie</surname>
          </string-name>
          ,
          <string-name>
            <given-names>R.</given-names>
            <surname>Tibshirani</surname>
          </string-name>
          , and
          <string-name>
            <given-names>J. H.</given-names>
            <surname>Friedman</surname>
          </string-name>
          ,
          <source>The Elements of Statistical Learning</source>
          . Springer,
          <year>August 2001</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref13">
        <mixed-citation>
          [13]
          <string-name>
            <given-names>D. J.</given-names>
            <surname>Patterson</surname>
          </string-name>
          ,
          <string-name>
            <given-names>D.</given-names>
            <surname>Fox</surname>
          </string-name>
          ,
          <string-name>
            <given-names>H.</given-names>
            <surname>Kautz</surname>
          </string-name>
          , and
          <string-name>
            <given-names>M.</given-names>
            <surname>Philipose</surname>
          </string-name>
          , “
          <article-title>Sporadic state estimation for general activity inference,” tech</article-title>
          . rep., University of Washington and Intel Research Seattle,
          <year>July 2004</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref14">
        <mixed-citation>
          [14]
          <string-name>
            <given-names>D. J.</given-names>
            <surname>Patterson</surname>
          </string-name>
          ,
          <string-name>
            <given-names>D.</given-names>
            <surname>Fox</surname>
          </string-name>
          ,
          <string-name>
            <given-names>H.</given-names>
            <surname>Kautz</surname>
          </string-name>
          , and
          <string-name>
            <given-names>M.</given-names>
            <surname>Philipose</surname>
          </string-name>
          , “
          <article-title>Fine-grained activity recognition by aggregating abstract object usage,” iswc</article-title>
          , vol.
          <volume>0</volume>
          , pp.
          <fpage>44</fpage>
          -
          <lpage>51</lpage>
          ,
          <year>2005</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref15">
        <mixed-citation>
          [15]
          <string-name>
            <given-names>A.</given-names>
            <surname>Hein</surname>
          </string-name>
          and
          <string-name>
            <given-names>T.</given-names>
            <surname>Kirste</surname>
          </string-name>
          , “
          <article-title>Activity recognition for ambient assisted living: Potential and challenges,” in Ambient Assisted Living Ambient Assisted Living Ambient Assisted Living</article-title>
          , pp.
          <fpage>263</fpage>
          -
          <lpage>268</lpage>
          , VDE Verlag,
          <year>01 2008</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref16">
        <mixed-citation>
          [16]
          <string-name>
            <given-names>M.</given-names>
            <surname>Arulampalam</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S.</given-names>
            <surname>Maskell</surname>
          </string-name>
          ,
          <string-name>
            <given-names>N.</given-names>
            <surname>Gordon</surname>
          </string-name>
          , and T. Clapp, “
          <article-title>A tutorial on particle filters for online nonlinear/non-gaussian bayesian tracking,” Signal Processing</article-title>
          ,
          <source>IEEE Transactions on [see also Acoustics</source>
          , Speech, and Signal Processing, IEEE Transactions on], vol.
          <volume>50</volume>
          , no.
          <issue>2</issue>
          , pp.
          <fpage>174</fpage>
          -
          <lpage>188</lpage>
          ,
          <year>Feb 2002</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref17">
        <mixed-citation>
          [17]
          <string-name>
            <given-names>C.</given-names>
            <surname>Bouten</surname>
          </string-name>
          ,
          <string-name>
            <given-names>K.</given-names>
            <surname>Koekkoek</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Verduin</surname>
          </string-name>
          ,
          <string-name>
            <given-names>R.</given-names>
            <surname>Kodde</surname>
          </string-name>
          , and
          <string-name>
            <given-names>J.</given-names>
            <surname>Janssen</surname>
          </string-name>
          , “
          <article-title>A triaxial accelerometer and portable data processing unit for the assessment of daily physical activity,” Biomedical Engineering</article-title>
          , IEEE Transactions on, vol.
          <volume>44</volume>
          , no.
          <issue>3</issue>
          , pp.
          <fpage>136</fpage>
          -
          <lpage>147</lpage>
          ,
          <year>Mar 1997</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref18">
        <mixed-citation>
          [18] “Landesforschongsschwerpunkt http://marika.lfs-ma.de/,” April
          <year>2008</year>
          .
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>