Value Internalization: Learning and Generalizing from Social Reward

Frieda Rong, Max Kleiman-Weiner · DOI

Abstract Standard reinforcement learning (RL) agents typically cease performing tasks once external reward signals are removed. This paper introduces a "Value Internalization" framework where agents learn an Internal Social Reward (ISR) model from a caregiver's feedback. By internalizing these social values, agents can maintain performance and generalize to novel tasks even in the absence of a caregiver, bridging the gap between supervised socialization and autonomous operation.

Introduction

In traditional RL, agent behavior is strictly governed by a predefined reward function. A significant limitation of this approach is that behavior often extinguishes if the reward signal is removed—for example, when a human trainer or "caregiver" agent stops providing feedback. In contrast, humans internalize values from their social environment, allowing them to pursue goals and act prosocially even without immediate external reinforcement. This research addresses the computational challenge of transitioning an agent from a socialization phase to autonomous operation without losing learned behaviors. The authors propose that internalization—building a mental model of external rewards to self-reinforce—is the key to robust, autonomous agency.

Methods

The authors formalize this process using the MDP-SR (Markov Decision Process with Social Rewards) framework. This model extends the standard MDP by incorporating a binary indicator for Caregiver Presence ($P$) and a Social Reward signal ($R_s$) provided by the caregiver.

The central innovation is the Internal Social Reward (ISR) model, a deep neural network that learns to predict the social rewards a caregiver would likely provide. During the "socialization phase," the agent simultaneously learns its policy and the ISR. The agent's total utility is defined as: $$U = R_e + P \cdot R_s + (1-P) \cdot R_i$$ where $R_e$ is the extrinsic environment reward and $R_i$ is the internal reward generated by the ISR. When the caregiver is removed ($P=0$), the agent enters the "autonomous phase," relying on its internalized $R_i$ to continue learning and acting.

The Value Internalization architecture showing the interaction between the Agent, Environment, Caregiver, and the Internalized Social Reward (ISR) model.

Experimental Setup

The model was evaluated using the Minigrid Learning Environment on several tasks:

  • Navigation: Reaching a goal while avoiding obstacles in a 5x5 grid.
  • Prosocial Task: A multi-agent scenario where one agent must help another reach a goal to receive social rewards.
  • OOD Benchmarks: Testing generalization on complex grid layouts (e.g., "four rooms") not seen during training.

Key Results

The experiments yielded several key insights into the benefits of value internalization:

  1. Persistence of Behavior: While baseline RL agents failed immediately after the removal of social rewards, agents equipped with an ISR maintained near-perfect performance levels.
  2. Generalization to New Tasks: A critical finding is that reward functions often generalize more easily than policies. Agents trained in simple environments were able to use their internalized ISR to learn effective policies in significantly more complex, out-of-distribution (OOD) environments without further caregiver feedback.
  3. Internalized Altruism: In prosocial tasks, agents successfully internalized the value of helping others, continuing to assist partners even after the caregiver stopped providing rewards—a computational analog to the "warm glow" effect in psychology.
Performance of agents with and without social rewards. The plot shows that agents with ISR maintain high success rates after the caregiver leaves (dashed line at 6k episodes), while those without it fail. Left panels show example Minigrid environments.

Discussion and Future Work

While promising, the current model relies on simple scalar rewards. Future research should explore more complex feedback mechanisms, such as natural language or demonstrations. Additionally, distinguishing between instrumental actions (means) and core values (ends) remains a challenge; agents might mistakenly internalize a specific sub-task as the ultimate goal. Finally, determining the optimal timing for an agent to transition to independence—balancing the accuracy of its ISR against the cost of continued supervision—presents a compelling direction for future study.

Value internalization provides a robust framework for creating AI agents that can learn from social feedback and operate autonomously in novel situations. By moving beyond rigid reward functions toward internalized value models, we can develop agents that are more resilient, generalizable, and aligned with human social values.

Summary updated

BibTeX
@inproceedings{rong2024value,
  author = {Frieda Rong and Max Kleiman-Weiner},
  title = {{Value Internalization: Learning and Generalizing from Social Reward}},
  booktitle = {RLC},
  year = {2024},
  url = {https://openreview.net/forum?id=5hscFBQtpJ},
}
Figure