tokens: Later , Sikka et al modeled video sequences from UNBC - McMaster dataset with the Bag of Words representation and applied Multiple Segment Multiple Instance Learning ( MS - MIL ) for jointly detecting and localizing frames containing pain using sequence - level ground truth ( OPI ) .