中文
相关论文

相关论文: Steering Code LLMs with Activation Directions for …

200 篇论文

This work examines whether activating latent subspaces in language models (LLMs) can steer scientific code generation toward a specific programming language. Five causal LLMs were first evaluated on scientific coding prompts to quantify…

人工智能 · 计算机科学 2025-06-24 Vansh Sharma , Venkat Raman

Large Language Models (LLMs) are widely used by software engineers for programming tasks. However, research shows that LLMs often lack a deep understanding of program semantics. Even minor changes to syntax, such as renaming variables, can…

计算与语言 · 计算机科学 2025-10-06 Francesca Lucchetti , Arjun Guha

This research explores strategies for steering the output of large language models (LLMs) towards specific styles, such as sentiment, emotion, or writing style, by adding style vectors to the activations of hidden layers during text…

Steering vectors are a lightweight method to control language model behavior by adding a learned bias to the activations at inference time. Although steering demonstrates promising performance, recent work shows that it can be unreliable or…

机器学习 · 计算机科学 2025-05-29 Joschka Braun , Carsten Eickhoff , David Krueger , Seyed Ali Bahrainian , Dmitrii Krasheninnikov

The ability to follow instructions is crucial for numerous real-world applications of language models. In pursuit of deeper insights and more powerful capabilities, we derive instruction-specific vector representations from language models…

计算与语言 · 计算机科学 2025-04-15 Alessandro Stolfo , Vidhisha Balachandran , Safoora Yousefi , Eric Horvitz , Besmira Nushi

As large language models (LLMs) become more integrated into societal systems, the risk of them perpetuating and amplifying harmful biases becomes a critical safety concern. Traditional methods for mitigating bias often rely on data…

人工智能 · 计算机科学 2025-08-13 Shivam Dubey

Large language models (LLMs) require precise behavior control for safe and effective deployment across diverse applications. Activation steering offers a promising approach for LLMs' behavioral control. We focus on the question of how…

人工智能 · 计算机科学 2026-01-13 Tetiana Bas , Krystian Novak

Multilingual Large Language Models (LLMs) often exhibit hallucinations such as unintended code-switching, reducing reliability in downstream tasks. We propose latent-space language steering, a lightweight inference-time method that…

计算与语言 · 计算机科学 2026-04-16 Andrey Goncharov , Nikolai Kondusov , Alexey Zaytsev

Researchers have been studying approaches to steer the behavior of Large Language Models (LLMs) and build personalized LLMs tailored for various applications. While fine-tuning seems to be a direct solution, it requires substantial…

计算与语言 · 计算机科学 2024-07-31 Yuanpu Cao , Tianrong Zhang , Bochuan Cao , Ziyi Yin , Lu Lin , Fenglong Ma , Jinghui Chen

Despite significant progress in alignment, large language models (LLMs) remain vulnerable to adversarial attacks that elicit harmful behaviors. Activation steering techniques offer a promising inference-time intervention approach, but…

机器学习 · 计算机科学 2026-01-28 Quy-Anh Dang , Chris Ngo

Controlling undesirable Large Language Model (LLM) behaviors, such as the generation of unsafe content or failing to adhere to safety guidelines, often relies on costly fine-tuning. Activation steering provides an alternative for…

计算与语言 · 计算机科学 2026-03-17 Amr Hegazy , Mostafa Elhoushi , Amr Alanwar

As large language models (LLMs) improve in their capacity to serve as personal AI assistants, their ability to output uniquely tailored, personalized responses that align with the soft preferences of their users is essential for enhancing…

人机交互 · 计算机科学 2025-05-15 Jessica Y. Bo , Tianyu Xu , Ishan Chatterjee , Katrina Passarella-Ward , Achin Kulshrestha , D Shin

Large Language Models (LLMs), despite advances in instruction tuning, often fail to follow complex user instructions. Activation steering techniques aim to mitigate this by manipulating model internals, but have a potential risk of…

机器学习 · 计算机科学 2026-03-10 Minjae Kang , Jaehyung Kim

Protein Language Models (PLMs), pre-trained on extensive evolutionary data from natural proteins, have emerged as indispensable tools for protein design. While powerful, PLMs often struggle to produce proteins with precisely specified…

生物大分子 · 定量生物学 2025-09-15 Long-Kai Huang , Rongyi Zhu , Bing He , Jianhua Yao

Changing the behavior of large language models (LLMs) can be as straightforward as editing the Transformer's residual streams using appropriately constructed "steering vectors." These modifications to internal neural activations, a form of…

计算与语言 · 计算机科学 2025-05-20 Jian-Qiao Zhu , Haijiang Yan , Thomas L. Griffiths

Activation steering is a popular white-box control technique that modifies model activations to elicit an abstract change in its behavior. It has also become a standard tool in interpretability (e.g., probing truthfulness, or translating…

人工智能 · 计算机科学 2026-05-11 Aayush Mishra , Daniel Khashabi , Anqi Liu

Methods for controlling large language models (LLMs), including local weight fine-tuning, LoRA-based adaptation, and activation-based interventions, are often studied in isolation, obscuring their connections and making comparison…

Steering language models (LMs) by modifying internal activations is a popular approach for controlling text generation. Unsupervised dictionary learning methods, e.g., sparse autoencoders, can be scaled to produce many steering vectors, but…

计算与语言 · 计算机科学 2025-06-05 Jiuding Sun , Sidharth Baskaran , Zhengxuan Wu , Michael Sklar , Christopher Potts , Atticus Geiger

In this work, we examine how targeted perturbations in the activation space of Language Models (LMs) can encode complex reasoning patterns. We inject steering vectors, derived from LM activations, into LMs during inference time and study…

计算与语言 · 计算机科学 2025-03-24 Jason Zhang , Scott Viteri

Large language models have transformed AI, yet reliably controlling their outputs remains a challenge. This paper explores activation engineering, where outputs of pre-trained LLMs are controlled by manipulating their activations at…

神经与进化计算 · 计算机科学 2025-05-13 Joris Postmus , Steven Abreu
‹ 上一页 1 2 3 10 下一页 ›