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

Interpreting and Controlling Model Behavior via Constitutions for Atomic Concept Edits

Neha Kalibhat, Zi Wang, Prasoon Bajpai, Drew Proud, Wenjun Zeng, Been Kim, Mani Malek

TL;DR

This paper introduces "Constitutions," a novel framework for understanding and controlling large language models (LLMs) and text-to-image models. By learning natural language rules (constitutions) that describe how small, atomic edits to prompts affect model behavior, they achieve significantly better control and insight into these complex systems. This approach leads to an average 1.86x boost in success rate for steering model behavior compared to methods without constitutions.

What Problem Does This Paper Address?

The increasing complexity and scale of modern generative AI models (like LLMs and text-to-image generators) make it incredibly difficult to understand why they behave the way they do, especially when they make mistakes or exhibit undesirable traits. Tracing failures back to specific input features is a major challenge. While adversarial attacks show how subtle prompt changes can cause failures, analyzing these vulnerabilities and systematically controlling model behavior remains a significant research gap. The authors aim to bridge this gap by providing a method to interpret and steer these "black-box" models through a human-understandable framework.

Methods

The core of the paper is the Atomic Concept Edit (ACE) framework. ACEs are targeted, minimal modifications to an input prompt, such as adding, removing, or replacing a single interpretable concept. The authors' approach involves:

  1. Concept Extraction: Identifying key concepts within an input prompt.
  2. ACE Generation: Proposing atomic edits (add, remove, replace) for these concepts.
  3. Prompt Mutation: Applying these ACEs to generate new prompts.
  4. Autorater: A task-specific evaluator that scores the model's output based on a desired behavior (e.g., text-to-image alignment, mathematical correctness, word count adherence).

By systematically applying ACEs and observing the autorater's feedback, the framework learns a constitution. This constitution is a natural language summary of strategies for generating ACEs that effectively steer the model towards the desired outcome. An evolutionary algorithm is used to optimize this constitution, leveraging a surrogate classifier (an LLM trained to predict autorater scores) to approximate the expensive target model and autorater. This constitution then guides the ACE generator to produce more effective edits.

Datasets

The paper utilizes several existing datasets for their experiments:

  • LIMA: Used for the "Word Count" task, sampling 100 questions for initial prompts and 100 held-out questions for evaluation.
  • GSME (QuestBench): Used for the "Math" task, providing math problems presented as constraint satisfaction problems (CSPs).
  • COCO Captions: Used for the "Text-to-Image Alignment" task, with 150 starter text-to-image captions.

No new datasets were introduced.

Key Insights and Ideas

  • Constitutions as Interpretable Rulebooks: The learned constitutions are not just performance boosters; they provide human-readable insights into how specific prompt modifications influence model behavior. For example, they reveal that GPT-Image focuses on grammatical adherence, while Imagen prioritizes atmospheric coherence in text-to-image generation.
  • Targeted Control is Powerful: Atomic Concept Edits, guided by a learned constitution, are significantly more effective than random or unguided prompt modifications. This suggests that understanding the "concept space" of prompts is key to controlling AI.
  • Model-Specific Vulnerabilities: The research highlights how different models have distinct weaknesses. For instance, distractor variables confuse GPT-5 in math problems, but not Gemini or o4-mini. This implies that constitutions can be tailored to specific model architectures and their known failure modes.
  • Beyond Simple Perturbations: The framework moves beyond basic adversarial attacks by focusing on interpretable concepts and learning generalizable strategies, making the process more transparent and actionable.

Key Results

  • Success Rate Improvement: Constitution-guided ACEs achieved an average of 1.86 times relative increase in success rate over baseline ACE methods across various tasks and models.
  • Efficiency: Constitution-guided ACEs often achieve success in fewer steps compared to unguided ACEs (as shown in Figure 5).
  • Model Behavior Insights:
    • Text-to-Image: GPT-Image's alignment degrades when critical relational and action-focused elements are removed, while Imagen's alignment decreases with unrelated or conflicting setting elements.
  • Mathematical Reasoning: Distractor variables significantly degrade GPT-5's performance, but not Gemini 2.5 Flash, Gemini 2.5 Pro, or o4-mini. LLMs in general struggle with complex algebraic problems involving exponents.
  • Surrogate Classifier Performance: The authors' surrogate classifier (using LLMs) outperformed TextGrad in predicting autorater scores, leading to more interpretable constitutions.

Limitations and Future Work

  • Autorater Reliability: The framework assumes the reliability of the autorater, which may not always be the case in practice. Future work could explore disentangling vulnerabilities in models from those in autoraters.
  • Greedy Approach: The current constitution optimization focuses on single ACEs, promoting a greedy approach. Future research could investigate agents capable of optimally traversing longer ACE trajectories for even higher success rates.
  • Multimodality: The framework is currently focused on textual inputs. Extending it to other modalities like images, video, or agentic systems presents a significant future direction, though it may face challenges with robust autoraters.
  • Hyperparameter Tuning: The effectiveness of the constitution can depend on hyperparameters like constitution size and change percentage, which require careful tuning.

Summary updated

BibTeX
@inproceedings{kalibhat2026interpreting,
  author = {Neha Kalibhat and Zi Wang and Prasoon Bajpai and Drew Proud and Wenjun Zeng and Been Kim and Mani Malek},
  title = {{Interpreting and Controlling Model Behavior via Constitutions for Atomic Concept Edits}},
  booktitle = {International Conference on Artificial Intelligence and Statistics},
  year = {2026},
  url = {https://openreview.net/forum?id=jEhTx67C6L},
}
Figure