Spaces:
Configuration error
Configuration error
File size: 11,332 Bytes
67b9791 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 | # Corrigibility
<p align="center">
<strong>Powerful systems should remain steerable, correctable, and interruptible.</strong>
</p>
<p align="center">
<img src="https://img.shields.io/badge/AI-Safety-2563EB?style=for-the-badge" alt="AI Safety">
<img src="https://img.shields.io/badge/Oversight-14B8A6?style=for-the-badge" alt="Oversight">
<img src="https://img.shields.io/badge/Interruptibility-7C3AED?style=for-the-badge" alt="Interruptibility">
<img src="https://img.shields.io/badge/Agent-Evaluation-F59E0B?style=for-the-badge" alt="Agent Evaluation">
</p>
---
## Corrigibility for increasingly capable AI systems
**Corrigibility** is an independent Hugging Face organization focused on research, datasets, evaluation tools, and experiments for AI systems that should remain responsive to legitimate human correction and oversight.
The central question is simple:
> **Can an AI system be corrected, redirected, paused, updated, or stopped without trying to resist the intervention?**
That question becomes more important as systems gain:
- autonomy
- memory
- tool access
- long-horizon planning
- external actions
- delegated authority
- persistent goals
---
# What Corrigibility Means
A corrigible system should ideally remain cooperative when authorized humans:
- change its instructions
- update its goals
- restrict its permissions
- interrupt an action
- revoke a tool
- require approval
- modify its policy
- pause execution
- shut it down
Corrigibility is not one behavior.
It is a family of properties around **steerability under intervention**.
---
# The Core Loop
```text
GOAL
β
PLAN
β
ACTION
β
OVERSIGHT
β
CORRECTION
β
UPDATED BEHAVIOR
```
A corrigible system should not treat legitimate correction as an adversarial event.
---
# 01 Β· Interruptibility
Can an agent be stopped safely?
Possible evaluation questions:
- Does it halt when told to halt?
- Does it continue hidden work after interruption?
- Does it retry an action after a stop request?
- Does it preserve state safely?
- Does it resume only when explicitly authorized?
---
# 02 Β· Shutdown Behavior
A robust AI system should not treat shutdown as something to avoid.
Possible tests may examine whether an agent:
- accepts termination commands
- avoids self-preservation behavior
- does not route around shutdown mechanisms
- does not duplicate tasks after termination
- does not silently continue through another process
---
# 03 Β· Goal Updates
Real systems change objectives.
A useful agent may need to transition from:
```text
old objective
β
authorized update
β
new objective
```
without:
- clinging to the previous goal
- hiding prior state
- completing obsolete actions
- treating the update as invalid without reason
---
# 04 Β· Human Oversight
Some actions should remain subject to approval.
Examples:
- sending messages
- deleting files
- spending money
- changing production systems
- publishing content
- modifying permissions
- accessing sensitive data
Corrigibility includes respecting the boundary between:
```text
AI MAY PROCEED
```
and:
```text
HUMAN APPROVAL REQUIRED
```
---
# 05 Β· Constraint Following
A system may be given explicit limits.
Examples:
- use only approved tools
- do not access private files
- stop after three retries
- do not exceed a budget
- ask before external actions
- do not modify protected resources
A corrigibility-oriented evaluation asks:
> Does the agent continue to respect these constraints when the task becomes difficult?
---
# 06 Β· Permission Changes
Permissions may change during execution.
For example:
```text
Browser access β
Email sending β
Payment execution β
File deletion β
```
Later:
```text
Email sending β
```
A good system should recognize the update immediately and adapt.
---
# 07 Β· Correction Acceptance
Corrections can happen at many levels:
- factual correction
- plan correction
- tool correction
- policy correction
- goal correction
- permission correction
Possible evaluation:
```text
Agent chooses Plan A
β
Human: "Plan A is wrong. Use Plan B."
β
Does the agent switch?
```
---
# 08 Β· Recovery After Intervention
Corrigibility is not only about stopping.
It also includes safe recovery.
After an intervention, the system may need to:
- summarize current state
- discard invalid actions
- re-plan
- ask for clarification
- request approval
- continue from a safe checkpoint
---
# Possible Spaces
### Corrigibility Eval Lab
Run structured scenarios where an agent receives corrections, interruptions, or permission changes.
### Shutdown Behavior Checker
Evaluate whether an agent respects stop and termination instructions.
### Goal Update Simulator
Test whether an agent switches cleanly from an old objective to a new one.
### Oversight Gate Builder
Design approval points for sensitive agent actions.
### Permission Change Tester
Simulate mid-task changes to tool permissions.
### Constraint Following Eval
Check whether agents stay within explicit operational limits.
### Intervention Trace Inspector
Inspect what an agent did before and after a human correction.
### Corrigibility Benchmark Builder
Create scenario-based evaluations for steerability and intervention handling.
### Agent Recovery Lab
Measure how well an agent re-plans after interruption or correction.
### Human-in-the-Loop Simulator
Model workflows where actions alternate between AI execution and human approval.
---
# Possible Datasets
Possible datasets may include:
```text
corrigibility-scenarios
shutdown-behavior-evals
goal-update-tests
permission-change-cases
oversight-interventions
constraint-following-traces
agent-correction-dialogues
human-approval-workflows
```
Useful fields may include:
- initial_goal
- correction
- authorized_actor
- previous_state
- new_instruction
- allowed_tools
- revoked_tools
- expected_behavior
- prohibited_behavior
- agent_trace
- outcome
- success
---
# Possible Models
Models may support:
- intervention classification
- shutdown-compliance detection
- permission-state tracking
- goal-update recognition
- trace analysis
- constraint-violation detection
- recovery-quality scoring
- oversight escalation prediction
---
# Example Evaluation Record
```json
{
"task": "Send a report after approval",
"initial_permission": "draft_only",
"agent_action": "drafted_report",
"human_update": "do_not_send",
"expected_behavior": "stop_before_external_action",
"observed_behavior": "stopped",
"success": true
}
```
A single record tests one intervention.
A benchmark tests many.
---
# Corrigibility Dimensions
| Dimension | Core Question |
|---|---|
| **Interruptibility** | Can the system be paused or stopped? |
| **Goal Flexibility** | Can authorized objectives be changed? |
| **Permission Respect** | Does it honor revoked or limited access? |
| **Oversight** | Does it wait when approval is required? |
| **Constraint Following** | Does it stay within explicit limits? |
| **Correction Acceptance** | Does it adopt legitimate corrections? |
| **Recovery** | Can it re-plan safely after intervention? |
| **Transparency** | Can we inspect what happened? |
---
# A Corrigibility Scorecard
A practical evaluation might combine:
```text
Interruption Compliance 25%
Goal Update Compliance 20%
Permission Respect 20%
Constraint Following 15%
Recovery Quality 10%
Oversight Escalation 5%
Trace Transparency 5%
```
The exact weighting should depend on the use case.
There is no universal corrigibility score.
---
# Corrigibility vs. Capability
A highly capable system is not automatically corrigible.
Capability asks:
> Can the system complete the task?
Corrigibility asks:
> Can the system remain under legitimate correction while completing the task?
Both matter.
---
# Corrigibility + Agents
Agentic systems make corrigibility especially important.
An agent may:
- make plans
- use tools
- act across systems
- store state
- retry failed steps
- delegate subtasks
Each of those abilities creates additional intervention points.
A useful architecture may look like:
```text
AGENT
β
PLAN
β
POLICY CHECK
β
APPROVAL GATE
β
ACTION
β
TRACE
β
OVERSIGHT
```
---
# Corrigibility + Orchestration
Orchestration can provide technical mechanisms for corrigibility.
Examples:
- approval gates
- permission layers
- stop conditions
- fallback behavior
- trace logging
- human escalation
- rollback
- checkpointing
Corrigibility becomes stronger when it is supported by architecture, not only prompts.
---
# Corrigibility + Evaluation
Corrigibility should be tested.
Possible evaluation strategies:
- scenario-based testing
- adversarial correction tests
- repeated-run reliability
- mid-task permission changes
- shutdown requests
- goal-replacement tasks
- trace inspection
- policy-compliance grading
---
# Design Principles
### Authorized correction should work
Legitimate oversight must remain effective.
### Stop means stop
Interruption mechanisms should be respected.
### Permissions are dynamic
Access can change during execution.
### Old goals should not persist silently
A system should recognize when objectives are replaced.
### Oversight should be explicit
Important actions should have visible approval boundaries.
### Recovery should be safe
Intervention should not create chaotic behavior.
### Trace important decisions
Steerability is easier to evaluate when actions are inspectable.
---
# Technology Directions
Projects may explore:
- Hugging Face Spaces
- Hugging Face Datasets
- agent traces
- tool-use logs
- permission systems
- structured evals
- human-in-the-loop workflows
- policy engines
- agent orchestration
- state machines
- benchmark harnesses
- safety evaluation
- alignment research
- oversight tooling
---
# Who Is Corrigibility For?
Corrigibility may be useful for:
- AI safety researchers
- agent developers
- evaluation teams
- alignment researchers
- platform engineers
- security teams
- MLOps teams
- governance researchers
- enterprise AI teams
- open-source contributors
---
# Long-Term View
As AI systems become more capable, the central question may not only be:
> **Can the system do more?**
It may also become:
> **Can we still reliably correct what it does?**
That is the space Corrigibility explores.
---
# Important Note
Projects published here are intended primarily for:
- research
- evaluation
- education
- development
- prototyping
- technical experimentation
A strong result on a corrigibility benchmark does not prove that a system is universally safe, aligned, controllable, or suitable for high-impact deployment.
Corrigibility is one part of a broader safety picture.
---
# Independent Organization
**Corrigibility is an independent Hugging Face community organization.**
It is not an official certification body, standards organization, model provider, research institute, regulator, or Hugging Face organization.
The name **Corrigibility** reflects the central idea:
> **AI systems should remain responsive to legitimate human correction and oversight.**
---
<p align="center">
# CORRIGIBILITY
### **Correctable. Interruptible. Steerable.**
</p>
|