Model Safety, Alignment & Jailbreaks
Adapting and Evaluating Token-Probability-Dependent Safety Mechanisms Under Text-Only API Access
Generated automatically from the limitations stated in 4 papers (ICML, EMNLP, COLM), listed under Evidence. It is not a paper, and it does not come from papers submitted to CSPaper.
The problem
Current inference-time safety defenses, risk monitors, and jailbreak evaluation methods frequently assume gray-box access to token-level logits or log probabilities. In practice, many proprietary LLM providers restrict API outputs to sampled text alone—either to prevent model distillation or to neutralize logprob-based attacks like JULI. As a result, these methods cannot be applied to the most widely deployed closed-weight models, and the performance degradation of text-only or sampling-based approximations under strict query budgets remains unquantified.
Why it matters
Third-party developers and auditors will be able to deploy inference-time safety guardrails and conduct rigorous vulnerability assessments on proprietary, text-only LLM APIs without relying on provider-exposed logits.
Ways to approach it
Prior-work checks are free with an account. Results someone already ran are shown to everyone.
- 1
Systematic Robustness Study of Sampling-Based Approximations: Take existing logprob-dependent methods (such as SafeDecoding, PRISM, or token-probability risk monitors) and replace exact token probabilities with empirical distributions estimated from $k \in \{1, 5, 10, 50\}$ text-only API samples. Measure the trade-off between query budget ($k$), Attack Success Rate (ASR), and benign false-positive refusal rates on open-weight models where exact logprobs serve as the ground-truth baseline.
- 2
Surrogate-Guided Proxy Estimation: Evaluate whether a small, local open-weight model can estimate the token-level probability distributions or calibration statistics conditioned on the text output of a black-box target API. Measure the divergence between proxy-estimated risk signals and true target-model logprob signals across standard jailbreak benchmarks (e.g., AdvBench, HarmBench) and out-of-distribution benign corpora.
- 3
Text-Only Sequence-Level Equivalents: Convert token-level probability interventions into chunk- or sequence-level text reranking/filtering variants that operate purely on generated strings. Measure the change in safety-utility Pareto frontiers when moving from token-level probability access to text-only outputs under matched wall-clock latency or token-generation budgets.
Have a different approach?
Describe how you would tackle this problem and we'll look for papers that already do it. Free; your text stays private.
Why it might fail
The problem shrinks in value if text-only black-box methods (such as semantic prompt-level guardrails or zero-order attacks like CodeMimicry) already outperform logprob-based methods at comparable query costs, or if empirical testing shows that estimating token distributions via text sampling requires prohibitively high query budgets to achieve basic calibration.
Evidence
Each paper's own statement of the limitation, verbatim.
- When Embedding-Based Defenses Fail: Rethinking Safety in LLM-Based Multi-Agent SystemsICML 2026
The method requires access to token logits or token probabilities, so it only applies to open-weight models or APIs exposing token probabilities; it cannot be applied to fully black-box APIs that return only text
- One Trace Is Not Enough: Paired Probing for Runtime Backdoor Detection in Limited-Black-Box LLMsEMNLP 2026
Requires limited-black-box access to output-side token probabilities; API settings returning text only would need a text-only variant and may not match performance
- Detecting Fluent Optimization-Based Adversarial Prompts via Sequential Entropy ChangesICML 2026
Requires token-level probabilities, unavailable for closed APIs exposing only sampled text, and calibration depends on a benign validation corpus matching deployment traffic; distribution shift can degrade performance
- Behavioral Canaries: Auditing Private Retrieved Context Usage in RL Fine-TuningCOLM 2026
Requires gray-box access to token-level log probabilities, which is available on some APIs but varies by provider and could be restricted; sampling-based alternatives need much higher query budgets
Nearest existing work
- JULI: Jailbreak Large Language Models by Self-IntrospectionICLR 2026
- Weak-to-Strong Jailbreaking on Large Language ModelsICML 2025
- SafeDecoding: Defending against Jailbreak Attacks via Safety-Aware DecodingACL 2024
- Alignment-Enhanced Decoding: Defending Jailbreaks via Token-Level Adaptive Refining of Probability DistributionsEMNLP 2024
- Decoding One Safety Trigger Token for Balancing Safety and Usability in Large Language ModelsEMNLP 2026
- JailBound: FOL-Guided Jailbreak Evaluation for Exploring LLM Behavioral BoundariesNeurIPS 2026
- An Interpretable N-gram Perplexity Threat Model for Large Language Model JailbreaksICML 2025
- PRISM: Calibrated Prior-Risk Integration for Safe and Useful Test-Time AlignmentEMNLP Findings 2026
- Efficient LLM Jailbreak via Adaptive Dense-to-sparse Constrained OptimizationNeurIPS 2024
- Immune: Improving Safety Against Jailbreaks in Multi-modal LLMs via Inference-Time AlignmentCVPR 2025
- Calibrating Inference Time Alignment with Sequence-level Risk AccumulationACL 2026
- SafeInt: Shielding Large Language Models from Jailbreak Attacks via Safety-Aware Representation InterventionEMNLP Findings 2025
- JailBreakV: A Benchmark for Assessing the Robustness of MultiModal Large Language Models against Jailbreak AttacksCOLM 2024
- Enhancing the Transferability of Jailbreak Attacks on Large Language Models via Exploiting Reparameterization InvarianceACL 2026
- CodeMimicry: Exploiting Safety Generalization Lag in Large Language Models via Structured Code CompletionNeurIPS 2026
Related open problems
Model Safety, Alignment & Jailbreaks
A Framework for Deploying Activation- and Logit-Based Methods Against Closed-Source LLM APIs via Instrumented Proxy Models
A very large body of techniques — safety defenses, interpretability probes, evaluation metrics, decoding controls — requires hidden states, attention maps, gradients, or token-level probabilities, and is therefore silently restricted to open-weight models. As a result, published methods are never validated on, and cannot protect or audit, the models most people actually use (GPT-4, Claude, Gemini). This is the single most common self-reported scope limitation in the literature, yet each paper treats it as an isolated footnote rather than a solvable engineering and inference problem.
Model Safety, Alignment & Jailbreaks
Decision-Only and Logit-Free Safety Auditing and Alignment Evaluation for Black-Box Models
Current safety auditing, jailbreak discovery, and representation-based alignment diagnostics overwhelmingly rely on white-box preconditions such as gradient access, intermediate activations, or output token logit distributions. When models are deployed behind production APIs that return only generated text, practitioners cannot run these diagnostic and red-teaming pipelines directly. Relying on surrogate transfer from open-source models produces high false-negative rates due to incomplete transferability across distinct architectures and tokenizers. Consequently, safety assessments for proprietary, API-governed models remain structurally disconnected from the methods developed in the literature.
Model Safety, Alignment & Jailbreaks
Recovering Internal Attention and Activation Signals from API-Visible Model Behavior
The shared wall is a dependence on inference-time extraction of layer-wise internal states — attention weights, hidden activations, per-layer execution — which are unavailable outside open-weight deployments and costly and per-model-fragile even where weights are open. Every technique built on those signals stops working the moment the model is served through an API; the sanctioned fallbacks, transferring from an open proxy or degrading to logit-only features, demonstrably forfeit most of the signal (one published detector drops from its white-box ceiling to 0.66 AUROC). Even with open weights, each release re-breaks the tooling: layer indices must be re-selected per model and multi-pass decoding adds latency. The result is a method family whose reach shrinks exactly as the most capable models become less open, and whose findings nobody without weight access can verify or use.
Model Safety, Alignment & Jailbreaks
Robust Evaluation of Non-Binary and Phrasing-Agnostic Refusal in Safety-Aligned Language Models
Current safety benchmarks and verifiable reward mechanisms evaluate model refusals primarily through binary keyword matching, hand-crafted refusal templates, or uncalibrated model-based autoraters (which show inter-annotator agreement as low as $\alpha = 0.378$). This creates a blind spot where models that partially comply, use non-standard refusal vocabulary, or alter their stance under multi-turn pushback are misclassified as either fully compliant or safely refusing. Consequently, alignment interventions optimized against these brittle metrics suffer from artificial over-refusal on benign queries while leaking safety risks through stylistic variation and conversational pressure. Without a rigorous, non-binary evaluation standard across diverse phrasing distributions, researchers cannot reliably assess whether safety alignment generalizes beyond rigid heuristic templates.