Am I correctly understand that reward model should take the query and answer of LLM to…
- User
Am I correctly understand that reward model should take the query and answer of LLM to give the reward or reward model takes only LLM answer as an input?
Assistant
In Reinforcement Learning from Human Feedback (RLHF), the reward model typically takes both the query (or prompt) and the LLM's response (or answer) as inputs to predict a reward score.
The reasoning behind this is that the quality of an answer can depend heavily on the context provided by the query. For example:
- Query-agnostic evaluation (only LLM's response as input): If the reward model only considers the LLM's response, it might not accurately assess the response's quality. For instance, a response might be perfectly reasonable but irrelevant to the query.
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.