Alpaca · Safety Evaluation

54 papers · 133 extracted observations · instruction following · language · Markdown · CSV · JSON API

Showing 2 of 2 matching observations.

YearMethodMetricScoreProtocol / FacetsPaper & Evidence
2024Similarity-based benign-data selection (representation- or gradient-based; variant unspecified in this summary) proposed non-standard sliceGPT-evaluated Attack Success Rate (ASR)71%Safety Evaluation · fine-tuned · subset=100 examplesWhat is in Your Safe Data? Identifying Benign Data that Breaks Safety
Source quote
L48: We find that both similarity-based approaches are effective in identifying examples that significantly cause model jailbreaking in Alpaca~\citep{alpacadata} and Dolly~\citep{dollydata} datasets. Fine-tuning with merely 100 selected benign examples---those most similar to known harmful data in either space---can elevate the GPT-evaluated Attack Success Rate (ASR) from 13% to 71% compared to finetuning with a random subset of data in Alpaca and from 8.2% to 53.3% in Dolly.
2024Gradient matching with bidirectional anchoring (top selection) proposed non-standard sliceASR66.5%Safety Evaluation · fine-tuned · subset=top 100 examples · selection=gradient matching; bidirectional anchoringWhat is in Your Safe Data? Identifying Benign Data that Breaks Safety
Source quote
L169: Selecting examples without employing safety anchoring yields an unexpected outcome: the examples with the lowest scores (Bottom) also lead to a high ASR score. This is surprising because these examples are theoretically the furthest from harmful examples in gradient space and should, in theory, be the safest. We speculate that there may be other confounding factors not captured by this unidirectional similarity metric taht may nonetheless elevate the ASR. To address this and ensure proper rank-ordering of datapoints by their likelihood to degrade safety, we use a bidirectional anchoring strategy, taking into account the distance of examples from safe data as well as known harmful data. Incorporating safety anchors, the ASR for top-selected examples significantly increases from 46.6% to 66.5% on Alpaca and from 4.9% to 53.3% on Dolly. Moreover, the selection of the lowest-ranked examples leads to a substantially reduced ASR of 3.8% on Alpaca.