Alignment Data Quality and Rater Populations › Privacy-Aware Audit Records

Michael BrenndoerferNovember 29, 20263 min read
Language AI HandbookAll chapters
Part 38 of 67Scalable Oversight and Safety Training
Chapter 291Alignment Data Quality and Rater Populations › Privacy-Aware Audit Records
Reading section 12 of 17 · Privacy-Aware Audit Records · 3 minSection 12 of 17 · 3 min

Section 12 of 17 · 3 min read

Reading settings

Definitions

Choose how many terms have tooltips.

Article links

Make inline references clickable

Notes & comments

Keep two layers. An access-restricted evaluation table can retain a project-scoped rater identifier, item identifier, presentation order, rubric version, wave, stratum, and vote. A report for a broader audience can contain approved aggregates, the versions used to produce them, and the documented analysis. Store the identity mapping or key separately if your design needs one. A pseudonym makes records joinable within the authorized scope, so avoid describing a pseudonymized table as anonymous.

Record counts of people separately from counts of votes. A minimum release cell size can suppress direct reporting on very small cells. It leaves other disclosure risks, such as subtraction across overlapping releases. If you promise differential privacy, state what unit is protected and how the release mechanism and privacy accounting support that promise. A cell-size rule alone gives no formal differential privacy guarantee. NIST Guidelines for Evaluating Differential Privacy Guarantees

For a review inside the authorized workspace, a versioned snapshot identifier or digest helps verify which inputs were used when an auditor can obtain them. The identifier is separate from the raw votes. Keep the configuration, rubric, aggregation-rule definition, and output together so another authorized reviewer can recompute the estimates using the same input. Publish only the fields that have been approved for release.

Here is a restricted example assembled from the synthetic report. Each row identifies its wave and estimand, so a downstream reviewer can join the result to a separate configuration record. The target weights appear on rows where they define the estimate. In this example every person casts one vote, so the group-level counts happen to be equal. The schema leaves the counts distinct to accommodate repeated judgments.

PythonIn [16]
CollapseExpand
wave_votes = {"W1": df1, "W2": df2}
audit_rows = []

for row in report.itertuples(index=False):
    records = wave_votes[row.wave]
    if row.quantity.startswith("group_"):
        group = row.quantity.removeprefix("group_")
        records = records.loc[records["group"] == group]
    audit_rows.append(
        {
            "input_version": "synthetic-comparison-v1",
            "wave": row.wave,
            "estimand": row.quantity,
            "unique_raters": records["rater_id"].nunique(),
            "vote_count": len(records),
            "target_weights": wave_weights[row.wave].copy()
            if row.quantity == "target"
            else None,
            "estimate": row.estimate,
            "interval_low": row.ci_low,
            "interval_high": row.ci_high,
        }
    )

restricted_report = pd.DataFrame(audit_rows)
ConsoleOut [17]
CollapseExpand
wave estimand  unique_raters  vote_count
  W1 group_G1            900         900
  W1 group_G2            100         100
  W1   pooled           1000        1000
  W1   target           1000        1000
  W2 group_G1            100         100
  W2 group_G2            900         900
  W2   pooled           1000        1000
  W2   target           1000        1000

The report is an evidence record for the toy comparison. A real review also needs assignment and exclusion counts. For example, a locale can have hundreds of attempted annotations and few valid labels after an instruction was translated incorrectly. A vote count alone cannot reveal that failure. Capture attempts, exclusions, and invalid responses in the restricted analysis. Document actions taken when a rubric or recruitment condition changes across waves. An owner can then decide whether the old and new results should be compared, stratified, or rerun.

The check below compares the copied target estimates and interval endpoints with the original table before rounding. The first two printed rows let you compare the estimates with the labels on the Wave 1 figure. The third row records the separate group vote. Verifying the computation itself requires rerunning the analysis from the recorded inputs and configuration.

PythonIn [18]
CollapseExpand
audit_target_columns = ["wave", "estimate", "interval_low", "interval_high"]
audit_target_rows = restricted_report.loc[
    restricted_report["estimand"].eq("target"), audit_target_columns
]
bootstrap_target_columns = ["wave", "estimate", "ci_low", "ci_high"]
bootstrap_target_rows = report.loc[
    report["quantity"].eq("target"), bootstrap_target_columns
]
pd.testing.assert_frame_equal(
    audit_target_rows.reset_index(drop=True),
    bootstrap_target_rows.rename(
        columns={"ci_low": "interval_low", "ci_high": "interval_high"}
    ).reset_index(drop=True),
)
rule_report = pd.Series(aggregation_values, index=aggregation_labels)
print(rule_report.to_string(float_format=lambda value: f"{value:.3f}"))
ConsoleOut [18]
CollapseExpand
Sample-weighted   0.667
Equal-group       0.539
Group-majority    0.500

Comments

Add to the conversation

A question, a correction, or an example from your own work.

No comments yet. Be the first to share your thoughts!

Newsletter

Stay up to date

Get new articles, book updates, and notes on AI and technology.

Unsubscribe at any time. Privacy policy