arXiv:2608.29215cs.CLAug 2026

Manuscript Offprint

arXiv:2608.29215

Attribute-Based Activation Steering of LLMs for Group-Specific Explanation Generation

Leandra Fichtel, Janek Prange, Henning Wachsmuth

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

To effectively enable people to understand new topics, explanations should be tailored to their backgrounds and abilities. Prompting alone has been shown to be insufficient for creating such explanations, and other computational methods are missing so far. Therefore, this paper investigates whether LLMs can be steered to generate explanations that are tailored to a specific group of people. To this end, we propose an approach that first identifies group-specific attributes in terms of explanatory style and knowledge of a specific target group. Building on activation engineering, it then computes attribute-based steering vectors and adds them to the internal activations of an LLM during inference to enable a fine-grained steering. In our experiments, we assess the steering effectiveness in terms of specificity and factuality of the generated explanations. Additionally, we evaluate the explanations in a study with human experts from different target groups. Compared to prompting and state-of-the-art steering baselines, our approach tailors the explanations significantly better to the target group while maintaining the best specificity-factuality balance.

1 Introduction

The computational generation of natural language explanations has recently seen increased research interest, due to its importance for explainable AI (Schneider and Handali, 2019; Miller, 2019; Lyu et al., 2024; Zytek et al., 2024) and applications such as feedback-based writing support (Stahl et al., 2024). However, to ensure that explanations are effectively understood, the background and abilities of the explainee (i.e., the person being explained to) need to be taken into account. That is, explanations should ideally be personalized (Sokol and Flach, 2020; Rong et al., 2024). As explainee-specific characteristics are not always accessible, an alternative is to tailor the explanation to the explainee's target group (Schneider and Handali, 2019). For il-

Question: How does DNA work?

Target group: Game developers

Figure

Generic explanation (prompt-based baseline)

DNA works by carrying genetic information in cells. It's made of four types of nucleotide bases: adenine (A), thymine (T), cytosine (C), and guanine (G). [...] When a cell needs to make protein, it uses DNA as a template. First a section of DNA is copied into RNA [...]

Group-specific explanation (our steering approach)

From a game developer's perspective, you might want to think of DNA as a blueprint that defines the structure and behavior of your game. Just like DNA codes for the traits of an organism, your game's code defines its behavior and features. [...]

Figure 1: Two exemplary explanations to the question “How does DNA work?”: A generic explanation generated by a prompt-based approach based on the question only, and a group-specific explanation for game developers generated by the approach presented in this paper.

lustration, Figure 1 contrasts a generic explanation to an explanation tailored to game developers.

While group-specific explanations could be generated by simply prompting large language models (LLMs) (Jeck et al., 2025; Zhang et al., 2025a), prompt-based steering is often highly sensitive to prompt formulation (Beck et al., 2024) and achieves low steering effectiveness (Rooein et al., 2023; Siskou and Hautli-Janisz, 2025). For fine-tuning LLMs, group-specific explanation data is missing since most existing NLP research on human-written explanations lacks group-specific information about the explainees (Camburu et al., 2018; Rajani et al., 2019; Wang et al., 2020; Aggarwal et al., 2021). Altogether, we are not aware of any computational method so far that generates high-quality explanations explicitly tailored to group-specific preferences.

In this paper, we tackle the task of group-specific explanation generation while avoiding the need for supervised explanation data. In particular, we study whether it is possible to computationally learn from explanations of a specific target group how to explain a topic for that group. Unlike text style transfer that targets the adjustment of style while pre-serving meaning (Jin et al., 2022) and content transfer that does the opposite (Chen et al., 2024), the given problem requires modeling the background and abilities of the target group (Wachsmuth and Alshomary, 2022). Our hypothesis is that these are represented implicitly in the language that members of the group use and in what they talk about. Extending the unsupervised method of Patel et al. (2023), we combine prompting and clustering to not only extract attributes related to explanatory style (e.g., The author includes code snippets) but also to knowledge (e.g., The author understands game development) from explanations written by group members (e.g., game developers).

The key idea of our approach is to generate explanations tailored to a specific target group by steering an LLM based on the most important attributes of that group. To enable this fine-grained steering, we employ activation engineering (Subramani et al., 2022; Turner et al., 2023; Konen et al., 2024) by adding steering vectors to the LLM's internal activations for preselected layers during inference. Unlike existing approaches, we construct attribute-based steering vectors from the activation vectors of the style and knowledge attributes to tailor the LLM's output specifically to the target group.

In our experiments, we extract the group-specific attributes from answers from eleven Stack Exchange communities (e.g., philosophers or game developers), finding high correlations that support the adequacy of the attributes. We assess the effectiveness of our approach against prompting and state-of-the-art steering baselines, focusing on the specificity and factuality of the generated explanations. In addition, we manually evaluate steering success, plausibility and helpfulness in a human study with nine experts from biology, philosophy, and game development. While the results show a tradeoff between specificity and factuality, our approach achieves the best balance between these two criteria, generating significantly better tailored explanations while largely maintaining factuality.

To summarize, our main contributions are:

  1. An unsupervised method to obtain style and knowledge attributes of a specific group.

  2. A training-free method to enable attribute-based activation steering of LLMs for group-specific explanation generation.

  3. Empirical evidence for the effectiveness of respective steering from an expert evaluation.