arXiv AI By Zhengyang Shan, Jiayun Xin, Yanjun Lin, Xu Qian, Zhiang Liu, Minghui Xu, Yue Zhang, Qin Hu, Kun Li, Xiuzhen Cheng

UNBIND: UNlearning By INference-time Directional Steering for Code LLMs

Read the original on arXiv AI →

UNBIND is a code unlearning framework that selectively removes memorized code from large language models at inference time while keeping the model weights unchanged. It constructs separate directional steering for hidden states that correspond to target code, enabling high forgetting rates (97.3–99.1% reduction in target code reproduction) with minimal loss in programming utility. Across multiple baselines, corpora, and evaluation metrics—including F‑BLEU, HumanEval+, and MBPP+—UNBIND consistently achieves the best joint forgetting and utility scores, and it effectively eliminates long exact code spans in repeated extraction tests.

Machine-generated by The Flow from the publisher's headline and feed description — not written or checked by a human. The full article lives at arXiv AI.

arXiv AI
Sep 11

Forgetting Only What Matters: Layer-Selective Unlearning toward Robust LLMs

The paper introduces Forgetting Only What Matters via Unlearning Layers (FOM-UL), a layer‑selective unlearning framework for large language models. FOM-UL uses a forget‑to‑retain significance score to identify transformer layers that strongly influence the forget set while being insensitive to the retain set, allowing targeted updates that preserve most of the model. Experiments on TOFU, KnowUnDo, and MUSE-style benchmarks show that FOM-UL reduces residual memorization and maintains utility better than several baselines, even after 8‑bit and 4‑bit post‑training quantization, and it also limits recovery of forgotten content in adversarial prompt tests.

By Ravi Ranjan, Olivera Kotevska, Agoritsa Polyzou