F1@k (segmental F1) is an evaluation metric for tasks that assign an action label to every frame of a video (temporal action segmentation): it matches predicted segments to ground-truth segments by their overlap ratio (IoU), treats those with IoU at least % as hits (TP), and computes an F1 score from the numbers of segments. It ranges from 0 to 100, higher is better, and is commonly set to 10, 25, and 50, reported together as F1@{10, 25, 50}.
F1@k was proposed by Lea et al. in the TCN paper (2017). The paper states that the metric was designed to have the following three properties.
- It penalizes errors that break segments into small pieces (over-segmentation)
- It does not penalize small shifts between predicted and ground-truth boundaries (such shifts also arise from differences between annotators)
- Its value depends on the number of action segments, not on the length of each segment
Frame-wise accuracy is dominated by long actions and barely reflects over-segmentation. On the other hand, mAP, which follows the same idea as object detection, changes greatly depending on how confidence is assigned to each segment. F1@k avoids both weaknesses by counting segment hits and misses without using confidence.

