by soon_to_be_sb · 4d ago · 0 comments
Basically "end answer" in your comment = "collection of tokens".
>optimizer and objective function just don't work that way.
Don't these act on the output of the token prediction procedure.
They act on tokens produced. But each token isn't a prediction of anything. There is nothing to predict. It's closer to search, and why RL models tend to get called a "policy". It's a strategy to produce a sequence that produces maximum rewards, not predict the next token.
They don't have to. Verification of the "end answer" is the same as verifying all the intermediate tokens, as the end answer is derived from the intermediate tokens.
If the end answer is wrong, then there is an intermediate token that was wrong, that cascaded it into producing the wrong "end answer". Correct that token, and may be the end answer will pass the check.