Add finance grounding verification - #9
Conversation
cb63d9f to
8211530
Compare
Signed-off-by: Ander Alvarez Sanz <104446704+aalvsz@users.noreply.github.com>
ed6fe5c to
055905a
Compare
|
Thanks @aalvsz for your contribution.
That is interesting and can be used as an independent feature that validate grpo rollouts. |
Signed-off-by: Ander Alvarez Sanz <104446704+aalvsz@users.noreply.github.com>
Signed-off-by: Ander Alvarez Sanz <104446704+aalvsz@users.noreply.github.com>
You understood the pipeline perfectly. For now deterministic claim decomposition works fine, but this step could be made more accurate without introducing excessive latency (looking into it) . Then MiniLM is used only to route each claim to evidence, and DeBERTa performs the NLI check. The final decision is made after running some deterministic checks like you mentioned. |
|
@aalvsz it seems two Code linting and Unit tests are failing, Would you please fix it? |
Signed-off-by: Ander Alvarez Sanz <104446704+aalvsz@users.noreply.github.com>
psgundecha-nv
left a comment
There was a problem hiding this comment.
@sgharghabi has successfully tested end-2-end.
Summary
Adds a post-rollout GroundingVerifier stage that checks finance-agent answers against SEC retrieval excerpts and writes separate allow/block/unavailable decisions. It does not modify rewards, training data, or original rollouts.
It verifies source-bound calculations, comparisons, and evidence-scoped refusals, including entity, metric, date, value, and filing attribution.
Held-out evaluation
Attacks cover numeric fabrication; entity, metric, temporal, and source conflation; comparison errors; and unsupported refusal claims.
See the evaluation protocol and results.
Validation
Scope
The verifier checks retrieval excerpts retained in native NVFlow traces. It does not independently validate complete SEC filings or establish unrestricted production hallucination detection.