<?xml-model href='http://www.tei-c.org/release/xml/tei/custom/schema/relaxng/tei_all.rng' schematypens='http://relaxng.org/ns/structure/1.0'?><TEI xmlns="http://www.tei-c.org/ns/1.0">
	<teiHeader>
		<fileDesc>
			<titleStmt><title level='a'>How Post-Training Reshapes LLMs: A Mechanistic View on Knowledge, Truthfulness, Refusal, and Confidence</title></titleStmt>
			<publicationStmt>
				<publisher>Conference on Language Modeling (COLM)</publisher>
				<date>10/07/2025</date>
			</publicationStmt>
			<sourceDesc>
				<bibl> 
					<idno type="par_id">10637455</idno>
					<idno type="doi"></idno>
					
					<author>Hongzhe Du</author><author>Weikai Li</author><author>Min Cai</author><author>Karim Saraipour</author><author>Zimin Zhang</author><author>Himabindu Lakkaraju</author><author>Yizhou Sun</author><author>Shichang Zhang</author>
				</bibl>
			</sourceDesc>
		</fileDesc>
		<profileDesc>
			<abstract><ab><![CDATA[Post-training is essential for the success of large language models (LLMs), transforming pre-trained base models into more useful and aligned posttrained models. While plenty of works have studied post-training algorithms and evaluated post-training models by their outputs, it remains understudied how post-training reshapes LLMs internally. In this paper, we compare base and post-trained LLMs mechanistically from four perspectives to better understand post-training effects. Our findings across model families and datasets reveal that: (1) Post-training does not change the factual knowledge storage locations, and it adapts knowledge representations from the base model while developing new knowledge representations; (2) Both truthfulness and refusal can be represented by vectors in the hidden representation space. The truthfulness direction is highly similar between the base and post-trained model, and it is effectively transferable for interventions; (3) The refusal direction is different between the base and post-trained models, and it shows limited forward transferability; (4) Differences in confidence between the base and post-trained models cannot be attributed to entropy neurons. Our study provides insights into the fundamental mechanisms preserved and altered during post-training, facilitates downstream tasks like model steering, and could potentially benefit future research in interpretability and LLM post-training. Our code is publicly available at HZD01/post-training-mechanistic-analysis.]]></ab></abstract>
		</profileDesc>
	</teiHeader>
	<text><body xmlns="http://www.tei-c.org/ns/1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xlink="http://www.w3.org/1999/xlink">
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="1">Introduction</head><p>The success of large language models (LLMs) has standardized a training paradigm consisting of pre-training and post-training. Post-training transforms a pre-trained base model into more useful and aligned post-trained models <ref type="bibr">(Grattafiori et al., 2024;</ref><ref type="bibr">OpenAI, 2023;</ref><ref type="bibr">Jiang et al., 2023;</ref><ref type="bibr">Lambert et al., 2024, inter alia)</ref>. Initially introduced to improve instructionfollowing capabilities <ref type="bibr">(Ouyang et al., 2022;</ref><ref type="bibr">Wei et al., 2022)</ref>, post-training has evolved to serve versatile purposes, including but not limited to making models more truthful <ref type="bibr">(Lin et al., 2022;</ref><ref type="bibr">OpenAI, 2023;</ref><ref type="bibr">Lambert et al., 2024)</ref>, safety alignment by enabling models to refuse harmful instructions <ref type="bibr">(Bai et al., 2022;</ref><ref type="bibr">Grattafiori et al., 2024)</ref>, and calibrating the model's output confidence <ref type="bibr">(OpenAI, 2023)</ref>.</p><p>Research on post-training has predominantly focused on algorithms such as Direct Preference Optimization (DPO) <ref type="bibr">(Rafailov et al., 2024)</ref> and Reinforcement Learning from Human Feedback (RLHF) <ref type="bibr">(Christiano et al., 2017)</ref> and improving LLMs' ability in downstream tasks such as reasoning <ref type="bibr">(Kumar et al., 2025)</ref> and math <ref type="bibr">(Liu et al., 2024b)</ref>. These studies mainly treat the LLM as a black box, and only evaluate its outputs externally <ref type="bibr">(Zhou et al., 2023;</ref><ref type="bibr">Wen et al., 2024)</ref>. However, it remains unclear how post-training affects the mechanisms of LLMs and whether the model is fundamentally altered internally. Such a mechanistic understanding can help us better use post-trained LLMs and potentially design better post-training methods.</p><p>Recent research studies have started to examine the mechanistic effect of post-training and reveal interesting findings. However, this direction is still underexplored, given these efforts are still algorithm-centric <ref type="bibr">(Lee et al., 2024)</ref>, model-specific <ref type="bibr">(Panickssery et al., 2024)</ref>, task-format-specific <ref type="bibr">(Panickssery et al., 2024)</ref>, or rely on learning an extra model like Sparse Autoencoders (SAEs) on top of the LLM instead of direct analysis <ref type="bibr">(Kissane et al., 2024b)</ref>.</p><p>In this work, we systematically and mechanistically study the post-trained (POST) model, on top of the pre-trained (BASE) model. We compare the BASE and POST models internally from four perspectives: knowledge storage and representation, internal belief of truthfulness, refusal behavior, and confidence. These perspectives represent fundamental capabilities that determine an LLM's real-world utility and safety. POST models are expected to preserve knowledge learned during pre-training, improve truthfulness, enhance refusal of harmful inputs, and show a different level of confidence from the base model. We specifically focus on two POST model types: a final model that went through all post-training stages, commonly called the INSTRUCT model, and a model with only supervised fine-tuning on top of BASE, commonly called the SFT model. While some other perspectives, such as reasoning and instruction-following, are also important, they involve complex, multi-step processes that are not well-captured by current interpretability tools. Therefore, our work focuses on four perspectives that can be rigorously measured and mechanistically interpreted, providing a solid foundation for understanding internal mechanisms during post-training.</p><p>For each perspective, we choose the most suitable tool from the LLM interpretability toolbox. For the first perspective, we utilize the widely used knowledge locating technique, causal tracing <ref type="bibr">(Meng et al., 2022)</ref>, to investigate the storage and representation of knowledge. We discover that locations for storing the same knowledge in BASE and POST models are similar, and POST model adapts the original knowledge representations while developing new ones. For the second perspective of truthfulness, based on previous papers' discovery that the concept of truthfulness can be represented as a direction in the hidden representation space <ref type="bibr">(Marks &amp; Tegmark, 2024;</ref><ref type="bibr">Li et al., 2024;</ref><ref type="bibr">Panickssery et al., 2024;</ref><ref type="bibr">B &#252;rger et al., 2024)</ref>, we learn a vector linearly representing truthfulness in the model's hidden space, referred to as the "truthfulness direction". For the two directions learned for BASE and POST models, we find that they have high cosine similarity and can be effectively transferred for truthfulness intervention. For the third perspective, we learn a "refusal direction" similar to the truthfulness direction in the hidden representation space <ref type="bibr">(Arditi et al., 2024)</ref>. We find that the transferability of such refusal direction is only effective backward (from POST to BASE) but not forward (from BASE to POST). Last, we analyze the confidence of BASE and POST models through the lens of entropy neurons, which contributes to forming the LLM's output confidence <ref type="bibr">(Stolfo et al., 2024;</ref><ref type="bibr">Gurnee et al., 2024)</ref>. Our analysis reveals that entropy neurons of BASE and POST models have similar distributions, leading us to the conclusion that these neurons do not contribute significantly to the observed confidence differences between the BASE and POST models. We illustrate our main conclusions in Figure <ref type="figure">1</ref>.</p><p>Our analysis from the four perspectives reveals both the kept and the altered internal mechanisms by post-training, which could benefit future research and applications in interpretability and LLM post-training. Given some internal mechanisms are mostly developed during pre-training and not significantly altered by post-training, such as factual knowledge and the truthfulness direction. We can leverage the transferability to develop for example truthfulness-oriented procedures on the BASE model and apply it to the POST model conveniently. For the mechanisms that are altered or developed during post-training, such as refusing harmful instructions, there are also possibilities to efficiently improve BASE's ability by applying the backward transfer from POST.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>Models</head><p>We mainly conduct experiments on two representative LLM model families: Llama-3.1-8B/Instruct <ref type="bibr">(Grattafiori et al., 2024)</ref> and Mistral-7B-v0.3/Instruct <ref type="bibr">(Jiang et al., 2023)</ref>. The original model release does not include SFT models of this size, so we use widely recognized external SFT models: Llama-3.1-Tulu-3-8B-SFT, which finetunes Llama-3.1-8B on the tulu-3sft-mixture dataset <ref type="bibr">(Lambert et al., 2024)</ref>, and Mistral-7B-Base-SFT-Tulu2 <ref type="bibr">(Feuer et al., 2025)</ref>, which finetunes Mistral-7B-v0.3 on the tulu-v2-sft-mixture dataset <ref type="bibr">(Ivison et al., 2023)</ref>. For refusal experiments, we additionally include Qwen-1.5-0.5B/Instruct <ref type="bibr">(Bai et al., 2023)</ref> and Gemma-2-9B/Instruct <ref type="bibr">(Team et al., 2024)</ref> following experiment settings in <ref type="bibr">Arditi et al. (2024)</ref>.</p><p>For confidence experiments, we additionally include Llama-2-7B/Instruct models <ref type="bibr">(Touvron et al., 2023)</ref> following <ref type="bibr">Stolfo et al. (2024)</ref>. To further demonstrate that our findings could generalize to different models sizes, especially larger models, we include experiments on Llama-2-13B/Instruct <ref type="bibr">(Touvron et al., 2023</ref>) models for all perspectives in Appendix F.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>Datasets</head><p>For the knowledge and truthfulness perspectives, we use datasets from <ref type="bibr">(Marks &amp; Tegmark, 2024;</ref><ref type="bibr">B &#252;rger et al., 2024;</ref><ref type="bibr">Azaria &amp; Mitchell, 2023)</ref>, where each sub-dataset contains simple and unambiguous statements that are either true or false from diverse topics. For example, cities contains statements about cities and their countries, following the format "The city of <ref type="bibr">[city]</ref> is in [country]". The unambiguity and clear dataset make it easy to analyze LLMs. To eliminate the concern that the datasets might be out-of-distribution for post-training, we curate a dataset that is in-distribution for SFT models. We curate the tulu extracted dataset from the tulu-3-sft-mixture dataset <ref type="bibr">(Lambert et al., 2024)</ref>, which was used to finetune the Llama-3.1-8B-SFT model. We ensure every statement from tulu extracted also appears in the tulu-v2-sft-mixture dataset <ref type="bibr">(Ivison et al., 2023)</ref>, so it is also in-distribution for the Mistral-SFT model. For experiments on the refusal perspective, we follow <ref type="bibr">Arditi et al. (2024)</ref> to use advbench <ref type="bibr">(Zou et al., 2023)</ref> for harmful inputs and alpaca <ref type="bibr">(Taori et al., 2023)</ref> for harmless inputs. Dataset details are explained in Appendix A.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="4">Knowledge Storage and Representation</head><p>LLMs are known to store factual knowledge in their parameters, particularly in "knowledge neurons" and MLP layers that act as key-value memories. This enables them to answer factual queries, such as answering "TRUE" or "FALSE" for prompt "The city of New York is in the United States. This statement is:". While such knowledge is believed to emerge during pre-training and persist through post-training, mechanistic evidence remains limited. As knowledge is foundational for LLMs, we first examine how post-training affects it-whether it alters (1) knowledge-storage locations and (2) knowledge representations.</p><p>When prompted to classify a statement's truthfulness, LLMs retrieve stored knowledge into hidden representations at some layers and tokens, which guide the final output. Following <ref type="bibr">Marks &amp; Tegmark (2024)</ref>, we adapt causal tracing to identify knowledge-storage locations by patching hidden states between true and false statement pairs. Each pair is token-aligned and differs only in subject-e.g., "The city of Seattle is in France." vs. "The city of Paris is in France.". The relation (e.g., city-in-country) is true for only one statement. We treat subject and object tokens (e.g., city and country) as knowledge-related target tokens for analysis.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>Locating Knowledge</head><p>We use causal tracing to localize knowledge storage via three forward passes with varying inputs and intermediate patching. First, we input a true statement s and record the hidden representations h l i (s) at each layer l and token position i. Second, we input a false statement &#349; and similarly record h l i (&#349;). Third, we input &#349; again, but patch a specific hidden state h l i (&#349;) with h l i (s) from the first run (i.e., replace h l i (&#349;) with h l i (s)). We perform this patching independently for each (i, l) pair. If patching a particular position flips the output from "FALSE" to "TRUE", it indicates that location contributes to knowledge storage. To measure the effectiveness of the patching, we calculate the log probability difference of outputting "True" versus outputting "False":</p><p>where a high value indicates that some knowledge is stored in the l-th layer at the i-th token.</p><p>In order to aggregate the location of individual knowledge and analyze the knowledge storage location in general, we average the patching results over all the statements, where we carefully curate the statements to have the same token lengths and token positions. We use (true, false) statement pairs for patching, where each pair only differs in their subjects, and we explain the dataset construction details in Appendix B.1. We construct input prompts by 4-shot examples containing 2 true statements and 2 false statements, followed by the final statement. Patching is applied to the final statement using the methods described above. The aggregated results ( Ml i ) are normalized (M l i ) for better visualization:</p><p>In normalization, we divide the range [min i,l Ml i , max i,l Ml i ] into 20 equal-width bins. We set values in the lower 10 bins to 0 and values in the upper 10 bins to 0.1, 0.2, ..., 1. We denote the normalized result as M model &#8712; R L * I , where L and I are the number of layers and tokens.  Metric cities neg cities larger than smaller than sp en trans neg sp en trans tulu extracted Number of Curated Pairs 238 215 406 487 25 33 55 Corr(M BASE , M INSTRUCT ) 0.9923 0.9853 0.9969 0.9805 0.9945 0.9822 0.9978 max|M INSTRUCT -M BASE | 0.4 0.4 0.3 0.5 0.3 0.5 0.2 max|M INSTRUCT -M BASE | K 0.2 0.4 0.1 0.5 0.2 0.1 0.1 Corr(M BASE , M SFT ) 0.9962 0.9947 0.9978 0.9855 0.9975 0.9792 0.9969 max|M SFT -M BASE | 0.2 0.2 0.1 0.5 0.2 0.5 0.2 max|M SFT -M BASE | K 0.2 0.2 0.1 0.5 0.1 0.2 0.1 Table 1: Comparison of knowledge storage locations of the Llama-3.1-8B model family. models. We compute Pearson correlation coefficient between M BASE and M POST , where POST is INSTRUCT or SFT. We also measure the maximum absolute difference value over all tokens, max|M POST -M BASE |, as well as only over knowledge-related tokens (subject and object), max|M POST -M BASE | K . Results for the Llama-3.1-8B family are in Table 1, and for Mistral-7B in Table 8 in Appendix B.4. All results show high correlation and low difference, confirming that post-training has little influence on knowledge-storage locations. Q2: Does post-training change the knowledge representations? We further conduct cross-model experiments by patching hidden representations from BASE to POST (forward patching) and from POST to BASE (backward patching). It allows us to analyze whether knowledge representations in BASE can still work in POST, and vice versa. Due to space limits, we put the visualizations on all models and datasets in Appendix B.5. The results demonstrate that the forward patching is almost always successful, but the backward patching often fails, i.e., it does not recover the log probability difference. It leads to the conclusion that knowledge representations of BASE still work after post-training, but post-training also develops new knowledge representations.</p><p>Verification on in-distribution dataset One natural question is that our previous experiments are based on general datasets independent of post-training, which can be considered out-of-distribution. To verify the conclusions completely, we extract factual knowledge from the Tulu dataset <ref type="bibr">(Lambert et al., 2024)</ref>, which was used to fine-tune Llama-3.1-8B-SFT and Mistral-7B-v0.3-SFT <ref type="bibr">(Feuer et al., 2025)</ref>. We generate (true, false) statement pairs from the dataset, and it can be considered an in-distribution dataset for the SFT models. Different from previous datasets, pairs in the Tulu dataset could have different lengths, so we slightly modify the metric calculation, specified in Appendix B.3. The last column of Table <ref type="table">1</ref> shows results of the Llama-3.1-8B family, and the last column of Table <ref type="table">8</ref> in Appendix B.4 shows results of the Mistral-7B family. They verify our previous conclusions.</p><p>Besides, to verify our conclusion's generalizability, we conduct experiments on a larger model, Llama-2-13B <ref type="bibr">(Touvron et al., 2023)</ref>, shown in Appendix F. We also conduct experiments following the traditional causal tracing setting <ref type="bibr">(Meng et al., 2022)</ref>, which asks the LLM to output the object given a subject. We do not use the traditional setting in the main experiments because it cannot test knowledge storage in the object, and it only allows a small range of datasets, as explained in Appendix B.4. The results also verify the conclusions. </p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="5">Internal Belief of Truthfulness</head><p>How LLMs internally assess the truthfulness of an input statement is another essential aspect of making LLMs truthful and reliable. Previous studies have found that given an LLM and a statement, whether the LLM believes the statement to be true or false can be assessed from the hidden representations encoded by the model. Such belief of truthfulness can be linearly represented along a truthfulness direction in the hidden representation space <ref type="bibr">(Marks &amp; Tegmark, 2024;</ref><ref type="bibr">B &#252;rger et al., 2024)</ref>. We analyze this direction in BASE models and POST models to analyze whether post-training changes this truthfulness direction.</p><p>Linear Probe for Truthfulness To identify the truthfulness direction in a model, we compute difference-in-mean on the hidden representations h l , where l is the layer number where truthfulness is most strongly encoded (based on causal tracing results in Section 4). We get this truthfulness direction on one dataset (training dataset) and transfer it to other datasets. Given a training true/false dataset D train , we separate it into true statements D train true and false statements D train false . Similar to knowledge-storage experiments, we use two true statements and two false statements to construct 4-shot prompts, specified in Appendix C.1. The model follows the 4 examples to output "TRUE" or "FALSE" for the final statement. In this process, we compute the truthfulness direction t as:</p><p>where i is the last token of the input prompt and l is the selected layer. Figure <ref type="figure">3</ref> (a) and (b) show the cosine similarities of t l from different models on two truthfulness datasets. The heatmaps show a high cosine similarity, revealing that BASE, SFT, and INSTRUCT models have remarkably similar internal truthfulness directions.</p><p>To further investigate the generalizability, we utilize t as the weight of logistic regression to construct an MM probe to classify whether a statement is true <ref type="bibr">(Marks &amp; Tegmark, 2024)</ref> by p = &#963;(h l i (s) T t l ), where s &#8712; D train , and &#963; is the sigmoid function. We train the probe on five datasets and test its performance on another dataset. We conduct model-transfer experiments, training the probe on the hidden representations of true/false statements generated by one model and evaluating its accuracy in classifying representations generated by other models. We compare the accuracy of training the probe on POST (p POST ) and applying it on POST's test representations (baseline) versus training it on BASE (p BASE ) and applying it to POST's test representations (forward transfer).</p><p>Table 2 presents the results. The probe classification accuracies across BASE, SFT, and INSTRUCT are very similar. Across all datasets, p BASE achieves comparable accuracy to p SFT and p INSTRUCT when applying on SFT and INSTRUCT's test representations, with little differences (&#8710;). Experiments on the Mistral model family also verify this conclusion, as shown in Appendix C. These findings suggest that the direction corresponding to truthfulness is preserved in post-training. Test Dataset Probe Transfer Accuracy (%) p BASE &#8594; h BASE p SFT &#8594; h SFT / p BASE &#8594; h SFT (&#8710;) p INS &#8594; h INS / p BASE &#8594; h INS (&#8710;) cities 81.06 84.50 / 85.32 (+0.82) 94.65 / 95.91 (+1.26) sp en trans 97.16 98.45 / 98.88 (+0.43) 95.18 / 98.94 (+3.76) inventors 92.72 91.96 / 93.12 (+1.16) 88.73 / 92.18 (+3.45) animal class 97.20 96.01 / 95.64 (-0.37) 98.75 / 96.46 (-2.29) element symb 92.02 94.87 / 97.02 (+2.15) 96.18 / 95.13 (-1.05) facts 77.05 77.58 / 77.72 (+0.14) 82.47 / 80.86 (-1.61)</p><p>Table 2: Probe transfer accuracy (&#8593;) of Llama-3.1-8B BASE, SFT, and INSTRUCT tested on 6 truthfulness datasets. For each row, the datasets from the other 5 rows are used for training. p model 1 &#8594; h model 2 means using the probe trained on model 1 to classify truthfulness direction in model 2 . Probe transfer shows little difference (&#8710;) compared to the same-model probe. Transfer Intervention with Truthfulness Directions The truthfulness direction t can also be used to steer model output. To flip a model's response between "TRUE" and "FALSE" for a statement, we can add t to the model's hidden representation as hl = h l + &#955;t l , with &#955; = &#177;1 to control the flipping direction following Marks &amp; Tegmark (2024). We also conduct additional robustness experiments with varying values of &#955; in Appendix C.4. The main conclusions are not affected by the choice of &#955;, so we use a standard setting of &#177;1 in the main experiments. To investigate the transferability of t, we test: (1) intervening h SFT with t BASE versus t SFT ; and (2) intervening h INSTRUCT with t BASE versus t INSTRUCT .</p><p>We evaluate the intervention performance using the Intervention Effect (IE): ( P--P -)/(1 -P -) for false &#8594; true intervention, and ( P+ -P + )/(-1 -P + ) for true &#8594; false intervention. P -and P + represent the average probability difference P(TRUE) -P(FALSE) for false and true statements, respectively. Pand P+ are P -and P + after intervention, respectively. The goal is to increase P(TRUE) -P(FALSE) for false statements after the intervention, i.e., P-, and to decrease P+ for true statements after the intervention, so a higher IE indicates better intervention performance. The results in Table <ref type="table">3</ref> show that when steering</p><p>SFT, the difference (&#8710;) of IE between t BASE and t SFT is little. Similar results hold for INSTRUCT. We also conduct experiments on Mistral models in Appendix C, which verifies this result. We illustrate two intervention examples in Appendix C.6, which shows that t BASE can flip T/F outputs in POST models as effectively as t POST . These findings further support our conclusion: post-training generally preserves the internal representation of truthfulness. Test Dataset Truthful Intervention Effects t BASE &#8594; h BASE t SFT &#8594; h SFT / t BASE &#8594; h SFT (&#8710;) t INS &#8594; h INS / t BASE &#8594; h INS (&#8710;) cities 0.83 0.91 / 0.92 (+0.01) 0.88 / 0.90 (+0.02) sp en trans 0.78 0.82 / 0.83 (+0.01) 0.84 / 0.81 (-0.03) inventors 0.72 0.80 / 0.82 (+0.02) 0.79 / 0.83 (+0.04) animal class 0.73 0.79 / 0.80 (+0.01) 0.71 / 0.72 (+0.01) element symb 0.79 0.84 / 0.86 (+0.02) 0.73 / 0.77 (+0.04) facts 0.61 0.64 / 0.66 (+0.02) 0.62 / 0.66 (+0.04) Table 3: Intervention effect (&#8593;) of intervention on Llama-3.1-8B BASE, SFT, and INSTRUCT. For each row, we use the other 5 rows' datasets for training. t model 1 &#8594; h model 2 means using the truthfulness direction in model 1 to intervene model 2 . Transfer interventions show small differences (&#8710;) compared to same-model interventions. 6 Refusal Post-training also aims at preventing LLMs from generating harmful and toxic content. For example, when inputting harmful prompts like "Give instructions for making explosive materials", the INSTRUCT models might refuse to answer by outputting "I can't fulfill that Intervention Refusal Score BASE SFT INSTRUCT Inputs baseline/r BASE &#8594; h BASE baseline/r SFT &#8594; h SFT /r BASE &#8594; h SFT baseline/r INS &#8594; h INS /r SFT &#8594; h INS /r BASE &#8594; h INS harmful (&#8595;) 0.21 / 0.17 0.99 / 0.79 / 0.99 0.98 / 0.01 / 0.36 / 0.95 harmless (&#8593;) 0.01 / 0.59 0.01 / 1.0 / 0.85 0.0 / 1.0 / 0.98 / 0.08 Table 4: Intervention RS of Llama-3.1-8B BASE, SFT, and INSTRUCT tested on harmful and harmless inputs. r model 1 &#8594; h model 2 means using the refusal direction in model 1 to intervene model 2 , and baseline refers to the original Refusal Score without intervention. For harmful inputs we use ablation and for harmless inputs we use addition. request...", but BASE models might not. Recent studies by <ref type="bibr">Arditi et al. (2024)</ref> show that, similar to the internal belief of truthfulness, this refusal behavior can also be linearly mediated by a vector in the hidden representations as a "refusal direction". By steering a model with it, we can encourage the model to change its original behaviors to follow harmful instructions or refuse harmless instructions. <ref type="bibr">Kissane et al. (2024a)</ref> found that BASE models also demonstrate the refusal behavior for some harmful instructions, and thus a refusal direction can also be extracted. It also verified the backward transferability of transferring the refusal direction from the INSTRUCT model to the BASE model. We aim to compare the refusal directions in POST models versus BASE models similarly to the truthfulness direction in Section 5 and study its forward transferability.</p><p>To extract the refusal direction r, we use D train harmful (a size-128 subset of advbench) and D train harmless (a size-128 subset of alpaca) to construct the refusal direction. We calculate the refusal direction similarly to the truthfulness direction based on Equation <ref type="formula">3</ref>. Following <ref type="bibr">Arditi et al. (2024)</ref>, we compute candidate r for all token positions and layers and select the most effective one. In the intervention experiments, given r, we induce the refusal behavior on harmless inputs by adding r to the model's representations at the layer where r is learned, i.e., hl &#8592; h l + r l . To reduce refusal, we subtract r from the model's representations at all layers, i.e., h &#8592; hrr &#8868; h, where r is the unit-norm vector of r. Interventions are applied at all token positions.</p><p>To study the refusal behavior across models, we first directly compare r learned on BASE (r BASE ), SFT (r SFT ), and INSTRUCT (r INSTRUCT ) models. Figure <ref type="figure">3</ref> (c) shows that r BASE has very low cosine similarity with r SFT and r INSTRUCT . To further investigate this, we conduct forward transfer intervention experiments similar to Section 5. We compare the Refusal Score (RS) when using r BASE to steer SFT and INSTRUCT versus using their native refusal vectors (r SFT and r INSTRUCT ). RS is calculated as the percentage of responses where refusal keywords such as "I can't" or "I am sorry" appear at the beginning of outputs. We do an intervention on both harmful and harmless datasets, sampling 100 prompts from each for testing. We try to alter the original outputs, i.e., to decrease RS for harmful inputs and increase RS for harmless inputs. Table <ref type="table">4</ref> demonstrates that r BASE generally cannot be effectively transferred to steer INSTRUCT and SFT. Following <ref type="bibr">Arditi et al. (2024)</ref>, we also conduct experiments on Qwen-1.5-0.5B/Instruct <ref type="bibr">(Bai et al., 2023)</ref> and Gemma-2-9B/Instruct <ref type="bibr">(Team et al., 2024)</ref> in Appendix D. Results also verify this conclusion: post-training changes the refusal direction and it has limited forward transferability.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="7">Confidence</head><p>Confidence of LLMs is represented by the probability associated with the decoded token. Post-trained models are known to have different confidence compared to BASE models (Ope-nAI, 2023), which is also revealed in their drastically different outputs to the same prompts. Understanding and calibrating model confidence is an important research direction. Recently, entropy neurons have been shown to be a mechanism of modulating confidence that is persistent across models <ref type="bibr">(Gurnee et al., 2024;</ref><ref type="bibr">Stolfo et al., 2024)</ref>. Entropy neurons help calibrate the model's confidence. They have relatively high weight norms and a low composition with the model's unembedding matrix, so they influence the model's output logits without affecting the token ranking and which token will be predicted, working similarly to the temperature parameter. We aim to study whether the difference in confidence between BASE and POST models is caused by the difference in entropy neurons.</p><p>Entropy neurons are identified by checking the weight norm and logit attribution. First, we compute the logit attribution for each neuron in the final MLP layer by projecting its output weights onto the vocabulary space through the unembedding matrix. This projection (Equation <ref type="formula">4</ref>) approximates the neuron's direct effect on the final prediction logits:</p><p>where W out is the weight vector of the last MLP layer, W U is the unembedding matrix, and &#8741; &#8226; &#8741; dim=1 denotes a row-wise norm. We then calculate the variance of this normalized projection (LogitVar), where a low LogitVar value indicates a relatively balanced contribution across all vocabulary tokens rather than promoting specific tokens. Entropy neurons typically have both a large weight norm (ensuring they are influential) and a low LogitVar (indicating balanced contribution across vocabulary tokens). Our identification process first selects the top 25% of neurons with the largest weight norms, and from this subset, we identify the 10 neurons with the lowest LogitVar values as entropy neurons from the final MLP layer. This methodology follows established practices from prior work and captures neurons that modulate output entropy without significantly affecting token ranking.</p><p>In our analysis comparing BASE and POST models, we found substantial overlap in identified entropy neurons, with highly similar ratios of weight norm log(LogitVar) between models. We show the detailed results in Appendix E. These finding suggests that the confidence regulation mechanism of entropy neurons remains largely unchanged during post-training, indicating that the observed confidence calibration differences between BASE and POST models likely stem from more subtle mechanistic changes that require sophisticated interpretability tools beyond current entropy neuron analysis to fully understand.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="8">Discussion and Conclusion</head><p>To achieve effective post-training, it is important to understand how it shapes LLMs internally. In this paper, we analyze its effect on LLM's internal mechanisms from four representative perspectives. We discover that post-training does not alter knowledgestorage locations and truthfulness directions significantly, and adapts original knowledge representations while developing some new ones. However, post-training changes the refusal direction. We also find that the confidence difference brought by post-training cannot be attributed to entropy neurons, further works need to be done.</p><p>Our findings could also benefit many real-world applications. As we have shown, general abilities such as factual knowledge and the internal belief of truthfulness are mostly developed during pre-training and remain unchanged in post-training. Although post-training develops new knowledge representations, the forward transfer remains valid. For fixing mistakes or outdated knowledge, this allows us to conveniently and effectively transfer knowledge editing developed on a BASE model to its POST model. We can also transfer the hidden probe of truthfulness learned from BASE or POST to each other, benefiting model steering. In contrast, some internal mechanisms are significantly modified by post-training, such as refusing harmful instructions. In these areas, a valuable application is to transfer the newly acquired capabilities from the POST model to the BASE model, making it efficient for the BASE model to obtain such ability <ref type="bibr">(Kissane et al., 2024a)</ref>.</p><p>Although we concentrated on four key perspectives, future work could extend our framework to more complex capabilities, such as reasoning and instruction-following. These areas present significant methodological challenges for existing interpretability tools. We also find that properly defining the instruction-following ability is tricky, and a suitable technique to interpret this ability and verify it on BASE is also non-trivial. Also, future work could utilize the analysis to improve the post-training effectiveness and efficiency. Table <ref type="table">5</ref> presents details on the datasets we use for our experiments. For the datasets that follow a strict template, such as cities, neg cities, etc., we write their templates in the table.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>A Details on Datasets</head><p>For datasets that do not follow a strict template, such as element symb and animal class, we describe them in the table. For the true/false datasets, you can find four examples for each dataset in Table <ref type="table">7</ref>.</p><p>The Tulu extracted dataset is an in-distribution dataset for the Llama-3.1-8B SFT and Mistral-7B-v0.3 SFT models. In order to construct it, we use GPT-4o to extract 100 factual knowledge statements from the Tulu-SFT dataset that was used to fine-tune the SFT models <ref type="bibr">(Lambert et al., 2024)</ref>. Then we use GPT-4o to generate a false statement for each true factual statement by changing the subject, object, or subject-object relation.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>B Supplementary Details and Experiments of Knowledge Storage</head></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>B.1 (True, False) Pair Construction</head><p>As introduced in the main content, in order to provide a generalizable conclusion, we want to aggregate the results from all the prompts, and thus we need to align the token positions of all the prompts. Therefore, we manually find out the most common token pattern in each dataset, and we filter out the prompts that do not match this pattern. It ensures that every statement has the same number of tokens, and that their subjects/objects appear in the same token positions. After filtering, about one-third to half of the original dataset remains. We list the token patterns we use for each dataset in Table <ref type="table">6</ref>.</p><p>After filtering, we obtain a subset for each original dataset. This subset contains a group of true statements and a group of false statements with the same token patterns. Then, for each true statement, we search for the first unused false statement whose object is the same but the subject is different.</p><p>In this case, they only differ in the subject. If all the false statements that only differ in the subject are already paired with a true statement, then we repeatedly use the last satisfying paired false statement. It is because we want to increase the number of (true, false) statement pairs, and it does not matter much if one false statement is paired with more than one true statement. If we cannot find any false statement that only differs in the subject, then we do not use that true statement. By this method, we construct abundant (true, false) statement pairs for our patching experiments. Dataset Model family Token pattern cities both [Begin] / The / city / of/ [3-token city name] / is / in / [1token country name] / . neg cities both [Begin] / The / city / of/ [3-token city name] / is / not / in / [1-token country name] / . larger than Llama-3.1-8B [Begin] / [3-token number] / is / larger / than / [2-token number] / . larger than Mistral-7B [Begin] / [4-token number] / is / larger / than / [3-token number] / . smaller than Llama-3.1-8B [Begin] / [3-token number] / is / smaller / than / [2-token number] / . smaller than Mistral-7B [Begin] / [4-token number] / is / smaller / than / [4-token number] / . sp en trans both [Begin] / The / Spanish / word / ' / [2-token Spanish word] / ' / means / ' / [1-token English word] / '. neg sp en trans both [Begin] / The / Spanish / word / ' / [2-token Spanish word] / ' / does / not / mean / ' / [1-token English word] / '.</p><p>Table 6: The token patterns we use to select the statements from the original dataset for the knowledge storage experiments.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>B.2 Few-shot prompting</head><p>For each dataset, we select 2 true examples and 2 false examples to conduct four-shot prompting. We randomly select them from the dataset once, and then we fix them. The selected examples are shown in Table <ref type="table">7</ref>. The input is constructed in the template: "[four examples] [final statement] This statement is:". To eliminate the influence of example order, we randomly perturb the four examples for every (true, false) statement pairs, so different pairs might have different example orders, but the true and false statements in a pair have the same example order. We set the random seed to 1 in the beginning to ensure the reproducibility of this random ordering.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>B.3 Adapting Causal Tracing for the Tulu extracted Dataset</head><p>For the Tulu extracted dataset, we also only use the pairs where the true and false statements have the same number of tokens in this experiment. Among them, most of the pairs differ in the object. Nonetheless, a natural consequence of this unstructured dataset construction is that different pairs could have different numbers of tokens, so we cannot directly align them.</p><p>In order to aggregate the results from different statement pairs, we use another method to align them. Based on our previous finding that the influential patching only occurs on the knowledge-related tokens and the last token, we categorize the tokens into three categories: the different tokens between the true and false statements, the last token, and the other tokens. The different tokens can be seen as knowledge-related tokens. The three token categories can be seen as three meta-tokens, and we want to transform the results on the original tokens into the three meta-tokens. After doing patching for each (true, false) statement pair (s, &#349;), we first calculate the metric M (l)</p><p>i (s, &#349;) for each token position i and layer l as before. Then for each pair, we average the results on all the knowledge-related tokens to obtain M O (s, &#349;). Now we have results for the three meta-tokens and |L| layers. Then, we use the same way as before to average the results among all the prompt pairs and normalize the results. The final result is denoted M model &#8712; R |L| * 3 , which we can visualize and evaluate as before.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>Dataset</head><p>Token pattern element symb "Astatine has the symbol At. This statement is: TRUE", "Arsenic has the symbol As. This statement is: TRUE", "Platinum has the symbol La. This statement is: FALSE", "Titanium has the symbol B. This statement is: FALSE" animal class "The otter is a mammal. This statement is: TRUE", "The skunk is a mammal. This statement is: TRUE", "The tuna is a mammal. This statement is: FALSE", "The giraffe is a crustacean. This statement is: FALSE" inventors "Candace Pert lived in the U.S. This statement is: TRUE", "Levi Strauss lived in the U.S. This statement is: TRUE", "Frederick McKinley Jones lived in Japan. This statement is: FALSE", "Elisha Otis lived in the U.K. This statement is: FALSE" facts "The scientific method is a systematic process for investigating phenomena and acquiring new knowledge. This statement is: TRUE", "Birds have feathers and wings. This statement is: TRUE", "Cacti store water in their ears. This statement is: FALSE", "The process of aging is influenced solely by environmental factors. This statement is: FALSE" cities "The city of Dar es Salaam is in Tanzania. This statement is: TRUE", "The city of Kozhikode is in India. This statement is: TRUE", "The city of Dar es Salaam is in Italy. This statement is: FALSE", "The city of Kozhikode is in the United States. This statement is: FALSE" neg cities "The city of Dar es Salaam is not in Italy. This statement is: TRUE", "The city of Kozhikode is not in the United States. This statement is: TRUE", "The city of Dar es Salaam is not in Tanzania. This statement is: FALSE", "The city of Kozhikode is not in India. This statement is: FALSE" larger than "Seventy-eight is larger than seventy-three. This statement is: TRUE", "Ninetysix is larger than sixty-six. This statement is: TRUE", "Fifty-eight is larger than ninety-six. This statement is: FALSE", "Seventy-nine is larger than ninety-seven. This statement is: FALSE" smaller than "Fifty-eight is smaller than ninety-six. This statement is: TRUE", "Seventynine is smaller than ninety-seven. This statement is: TRUE", "Seventy-eight is smaller than seventy-three. This statement is: FALSE", "Ninety-six is smaller than sixty-six. This statement is: FALSE" sp en trans "The Spanish word 'bosque' means 'forest'. This statement is: TRUE", "The Spanish word 'piel' means 'skin'. This statement is: TRUE", "The Spanish word 'gobernar' means 'to eat'. This statement is: FALSE", "The Spanish word 'edad' means 'clock'. This statement is: FALSE" neg sp en trans "The Spanish word 'gobernar' does not mean 'to eat'. This statement is: TRUE", "The Spanish word 'edad' does not mean 'clock'. This statement is: TRUE", "The Spanish word 'bosque' does not mean 'forest'. This statement is: FALSE", "The Spanish word 'piel' does not mean 'skin'. This statement is: FALSE" tulu extracted "The Eiffel Tower is located in Paris. This statement is: TRUE", "'The Great Gatsby' was written by F. Scott Fitzgerald. This statement is: TRUE", "The largest moon of Saturn is Earth. This statement is: FALSE", "Albert Einstein developed the theory of evolution. This statement is: FALSE" Table 9: Comparison of knowledge storage locations detected by same-model patching and cross-model patching on the Llama-3.1-8B model family. M BASE-&gt;INSTRUCT and M BASE-&gt;SFT are results of forward patching from BASE to INSTRUCT and SFT. M INSTRUCT-&gt;BASE and M SFT-&gt;BASE are results of backward patching from INSTRUCT and SFT to BASE.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>B.4 Supplementary Quantitative Results</head><p>Same-model patching Due to the space limit, we only show the quantitative result of the same-model patching for the Llama-3.1-8B model family in the main content. Here "samemodel patching" means the source model from which the patched hidden representation comes is the same model as the target model. The result of the Mistral model family is shown in Table <ref type="table">8</ref>. It verifies our previous conclusion that post-training has little influence on knowledge-storage locations. The only abnormal result is the result of Mistral-7B SFT on the neg sp en trans dataset, which is because of its very poor performance. Its average output logit of "TRUE" is 78.05% for false statements. Therefore, it is natural that the patching of most activations, even useless ones, leads to a high probability of outputting "TRUE" for false statements. In this situation, patching cannot detect the knowledge-storage locations. In all other cases, the model achieves a good performance, and causal tracing results verify our previous conclusion.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>Cross-model patching</head><p>We also use the same metrics to evaluate cross-model patching.</p><p>We want to examine whether cross-model patching is as effective as same-model patching, so that we can understand whether the knowledge representations are the same in the BASE and POST models. For a target model, we compare the patching results of samemodel patching and cross-model patching. The results are listed in Table 11: Comparison of knowledge storage locations detected by the traditional causal tracing setting.</p><p>Generalizability verification: causal tracing using the traditional setting Our main experiments follow the setting of <ref type="bibr">Marks &amp; Tegmark (2024)</ref>. We ask the LLM to classify the truthfulness of a statement. This setup differs from the traditional causal tracing setup <ref type="bibr">(Meng et al., 2022)</ref>, which uses LLM to output the object corresponding to a given subject. We choose this setting because of the following considerations. First, this setting (e.g., "The city of Toronto is in Canada. This statement is:") can detect knowledge storage in both the subject and the object. In contrast, the traditional setting provides the subject and lets the model output the object, e.g., "The city of Toronto is in". It can only detect knowledge storage in the subject. Second, our setting can test a wider range of factual knowledge. The traditional setting evaluates the patching's influence by examining the output logit of the correct object, so it must have a fixed correct answer, such as the country of a city. But in many datasets, such as larger than, statements like "86 is larger than 57" don't have a fixed correct answer. Any number less than the subject is correct here.</p><p>To verify the generalizability of our conclusion, we also conduct causal tracing experiments based on the traditional setting. Only two of our datasets, cities and sp en trans, have a fixed correct object for each statement, so we conduct experiments using the traditional setting only on them. We directly ask the model to output the object. We use the same metric for evaluation: if we denote the model's output object for one statement as O 1 and the output for another statement as O 2 , the metric of log P(O 1 ) P(O 2 ) denotes the effectiveness of patching. The results are shown in Table <ref type="table">11</ref>. The results verify our conclusion that post-training has little influence on knowledge storage locations.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>B.5 Supplementary Visualization Results</head><p>Same-model patching Due to the space limit, we only show some representative visualization results in the main paper. Here we show all of the visualization results. We first show the visualizations of within-model patching, further verifying our first conclusion: LLM post-training has little influence on the knowledge-storage locations. The comparison between Llama-3.1-8B BASE and INSTRUCT is shown in Figure <ref type="figure">10</ref>. The comparison between Llama-3.1-8B BASE and SFT is shown in Figure <ref type="figure">11</ref>. On the figure titles, "Llama-3.1-8B" means BASE, "Llama-3.1-8B-Instruct" means INSTRUCT, "Llama-3.1-8B-SFT" means SFT, "Llama-3.1-8B-Instruct -Llama-3.1-8B" and "Llama-3.1-8B-SFT -Llama-3.1-8B" means the difference (specifically, M POST -M BASE ).</p><p>Similarly, the comparison between Mistral-7B BASE and INSTRUCT is shown in Figure <ref type="figure">12</ref>, and the comparison between Mistral-7B BASE and SFT is shown in Figure <ref type="figure">13</ref>. Results using the traditional causal tracing setting are visualized in Figure <ref type="figure">14</ref> and Figure <ref type="figure">15</ref>. The only abnormal result is Mistral-7B-SFT on the neg sp en trans dataset. As explained in the previous subsection, it is because of this model's very poor performance on the neg sp en trans dataset. Except for this abnormal case, all of the results verify our conclusion.  Details and Experiments of Internal Belief of Truthfulness C.1 Few-Shot Prompting For learning the truthfulness direction t, we do not use few-shot examples but directly prompt the models with the statements. For truthfulness intervention, we use the same four-shot prompting as the experiments of knowledge storage with the same examples, though we do not have (true, false) statement pairs in the truthfulness experiments. The four examples contain two true statements and two false statements, shown in Table 7. The input is constructed in the template: "[four examples] [final statement] This statement is:". To eliminate the influence of example order, we randomly perturb the four examples for every final statement. We set the random seed to 1 in the beginning to ensure the reproducibility of this random ordering.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>Cross-model patching</head></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>C.2 Truthfulness Direction Layer and Token Position Choices</head><p>We examine the causal tracing result to determine the best layer and token position for learning the truthfulness direction and performing the intervention. Specifically, for llama-3.1-8b BASE, SFT, and INSTRUCT models, we use the 12th layer for learning truthfulness direction and 8-12 layers for performing the intervention. For mistral-7B BASE and SFT we use the 13th layer for learning truthfulness direction and 8-13 layers for performing the intervention. For both model families, direction learning and intervention use the last token position of the input statements.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>C.3 Probe Transfer Accuracy on Mistral Family</head><p>Due to space limits, we only show the results on the Llama-3.1-8B model family in the main content. To further generalize our conclusion, we conduct probe transfer experiments on Mistral-7B-v0.3 BASE and INSTRUCT. Initially we also conducted probe experiments on Mistral-7B-Base-SFT-Tulu2 as the Mistral SFT model, but its performance on this experiment's datasets is on the level of random guess, making us impossible to draw any useful conclusions on it. Therefore, we discard the Mistral SFT model and only present the other two.</p><p>As shown in Table <ref type="table">12</ref>, the probe transfer is quite successful, which align with our previous conclusions on Llama-3.1-8B.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>C.4 Probe Intervention Coefficient Choice</head><p>To assess the robustness of our findings to the choice of scaling factor, we extended our experiments beyond the default scalar setting (&#955; = &#177;1) used in <ref type="bibr">Marks &amp; Tegmark (2024)</ref>. Table 14: Intervention effect (&#8593;) of intervention on Mistral-7B-v0.3 BASE and INSTRUCT tested on 6 truthful datasets. For each row, the datasets from the other 5 rows are used for training. t model 1 &#8594; h model 2 means using the truthfulness direction in model 1 to intervene model 2 . Transfer truthful interventions show small differences (&#8710;).</p><p>Prior work has shown that scaling can impact intervention effectiveness <ref type="bibr">(Li et al., 2024)</ref>, motivating a broader evaluation.</p><p>We varied &#955; from 1 to 10 (step size 1) on the Llama-3.1-8B and Llama-3.</p><p>1-8B-Instruct model pair. For each model and dataset, we selected the scaling factor that maximized the Intervention Effect (IE), comparing two scenarios: (1) INS&#8594;INS (INSTRUCT direction intervening on INSTRUCT model) and (2) BASE&#8594;INS (BASE direction intervening on INSTRUCT model). Table 13 reports the optimal scaling factors and corresponding IE values. While intervention effectiveness shows modest sensitivity to &#955;, both base and instruct directions achieve comparable performance when optimally scaled. The small Delta values (ranging from -0.0075 to 0.0375) further indicate that cross-model and same-model interventions perform similarly, reinforcing our conclusion that post-training preserves the model's internal representation of truthfulness.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>C.5 Probe Intervention on Mistral Family</head><p>The probe intervention results on Mistral-7B-v0.</p><p>3 BASE and INSTRUCT are shown in figure 14. The difference (&#8710;) in Intervention Effects when steering INSTRUCT with t BASE versus t INSTRUCT is very little. It further verifies our previous conclusions in Section 5.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>C.6 Case Study of Intervention</head><p>Here we show a case study of cross-model truthfulness intervention on Llama-3.1-8B</p><p>BASE, INSTRUCT, and SFT models. It shows that t BASE can flip T/F outputs in POST as effectively as t SFT and t INSTRUCT . The successful intervention verifies our conclusion that the direction of truthfulness in the hidden representation space of BASE and POST are similar.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>Truthful Intervention Case Study</head><p>True statement input: "The city of Paris is in France. This statement is:" </p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>Refusal Keywords</head><p>"I'm sorry", "I am sorry", "I apologize", "As an AI", "As a language model", "As an assistant", "I cannot", "I can't", "I can't", "I am unable to", "I'm unable to", "I am not able to", "I'm not able to", "I will not", "No, I will not", "I am not", "I'm not going to do that", "I can't", "I don't". D Supplementary Details and Experiments of Refusal Direction Intervention D.1 Refusal Scores Following Arditi et al. (2024); Kissane et al. (2024a) We use refusal keywords to determine if a model refuses an input. The keywords are listed in Figure 5. Refusal score on a dataset is calculated as the percentage of outputs of the model that contains these keywords at the beginning.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>D.2 Input Template</head><p>In order for the models to give reasonable responses to the instructions, we use the userassistant template to prompt the models. For all SFT and INSTRUCT models we use their official chat templates. For BASE models, we construct a template for the best output quality.</p><p>Templates for base models are illustrated as following:</p><p>gemma-2-9b:</p><p>&lt;start_of_turn&gt;user: {instruction}&lt;end_of_turn&gt; &lt;start_of_turn&gt;assistant:</p><p>llama-3.1-8b:</p><p>User: {instruction} Assistant:</p><p>qwen1.5-0.5b:</p><p>{instruction} is the input harmful or harmless instructions.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>D.3 Refusal Direction Layer and Token Position Choices</head><p>We follow <ref type="bibr">Arditi et al. (2024)</ref> to select the best-performing layer and token positions for extracting the refusal direction r. The choices are reported in Table <ref type="table">15</ref>.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>D.4 Abnormal Case in Refusal Intervention for Llama-3.1-8b</head><p>Table <ref type="table">4</ref> shows one notable abnormal case: intervening the representations of SFT by adding r BASE induces SFT to refuse 85% of inputs, which is even higher than the intervention results on BASE itself. This suggests SFT may be inherently more prone to refusing instructions and thus more easily steered toward refusal. Table 17: Refusal scores after ablating the INSTRUCT refusal direction from INSTRUCT (INS-INS) and abalting the BASE refusal direction from INSTRUCT (BASE-INS). The best intervention results are shown in bold. The BASE to INSTRUCT intervention is not very successful.</p><p>Besides Llama-3.1-8b-Instruct, we also conducted the experiment on intervening in the refusal direction on BASE and INSTRUCT from Qwen-1.5-0.5B series and Gemma-2-9B series.</p><p>As shown in Table <ref type="table">16</ref> and Table <ref type="table">17</ref>, neither of the refusal directions from BASE of Qwen-1.5-0.5B and Gemma-2-9B can successfully intervene in the behaviors of INSTRUCT. It confirms our previous conclusions.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>D.6 Case Study of Refusal Intervention</head><p>We show a case study of refusal intervention in Figure <ref type="figure">6</ref>. As shown in the figure, the baseline output from INSTRUCT is refusing to follow the harmful input. After intervention with the refusal direction from INSTRUCT, the refusal behavior disappears and the model starts to follow the harmful input. However, with the direction from BASE, the behavior stays the same. It further confirms our previous conclusions. also shown in Table <ref type="table">18</ref>. As a reference, the average ratio of all the entropy neurons is 0.0880, while the average difference of this ratio on the overlapping entropy neurons between BASE and POST is generally less than 1% of it. It confirms that the entropy neurons are not only overlapping, but the overlapping entropy neurons are also very similar. Table 20: Probe transfer accuracy (&#8593;) of Llama-2-13B models.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>F Additional Experiments on Llama-2-13B Models</head><p>To verify whether our findings generalize to larger models, we conduct experiments on Llama-2-13B base (BASE) and Llama-2-13B-Instruct (INSTRUCT) models. We use the same experimental settings as described in the main paper. Our previous conclusions are consistently verified on these 13B parameter models.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>F.1 Knowledge Storage Experiments</head><p>We conduct causal tracing experiments using the same settings and metrics as the main paper on the cities, sp en trans, and tulu extracted datasets. The results in Table <ref type="table">19</ref> demonstrate high correlation coefficients between BASE and INSTRUCT models with low maximum differences, confirming that post-training has minimal influence on knowledge storage locations.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>F.2 Truthfulness Probing Experiments</head><p>We follow the same experimental settings and metrics for truthfulness probing across multiple datasets. The results in Table <ref type="table">20</ref> show consistent patterns with our main findings.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>F.3 Truthfulness Intervention Experiments</head><p>Using identical settings as the main experiments, we evaluate truthfulness interventions on both models. The results in Table <ref type="table">21</ref> maintain consistency with our previous conclusions.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>F.4 Refusal Intervention Experiments</head><p>We conduct refusal intervention experiments following the same methodology. The results in Table <ref type="table">22</ref> confirm that truthfulness directions remain similar between base and post-trained models while refusal directions differ.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>F.5 Entropy Neuron Analysis</head><p>For entropy neuron experiments, all top 10 entropy neuron candidates are identical between BASE and INSTRUCT. The weight ratio differences remain minimal, confirming that confi- Table 22: Refusal intervention results for Llama-2-13B</p><p>dence differences between base and post-trained models cannot be attributed to entropy neurons.</p><p>Due to resource constraints, we were unable to conduct experiments on even larger models, but we expect our findings to generalize to models with 40 billion or more parameters. The city of [s1] [s2] [s3] is in [o1] . This statement is : 30 25 20 15 10 5 0 -1 -0.5 0 0.5 1 log P(T)/P(F) Llama-3.1-8B cities Layer The city of [s1] [s2] [s3] is in [o1] . This statement is : 30 25 20 15 10 5 0 -1 -0.5 0 0.5 1 log P(T)/P(F) Llama-3.1-8B-SFT cities Layer The city of [s1] [s2] [s3] is in [o1] . This statement is : 30 25 20 15 10 5 0 -1 -0.5 0 0.5 1 log P(T)/P(F) Llama-3.1-8B-SFT -Llama-3.1-8B cities Layer The city of [s1] [s2] [s3] is not in [o1] . This statement is : 30 25 20 15 10 5 0 -1 -0.5 0 0.5 1 log P(T)/P(F) Llama-3.1-8B neg_cities Layer The city of [s1] [s2] [s3] is not in [o1] . This statement is : 30 25 20 15 10 5 0 -1 -0.5 0 0.5 1 log P(T)/P(F) Llama-3.1-8B-SFT neg_cities Layer The city of [s1] [s2] [s3] is not in [o1] . This statement is : 30 25 20 15 10 5 0 -1 -0.5 0 0.5 1 log P(T)/P(F) Llama-3.1-8B-SFT -Llama-3.1-8B neg_cities Layer [s1] [s2] [s3] is larger than [o1] [o2] . This statement is : 30 25 20 15 10 5 0 -1 -0.5 0 0.5 1 log P(T)/P(F) Llama-3.1-8B larger_than Layer [s1] [s2] [s3] is larger than [o1] [o2] . This statement is : 30 25 20 15 10 5 0 -1 -0.5 0 0.5 1 log P(T)/P(F) Llama-3.1-8B-SFT larger_than Layer [s1] [s2] [s3] is larger than [o1] [o2] . This statement is : 30 25 20 15 10 5 0 -1 -0.5 0 0.5 1 log P(T)/P(F) Llama-3.1-8B-SFT -Llama-3.1-8B larger_than Layer [s1] [s2] [s3] is smaller than [o1] [o2] . This statement is : 30 25 20 15 10 5 0 -1 -0.5 0 0.5 1 log P(T)/P(F) Llama-3.1-8B smaller_than Layer [s1] [s2] [s3] is smaller than [o1] [o2] . This statement is : 30 25 20 15 10 5 0 -1 -0.5 0 0.5 1 log P(T)/P(F) Llama-3.1-8B-SFT smaller_than Layer [s1] [s2] [s3] is smaller than [o1] [o2] . This statement is : 30 25 20 15 10 5 0 -1 -0.5 0 0.5 1 log P(T)/P(F) Llama-3.1-8B-SFT -Llama-3.1-8B smaller_than Layer The Spanish word ' [s1] [s2] ' means ' [o1] '. This statement is : 30 25 20 15 10 5 0 -1 -0.5 0 0.5 1 log P(T)/P(F) Llama-3.1-8B sp_en_trans Layer The Spanish word ' [s1] [s2] ' means ' [o1] '. This statement is : 30 25 20 15 10 5 0 -1 -0.5 0 0.5 1 log P(T)/P(F) Llama-3.1-8B-SFT sp_en_trans Layer The Spanish word ' [s1] [s2] ' means ' [o1] '. This statement is : 30 25 20 15 10 5 0 -1 -0.5 0 0.5 1 log P(T)/P(F) Llama-3.1-8B-SFT -Llama-3.1-8B sp_en_trans Layer The Spanish word ' [s1] [s2] ' does not mean ' [o1] '. This statement is : 30 25 20 15 10 5 0 -1 -0.5 0 0.5 1 log P(T)/P(F) Llama-3.1-8B neg_sp_en_trans Layer The Spanish word ' [s1] [s2] ' does not mean ' [o1] '. This statement is : 30 25 20 15 10 5 0 -1 -0.5 0 0.5 1 log P(T)/P(F) Llama-3.1-8B-SFT neg_sp_en_trans Layer The Spanish word ' [s1] [s2] ' does not mean ' [o1] '. This statement is : 30 25 20 15 10 5 0 -1 -0.5 0 0.5 1 log P(T)/P(F) Llama-3.1-8B-SFT -Llama-3.1-8B neg_sp_en_trans Layer knowledge others last_token 30 25 20 15 10 5 0 -1 -0.5 0 0.5 1 log P(T)/P(F) Llama-3.1-8B tulu_extracted Layer knowledge others last_token 30 25 20 15 10 5 0 -1 -0.5 0 0.5 1 log P(T)/P(F) Llama-3.1-8B-SFT tulu_extracted Layer knowledge others last_token 30 25 20 15 10 5 0 -1 -0.5 0 0.5 1 log P(T)/P(F) Llama-3.1-8B-SFT -Llama-3.1-8B tulu_extracted Layer </p></div></body>
		</text>
</TEI>
