mlsanityData to 14 Oct 2026

Assessing the Interpretability of Programmatic Policies with Large Language Models

arXiv 2311.06979 ↗First posted 12 Nov 2023cs.AI cs.PL cs.SEcited by 3

Not on the map. Why?

Abstract (arXiv)

Although the synthesis of programs encoding policies often carries the promise of interpretability, systematic evaluations were never performed to assess the interpretability of these policies, likely because of the complexity of such an evaluation. In this paper, we introduce a novel metric that uses large-language models (LLM) to assess the interpretability of programmatic policies. For our metric, an LLM is given both a program and a description of its associated programming language. The LLM then formulates a natural language explanation of the program. This explanation is subsequently fed into a second LLM, which tries to reconstruct the program from the natural-language explanation. Our metric then measures the behavioral similarity between the reconstructed program and the original. We validate our approach with synthesized and human-crafted programmatic policies for playing a real-time strategy game, comparing the interpretability scores of these programmatic policies to obfuscated versions of the same programs. Our LLM-based interpretability score consistently ranks less interpretable programs lower and more interpretable ones higher. These findings suggest that our metric could serve as a reliable and inexpensive tool for evaluating the interpretability of programmatic policies.

Key facts. Cited by 3 papers in the map (data through 14 Oct 2026). Builds on 8 of its 26 references that are in the map. First posted on arXiv 12 Nov 2023.

Builds on

8 of 26 references.

References · 8

  1. 2020Language Models are Few-Shot Learnerscited by 32,419
  2. 2017A Unified Approach to Interpreting Model Predictionscited by 6,555
  3. 2017Interpretable Explanations of Black Boxes by Meaningful Perturbationcited by 612
  4. 2018Programmatically Interpretable Reinforcement Learningcited by 193
  5. 2018Verifiable Reinforcement Learning via Policy Extractioncited by 177
  6. 2022What can we Learn Even From the Weakest? Learning Sketches for Programmatic Strategiescited by 11
  7. 2021Evaluating Code Readability and Legibility: An Examination of Human-centric Studiescited by 8
  8. 2023Choosing Well Your Opponents: How to Guide the Synthesis of Programmatic Strategiescited by 8

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2024: 1; 2025: 1; 2026: 1.

3 papers.