Skip to content

feat: add EgoLifeQA benchmark - #1498

Open
lorenzozanee wants to merge 2 commits into
EvolvingLMMs-Lab:mainfrom
lorenzozanee:fix/egolifeqa-benchmark
Open

feat: add EgoLifeQA benchmark#1498
lorenzozanee wants to merge 2 commits into
EvolvingLMMs-Lab:mainfrom
lorenzozanee:fix/egolifeqa-benchmark

Conversation

@lorenzozanee

Copy link
Copy Markdown
Contributor

Summary

  • Add EgoLifeQA long-context life-oriented video QA benchmark (CVPR 2025)
  • Implements lmms_eval/tasks/egolifeqa with multiple_choice loglikelihood evaluation
  • Resolves 30s egocentric clips nearest to query_time via media_resolver

In scope

  • lmms_eval/tasks/egolifeqa/_default_template_yaml — dataset config (hf://datasets/lmms-lab/EgoLife, multiple_choice)
  • lmms_eval/tasks/egolifeqa/egolifeqa.yaml — task include wrapper
  • lmms_eval/tasks/egolifeqa/utils.pydoc_to_visual/text/choice/target with flexible answer/option handling and video lookup
  • lmms_eval/tasks/egolifeqa/README.md — usage and dataset notes

Out of scope

  • No changes to models, evaluator, or other tasks
  • No update to docs/advanced/current_tasks.md (can be added in follow-up)
  • No grouping/alias changes

Validation

  • python -m py_compile lmms_eval/tasks/egolifeqa/utils.py | sample size: N=1 | key metrics: compile | result: pass
  • uv run ruff check lmms_eval/tasks/egolifeqa/utils.py | sample size: N=1 | key metrics: lint | result: pass
  • python /tmp/test_egolifeqa_proof.py | sample size: N=5 | key metrics: doc_to_choice/target/text/visual + yaml | result: pass

Risk / Compatibility

  • No breaking changes; new task only, opt-in via --tasks egolifeqa
  • Dataset requires network fetch from hf://datasets/lmms-lab/EgoLife; videos resolved lazily via EGOLIFEQA_VIDEO_DIR or HF cache

Type of Change

  • New benchmark/task

Fixes #1214

Integrate EgoLifeQA (CVPR 2025) long-context life-oriented video QA
benchmark: 500 4-way multiple_choice questions from lmms-lab/EgoLife
(EgoLifeQA_A1_JAKE.json) with 30s egocentric clip retrieval via
media_resolver. Closes EvolvingLMMs-Lab#1214.
Integrate EgoLifeQA (CVPR 2025) long-context life-oriented video QA
benchmark: 500 4-way multiple_choice questions from lmms-lab/EgoLife
(EgoLifeQA_A1_JAKE.json) with 30s egocentric clip retrieval via
media_resolver. Closes EvolvingLMMs-Lab#1214.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Integrate with EgoLifeQA Benchmark

1 participant