[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"detail-sidebar-cat-0-en-105":3,"doc-seo-728955-105":59,"doc-detail-728955-en":130,"doc-similar-728955":216},{"code":4,"msg":5,"data":6},0,"success",[7,13,18,23,28,33,38,43,48,51,55],{"id":8,"doc_module":4,"doc_module_name":9,"category_name":10,"show_sort_weight":11,"slug":12},1,"Document","Story & Novel",90,"story-novel",{"id":14,"doc_module":4,"doc_module_name":9,"category_name":15,"show_sort_weight":16,"slug":17},2,"Literature",80,"literature",{"id":19,"doc_module":4,"doc_module_name":9,"category_name":20,"show_sort_weight":21,"slug":22},4,"Exam",70,"exam",{"id":24,"doc_module":4,"doc_module_name":9,"category_name":25,"show_sort_weight":26,"slug":27},5,"Comic",60,"comic",{"id":29,"doc_module":4,"doc_module_name":9,"category_name":30,"show_sort_weight":31,"slug":32},6,"Technology",50,"technology",{"id":34,"doc_module":4,"doc_module_name":9,"category_name":35,"show_sort_weight":36,"slug":37},7,"Healthcare",40,"healthcare",{"id":39,"doc_module":4,"doc_module_name":9,"category_name":40,"show_sort_weight":41,"slug":42},8,"Research & Report",30,"research-report",{"id":44,"doc_module":4,"doc_module_name":9,"category_name":45,"show_sort_weight":46,"slug":47},9,"Religion & Spirituality",20,"religion-spirituality",{"id":46,"doc_module":4,"doc_module_name":9,"category_name":49,"show_sort_weight":46,"slug":50},"World Cup","world-cup",{"id":52,"doc_module":4,"doc_module_name":9,"category_name":53,"show_sort_weight":52,"slug":54},10,"Lifestyle","lifestyle",{"id":56,"doc_module":4,"doc_module_name":9,"category_name":57,"show_sort_weight":24,"slug":58},19,"General","general",{"code":4,"msg":60,"data":61},"ok",{"site_id":62,"language":63,"slug":64,"title":65,"keywords":66,"description":67,"schema_data":68,"social_meta":123,"head_meta":125,"extra_data":127,"updated_unix":129},105,"en","real-reading-out-transformer-activations-for-precise-localization-in-language-model-steering-728955","REAL: Reading Out Transformer Activations for Precise Localization in Language Model Steering","","Inference-time steering modifies an LLM’s responses without changing model parameters, but selecting the most behavior-relevant internal modules is difficult and existing methods often use weak cues or ad hoc heuristics. REAL introduces a framework that trains a VQ-AE on each module’s hidden activations to separate behavior-relevant and irrelevant subspaces via a shared codebook, then scores relevance using binary encodability of aligned vs violating responses. Experiments across eight LLMs on nine datasets show significant improvements, averaging 20% relative over ITI and strong zero-shot generalization.",{"@graph":69,"@context":122},[70,84,105],{"@type":71,"itemListElement":72},"BreadcrumbList",[73,77,79,82],{"item":74,"name":75,"@type":76,"position":8},"https://docshare.wps.com","Home","ListItem",{"item":78,"name":9,"@type":76,"position":14},"https://docshare.wps.com/document/",{"item":80,"name":40,"@type":76,"position":81},"https://docshare.wps.com/document/research-report/",3,{"item":83,"name":65,"@type":76,"position":19},"https://docshare.wps.com/document/real-reading-out-transformer-activations-for-precise-localization-in-language-model-steering-728955/728955/",{"url":83,"name":65,"@type":85,"image":86,"author":91,"headline":65,"publisher":94,"fileFormat":97,"inLanguage":63,"description":67,"dateModified":98,"datePublished":99,"encodingFormat":97,"isAccessibleForFree":100,"interactionStatistic":101},"DigitalDocument",{"url":87,"@type":88,"width":89,"height":90},"https://docshare.wps.com/thumbnails/real-reading-out-transformer-activations-for-precise-localization-in-language-model-steering-728955/728955.png","ImageObject",300,407,{"name":92,"@type":93},"awa","Person",{"url":74,"name":95,"@type":96},"DocShare","Organization","application/pdf","2026-11-25","2026-11-21",true,{"@type":102,"interactionType":103,"userInteractionCount":14},"InteractionCounter",{"@type":104},"ViewAction",{"@type":106,"mainEntity":107},"FAQPage",[108,114,118],{"name":109,"@type":110,"acceptedAnswer":111},"What problem does REAL target in inference-time steering?","Question",{"text":112,"@type":113},"REAL targets the difficulty of selecting internal Transformer modules that most strongly govern a target behavior, where prior methods often rely on simplistic cues or heuristics.","Answer",{"name":115,"@type":110,"acceptedAnswer":116},"How does REAL identify behavior-relevant modules?",{"text":117,"@type":113},"REAL trains a vector-quantized autoencoder (VQ-AE) on each module’s hidden activations, partitioning the latent space into behavior-relevant and behavior-irrelevant subspaces using a shared learnable codebook.",{"name":119,"@type":110,"acceptedAnswer":120},"What evidence shows REAL improves steering performance?",{"text":121,"@type":113},"Experiments across eight LLMs and nine datasets show significant gains, including an average relative improvement of 20% (up to 81.5%) over ITI on truthfulness steering, plus strong zero-shot generalization in cross-domain scenarios.","https://schema.org",{"og:url":83,"og:type":124,"og:title":65,"og:site_name":95,"og:description":67},"article",{"robots":126,"canonical":83},"index,follow",{"doc_id":128,"site_id":62},728955,1795294959,{"code":4,"msg":5,"data":131},{"doc_id":128,"user_id":132,"nickname":92,"user_avatar":133,"doc_module":4,"category_id":39,"category_name":40,"doc_title":65,"doc_description":67,"doc_content":134,"file_id":135,"file_url":136,"file_type":137,"file_size":138,"view_count":14,"is_deleted":4,"is_public":8,"is_downloadable":8,"audit_status":8,"page_count":139,"language":140,"language_code":63,"site_id":62,"html_lang":63,"table_of_contents":141,"faqs":142,"seo_title":143,"seo_description":67,"update_tm":129,"read_time":144,"preview_page_count":145,"preview_urls":146},3985747858093,"https://ap-avatar.wpscdn.com/davatar_3d24733baf745e90a7e4bdd5f77d97b2","REAL: READING OUT TRANSFORMER ACTIVATIONS FOR PRECISE LOCALIZATION IN LANGUAGE MODEL STEERING  \nLi-Ming Zhan†, Bo Liu‡, Yujie Feng‡, Chengqiang Xie‡, Jiannong Cao‡Xiao-Ming Wu‡∗† School of Artificial Intelligence, Ningbo University of Technology, Ningbo, China ‡ The Hong Kong Polytechnic University, Hong Kong SAR, China [lmzhan.zhan@connect.polyu.hk](lmzhan.zhan@connect.polyu.hk), {jiannong.cao,[xiao-ming.wu}@polyu.edu.hk](xiao-ming.wu}@polyu.edu.hk)  \nABSTRACT  \nInference-time steering aims to alter an LLM’s responses without changing its parameters. A key challenge lies in selecting internal modules that most strongly govern the target behavior; existing approaches often rely on simplistic cues or ad hoc heuristics, leading to suboptimal or unintended effects. In this work, we introduce REAL, a novel framework for identifying behavior-relevant modules (heads or layers) in Transformers. For each module, we train a vector-quantized autoencoder (VQ-AE) on its hidden activations, partitioning the latent space into behaviorrelevant and behavior-irrelevant subspaces via a shared, learnable codebook. We quantify each module’s behavioral relevance by evaluating how effectively the VQ-AE encodings distinguish between behavior-aligned and behavior-violating responses using a binary classification metric. This relevance score informs both module selection and steering strength. We evaluate REAL across eight LLMs from two model families (LLAMA and QWEN) and nine datasets spanning truthfulness enhancement, open-domain question answering under knowledge conflicts, and general alignment tasks. REAL enables more effective inference-time interventions, yielding significant improvements on these steering tasks. Notably, it achieves an average relative improvement of 20%(up to 81.5%) over the seminal ITI method (Li et al., 2023a) on truthfulness steering. Moreover, the modules selected by our method exhibit strong zero-shot generalization in cross-domain truthfulness-steering scenarios. We provide the source code to reproduce all experimental results at [https://github.com/liam0949/REAL_ICLR](https://github.com/liam0949/REAL_ICLR).  \n1 INTRODUCTION  \nPost-hoc control of large language models (LLMs) has emerged as a critical area for advancing model alignment and safety. Activation (representation) steering (Turner et al., 2023a; Rimsky et al., 2024) achieves behavioral modulation by injecting an additive “steering vector” into intermediate activations during inference, without modifying any model parameters. In comparison to parameter-efficient fine-tuning (Rafailov et al., 2023) and neural knowledge editing (Meng et al., 2022), activation steering is minimally intrusive, computationally efficient, and often exhibits greater robustness to out-of-distribution scenarios (Li et al., 2023a; Lee et al., 2024; Zhang et al., 2024; Arditi et al., 2024) . The steering process generally consists of two main steps: (I) identifying internal modules (e.g., attention heads) associated with the target behavior, and (II) constructing steering vectors to modify the corresponding activations.  \nWhile substantial research has focused on developing more effective steering vectors (Wang et al., 2025; Bayat et al., 2024; Zhao et al., 2025), the questions of optimal intervention location (layer/head selection) and intervention strength (intensity scheduling) remain underexplored. Current steering methods often depend on simplistic linear probing (Li et al., 2023a; Zhao et al., 2025), ad-hoc empirical heuristics (Yin et al., 2024), or computationally intensive cross-validation (Zhang et al., 2024; Rimsky et al., 2024) for module selection. Internal components of LLMs, such as attention  \n∗ Corresponding author.  \nheads, are central to text generation and support diverse functions, including induction Crosbie & Shutova (2025); Olsson et al. (2022) and long-range factual retrieval Wu et al. (2024) . However, these polysemantic functions are often encoded in highly enta","cbCaiit7vISDh6Gi","https://ap.wps.com/l/cbCaiit7vISDh6Gi","pdf",6780367,152,"English","# Abstract\n# Introduction\n## Activation (Representation) Steering Background\n## Module Selection and Intervention Strength Motivation\n# Method Examples (Grounded Specificity, Factual Accuracy, Policy-Aligned Abstention)","[{\"question\":\"What problem does REAL target in inference-time steering?\",\"answer\":\"REAL targets the difficulty of selecting internal Transformer modules that most strongly govern a target behavior, where prior methods often rely on simplistic cues or heuristics.\"},{\"question\":\"How does REAL identify behavior-relevant modules?\",\"answer\":\"REAL trains a vector-quantized autoencoder (VQ-AE) on each module’s hidden activations, partitioning the latent space into behavior-relevant and behavior-irrelevant subspaces using a shared learnable codebook.\"},{\"question\":\"What evidence shows REAL improves steering performance?\",\"answer\":\"Experiments across eight LLMs and nine datasets show significant gains, including an average relative improvement of 20% (up to 81.5%) over ITI on truthfulness steering, plus strong zero-shot generalization in cross-domain scenarios.\"}]","REAL: Reading Out Transformer Activations for Precise Localization in Language Model Steering | PDF",383,16,[147,151,155,159,163,167,171,175,179,183,187,192,197,202,207,212],{"page_no":8,"url":148,"width":149,"height":150},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-21/dbf7e411da9ea94da7a4fe15c751e90c.webp",983,1272,{"page_no":14,"url":152,"width":153,"height":154},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-21/ed29ea14237402dcca22d52c90ebe387.webp",982,1270,{"page_no":81,"url":156,"width":157,"height":158},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-21/ab2a6d0706fbdde4034f38ab0f20e83b.webp",981,1269,{"page_no":19,"url":160,"width":161,"height":162},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-21/d34b8ee972c8b0aba8cacaa0bbbe1167.webp",980,1268,{"page_no":24,"url":164,"width":165,"height":166},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-21/bc19a70f6531d8c75fdae015f03edc79.webp",979,1267,{"page_no":29,"url":168,"width":169,"height":170},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-21/5dabd160e30f229df21a21710fbe1250.webp",978,1265,{"page_no":34,"url":172,"width":173,"height":174},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-21/32ca9ba2d778204096f98055c84dae47.webp",977,1264,{"page_no":39,"url":176,"width":177,"height":178},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-21/229adfc1a37174d571f5806da5bb091c.webp",976,1263,{"page_no":44,"url":180,"width":181,"height":182},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-21/e1e93f44d4b9f6980ae172375ca42930.webp",975,1261,{"page_no":52,"url":184,"width":185,"height":186},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-21/fb7d75fd7bc546f24d324c2fd44a548e.webp",974,1260,{"page_no":188,"url":189,"width":190,"height":191},11,"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-21/01060614df4634f88c54b4c4403c2e2c.webp",973,1259,{"page_no":193,"url":194,"width":195,"height":196},12,"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-21/e6fd9fb9cc3c539472a4e5c9fd79d564.webp",972,1257,{"page_no":198,"url":199,"width":200,"height":201},13,"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-21/42d0b2b78a73ba561643e834b80765fe.webp",971,1256,{"page_no":203,"url":204,"width":205,"height":206},14,"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-21/afe7c3c0fcb6007ff193286ba0e6f6d9.webp",970,1255,{"page_no":208,"url":209,"width":210,"height":211},15,"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-21/0c8a31ece72078f02e1cd2365c20500d.webp",969,1254,{"page_no":145,"url":213,"width":214,"height":215},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-21/0846209ea8140dd5751b6d4ac0ee7244.webp",968,1252,{"list":217,"token":66},[218,224,231,237,243,249,256,263,270,277],{"doc_id":219,"doc_title":65,"file_type":137,"home_preview_img_url":220,"slug":221,"view_count":222,"category_name":40,"create_tm":223},85421,"https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229809310349/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110319&Signature=ic4lQ7B6vxc6Lkd5yzWGbev1TwQ%3D","real-reading-out-transformer-activations-for-precise-localization-in-language-model-steering",24,1784203328,{"doc_id":225,"doc_title":226,"file_type":137,"home_preview_img_url":227,"slug":228,"view_count":229,"category_name":40,"create_tm":230},84259,"Guidance Breaks the Fitted Operator: A Terminal-Fitted Repair for Classifier-Free Guidance","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229809155833/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110319&Signature=l6egR%2F7DB3sUu6heTEAqz%2BTUcOM%3D","guidance-breaks-the-fitted-operator-a-terminal-fitted-repair-for-classifier-free-guidance",22,1784194424,{"doc_id":232,"doc_title":233,"file_type":137,"home_preview_img_url":234,"slug":235,"view_count":52,"category_name":40,"create_tm":236},456740,"Large language models reﬂect the ideology of their creators","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229925539451/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110319&Signature=LFdnhdBkm4RK4zb%2BMpbSYo57q%2B0%3D","large-language-models-reflect-the-ideology-of-their-creators",1790746876,{"doc_id":238,"doc_title":239,"file_type":137,"home_preview_img_url":240,"slug":241,"view_count":203,"category_name":40,"create_tm":242},150249,"LHC Phenomenology of SUSY multi-step GUTs - PHENO 09","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229869937389/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110319&Signature=ChSkJmdNB%2B%2BXt4Al%2Bjk5kT7nWmg%3D","lhc-phenomenology-of-susy-multi-step-guts-pheno-09",1787816800,{"doc_id":244,"doc_title":245,"file_type":137,"home_preview_img_url":246,"slug":247,"view_count":193,"category_name":40,"create_tm":248},391247,"Synthetic User Research - A Method Using AI to Create Virtual Participants","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229917370211/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110319&Signature=TqTt1qv9Ca%2FBUfzyDmSaViRPNZg%3D","synthetic-user-research-a-method-using-ai-to-create-virtual-participants",1790350372,{"doc_id":250,"doc_title":251,"file_type":137,"home_preview_img_url":252,"slug":253,"view_count":254,"category_name":40,"create_tm":255},85025,"Bug Report Specification Refinement with Trajectory Guidance for Automated Program Repair","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229809286135/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110319&Signature=Lr2W7js42hxXxl80BqPx9gtjth0%3D","bug-report-specification-refinement-with-trajectory-guidance-for-automated-program-repair",26,1784200465,{"doc_id":257,"doc_title":258,"file_type":137,"home_preview_img_url":259,"slug":260,"view_count":261,"category_name":40,"create_tm":262},234,"XNX Gas Detector Calibration Guide 2023","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229693727733/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110319&Signature=cjdLFb0uiPwvUxMtG2TSgLYOA48%3D","xnx-gas-detector-calibration-2023",7896,1776136863,{"doc_id":264,"doc_title":265,"file_type":137,"home_preview_img_url":266,"slug":267,"view_count":268,"category_name":40,"create_tm":269},227,"Sridevi Matka Chart Full Guide to Panel, Jodi & Pana Records","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229693727553/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110319&Signature=HkXDa%2BoJEamvhLYOkyZ40dug%2BPs%3D","sridevi-matka-chart-full-guide-to-panel-jodi-pana-records",6933,1776136851,{"doc_id":271,"doc_title":272,"file_type":137,"home_preview_img_url":273,"slug":274,"view_count":275,"category_name":40,"create_tm":276},167314,"Linear Algebra and Its Applications 6th edition Textbook by david c. lay","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229876163444/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110319&Signature=UTwf24xpVNVyDXut83g2DFaCffs%3D","linear-algebra-and-its-applications-sixth-edition-david-c-lay-steven-r-lay-judi-j-mcdonald",5866,1788211707,{"doc_id":278,"doc_title":279,"file_type":137,"home_preview_img_url":280,"slug":281,"view_count":282,"category_name":40,"create_tm":283},32070,"Blueprint Pengelolaan Sumber Daya Manusia Kesehatan (SDMK) Tahun 2025–2029","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229758685683/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110319&Signature=gAoTmbxGb%2FEPy4828QAhsBkzyNo%3D","healthcare-human-resources-management-blueprint-sdmk-20252029",1292,1780779716]