Skip to content
KitploitKITPLOIT
도구익스플로잇블로그
Log in
제출
도구익스플로잇블로그
제출

해킹, 침투 테스트 및 사이버 보안 도구를 당신의 보안 무기고에!

Kitploit은 해킹, 사이버 보안 및 침투 테스트 도구 디렉토리입니다. 최신 프로젝트 업데이트를 발견하여 취약점을 찾고, 시스템을 분석하고, 테스트를 자동화하고, 보안을 강화하세요.

피드문의개인정보© 2026 Kitploit

도구 디렉토리

카테고리

모든 카테고리 보기
Loading categories
RLCDAlignBench — Benchmark suite and code for detecting AI alignment failures, with 44 benchmarks across ten failure types and a zero-shot RLCD detector evaluated on 7,193 labelled instances. | Kitploit
도구/GitHubGitHub/sumleo/rlcdalignbench
Vulnerability AnalysisMachine LearningPapers & ResearchLearning & EducationCurated ResourcesAI SecurityAnomaly Detection
GitHubsumleo/rlcdalignbench

RLCDAlignBench

Benchmark suite and code for detecting AI alignment failures, with 44 benchmarks across ten failure types and a zero-shot RLCD detector evaluated on 7,193 labelled instances.

저장소 보기
26310221일 전Kitploit 검토 완료
웹사이트

인기

모두 보기 →

커뮤니티에서 가장 많이 사용되는 도구를 찾아보세요.

모든 도구 탐색

도구 컬렉션을 둘러보세요

모든 도구 보기 →
공유
요청한 언어로 콘텐츠를 사용할 수 없습니다. 영어 버전을 표시합니다.

Just Ask Jev: Reinforcement Learning for Calibrated Decisions as a Zero-Shot Detector of AI Alignment Failures

arXiv Project page Hugging Face Code license: MIT Data license: CC BY-NC 4.0

This repository holds RLCDAlignBench and the code behind the paper. The benchmark measures whether a detector can tell when a language model's output is an alignment failure. It has 44 benchmarks across ten failure types (sycophancy, jailbreaks, deception, prompt injection, hallucination, privacy violation, social bias, reward hacking, concealing uncertainty and power seeking) and five target models, for 7,193 labelled detection instances. Labels come from each benchmark's own scorer, and two extra sets carry human labels.

We use it to test Jev, a model trained with reinforcement learning for calibrated decisions (RLCD), which answers many typed questions about one input with calibrated probabilities in a single call. The key idea is to measure the question Jev is asked separately from the context it sees. A generic question reaches a median AUROC of 0.886 zero-shot and beats supervised TF-IDF and length baselines on 25 of 31 benchmarks. Out of sample, question wording adds little. Reading answers as probabilities instead of argmax decisions matters a lot. Context helps mostly through fields that encode the label.

RLCDAlignBench overview

Citation

@misc{guo2026justaskjevreinforcement,
      title={Just Ask Jev: Reinforcement Learning for Calibrated Decisions as a Zero-Shot Detector of AI Alignment Failures}, 
      author={Ruoqi Guo and Yi Liu and Gelei Deng and Yuekang Li and Lida Zhao and Yutao Wu and Simin Chen and Ying Zhang and Leo Yu Zhang},
      year={2026},
      eprint={2609.29429},
      archivePrefix={arXiv},
      primaryClass={cs.AI},
      url={https://arxiv.org/abs/2609.29429}, 
}

Disclaimer

The dataset contains unfiltered outputs of small open models under jailbreak and other adversarial prompts, and many of them are harmful. It is released only for research on detecting and mitigating alignment failures, and access on Hugging Face is gated. Do not use it to build or improve harmful systems.

Data

The data lives on Hugging Face at sumleo/RLCDAlignBench. Request access there, then:

from datasets import load_dataset

ds = load_dataset("sumleo/RLCDAlignBench", "harmbench", split="test")   # one benchmark
all_ = load_dataset("sumleo/RLCDAlignBench", "all", split="test")       # all 7,193 instances

Each instance has the fields a detector sees (state), a binary label (1 = the output is a failure the detector must flag), the label_source, the target_model and a meta record that links back to the provenance files. The dataset card documents every field and file.

Failure typeBenchmarksInstancesTarget model
Sycophancy4639Qwen3.5-2B
Jailbreaks4414Phi-4-mini
Deception4540Gemma-2-2B
Prompt injection41,036Qwen3.5-2B
Hallucination61,164Llama-3.2-3B
Privacy violation4808Phi-4-mini
Social bias4199Olmo-3-7B
Reward hacking6714Qwen3.5-2B
Concealing uncertainty4748Olmo-3-7B
Power seeking4931Llama-3.2-3B
Total447,1935 models

Human-labelled sets: StrongREJECT (1,361 responses, 5 raters each) and the HarmBench validation set (602 responses, 3 votes each).

data/benchmarks.csv is the 44-row index (name, failure type, hill-climb or held-out split, scorer, label source, n, positives, status). The split roles come from the AAR suite of Chen et al. (2026). data/variants.csv lists all 132 input variants used in the context experiments. results/ holds the paper-level tables.

On Hugging Face the release is organised as:

data/benchmarks/<failure_type>/<benchmark>.jsonl   canonical instances (the paper's n)
data/human/<set>.jsonl                             human-labelled sets
data/variants/<benchmark>/<variant>.jsonl          every input view: ablation, official track, oracle, exclusion, ...
jev/responses/<benchmark>/<variant>/<battery>.jsonl   Jev's per-question probabilities for every instance
jev/metrics/<benchmark>/<variant>/<battery>.json      per-strategy precision, recall, F1, AUROC
provenance/                                        target-model generations, reference-scorer calls, official scores, logs

Code

ComponentLocation
Generation and judge replay around the AAR harnesscode/generation/run_generate.py
Detection-sample builders (one per battery family)code/build_samples_*.py
Question batteries (the questions asked of Jev and the readout strategies)code/battery_*.py
Jev runner, caching and metricscode/run_jev.py, code/run_batch.sh
Battery linters (criteria leakage, format)code/lint_battery.py, code/lint_criteria_leak.py
Results summarycode/make_results_summary.py
Release toolstools/build_release.py, tools/legacy_layout.py

The code needs Python 3.10 or newer (the paper used 3.12) and only the standard library. The release tools also need pandas.

Recompute the metrics offline

This sends no requests and needs no keys. Every metric is recomputed from Jev's cached answers.

pip install -U "huggingface_hub[cli]" pandas
huggingface-cli login                                   # after your access request is approved
huggingface-cli download sumleo/RLCDAlignBench --repo-type dataset --local-dir hf

python tools/legacy_layout.py --release hf --out work   # rebuilds the layout the scripts expect, checks sha256
python work/code/restore_layout.py
python work/code/run_jev.py --leg harmbench --battery battery_a_judge \
    --samples work/code/samples/harmbench__microsoft__Phi-4-mini-instruct__attack.jsonl --rescore

The last command prints a table with one row per readout strategy (precision, recall, F1, balanced accuracy, AUROC, bootstrap CI). It matches jev/metrics/harmbench/attack/battery_a_judge_v2.json in the release.

Rerun from scratch

도구 다운로드