[Re]: Value Alignment Verification

Siba Smarak Panigrahi, Sohan PatnaikRC 2022

TL;DR

This paper reproduces and extends prior work on "Value Alignment Verification," a method for efficiently checking if a robot's behavior aligns with human expectations using a minimal set of questions. The authors successfully replicate the original findings and explore new scenarios, demonstrating high accuracy and low error rates across various configurations, highlighting the robustness of the proposed techniques.

What Problem Does This Paper Address?

As autonomous agents become more integrated into human environments, ensuring their actions are aligned with human values and intentions is crucial. The original paper "Value Alignment Verification" [7] proposed a framework to efficiently test this alignment by constructing a minimal set of questions for a robot. This paper tackles the challenge of reproducing and extending these findings, specifically by verifying the effectiveness of these algorithms and heuristics in various settings, including those with non-linear reward functions and expanded action spaces, to build confidence in their applicability.

Methods

The authors re-implemented the value alignment verification pipeline in Python, leveraging NumPy and SciPy. Their work involved two main phases: first, reproducing the original paper's algorithms and heuristics for exact value alignment verification, and second, extending these to explore scenarios with larger action spaces and non-linear reward/state-feature relationships. They conducted experiments on gridworld environments, varying parameters like gridworld width, feature size, and action space complexity. The core of the verification process involves designing a questionnaire (a set of queries) to probe the robot's behavior and determine if it aligns with a human's assumed reward function. They explored several query types, including reward weights, value functions, and trajectory preferences, and also investigated heuristic approaches like "Critical States," "Machine Teaching," and "ARP Heuristic" for more practical, black-box verification.

Datasets

Not discussed in the paper. The experiments were conducted on simulated gridworld environments with varying parameters (width, feature size, action space).

Key Insights and Ideas

  • Robustness Across Variations: The proposed value alignment verification techniques, both algorithmic and heuristic, demonstrate high accuracy and low error rates even when faced with variations like non-linear reward functions and expanded action spaces. This suggests the core principles are quite robust.
  • Heuristics Offer Practicality: While exact verification methods are powerful, heuristic approaches like "Critical States" and "ARP Heuristic" offer a practical trade-off, achieving good performance with potentially fewer queries, especially in black-box scenarios where the robot's internal reward function isn't directly accessible.
  • Linearity Assumption Matters: The performance of exact verification algorithms (like Reward Weight Tester) degrades significantly when the assumption of linear reward-state feature relationships is violated (e.g., in exponential relationships), whereas heuristic methods show more resilience. This highlights the importance of understanding the underlying assumptions of verification techniques.
  • Query Efficiency is Key: A central theme is minimizing the number of queries needed for verification. The paper shows that while some methods are consistently efficient (e.g., Reward Weight Tester requiring only 1 query), others like Critical States Tester can require more queries, especially in more complex environments.

Key Results

  • High Accuracy: Across various experiments, the accuracy of value alignment verification consistently remained high, often exceeding 99% for exact methods and remaining competitive for heuristics.
  • Low Error Rates: False positive and false negative rates were found to be negligibly small in most tested scenarios, indicating reliable verification.
  • Efficiency Gains: The Reward Weight Queries Tester (rwt) consistently required only 1 query for verification, demonstrating extreme efficiency.
  • Impact of Complexity: Increasing gridworld width and feature size generally led to higher accuracy but also, in some cases, a higher number of queries for heuristic methods like Critical States Tester (cst).
  • Non-linear Performance: For cubic reward-state feature relationships, performance remained high. However, for exponential relationships, the exact verification algorithm (rwt) saw a drastic drop in accuracy, while the heuristic (cst) maintained relatively good performance.

Limitations and Future Work

  • Implicit-Implicit Setting Not Explored: The authors explicitly state they did not investigate the "implicit robot, implicit human" setting due to time constraints. This scenario, where neither agent's reward function is directly known, represents a more challenging form of approximate value alignment verification.
  • Computational Cost of Heuristics: While heuristics offer practical advantages, some, like SCOT, can be computationally more intensive than simpler methods.
  • Future Directions: The paper suggests that a human agent could use these algorithms or heuristics to create a "driver's test" for robots, implying a future focus on practical deployment and user-friendly interfaces for value alignment verification. Further exploration of the implicit-implicit setting and more complex environments would also be valuable.

Summary updated

Abstract

Scope of Reproducibility: The main goal of the paper "Value Alignment Verification" is to test the alignment of a robot's behavior efficiently with human expectations by constructing a minimal set of questions. To accomplish this, the authors propose algorithms and heuristics to create the above questionnaire. They choose a wide range of gridworld environments and a continuous autonomous driving domain to validate their put forth claims. We explore value alignment verification for gridworlds incorporating a non-linear feature reward mapping as well as an extended action space. Methodology: We re-implemented the pipeline with Python using mathematical libraries such as Numpy and Scipy. We spent approximately two months reproducing the targeted claims in the paper with the first month aimed at reproducing the results for algorithms and heuristics for exact value alignment verification. The second month focused on extending the action space, additional experiments, and refining the structure of our code. Since our experiments were not computationally expensive, we carried out the experiments on CPU. Results: The techniques proposed by authors can successfully address the value alignment verification problem in different settings. We empirically demonstrate the effectiveness of their proposals by performing exhaustive experiments with several variations to their original claims. We show high accuracy and low false positive and false negative rates in the value alignment verification task with a minimum number of questions for different algorithms and heuristics. What was easy: The problem statement, as well as the implementation of algorithms and heuristics, were straightforward. We also took aid from the original repository published with the paper. However, we implemented the entire pipeline from scratch and incorporated several variations to our code to perform additional designed experiments. What was difficult: Comprehending different algorithms and heuristics proposed in prior works along with their mathematical formulation and reasoning for their success in the given task was considerably difficult. Additionally, the original code base had several redundant files, which created initial confusion. We iterated and discussed the arguments in the paper and prior work several times to thoroughly understand the pipeline. Nevertheless, once the basics were clear, the implementation was comparatively simple. Communication with original authors: We reached out to the authors numerous times via email to seek clarifications and additional implementation details. The authors were incredibly receptive to our inquiries, and we appreciate their thorough and prompt responses.
BibTeX
@inproceedings{panigrahi2022re,
  author = {Siba Smarak Panigrahi and Sohan Patnaik},
  title = {{[Re]: Value Alignment Verification}},
  booktitle = {RC},
  year = {2022},
  url = {https://openreview.net/forum?id=BFLM3nMmhCt},
}
Figure