Skip to content

Forest reward penalties: decide whether generations after the scored call are token-checked #5472

Todo

Description

@bg51717

Raised in #5068 (review thread: #5068 (comment)).

Under forest_penalty_scope: all_segments, a call after the scored call is token-checked when it is in another row, but not when it is in the scored row. The scored row cuts its spans at the scored call (rollout_reassembler.py:590), a cut added in #4124 for effort shaping, and the full-row check (rollout_reassembler.py:604-616) is an elif of that branch.

Take one chain 0 -> 1 -> 2, with call 1 scored and an unwanted token in call 2:

Rows Call 2 token-checked Reward
One row (0->1->2) no kept
Two rows (0->1) and (2), after a compaction yes zeroed

Which behaviour should reward penalties have for a call after the scored call?

  • A. Check the scored row in full. Token penalties use the whole row; effort shaping still stops at the scored call. Both cases zero the reward, as the non-Forest path does.
  • B. Stop at the scored call everywhere. Calls after the scored call are skipped in every row. Both cases keep the reward, but other rows need to know which calls come after the scored call.
  • C. Keep the current behaviour. No change; the two cases differ.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions