Papers › Inverse Constitutional AI: Compressing Preferences into Principles

Inverse Constitutional AI: Compressing Preferences into Principles

2 Jun 2024arXiv:2406.06560archive 2025-07-28

Arduin Findeis, Timo Kaufmann, Eyke Hüllermeier, Samuel Albanie, Robert Mullins

Feedback data is widely used for fine-tuning and evaluating state-of-the-art AI models. Pairwise text preferences, where human or AI annotators select the "better" of two options, are particularly common. Such preferences are used to train (reward) models or to rank models with aggregate statistics. For many applications it is desirable to understand annotator preferences in addition to modelling them - not least because extensive prior work has shown various unintended biases in preference datasets. Yet, preference datasets remain challenging to interpret. Neither black-box reward models nor statistics can answer why one text is preferred over another. Manual interpretation of the numerous (long) response pairs is usually equally infeasible. In this paper, we introduce the Inverse Constitutional AI (ICAI) problem, formulating the interpretation of pairwise text preference data as a compression task. In constitutional AI, a set of principles (a constitution) is used to provide feedback and fine-tune AI models. ICAI inverts this process: given a feedback dataset, we aim to extract a constitution that best enables a large language model (LLM) to reconstruct the original annotations. We propose a corresponding ICAI algorithm and validate its generated constitutions quantitatively based on annotation reconstruction accuracy on several datasets: (a) synthetic feedback data with known principles; (b) AlpacaEval cross-annotated human feedback data; (c) crowdsourced Chatbot Arena data; and (d) PRISM data from diverse demographic groups. As a short and interpretable representation of the original dataset, generated constitutions have many potential use cases: help identify undesirable annotator biases, understand model performance better, scale feedback to unseen data, or adapt models to individual user or group preferences. We release the source code at https://github.com/rdnfn/icai.

PaperPDFCodeCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2406.06560")

Code

Syntology Ran 6 of 10 code samples harvested from 1 repository linked to this paper; 4 have no recorded run. Of those that ran: 3 ran · our draft was wrong; 3 ran with no contract checked.

By repository: official repository: 10 samples from 1 repository, 6 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

rdnfn/icai officialmentioned in papermentioned on GitHub report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

10 samples harvested; 6 ran; 0 honoured the contract we drafted; 4 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

3ran · our draft was wrong
3ran
4unverified

Licence: 0 of the 10 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from rdnfn/icai. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

AlpacaEvalAnnotatorConfig rdnfn/icai/src/inverse_cai/algorithm/proposal.py official repository ran · metamorphic tier: deterministic Apache-2.0 (permissive) · fad9c323896389d9 · report
AnnotatorConfig rdnfn/icai/src/inverse_cai/algorithm/proposal.py official repository ran · metamorphic tier: deterministic Apache-2.0 (permissive) · 3c4ba0e3b3c33583 · report
FunctionAnnotatorConfig rdnfn/icai/src/inverse_cai/algorithm/proposal.py official repository ran · metamorphic tier: deterministic Apache-2.0 (permissive) · 59a4167a57113c68 · report
clean_principle_str rdnfn/icai/src/inverse_cai/algorithm/proposal.py official repository ran · our draft was wrong fingerprinted Apache-2.0 (permissive) · cf0ddec0199e9097 · report
get_preferred_text rdnfn/icai/src/inverse_cai/algorithm/proposal.py official repository ran · our draft was wrong Apache-2.0 (permissive) · 56041d176337cc61 · report
get_rejected_text rdnfn/icai/src/inverse_cai/algorithm/proposal.py official repository ran · our draft was wrong Apache-2.0 (permissive) · d1252752dc993a17 · report
ExpConfig rdnfn/icai/src/inverse_cai/algorithm/proposal.py official repository unverified Apache-2.0 (permissive) · 2417283750496843 · report
PromptConfig rdnfn/icai/src/inverse_cai/algorithm/proposal.py official repository unverified Apache-2.0 (permissive) · d93fe6772a75b268 · report
generate_principles_from_feedback rdnfn/icai/src/inverse_cai/algorithm/proposal.py official repository unverified Apache-2.0 (permissive) · 7aeeac243f7d0d42 · report
generate_principles_from_single_ranking rdnfn/icai/src/inverse_cai/algorithm/proposal.py official repository unverified Apache-2.0 (permissive) · 7e33551b08a8b93b · report

Tasks

ChatbotLanguage ModellingLarge Language Model

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Methods

ALIGNSET

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections