arXiv AI

Values as Style: Disentangling Values from Semantics with One-Way Mixing for Low-Damage LLM Steering

arXiv AI
Oct 27

Evaluating Harmful Memorization in LLM Code Generation

The paper introduces the Harmful Memorization Index (HMI) to measure when large language models (LLMs) fail to adapt to small semantic changes in coding tasks, producing code that is superficially similar to the original solution. It proposes an automated code‑rewriting pipeline that generates semantically different variants of tasks by altering core logic elements, and uses HMI to combine similarity metrics with performance degradation. Experiments on MBPP+ and BigCodeBench show that HMI does not simply grow with model size, is higher for certain logic‑edit types, and that supervised fine‑tuning can increase HMI while PPO offers a better accuracy–HMI trade‑off.

By Lizhe Zhang, Wentao Chen, Li Zhong, Letian Peng, Zilong Wang, Jingbo Shang
arXiv AI
Sep 25

ALOE: Semantically Addressed Low-Rank Operators for Knowledge Editing

The paper introduces ALOE, a method for knowledge editing that learns semantic addresses from paraphrases and hard negatives, aligns them with autoregressive hidden states, and embeds a gated low‑rank operator within a single MLP layer. This design allows the edited model to run in one forward pass without external retrievers or routers. Experiments on CounterFact, ZSRE, and KnowEdit show high efficacy (0.955–0.999) and locality (0.981–1.000) across 7–8B model families, with analyses indicating effective separation of edits and suppression of out‑of‑scope activation.

By Zeyan Li, Hu Xu, Jianfeng Xu
arXiv Computation and Language
Nov 5

Steer2Edit: From Activation Steering to Component-Level Editing

Steer2Edit is a training‑free framework that converts steering vectors—used to control large language models—into component‑level rank‑1 weight edits. Instead of applying a uniform activation change during inference, it redistributes influence across individual attention heads and MLP neurons, producing interpretable edits that keep the standard forward pass intact. Experiments show that, at comparable downstream performance, Steer2Edit improves safety by up to 17.2 %, increases truthfulness by 9.8 %, and shortens reasoning length by 12.2 % on average.

By Chung-En Sun, Ge Yan, Zimo Wang, Tsui-Wei Weng