ego-instructor-eval
Retrieval-Augmented Egocentric Video Captioning — Jilan Xu et al. (2024) (arXiv:2401.00789, 2024)
What this evaluates
This evaluation protocol assesses a retrieval-augmented egocentric video captioning framework. It probes the model's ability to perform cross-view video-text and video-video retrieval, answer multiple-choice questions based on video-text alignment, and generate accurate egocentric video captions using retrieved exocentric instructional videos as references.
Datasets
- EK100 MIR — total 9668; splits: test (9668)
- EgoMCQ — total 39751; splits: test (39751)
- SummMCQ — total 1614; splits: test (1614)
- YouCook2-Clip — total 3350; splits: test (3350)
- YouCook2-Video — total 436; splits: test (436)
- CharadesEgo — total 145; splits: test (145)
- EgoLearner-MCQ — total 1951; splits: test (1951)
- Ego4d cooking — total 7161; splits: val (7161)
- EgoLearner — total 1089; splits: test (1089)
Metrics
mAP — range: [0, 1]
- Mean Average Precision across all queries. Computes the average precision for each query and averages them.
nDCG — range: [0, 1]
- Normalized Discounted Cumulative Gain. Ranks retrieved items by relevance score, applies logarithmic discounting based on position, and normalizes by the ideal DCG.
inter-/intra-video acc. — range: [0, 1]
- Top-1 accuracy for multiple-choice questions where distractors are sampled from different videos (inter) or the same video (intra).
R@1, R@5, R@10 (primary) — range: [0, 1]
- Recall at K. The fraction of queries where the ground-truth relevant item appears in the top K retrieved results.
BELU-4 — range: [0, 1]
- BLEU-4 metric measuring n-gram precision up to 4-grams between generated and reference captions.
METEOR — range: [0, 1]
- Metric based on aligned unigrams, considering synonymy and stemming, with harmonic mean of precision and recall.
ROUGE-L — range: [0, 1]
- Recall-Oriented Understudy for Gisting Evaluation based on the longest common subsequence between generated and reference text.
CIDER (primary) — range: [0, 1]
- Consensus-based Image Description Evaluation. Computes n-gram similarity between candidate and reference captions using a consensus vector from multiple references.
Input / output format
Input: Per instance: an egocentric video clip (encoded as 4 frame features sampled at 8 fps) optionally paired with retrieved exocentric video clips and their captions. For retrieval tasks, the input is a video query against a candidate pool of videos or texts.
Output: Per instance: a ranked list of retrieved videos/texts, or a generated natural language caption describing the egocentric video action.
Scoring recipe
def score_retrieval(predictions, gold_indices, k_values=[1,5,10]):
recalls = {}
for k in k_values:
top_k = predictions[:k]
recalls[f'R@{k}'] = 1.0 if gold_indices in top_k else 0.0
return recalls
def score_captioning(predictions, references):
bleu4 = compute_bleu(predictions, references, n=4)
meteor = compute_meteor(predictions, references)
rouge_l = compute_rouge(predictions, references, 'l')
cider = compute_cider(predictions, references)
return {'BLEU-4': bleu4, 'METEOR': meteor, 'ROUGE-L': rouge_l, 'CIDER': cider}
Common pitfalls
- Models trained exclusively on egocentric or exocentric data fail on cross-view benchmarks due to severe view discrepancy; both views must be aligned during training.
- Using raw ASR transcripts instead of refined captions degrades retrieval and captioning performance, as refined captions better align semantic formats across views.
- Randomly selected exocentric videos provide no semantic benefit for captioning, yielding performance similar to 0-shot baselines; cross-view retrieval quality is critical.
Evidence (verbatim from paper)
We report the R@1, R@5 and R@10 for retrieval tasks and Top-1 accuracy for MCQ tasks. For video captioning, we sample 7161 cooking video clips from the Ego4d validation set. We also choose videos from EgoLearner which contains 1089 video clips with fine-grained video captions.
Citation
@misc{xu2024retrievalaugmentedegocentric,
title={Retrieval-Augmented Egocentric Video Captioning},
author={Jilan Xu et al. (2024)},
year={2024},
note={arXiv:2401.00789}
}
1---2name: ego-instructor-eval3description: This evaluation protocol assesses a retrieval-augmented egocentric video captioning framework. It probes the model's ability to perform cross-view video-text and video-video retrieval, answer multiple-choice questions based on video-text alignment, and generate accurate egocentric video captions using retrieved exocentric instructional videos as references. Use when the user wants to benchmark on EK100 MIR, EgoMCQ, SummMCQ, YouCook2-Clip, YouCook2-Video, CharadesEgo, EgoLearner-MCQ, Ego4d cooking, EgoLearner, or asks about evaluating this task. Reports R@1, R@5, R@10, CIDER.4---56# ego-instructor-eval78> Retrieval-Augmented Egocentric Video Captioning — Jilan Xu et al. (2024) (arXiv:2401.00789, 2024)910## What this evaluates1112This evaluation protocol assesses a retrieval-augmented egocentric video captioning framework. It probes the model's ability to perform cross-view video-text and video-video retrieval, answer multiple-choice questions based on video-text alignment, and generate accurate egocentric video captions using retrieved exocentric instructional videos as references.1314## Datasets1516- **EK100 MIR** — total 9668; splits: test (9668)17- **EgoMCQ** — total 39751; splits: test (39751)18- **SummMCQ** — total 1614; splits: test (1614)19- **YouCook2-Clip** — total 3350; splits: test (3350)20- **YouCook2-Video** — total 436; splits: test (436)21- **CharadesEgo** — total 145; splits: test (145)22- **EgoLearner-MCQ** — total 1951; splits: test (1951)23- **Ego4d cooking** — total 7161; splits: val (7161)24- **EgoLearner** — total 1089; splits: test (1089)2526## Metrics2728- `mAP` — range: [0, 1]29 - Mean Average Precision across all queries. Computes the average precision for each query and averages them.30- `nDCG` — range: [0, 1]31 - Normalized Discounted Cumulative Gain. Ranks retrieved items by relevance score, applies logarithmic discounting based on position, and normalizes by the ideal DCG.32- `inter-/intra-video acc.` — range: [0, 1]33 - Top-1 accuracy for multiple-choice questions where distractors are sampled from different videos (inter) or the same video (intra).34- `R@1, R@5, R@10` **(primary)** — range: [0, 1]35 - Recall at K. The fraction of queries where the ground-truth relevant item appears in the top K retrieved results.36- `BELU-4` — range: [0, 1]37 - BLEU-4 metric measuring n-gram precision up to 4-grams between generated and reference captions.38- `METEOR` — range: [0, 1]39 - Metric based on aligned unigrams, considering synonymy and stemming, with harmonic mean of precision and recall.40- `ROUGE-L` — range: [0, 1]41 - Recall-Oriented Understudy for Gisting Evaluation based on the longest common subsequence between generated and reference text.42- `CIDER` **(primary)** — range: [0, 1]43 - Consensus-based Image Description Evaluation. Computes n-gram similarity between candidate and reference captions using a consensus vector from multiple references.4445## Input / output format4647**Input**: Per instance: an egocentric video clip (encoded as 4 frame features sampled at 8 fps) optionally paired with retrieved exocentric video clips and their captions. For retrieval tasks, the input is a video query against a candidate pool of videos or texts.4849**Output**: Per instance: a ranked list of retrieved videos/texts, or a generated natural language caption describing the egocentric video action.5051## Scoring recipe5253```python54def score_retrieval(predictions, gold_indices, k_values=[1,5,10]):55 recalls = {}56 for k in k_values:57 top_k = predictions[:k]58 recalls[f'R@{k}'] = 1.0 if gold_indices in top_k else 0.059 return recalls6061def score_captioning(predictions, references):62 bleu4 = compute_bleu(predictions, references, n=4)63 meteor = compute_meteor(predictions, references)64 rouge_l = compute_rouge(predictions, references, 'l')65 cider = compute_cider(predictions, references)66 return {'BLEU-4': bleu4, 'METEOR': meteor, 'ROUGE-L': rouge_l, 'CIDER': cider}67```6869## Common pitfalls7071- Models trained exclusively on egocentric or exocentric data fail on cross-view benchmarks due to severe view discrepancy; both views must be aligned during training.72- Using raw ASR transcripts instead of refined captions degrades retrieval and captioning performance, as refined captions better align semantic formats across views.73- Randomly selected exocentric videos provide no semantic benefit for captioning, yielding performance similar to 0-shot baselines; cross-view retrieval quality is critical.7475## Evidence (verbatim from paper)7677> We report the R@1, R@5 and R@10 for retrieval tasks and Top-1 accuracy for MCQ tasks. For video captioning, we sample 7161 cooking video clips from the Ego4d validation set. We also choose videos from EgoLearner which contains 1089 video clips with fine-grained video captions.7879## Citation8081```bibtex82@misc{xu2024retrievalaugmentedegocentric,83 title={Retrieval-Augmented Egocentric Video Captioning},84 author={Jilan Xu et al. (2024)},85 year={2024},86 note={arXiv:2401.00789}87}88```8990- arXiv: 2401.00789