Abstract
We propose an unsupervised learning algorithm to detect common activities (co-activities) across a set of videos, formulated using an absorbing Markov chain. A complete multipartite graph is constructed where vertices represent video subsequences (snippets) and edges connect snippets from different videos based on feature similarity. We extend this graph with intra-video edges to enforce temporal locality and introduce a central absorbing node. Co-activities are identified by estimating the absorption time for each snippet. This approach naturally handles multiple videos and variable-length activity instances. Evaluation on challenging datasets demonstrates superior performance both quantitatively and qualitatively.
Introduction
In computer vision, identifying specific actions typically requires large-scale supervised training. However, co-activity detection seeks to identify common actions shared across multiple videos without any prior labels. This task is challenging due to the lack of supervision, the need for scalability beyond pairwise comparisons, and the inherent temporal variance of actions across different videos. This paper introduces a novel framework that leverages the properties of absorbing Markov chains to address these issues in a principled, unsupervised manner.
Methodology
The core of the proposed method is the representation of video data as a graph-based Markov chain.
Graph Construction
The algorithm extracts short video subsequences, or snippets, using a temporal sliding window. These snippets form the vertices of a multipartite graph.
- Inter-video Edges: Edges are created between snippets from different videos, with weights proportional to the similarity of their feature descriptors (e.g., dense trajectories).
- Intra-video Edges: To account for the temporal nature of activities, edges are added between overlapping snippets within the same video. This enforces temporal locality, ensuring that contiguous segments of a common activity are processed together.
- Absorbing State: A virtual absorbing node is added to the graph, with transition probabilities from all other nodes.
Co-Activity Discovery via Absorption Time
The detection process is modeled as a random walk on this graph. Snippets belonging to a shared activity will have many strong connections to snippets in other videos, causing a random walker to remain within the "co-activity" subgraph for a long duration. In contrast, noise or background snippets have weak connections and are quickly "absorbed" by the sink node. By calculating the absorption time (the expected number of steps to reach the absorbing state) using the fundamental matrix of the Markov chain, the algorithm can effectively score and identify co-activity segments.
Experimental Evaluation
The method was rigorously tested on the YouTube Co-activity Dataset and the THUMOS14 benchmark.
Performance Analysis
Quantitative results on the YouTube dataset show that the Absorbing Markov Chain (AMC) method achieves an average F-measure of 0.78, significantly outperforming traditional methods like Video Co-segmentation (VCS) and Temporal Commonality Discovery (TCD). A key advantage of the AMC framework is its ability to process the entire set of videos simultaneously, which enhances robustness as the number of videos increases.
Qualitatively, the model demonstrates a high degree of precision, successfully isolating the core activity from irrelevant segments such as video introductions, titles, or unrelated background actions.
Conclusion
The use of absorbing Markov chains provides a robust, unsupervised solution for detecting common activities across multiple videos. By integrating global similarity with temporal locality, the AMC framework effectively identifies variable-length co-activities without requiring labeled data. While future work may focus on optimizing the computational cost of matrix operations for large-scale video sets, the current approach sets a strong benchmark for unsupervised video analysis.
Reference: Yeo, D., Han, B., & Han, J. H. (2016). Unsupervised Co-Activity Detection from Multiple Videos Using Absorbing Markov Chain. Proceedings of the Thirtieth AAAI Conference on Artificial Intelligence (AAAI-16).
Summary updated