mlsanityData to 7 Oct 2026

Improving LLM Final Representations with Inter-Layer Geometry

arXiv 2603.22665 ↗First posted 24 Mar 2026cs.CL cs.LGcited by 1

Not on the map. Why?

Abstract (arXiv)

The standard in LLM-based prediction is to use the final-layer representation as the input to a downstream predictor. However, intermediate layers may encode complementary task-relevant signals. Existing approaches therefore either search for the best layer for each task or apply expensive attention-based mechanisms to learn inter-layer aggregation. In this work, we first show that such complexity is unnecessary: a lightweight Graph Neural Network over a fully connected graph of LLM layers is more efficient and achieves significantly stronger predictive performance than existing approaches. We then introduce the Cayley-Encoder, which further improves both efficiency and predictive performance by replacing the fully connected graph with a Cayley graph over SL(2, Zn). These Cayley graphs provide a mathematically grounded topology that is sparse, regular by construction, and has low diameter. This enables effective communication across layers while constraining the aggregation structure and reducing the risk of GNN overfitting. In an evaluation of Cayley-Encoder across 13 tasks and 9 LLMs, Cayley-Encoder consistently outperforms baselines, achieving improvements of up to 40 percentage points in accuracy, while introducing at most 0.1% additional parameters relative to the LLM size. We further show that Cayley-Encoder is effective in few-shot regimes. Finally, we show that Cayley-Encoder outperforms LoRA fine-tuning while operating on the frozen LLM. We conclude with an explainability analysis showing that multiple layers contribute meaningfully to the final prediction, supporting our hypothesis.

Key facts. Cited by 1 paper in the map (data through 7 Oct 2026). Builds on 31 of its 45 references that are in the map. First posted on arXiv 24 Mar 2026.

Builds on

31 of 45 references.

References · 31

  1. 2017Attention Is All You Needcited by 59,932
  2. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
  3. 2014Adam: A Method for Stochastic Optimizationcited by 36,960
  4. 2020Language Models are Few-Shot Learnerscited by 32,199
  5. 2016Semi-Supervised Classification with Graph Convolutional Networkscited by 11,282
  6. 2019Sentence-BERT: Sentence Embeddings using Siamese BERT-Networkscited by 9,049
  7. 2018How Powerful are Graph Neural Networks?cited by 4,355
  8. 2017Neural Message Passing for Quantum Chemistrycited by 3,460
  9. 2019Optuna: A Next-generation Hyperparameter Optimization Frameworkcited by 2,455
  10. 2018Deep contextualized word representationscited by 2,285
  11. 2023Pythia: A Suite for Analyzing Large Language Models Across Training and Scalingcited by 1,734
  12. 2017Deep Setscited by 1,394
19 more
  1. 2019BERT Rediscovers the Classical NLP Pipelinecited by 1,046
  2. 2019What Does BERT Look At? An Analysis of BERT's Attentioncited by 994
  3. 2019GNNExplainer: Generating Explanations for Graph Neural Networkscited by 735
  4. 2020On the Bottleneck of Graph Neural Networks and its Practical Implicationscited by 624
  5. 2022MTEB: Massive Text Embedding Benchmarkcited by 623
  6. 2019Reducing Transformer Depth on Demand with Structured Dropoutcited by 434
  7. 2020Efficient Intent Detection with Dual Sentence Encoderscited by 419
  8. 2025Layer by Layer: Uncovering Hidden Representations in Language Modelscited by 293
  9. 2020MTOP: A Comprehensive Multilingual Task-Oriented Semantic Parsing Benchmarkcited by 156
  10. 2024Not All Layers of LLMs Are Necessary During Inferencecited by 95
  11. 2022Expander Graph Propagationcited by 75
  12. 2024DenseFormer: Enhancing Information Flow in Transformers via Depth Weighted Averagingcited by 48
  13. 2020Investigating Societal Biases in a Poetry Composition Systemcited by 47
  14. 2021BERTnesia: Investigating the capture and forgetting of knowledge in BERTcited by 40
  15. 2025MUDDFormer: Breaking Residual Bottlenecks in Transformers via Multiway Dynamic Dense Connectionscited by 27
  16. 2023Graph Neural Networks Use Graphs When They Shouldn'tcited by 25
  17. 2024Cayley Graph Propagationcited by 21
  18. 2022Depth-Wise Attention (DWAtt): A Layer Fusion Method for Data-Efficient Classificationcited by 9
  19. 2026Towards Improved Sentence Representations using Token Graphscited by 1

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2026: 1.

1 paper.