NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Explainable, Steerable Models with Natural Language Parameters and Constraints

Ruiqi Zhong, Heng Wang, Dan Klein, Jacob SteinhardtOpenReview 2024 · Submission to ICLR 2024 · Rejected

Abstract

Statistical modeling can uncover patterns in large datasets, but these patterns may not be explainable or relevant to our specific interest. For example, Gaussian mixture models are commonly used to explore text corpora, but it is hard to explain what each cluster means or steer them to use specific attributes (e.g. cluster based on style but not topic). To improve explainability and steerability, we introduce models where parameters are represented as natural language strings. For example, instead of using a Gaussian to represent a cluster, we represent it with a natural language predicate such as “*has a casual style*”. By leveraging the denotational semantics of natural language, we interpret these predicates as binary feature extractors and use them as building blocks for classical statistical models such as clustering, topic modeling, and regression. Language semantics also lets us specify constrains on the learned string parameters, such as “*the parameters should be style-related*”. To learn in our framework, we propose an algorithm to optimize the log-likelihood of these models, which iteratively optimizes continuous relaxations of string parameters and then discretizes them by explaining the continuous parameters with a language model. Evaluating our algorithm across three real corpora and four statistical models, we find that both the continuous relaxation and iterative refinement to be crucial. Finally, we show proof-of-concept applications in controllably generating explainable image clusters and describing major topic variations across news from different months.
BibTeX
@misc{zhong2024explainable,
  author = {Ruiqi Zhong and Heng Wang and Dan Klein and Jacob Steinhardt},
  title = {{Explainable, Steerable Models with Natural Language Parameters and Constraints}},
  year = {2024},
  url = {https://openreview.net/forum?id=qKKwQvepx0},
  howpublished = {OpenReview},
  note = {Submitted to ICLR 2024},
}

Loading related content...

Figure