Recognizing Activities by Attribute Dynamics