When a language model generates a multi-part answer, like predicting several product attributes, current training methods often give the same reward to every token in the response. This can wrongly punish a correct part because another part was wrong, confusing the model about what to improve.
AnchorCredit solves this by looking at which parts of the model's own reasoning are paying attention to each output value. It uses those attention signals to send a separate reward to only the reasoning sentences that led to each correct or incorrect part, without needing extra human labels.
On a new benchmark of 7,200 product images and on an existing nutrition dataset, adding AnchorCredit improved accuracy for all three predicted attributes. It also boosted performance on a dialogue task, showing the approach works for many structured generation problems.
