Pith. sign in

REVIEW 2 cited by

Safeguarding Large Language Models in Real-time with Tunable Safety-Performance Trade-offs

Not yet reviewed by Pith; the record is open.

This paper has not been read by Pith yet. Machine review is queued; the pith claim, tier, and objections will appear here once it completes.

SPECIMEN: schema-true, not a live event

T0 review · schema-true

One-sentence machine reading of the paper's core claim.

pith:XXXXXXXX · record.json · timestamp

arxiv 2501.02018 v1 pith:YIB7NY4O submitted 2025-01-02 cs.CL cs.AIcs.CRcs.LG

classification cs.CLcs.AIcs.CRcs.LG
keywords modelsmodelbehaviorjailbreaksafenudgeattacksbeenfluency
verification ladder T0 review T1 audit T2 compute T3 formal
0 comments
read the original abstract

Large Language Models (LLMs) have been shown to be susceptible to jailbreak attacks, or adversarial attacks used to illicit high risk behavior from a model. Jailbreaks have been exploited by cybercriminals and blackhat actors to cause significant harm, highlighting the critical need to safeguard widely-deployed models. Safeguarding approaches, which include fine-tuning models or having LLMs "self-reflect", may lengthen the inference time of a model, incur a computational penalty, reduce the semantic fluency of an output, and restrict ``normal'' model behavior. Importantly, these Safety-Performance Trade-offs (SPTs) remain an understudied area. In this work, we introduce a novel safeguard, called SafeNudge, that combines Controlled Text Generation with "nudging", or using text interventions to change the behavior of a model. SafeNudge triggers during text-generation while a jailbreak attack is being executed, and can reduce successful jailbreak attempts by 30% by guiding the LLM towards a safe responses. It adds minimal latency to inference and has a negligible impact on the semantic fluency of outputs. Further, we allow for tunable SPTs. SafeNudge is open-source and available through https://pypi.org/, and is compatible with models loaded with the Hugging Face "transformers" library.

Discussion (0). Continue with ORCID to comment.

Forward citations

Cited by 2 Pith papers

Reviewed papers in the Pith corpus that reference this work. Sorted by Pith novelty score. Full citation record

  1. The Future is Agentic: Definitions, Perspectives, and Open Challenges of Multi-Agent Recommender Systems

    cs.IR 2025-07 conditional novelty 6.0 of 10

    A framework for agentic recommender systems plus a pilot study showing multi-agent pipelines beat a single-shot LLM only on high-diversity user histories.

  2. CARE: Decoding Time Safety Alignment via Rollback and Introspection Intervention

    cs.LG 2025-09 conditional novelty 4.0 of 10

    CARE uses guard-model detection, token-buffer rollback, and self-reflective prompting to reduce harmful responses while preserving response quality.

Pith tools