




Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!





Activity recognition is a key component for creating intel- ligent, multi-agent systems. Intrinsically, activity recogni- tion is a temporal classification problem. In this paper, we compare two models for temporal classification: hidden Markov models (HMMs), which have long been applied to the activity recognition problem, and conditional random fields (CRFs). CRFs are discriminative models for label- ing sequences. They condition on the entire observation sequence, which avoids the need for independence assump- tions between observations. Conditioning on the observa- tions vastly expands the set of features that can be incorpo- rated into the model without violating its assumptions. Us- ing data from a simulated robot tag domain, chosen because it is multi-agent and produces complex interactions between observations, we explore the differences in performance be- tween the discriminatively trained CRF and the generative HMM. Additionally, we examine the effect of incorporating features which violate independence assumptions between observations; such features are typically necessary for high classification accuracy. We find that the discriminatively trained CRF performs as well as or better than an HMM even when the model features do not violate the indepen- dence assumptions of the HMM. In cases where features de- pend on observations from many time steps, we confirm that CRFs are robust against any degradation in performance.
I.2.6 [Artificial Intelligence]: Learning—Machine Learn- ing
Algorithms, Design, Performance
Conditional Random Fields (CRFs), Activity Recognition, Hidden Markov Models (HMMs)
Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. To copy otherwise, to republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. AAMAS’07 May 14–18 2007, Honolulu, Hawai’i, USA. Copyright 2007 ACM X-XXXXX-XX-X/XX/XX ...$5.00.
In order to act effectively in the presence of others, an agent requires information about the other actors in its en- vironment. Often, these other agents are either neutral, e.g. shoppers oblivious to a security camera, or hostile, e.g. an opposing team in robot soccer [3], towards the agent. In such cases, when an agent cannot rely on others to com- municate their goals and behaviors, it must rely on activity recognition to form beliefs from its observations over time. It follows then that activity recognition is a temporal clas- sification problem; an agent must generate a sequence of labels, identifying the roles or behaviors of the other agents, given a sequence of observations. In this paper, we compare two models for temporal clas- sification: hidden Markov models (HMMs) [9] and condi- tional random fields (CRFs) [5]. Hidden Markov models have a long history of use in activity recognition, e.g. [2, 11, 14], while conditional random fields, a more recent model, are just now expanding outside of their original natural lan- guage processing context into a range of areas such as image processing [4], gesture recognition [13], motion tracking [10], and activity recognition [6]. Studying CRFs and their ap- plication to this last domain is the focus of this paper. Achieving high classification accuracy in complex tasks, such as activity recognition, often requires the use of do- main knowledge to construct sophisticated features of the input observations. Such features typically incorporate in- formation from more than a single time step. Features that span time steps violate the independence assumptions of the HMM, but not those of the CRF. We investigate whether or not this affects classification accuracy in either model. In addition to considering features over multiple time steps, we also examine features that link state transitions in the model directly to observations. Such features are difficult to represent in an HMM due to the way it factorizes prob- abilities. We investigate the utility of such features to see whether this difference in representational power can affect classification accuracy in practice. In addition to considering features which violate the in- dependence assumptions of an HMM or features that are difficult to represent in an HMM, we also consider the dif- ference between discriminative and generative models for activity recognition. Specifically, we investigate the case where a CRF and an HMM are constructed using identi- cal features. Results in [8], which examines discriminative- generative pairs of models using logistic regression and naive Bayes classifiers, suggest that a CRF should provide higher classification accuracy than an HMM, even when both mod-
Figure 1: A scale representation of the robot tag domain. A single seeker robot (black circle) tries to tag one of the other two players by approaching to within 4 cm. In a simplified variant of the domain, the non-seeker robots follow an hourglass pattern. In an unconstrained variant, the non-seeker robots choose random target points in the playing area and navigate to those points.
els contain identical features. This is because CRFs and HMMs can be viewed as a discriminative-generative pair of models; later, we will provide the construction for converting an HMM into a CRF. And, as [8] demonstrated, discrimina- tive models tend to have lower asymptotic error rates than their generative counterparts. In the next section, we introduce the simulated robot tag domain that we used in our experiments. We motivate the design and properties of the tag domain in the context of activity recognition as a general problem. Following our domain description, we present an overview of conditional random fields, again in the context of activity recognition, before presenting experimental results..
We created a simulation domain inspired by the children’s game of Tag. In this domain, three robots move about on a playing field. Two of these robots take on passive roles where they navigate to a series of points on the field, oblivious to the actions of the other robots. The third robot takes an active role, which we call being the seeker. The seeker robot attempts to tag its closest neighbor and thereby transfer the seeker role to the tagged robot. Tag, in our domain, simply means approach within 4 cm of the target robot. To provide a sense of scale, the playing area is 3.5 by 4 meters in size and the robots are 20 cm in diameter. The domain is illustrated in figure 1. We designed the robot tag domain to capture several real aspects of the activity recognition problem. The primary property of the domain is that we expect models built around the raw observations, i.e. the positions of the three robots, to perform poorly. On the other hand, we expect models
built around carefully crafted feature functions, which take the raw observations as inputs, to perform well. The need for sophisticated features that distill meaning from the stream of raw sensor readings is a general requirement and applies to most activity recognition problems. The robot tag domain, again like many activity recogni- tion problems, has non-Markovian state transition dynam- ics. The role of seeker does not pass between the robots according to a multinomial distribution that is sampled at each time step. Instead, a single robot will remain the seeker for a period of time until it tags another robot. That is, the system state cannot transition until specific constraints are met. The constraints vary widely across activity recogni- tion tasks, but often activities do have termination criteria. Models can exploit the ability to recognize these termination conditions in order to improve classification accuracy. The final property of activity recognition that entered into the domain design is simply the fact that some activities are easier to recognize than others. As we will describe, some portions of the seeker’s behavior are much easier to capture with a model than others. Specifically, when a robot is first tagged, it pauses in place for a moment before it begins to chase the other robots. It is trivial to recognize this initial paused state. However, once the seeker begins to pursue a target, it becomes much harder to identify; when the seeker is moving, the observations reveal three robots all executing “Navigate-to-point” behaviors. It just happens that the seeker chooses the current position of its target at each time step rather than a fixed point on the field. In addition to creating easy and difficult portions of the seeker’s behavior to identify, we also created two variants of the tag domain, one simple and one more complex, by giving the non-seeker robots two different strategies to use when selecting target points on the field. In the first variant, which we call the hourglass variant, the robots choose points so that they trace out an hourglass pattern in the arena (see figure 1). Each robot chooses the next point in the pattern, navigates to that point, and then selects a new point as its target. The only variation is when the seeker robot is located in the target quadrant of the playing field. In these cases, the robot chooses to move vertically rather than following the pattern in the correct order. However, once a target point has been picked, the robot navigates to that point regardless of the seeker’s position. With the second point selection strategy, which we call the unconstrained variant, the non-seeker robots choose random points anywhere on the playing field. Although we say this variant is unconstrained, target points that fall within 1 me- ter of the seeker will be rejected and a new random target picked until a suitable point is found. However, since the seeker moves, over time, any point in the player area may be chosen as a target. Once the target is chosen, the robots navigate to that position regardless of seeker position and only choose a new target once they have reached their des- tination. As previously stated, when a robot is tagged (when the seeker approaches within 4 cm of it) and assumes the seeker role, it pauses in place for 5 seconds. This pause allows the previous seeker to move away rather than immediately being tagged in return.
maximum likelihood training, it is more convenient to max- imize the log likelihood, which, along with its gradient, is:
t=
w · f (t, yt− 1 , yt, X) − log(Z)
d` dwi
t=
fi(t, yt− 1 , yt, X) −
Y
P (Y |X) · fi(t, yt− 1 , yt, X)
The functional form of the gradient supplies intuition about the model. The gradient will be equal to zero at the max- imum likelihood solution. In order for this to be true, the empirical sum of each feature - the expected value of the fea- ture according to the training set - must equal the expected value of that same feature under the model. Also of note, the gradient computation involves an exponential sum over all possible sequences; again, there is an efficient dynamic programming algorithm that computes this sum when a first order Markov assumption on the labels is made. As for training, given a function and its gradient, train- ing the model becomes a matter of numerical optimization. In the case of CRFs, the objective function is convex and first order methods, such as gradient ascent are directly ap- plicable, although in practice more efficient algorithms such as conjugate gradient offer better performance. In addi- tion to first order methods, an approximate second order method, Limited Memory BFGS [7], has also been used suc- cessfully [16, 12].
3.2 From HMM to CRF
In this section, we describe how to translate a hidden Markov model into the feature functions and weights of a conditional random field. This transformation illustrates that CRFs and HMMs form a discriminative-generative pair and also provides intuition about how feature functions can encode domain information such as state transition proba- bilities using the natural parameterizations of the exponen- tial family of models. Our goal is to convert:
Y^ T
t=
P (yt− 1 |yt) · P (xt|yt) =⇒
t=
exp(w · f (t, yt− 1 , yt, X)
We will then normalize the latter of these expressions to form a proper conditional distribution that sums to one. This conversion is made easier by first noticing that both models involve a product over t and second that the poten- tial function in the CRF factors into separate terms for each feature as follows:
i exp(wi^ ·^ fi) =^ exp(w^1 ·^ f^1 )^ ·^ ...^ ·^ exp(wT^ · fT ) Because the clique potential factors in this fashion, we can separately represent individual terms in the HMM with single features or small groups of features in the CRF. The first terms that we consider are the multinomial dis- tributions for the transition model P (yt|yt− 1 ) and the obser- vation model P (xt|yt) for discrete observations. To incor- porate these distributions into our exponential model, we introduce features, one for each possible transition and one for each pairing of xt and yt that take the following form:
fi,j (t, yt− 1 , yt, X) = I(yt− 1 = i) · I(yt = j) fs,v (t, yt− 1 , yt, X) = I(yt = s) · I(xt = v)
I represents the indicator function and takes the value 1 if its argument evaluates to true and 0 otherwise. Each feature
has an associated weight which is simply the logarithm of the probability from the multinomial distribution, i.e.:
exp(wi,j · fi,j ) = P (yt = j|yt− 1 = i) wi,j · fi,j = log(P (yt = j|yt− 1 = i)) wi,j = log(P (yt = j|yt− 1 = i))
Continuous features may be incorporated in a similar fash- ion. Assuming that observations are modeled as univariate Gaussian distributions, features and weights corresponding the the sufficient statistics for a Gaussian must be added to the model. The weight calculation is analogous to the calculation for multinomial distributions above:
exp( w~ · f~ ) =
πσ^2
· exp(−
(x − μ)^2 2 · σ^2
exp( w~ · f~ ) =
πσ^2
· exp(
−x^2 2 · σ^2
) · exp(
x · μ σ
) · exp(
−μ^2 2 · σ^2
w ~ · f~ =
2 · σ^2
· x 2
μ σ
· x +
−μ^2 2 · σ^2
− log(
πσ^2 )
We find ourselves with the sufficient statistics of a Gaussian and a constant term that will be absorbed into the nor- malization constant. Correspondingly, we add the following features to the model:
f 0 ,j = I(yt = j) · 1 f 1 ,j = I(yt = j) · xt f 2 ,j = I(yt = j) · (xt)^2
3.3 A Note about Normalization Training a CRF amounts to enforcing the moment con- ditions that the empirical and expected sufficient statistics agree. This can be seen from the gradient of `(Y |X):
d` dwi
t=
fi(t, yt− 1 , yt, X) −
Y
P (Y |X) · fi(t, yt− 1 , yt, X)
which will, of course, be zero at the maximum. At this point, the empirical sum of each feature, the first term, is equal to the expected sum of that feature under the model. With binary features that occur with approximately equal frequency in the training data, each component of the gra- dient will make a similar contribution to the over all mag- nitude of the gradient. In other words, the search direction in the optimization algorithm will not be dominated by a single feature. When features take on continuous values, it is common for their empirical sums in the training set to vary significantly. This imbalance can cause optimization algorithms, such as conjugate gradient, to converge slowly or not at all. In such cases, it is important to normalize the features to be zero mean and have a variance of one. Intuitively, this normal- ization puts all of the features on equal footing during the optimization so that features with large values do not create a poorly scaled objective function.
4.1 Notation
In the robot tag domain, we wish to identify which robot is the seeker at each time step of the simulation. We will refer to the ID of the seeker at time t as the label yt and define the set of labels for the entire sequence Y = {y 1 , y 2 , ..., yT }. Sim- ilarly, we define the input observations X = {x 1 , x 2 , ..., xT } where xt is a vector of the observations from time step t. In the tag domain, the observation vector contains the two dimensional position of each robot in the environment; in other words, the position of the robot in the Cartesian plane, but not its orientation. We use the following notation when describing the fea- tures used by the models: ~pr,t refers to the position of robot r in the two dimensional environment at time t. Position values are available directly from the observation xt at each time step. Positions are measured in millimeters and the origin (0, 0) corresponds to the center of the environment. We also use ~vr,t = (~pr,t − ~pr,t− 1 ) · dt to refer to the estimated velocity of robot r at time t.
4.2 Results
We generated experimental data from both the hourglass and the unconstrained tag domains. This data was gener- ated from a physics-based simulator for holonomic robots that included realistic acceleration and velocity constraints on the robots. We generated training and test sets that were each approximately 20 minutes in length. Since the simulator operates at a rate of 60 hz, this means that each sequence contained more than 70,000 observation vectors, each labeled with the identity of the seeker at that time step. The observation vectors themselves consisted of three two-dimensional positions, one for each robot. These posi- tions form the basis of the features passed to the models for classification. The goal of our experiments was to compare HMMs and CRFs using identical features in each model. Features in a conditional random field are functions that take the form f (t, yt− 1 , yt, X). It is difficult to use these functions di- rectly as input to an HMM due to the presence of yt− 1 in the feature definitions. Because of this difficulty, we dropped the yt− 1 terms of functions when constructing the HMM observation model and instead had the HMM model P (g(t, X)|yt), where g(t, X) is the portion of the CRF’s fea- ture function that does not depend on either yt− 1 or yt. We used a Gaussian observation model in the HMM where each feature was treated independently from the other features. In all experiments, the CRF included intercept features (f = I(yt = j)) as well as transition features (f = I(yt− 1 = i) · f (yt = j)) as a base model. We added more specialized features on top of these. Because the HMM’s transition model and Gaussian observation model provide equivalent functionality, these features were not passed to the HMM as observations.
4.2.1 Raw Positions Only In the initial set of experiments, we trained the HMM and CRF on the raw positions of each robot; in other words, the models were given xt as input at each time step. The goal of these experiments was to verify that some sort of computed features are indeed required for reasonable classification ac- curacy. To complement the HMM’s Gaussian observation model, the CRF included features for xt[k] and (xt[k])^2 for each of
the k features of xt. Taken with the intercept features in the CRF, this provided the sufficient statistics for a Gaussian observation model. This choice of features makes the CRF a discriminatively trained HMM. Concretely, we added the following features to the CRF:
fj,k = I(yt = j) · xt[k] fj,k = I(yt = j) · xt[k]^2
The results in table 1 show two things. First, the raw ob- servations by themselves do not provide enough information for either model to perform well. In the case of the hour- glass domain, the problem is simple enough that the CRF performs far better than the baseline performance achiev- able by random guessing (approximately 33%). For this simple domain, at least, there is an advantage to training the model discriminatively as the CRF does better than the HMM, although this advantage seems to disappear with the more complex, unconstrained data set where both models perform poorly.
4.2.2 Velocities The poor performance resulting from training models on the raw locations of the robots suggests that additional fea- tures, which reflect domain knowledge about the classifica- tion task, are required for high classification accuracy. The most obvious such features are the velocities of the robots, which can be estimated by subtracting adjacent pairs of xt observations. As domain experts, we know that velocity is an informative feature because the seeker robot pauses in place for five seconds when it is first tagged. As such, we introduced the following features into the CRF:
fr,j = I(yt = j) · ‖~vr,t‖
fr,j = I(yt = j) · ‖~vr,t‖ 2
As table 1 shows, simply providing the models with robot velocities rather than raw positions causes a dramatic im- provement in classification accuracy.
4.2.3 Velocity Thresholds Incorporating velocity information into the models greatly improved accuracy. One obvious reason for this is the five second pause the seeker makes when first tagged. Rather than feeding raw velocities into the models, we constructed features to test if the velocity is below a certain threshold for a single time step or for a series of consecutive time steps. Such features more clearly capture the notion of a stopped or stopping robot. As a natural complement to testing if a robot’s velocity is below a threshold, it makes intuitive sense to test if the robot’s velocity is above a threshold as well. This second form of feature will be correlated with non-seeker robots as well as the seeker when it has finished pausing after first being tagged. The particular features used took the form:
fr,j (k, w) = I(yt = j) ·
Y^ t
i=t−w+
I(‖~vr,i‖ ≤ k)
fr,j (k, w) = I(yt = j) ·
Y^ t
i=t−w+
I(‖~vr,i‖ > k)
In our experiments, we chose the velocity threshold k to be 20% of the robots’ maximum velocity.
robot is first tagged, it halts in place. It takes the former seeker time to deaccelerate and move away from the newly created seeker. During this time, both robots will be within the threshold distance, although no hand off is possible. In other words, it is only possible for a hand off to occur dur- ing the first frame that two robots are within the threshold distance. A second complication arises because the execution order of the robot behaviors is not fixed in the simulator. In some situations, the non-seeker will close the gap between itself and the seeker and in others the seeker will close the gap with its action. Depending on which order these events take place, the hand off of the seeker role can occur in either the first time step when the robots are below the threshold distance or during the second time step. Accounting for both possible times when a hand off could have occurred, our distance threshold feature takes the form:
fr 1 ,r 2 ,i,j = I(yt− 1 = i) · I(yt = j)· I(distt(r 1 , r 2 ) ≤ k ∨ distt− 1 (r 1 , r 2 ) ≤ k)· I(distt− 2 (r 1 , r 2 ) > k)
We also include an inverted version of the above features to indicate situations where it would be impossible for a transition to have occurred:
fr 1 ,r 2 ,i,j = I(yt− 1 = i) · I(yt = j)· I(distt(r 1 , r 2 ) > k ∧ distt− 1 (r 1 , r 2 ) > k)
The model is able to learn negative weights to make label sequences Y in which such transitions occur less likely than sequences that lack forbidden state transitions. The results in table 1 are somewhat surprising. These distance threshold based state transitions exactly capture the underlying dynamics of the process that generated the data, yet using only these features results in lackluster per- formance. The first set of results, labeled “Distance (U)”, show what happens when the feature values are not normal- ized to have mean zero and a variance of one. After all, such normalization is rarely necessary with binary features. However, consider how often two robots will first approach close enough together for a tag event to take place. These are the only situations where the distance threshold features will take on a non-zero value. This situation happens ap- proximately 200 times in the twenty minute training set. Now consider how often the features corresponding to self- transitions take on a non-zero value. One of these features fires for virtually each of the roughly 70, 000 time steps in the training set. The expected value of the regular transi- tion features is much larger than the expected value of the distance threshold features. Any difference in the empiri- cal value of the regular transitions and their expected value under the model will dominate the function gradient during optimization. Rather than eliminating the regular transition features, which would leave the optimizer stranded in a plateau and unable to make any progress, we normalize the distance thresholded transitions. Normalizing the distance threshold features produces no appreciable change in the accuracy in the hourglass domain and the accuracy in the unconstrained domain improves slightly. However, there is a major differ- ence in the log likelihood of the test set for both domains, so clearly the model achieves a better fit on the test set
even if this improvement is not enough to greatly change the accuracy of the models.
4.2.6 Distance Thresholds with Chasing Features A natural question that arises is whether or not the dis- tance threshold features are capable of increasing the ac- curacy of the CRF. In theory, they perfectly capture the characteristics of the domain, but in practice training the model with only these features is difficult. As a test, we combined the distance threshold features with the chasing features to see if the combination of the features together would out perform either set of features on its own. As the results in table 1 illustrate, there is indeed a syn- ergistic effect between the two feature sets. One set of fea- tures, the chasing features, captures the behavior of the seeker when it is moving. The other set, the distance thresh- old features, captures when the seeker role transitions from one robot to another. The resulting models exhibit higher log likelihoods on the test set as well as, when the distance thresholds are normalized, better accuracies than any other features tried thus far.
4.2.7 Many Features In the final set of experiments, we examined how the mod- els perform when all of the previously discussed features were used at the same time. In the case of the windowed velocity thresholds, only a single threshold corresponding to a window size of 1 was used to avoid deliberately breaking the independence assumptions of the HMM. As a second experiment, we included all of these “helpful” features, as well as redundant features to test how vulnerable the models are to over fitting. The extra features we added were the raw position observations, the change in distance between each robot and its closest neighbor, each robots vx and vy velocity components, and a series of dot prod- ucts along each robots trajectory to measure how linearly the robot was moving as non-seeker robots tend to travel in straight lines. While all of these additional features poten- tially include information about the domain, this informa- tion is either provided by the existing features or somewhat dubious in quality. The results in table 1 show an initial increase in accuracy for the CRF when the first collection of features are added to the model and then a decrease with the addition of redun- dant features on the unconstrained data set. On the hour- glass dataset, even the addition of the first set of features lowers the final accuracy of the model, probably because of over fitting. Over fitting reduces accuracy immediately with the simple data set but only with the addition of redundant features for the more complex data. The degree of over fit- ting is especially evident from the large decrease in the log likelihood of the test set for the unconstrained data set with redundant features. In our experiments, we did not apply any regularization to the models. Regularization would probably help avoid the obvious over fitting that took place, particularly in the case of the unconstrained data set moving from the full com- pliment of helpful features to the larger set that included irrelevant features. It is trivial to apply L2 regularization during CRF training. Regularization is discussed in more detail in [15].
We have presented a comparison of conditional random fields and hidden Markov models on a simple activity recog- nition task. We have demonstrated how CRFs are able to easily incorporate a wide variety of computed features which allow domain knowledge to be added to the models. Fur- thermore, we have shown that due to the independence as- sumptions inherent in HMMs, such computed features are not nearly as effective for improving classification accuracy. In all of our experiments, conditional random fields scored higher or on par with hidden Markov models in terms of classification accuracy. This was the case even in those sit- uations where the CRF was effectively a discriminatively trained HMM. These results make sense when placed in the context of [8], in which Ng and Jordan compare the effec- tiveness of generative versus discriminative classifiers. In their case, they consider Naive Bayes versus Logistic Re- gression because those two classifiers form what they term a discriminative-generative pair. The same thing can be said for HMMs and CRFs. And, as we would expect, the discriminative model has a lower asymptotic error rate. We have also demonstrated how conditional random fields are able to incorporate features that are difficult to repre- sent in a hidden Markov model, namely features that link state transitions directly to observations, e.g. the distance threshold features, which exactly captured the dynamics of the process. Sophisticated computed features which link observations to transitions or incorporate observations from several time steps are often required for good classification accuracy in activity recognition tasks. It then follows that conditional random fields are suitable models for activity recognition. As a model, CRFs do not make independence assumptions between the observations, they can link a particular observa- tion (or any function computed on the observation sequence) to state transitions, and, as discriminatively trained models, they will often have lower error rates than the corresponding generative model.
Acknowledgments
This research was sponsored in part by the Department of the Interior, National Business Center under contract no. NBCHD030010 and SRI International under subcontract no. 03-000211. The views and conclusions contained in this doc- ument are those of the authors and should not be interpreted as representing the official policies, either expressed or im- plied, of any sponsoring institution, the U.S. government or any other entity.
of the Ninth IEEE International Conference on Computer Vision, page 1150, Washington, DC, USA,
[7] D. C. Liu and J. Nocedal. On the limited memory bfgs method for large scale optimization. Math. Program., 45(3):503–528, 1989. [8] A. Y. Ng and M. I. Jordan. On discriminative vs. generative classifiers: A comparison of logistic regression and naive bayes. In T. G. Dietterich, S. Becker, and Z. Ghahramani, editors, Advances in Neural Information Processing Systems 14, pages 841–848, Cambridge, MA, 2002. MIT Press. [9] L. Rabiner. A tutorial on hidden Markov models and selected applications in speech recognition. Proceedings of the IEEE, 77(2):257–286, February 1989. [10] D. A. Ross, S. Osindero, and R. S. Zemel. Combining discriminative features to infer complex trajectories. In ICML ’06: Proceedings of the 23rd international conference on Machine learning, pages 761–768, New York, NY, USA, 2006. ACM Press. [11] P. Rybski and M. Veloso. Using sparse visual data to model human activities in meetings. In Modeling Other Agents from Observations Workshop (MOO 2004), 2004. [12] F. Sha and F. Pereira. Shallow parsing with conditional random fields. In NAACL ’03: Proceedings of the 2003 Conference of the North American Chapter of the Association for Computational Linguistics on Human Language Technology, pages 134–141, Morristown, NJ, USA, 2003. Association for Computational Linguistics. [13] C. Sminchisescu, A. Kanaujia, Z. Li, and D. Metaxas. Conditional models for contextual human motion recognition. In IEEE International Conference on Computer Vision (ICCV 2005), pages 1808–1815,
[14] G. Sukthankar and K. Sycara. Robust recognition of physical team behaviors using spatio-temporal models. In Proceedings of Fifth International Joint Conference on Autonomous Agents and Multi-Agent Systems (AAMAS), May 2006. [15] C. Sutton and A. McCallum. An introduction to conditional random fields for relational learning. In L. Getoor and B. Taskar, editors, Introduction to Statistical Relational Learning. MIT Press, 2006. To appear. [16] H. Wallach. Efficient training of conditional random fields. Master’s thesis, University of Edinburgh, 2002.