Facial analysis in video, such as detecting emotions or pain, is a dynamic challenge. A smile or a grimace is not a static state but a sequence of events: onset, apex, and offset. Traditional methods often treat videos as a "bag of frames" (Multiple Instance Learning), ignoring the crucial temporal order of these phases. This paper introduces LOMo (Latent Ordinal Model), a weakly supervised framework that treats facial events as sequences of automatically discovered sub-events, learning both their appearance and their temporal structure.
The LOMo Framework
LOMo models a video event as a sequence of $M$ latent sub-events. Unlike previous models that required manual labeling of sub-action boundaries, LOMo "mines" these prototypical appearances automatically from video-level labels.
The core innovation is the Ordinal Cost Function. LOMo learns a cost for every possible permutation of sub-events. For instance, a sequence progressing from a neutral face to a full grin (Neutral $\rightarrow$ Onset $\rightarrow$ Apex) receives a high score, while a scrambled sequence (Apex $\rightarrow$ Neutral $\rightarrow$ Onset) is penalized.
The final score for a video is calculated as the sum of the average scores of the detected sub-event templates and the learned cost associated with their specific sequence. To ensure the model captures the full progression of an event, an overlap constraint is applied, forcing sub-events to be distributed across the video duration.
Experimental Evaluation
LOMo was evaluated across four diverse datasets: CK+ (posed emotions), Oulu-CASIA VIS (spontaneous and posed expressions), UNBC McMaster Shoulder Pain (clinical pain intensity), and LILiR (non-verbal conversational behavior).
The model consistently outperformed standard baselines like Mean/Max Pooling and standard MIL in 6 out of 7 tasks. Notably, on the UNBC McMaster dataset, LOMo achieved 87.0% accuracy in pain detection, a significant improvement over mean-pooling (67.4%). When integrated with complementary features like SIFT and LBP, LOMo reached state-of-the-art results on CK+ (95.1%) and Oulu-CASIA (82.1%).
Key Insights: Order as a Discriminative Feature
The primary advantage of LOMo is its ability to use temporal structure as a noise filter. In weakly supervised settings, a non-target video might contain a single frame that resembles a target expression (e.g., a random twitch looking like a grimace). However, it is highly unlikely to follow the specific temporal "story" of the actual event.
By learning these latent phases automatically, the model can also "share" appearance templates. A single "neutral" template can represent both the start and end of an expression, reducing redundancy and improving efficiency.
Limitations and Future Directions
While effective, LOMo faces scaling challenges. The cost function relies on a lookup table for all $M!$ permutations, which becomes computationally expensive as the number of sub-events increases. Currently, the model also assumes a fixed number of sub-events ($M$) for all videos in a class, which may not capture the varying complexity of all human behaviors. Future work could explore extending this ordinal logic to general action recognition and relaxing the fixed-event constraint.
Summary updated