[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"detail-sidebar-cat-0-en-105":3,"doc-seo-273589-105":59,"doc-detail-273589-en":131,"doc-similar-273589":163},{"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":124,"head_meta":126,"extra_data":128,"updated_unix":130},105,"en","whitematter-all-to-all-cross-layer-connections-via-kv-mixing","WHITEMATTER: ALL-TO-ALL CROSS-LAYER CONNECTIONS VIA KV MIXING","","WhiteMatter addresses a limitation of Transformer decoding where each layer can only attend to past tokens through KV produced at its own depth, even though deeper representations exist during autoregressive generation. Feedback approaches relax some access but impose fixed source-layer patterns across consumer layers. WhiteMatter connects every attention layer to representations from all layers of each past token using token-adaptive KV mixing. A router mixes L layer states into k cached KV channels for subsequent tokens, and each consumer layer attends to one channel. Experiments show better performance than a larger vanilla Transformer and strong gains with KV-cache compression.",{"@graph":69,"@context":123},[70,84,106],{"@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/whitematter-all-to-all-cross-layer-connections-via-kv-mixing/273589/",{"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/whitematter-all-to-all-cross-layer-connections-via-kv-mixing/273589.png","ImageObject",300,407,{"name":92,"@type":93},"Liam","Person",{"url":74,"name":95,"@type":96},"DocShare","Organization","application/pdf","2026-11-20","2026-09-15",true,{"@type":102,"interactionType":103,"userInteractionCount":105},"InteractionCounter",{"@type":104},"ViewAction",22,{"@type":107,"mainEntity":108},"FAQPage",[109,115,119],{"name":110,"@type":111,"acceptedAnswer":112},"What problem does WhiteMatter target in Transformer decoding?","Question",{"text":113,"@type":114},"It targets the depth-restricted access pattern where each layer can only attend to past tokens using KV generated at its own depth, preventing the model from fully using deeper past-token representations.","Answer",{"name":116,"@type":111,"acceptedAnswer":117},"How does WhiteMatter enable cross-layer access to past tokens?",{"text":118,"@type":114},"It builds k KV channels by mixing hidden states from all L source layers for each past token, then assigns each consumer attention layer to one channel so different consumers can select different source-layer mixtures.",{"name":120,"@type":111,"acceptedAnswer":121},"What does the parameter k control, and how does it affect efficiency?",{"text":122,"@type":114},"k controls the KV-cache size. Using k \u003C L reduces the memory footprint by storing fewer KV channels while retaining much of the performance benefit.","https://schema.org",{"og:url":83,"og:type":125,"og:title":65,"og:site_name":95,"og:description":67},"article",{"robots":127,"canonical":83},"index,follow",{"doc_id":129,"site_id":62},273589,1789472221,{"code":4,"msg":5,"data":132},{"doc_id":129,"user_id":133,"nickname":92,"user_avatar":134,"doc_module":4,"category_id":39,"category_name":40,"doc_title":65,"doc_description":67,"doc_content":135,"file_id":136,"file_url":137,"file_type":138,"file_size":139,"view_count":105,"is_deleted":4,"is_public":8,"is_downloadable":8,"audit_status":8,"page_count":140,"language":141,"language_code":63,"site_id":62,"html_lang":63,"table_of_contents":142,"faqs":143,"seo_title":144,"seo_description":67,"update_tm":130,"read_time":145,"preview_page_count":19,"preview_urls":146},8796095461564,"https://ap-avatar.wpscdn.com/davatar_155a257f0dc6eb9ab79c44ca47cae57d","arXiv : 2608 . 18486v 1 [cs .CL] 19 Aug 2026  \nWHITEMATTER: ALL-TO-ALL CROSS-LAYER CONNECTIONS VIA KV MIXING  \nWenbo Zhang Xiang Ren  \nUniversity of Southern California {wenboz,[xiangren](xiangren}@usc.edu)[}](xiangren}@usc.edu)[@usc.edu](xiangren}@usc.edu)  \nABSTRACT  \nIn a Transformer, each layer attends to past tokens only through KV produced at its own depth, despite the presence of deeper representations during autoregressive decoding. Feedback architectures allow shallow consumer layers to attend to KV produced by deeper past-token representations, but give all consumer layers the same fixed connection patterns to source layers. We propose WhiteMatter, which connects every attention layer to the representations from all layers of each past token, with connection weights that can vary across consumer layers and adapt to the source token. For each token, a router implements these connections by mixing its L layer states into k KV channels that are cached for subsequent tokens; each consumer layer attends to one of the channels. The number of channels k controls the KV-cache size. Setting k \u003C L reduces the cache’s memory footprint. In our pretraining experiments, WhiteMatter outperforms a vanilla Transformer with 50% more layers and retains most of this gain with a 50% KV-cache compression.  \n1 INTRODUCTION  \nDuring decoding of an autoregressive Transformer (Vaswani et al., 2017), the model produces a stack of hidden states for a token before continuing to the next token. Each hidden state is generated at a corresponding layer and may contain unique information. However, when processing the next token, each layer can only attend to the KV produced from the hidden state at the same depth. Consequently, the model is unable to utilize all information it has already produced. In particular, the inaccessibility of past tokens’ deeper states has been argued to limit computational depth and state tracking (Mozer et al., 2026) .  \nTwo lines of work relax different parts of this restriction. Feedback architectures create a deep-toshallow path across tokens. The Feedback Transformer (Fan et al., 2021) gives every consumer layer the same static connections to all layers’ states at each past token. LCKV (Wu & Tu, 2024) instead uses the top-layer hidden state as KV source for all layers and introduces Jacobi iteration that makes training models with feedback connections tractable at scale. These architectures use the same source-layer connections for every consumer layer and input. Different consumer layers therefore cannot select different sources. A separate line provides feedforward cross-layer connections from earlier source layers to later consumer layers. DenseFormer (Pagliardini et al., 2024), MUDDFormer (Xiao et al., 2025), and related methods (Zhu et al., 2025a; Kimi Team, 2026) give different layers different connections to earlier-layer states within the current token. FusedKV (Lin et al., 2026) instead gives upper consumer layers static, layer-specific connections to KV produced by bottom and middle source layers of past tokens. These methods provide consumer-specific connectivity, and some are content-dependent. Their connections remain feedforward: a shallow current-token layer still cannot access deeper representations of past tokens.  \nThe brain combines local computation with long-range communication. Gray matter contains neuronal cell bodies, while white matter contains nerve fibers that connect distant regions (Appendix A) . These fibers form dense, often bidirectional connections between cortical areas (Markov et al., 2014) . Each cortical area has a distinct pattern of connections, and activity along these pathways is dynamically modulated.  \nThis organization motivates four architectural properties: direct connections between distant layers, deep-to-shallow feedback connections, consumer-specific connectivity, and dynamic modulation of  \n(a) Vanilla  \nsame-depth KV  \n\n| (b) Feedback Transformer\u003Cbr>one static shared","cbCaiqsZLnmOSNLB","https://ap.wps.com/l/cbCaiqsZLnmOSNLB","pdf",10631114,15,"English","# Abstract\n# Introduction","[{\"question\":\"What problem does WhiteMatter target in Transformer decoding?\",\"answer\":\"It targets the depth-restricted access pattern where each layer can only attend to past tokens using KV generated at its own depth, preventing the model from fully using deeper past-token representations.\"},{\"question\":\"How does WhiteMatter enable cross-layer access to past tokens?\",\"answer\":\"It builds k KV channels by mixing hidden states from all L source layers for each past token, then assigns each consumer attention layer to one channel so different consumers can select different source-layer mixtures.\"},{\"question\":\"What does the parameter k control, and how does it affect efficiency?\",\"answer\":\"k controls the KV-cache size. Using k \\u003c L reduces the memory footprint by storing fewer KV channels while retaining much of the performance benefit.\"}]","WHITEMATTER: ALL-TO-ALL CROSS-LAYER CONNECTIONS VIA KV MIXING | PDF",38,[147,151,155,159],{"page_no":8,"url":148,"width":149,"height":150},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-16/aec19e781acd7330c3e3a6e8029ac19e.webp",983,1272,{"page_no":14,"url":152,"width":153,"height":154},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-16/127d84ef0b70a52fc5396572d8b67ec2.webp",982,1270,{"page_no":81,"url":156,"width":157,"height":158},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-16/efa12b717d55dd581217f7171e9b10e2.webp",981,1269,{"page_no":19,"url":160,"width":161,"height":162},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-16/764c0b28a6064e65f81510c86bb8dd65.webp",980,1268,{"list":164,"token":66},[165,172,179,186,192,199,205,212,219,225],{"doc_id":166,"doc_title":167,"file_type":138,"home_preview_img_url":168,"slug":169,"view_count":170,"category_name":40,"create_tm":171},83108,"DepthWeave-KV Token-Adaptive Cross-Layer Residual Factorization for Long-Context KV Cache Compression","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229808824463/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796108279&Signature=%2BE19QO6c1NYCdq9JR%2Fl66GVGTn4%3D","depthweave-kv-token-adaptive-cross-layer-residual-factorization-for-long-context-kv-cache-compression",28,1784185331,{"doc_id":173,"doc_title":174,"file_type":138,"home_preview_img_url":175,"slug":176,"view_count":177,"category_name":40,"create_tm":178},84591,"Towards Memory Efficient Autoregressive Video Generation via Instance Specific Parametric Absorption","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229809062650/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796108279&Signature=9y7%2BDyKRxjIrSVFn6dhUFxe5RGM%3D","towards-memory-efficient-autoregressive-video-generation-via-instance-specific-parametric-absorption",24,1784196979,{"doc_id":180,"doc_title":181,"file_type":138,"home_preview_img_url":182,"slug":183,"view_count":184,"category_name":40,"create_tm":185},123525,"Counting in Small Transformers - The Delicate Interplay between Attention and Feed-Forward Layers - Abstract","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229836846296/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796108279&Signature=Pfd3aH4qw737LqQZYUm%2F%2FU80tqk%3D","counting-in-small-transformers-the-delicate-interplay-between-attention-and-feed-forward-layers-abstract",18,1785817111,{"doc_id":187,"doc_title":188,"file_type":138,"home_preview_img_url":189,"slug":190,"view_count":105,"category_name":40,"create_tm":191},82801,"MOSAIC: Interpretable Multi-Token Cross-Attention of Biophonetic and Self-Supervised Representations for Unified Voice Anti-Spoofing","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229808910213/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796108279&Signature=72gvL9eEqnO7kPmr1R2HdWtA380%3D","mosaic-interpretable-multi-token-cross-attention-of-biophonetic-and-self-supervised-representations-for-unified-voice-anti-spoofing",1784183033,{"doc_id":193,"doc_title":194,"file_type":138,"home_preview_img_url":195,"slug":196,"view_count":197,"category_name":40,"create_tm":198},512776,"DND: Boosting Large Language Models with Dynamic Nested Depth","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229936443454/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796108279&Signature=%2BTkkmA5UQaWItE7ysgdPGaKyA4Q%3D","dnd-boosting-large-language-models-with-dynamic-nested-depth-512776",12,1791275456,{"doc_id":200,"doc_title":194,"file_type":138,"home_preview_img_url":201,"slug":202,"view_count":203,"category_name":40,"create_tm":204},509355,"https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229935321935/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796108279&Signature=1yRIOkKeosF7IAM4p34MOEEGefo%3D","dnd-boosting-large-language-models-with-dynamic-nested-depth",11,1791235181,{"doc_id":206,"doc_title":207,"file_type":138,"home_preview_img_url":208,"slug":209,"view_count":210,"category_name":40,"create_tm":211},81499,"Accelerating Large Language Model Inference with Dynamic Self-Speculative Decoding","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229808449083/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796108279&Signature=PahGbl%2Bsz8nYMtelkRFR28hdV6c%3D","accelerating-large-language-model-inference-with-dynamic-self-speculative-decoding",29,1784173827,{"doc_id":213,"doc_title":214,"file_type":138,"home_preview_img_url":215,"slug":216,"view_count":217,"category_name":40,"create_tm":218},657628,"GiLT - Graph-Infused Layers Transformer Language Model","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229975638493/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796108279&Signature=jflaFJX6HwpyCYVeyeTLwJc32P4%3D","gilt-graph-infused-layers-transformer-language-model",16,1792985444,{"doc_id":220,"doc_title":221,"file_type":138,"home_preview_img_url":222,"slug":223,"view_count":140,"category_name":40,"create_tm":224},273357,"The Intrinsic Dimension of Prompts in Internal Representations of Large Language Models","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229899545758/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796108279&Signature=ehugtQ2JUUne%2FzXxQtmjNOfFeUM%3D","the-intrinsic-dimension-of-prompts-in-internal-representations-of-large-language-models",1789471037,{"doc_id":226,"doc_title":227,"file_type":138,"home_preview_img_url":228,"slug":229,"view_count":46,"category_name":40,"create_tm":230},85630,"KVEraser: Learning to Steer KV Cache for Efficient Localized Context Erasing","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229809333636/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796108279&Signature=mY0rpmdC40AViWbfEdt5lHvxh1I%3D","kveraser-learning-to-steer-kv-cache-for-efficient-localized-context-erasing",1784205093]