paper-with-me

Papers

CBF-LLM: Safe Control for LLM Alignment

2024-08-28 · Yuya Miyaoka, Masaki Inoue

This paper proposes a control-based framework for aligning large language models (LLMs) by leveraging a control barrier function (CBF) to ensure user-desirable text generation. The presented framework applies the safety filter, designed based on the CBF, to the output generation of the baseline LLM, i.e., the sequence of the token, with the aim of intervening in the generated text. The overall text-generation system is implemented with Llama 3 and a RoBERTa model, and the source code is available at https://github.com/Mya-Mya/CBF-LLM. The experiment demonstrates its control ability and effectiveness in reducing the number of interventions needed for user-specified alignment tasks.

📄 PDF Abstract BibTeX arXiv:2408.15625

Code (1)

mya-mya/cbf-llm 공식 구현 pytorch

Tasks

Text Generation

Methods 이 논문이 사용한 방법론

Refunds@Expedia|||How do I get a full refund from Expedia? “How do I get a full refund from Expedia? How do I get a full refund from Expedia? – Call ☎️ +1-(888) 829 (0881) or +1-805-330-4056 or +1-805-330-4056 for Quick Help &…
Softmax The Softmax output function transforms a previous layer's output into a vector of probabilities. It is commonly used for multiclass classification. Given an input vector $x$…
Linear Layer A Linear Layer is a projection $\mathbf{XW + b}$.
Dropout Dropout is a regularization technique for neural networks that drops a unit (along with connections) at training time with a specified probability $p$ (a common value is…
Adam 설명 없음
Layer Normalization Unlike batch normalization, Layer Normalization directly estimates the normalization statistics from the summed inputs…
Weight Decay 설명 없음
Attention 설명 없음

Similar Papers 제목 키워드 기반

MOSAIC: Composable Safety Alignment with Modular Control Tokens

2026-03-17 · Jingyu Peng, Hongyu Chen, Jiancheng Dong, Maolin Wang 외 arxiv

Safety alignment in large language models (LLMs) is commonly implemented as a single static policy embedded in model parameters. However, real-world deployments often require context-dependent safety rules that vary acro…

Controllable Safety Alignment: Inference-Time Adaptation to Diverse Safety Requirements

2024-10-11 · Jingyu Zhang, Ahmed Elgohary, Ahmed Magooda, Daniel Khashabi 외

The current paradigm for safety alignment of large language models (LLMs) follows a one-size-fits-all approach: the model refuses to interact with any content deemed unsafe by the model provider. This approach lacks flex…

Safety Alignment

Palette: A Modular, Controllable, and Efficient Framework for On-demand Authorized Safety Alignment Relaxation in LLMs

2026-05-22 · Qitao Tan, Xiaoying Song, Arman Akbari, Arash Akbari 외 arxiv

Current safety alignment of foundation models largely follows a \emph{one-size-fits-all} paradigm, applying the same refusal policy across users and contexts. As a result, models may refuse requests that are unsafe for g…

UpSafe$^\circ$C: Upcycling for Controllable Safety in Large Language Models

2025-10-02 · Yuhao Sun, Zhuoer Xu, Shiwen Cui, Kun Yang 외 arxiv

Large Language Models (LLMs) have achieved remarkable progress across a wide range of tasks, but remain vulnerable to safety risks such as harmful content generation and jailbreak attacks. Existing safety techniques -- i…

Revisiting Robustness for LLM Safety Alignment via Selective Geometry Control

2026-02-07 · Yonghui Yang, Wenjian Tao, Jilong Liu, Xingyu Zhu 외 arxiv

Safety alignment of large language models remains brittle under domain shift and noisy preference supervision. Most existing robust alignment methods focus on uncertainty in alignment data, while overlooking optimization…