Skip to content

feat(eval): add GAIA benchmark for native rllm eval#703

Open
Zayed024 wants to merge 4 commits into
rllm-org:mainfrom
Zayed024:feat/eval-gaia
Open

feat(eval): add GAIA benchmark for native rllm eval#703
Zayed024 wants to merge 4 commits into
rllm-org:mainfrom
Zayed024:feat/eval-gaia

Conversation

@Zayed024

Copy link
Copy Markdown
Contributor

Summary

Adds GAIA as a native benchmark so rllm eval gaia runs it. GAIA (General AI
Assistants) is a headline long-horizon agentic eval reported across current
frontier model releases. Integration follows the existing rows + transform +
reward_fn pattern (cf. hotpotqa/hle) — no sandbox/Docker. Graded by GAIA's
official quasi-exact-match scorer, ported verbatim for leaderboard-comparable
numbers.

Type of change

  • Feature
  • Test

What changed

  • rllm/eval/reward_fns/gaia.py: gaia_reward_fn (evaluate) + the official
    question_scorer (number / list / string normalization), attributed to the
    GAIA scorer (Apache-2.0).
  • rllm/data/transforms.py: gaia_transform — maps GAIA rows to standard QA
    format; skips file-attachment tasks (text-only subset for now).
  • rllm/eval/evaluator_loader.py: register gaia_reward_fn.
  • rllm/registry/datasets.json: gaia entry (source gaia-benchmark/GAIA,
    validation split, gated: true, default_agent: search).
  • tests/eval/test_gaia_reward.py: 17 tests — scorer (number/list/string edge
    cases), transform filtering, evaluate via load_evaluator, registry wiring.

Validation

  • pytest tests/eval/test_gaia_reward.py -q → 17 passed
  • ruff check + ruff format --check clean (pinned v0.11.4)
  • Full rllm eval gaia run pending (GAIA is HF-gated — needs HF_TOKEN
    and a search-capable agent; evaluator/transform unit-tested in isolation)

Open questions for reviewers

  • Scope: text-only subset first (file-attachment tasks skipped) — want file-tool
    support as a follow-up, or in this PR?
  • default_agent: search — is that the right harness for GAIA, or prefer react?
  • τ²-bench is the natural next agentic integration — is it on the roadmap / in flight?

Breaking changes / migration notes

  • None

Related issues / PRs

  • None

@jeffreysijuntan

Copy link
Copy Markdown
Contributor

Might need some investigation what harness frontier model use to evaluate on GAIA, and then implement that in rLLM. Can you past screenshots of results from rllm eval gaia to confirm the whole thing is working E2E?

@Zayed024

Zayed024 commented Jun 27, 2026 via email

Copy link
Copy Markdown
Contributor Author

@Zayed024

Zayed024 commented Jul 7, 2026

Copy link
Copy Markdown
Contributor Author

E2E confirmed: rllm eval gaia with gpt-4o → 25% (3/12), 0 errors, agent does search→extract→answer. Fixed a
bug (one Step per LLM turn) that tripped the trace enricher on parallel tool calls.
Screenshot 2026-07-07 182506

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.

2 participants