Hugging Face Trending Papers

Different Layers, Different Manifolds: Module-Wise Weight-Space Geometry in Transformer Optimization

Read the original on Hugging Face Trending Papers →

Weight-space geometry plays a central role in neural network optimization, yet manifold constraints are often applied uniformly across all weight matrices. In this work, we ask whether different transformer modules prefer different manifold geometries.

Machine-generated by The Flow from the publisher's headline and feed description — not written or checked by a human. The full article lives at Hugging Face Trending Papers.

arXiv Machine Learning
Oct 16

Interfaces and Modules: A Scalable Representation for Weight-Space Learning across Architectures

The paper introduces the Universal Weight Encoder (UWE), a scalable representation for weight-space learning that uses a typed graph of interfaces and modules to respect parameter symmetries across diverse neural network architectures. UWE combines local equivariant updates with global attention over invariant interface summaries, enabling a single encoder to process multiple supported architectures efficiently. Experiments show UWE matches or surpasses architecture‑specific state‑of‑the‑art methods on standard benchmarks and excels on a large zoo of 1,200 transformers, ranking unseen architectures accurately while using significantly less memory.

By Micha{\l} Kozyra, Michael Bronstein
arXiv Machine Learning
Nov 6

Graph Metanetworks for Transformer Based Language Models

The paper introduces graph metanetworks for transformer-based language models, addressing the challenge that different weight configurations can implement the same function due to a rich symmetry group. It formalizes a weight‑space symmetry group for complete decoder‑only language models and presents a graph construction invariant to these symmetries. The authors also create two new transformer‑population datasets with tasks like training‑corpus prediction and fine‑tuning detection, where their method outperforms existing baselines.

By Yonathan Wolanowsky, Guy Bar-Shalom, Fabrizio Frasca, Haggai Maron
Hugging Face Trending Papers
Oct 9

Data-Adaptive Mahalanobis Metric Learning for Cross-Head Attention in Transformers

The paper introduces Data-Adaptive Mahalanobis Cross-Head Attention (DAMCHA), a new attention mechanism that extends Multi-Head Attention by learning a full cross-head metric matrix, thereby capturing inter-head interactions beyond the block-diagonal structure of standard MHA. DAMCHA parameterizes this metric as an input-dependent function, allowing the attention geometry to adapt dynamically to the data’s intrinsic manifold structure. The authors also propose regularization techniques, such as stack-wise parameter sharing, to maintain computational efficiency and stable optimization, and demonstrate that DAMCHA-equipped Transformers outperform existing baselines on multiple benchmark tasks.

arXiv Machine Learning
Oct 12

Data-Adaptive Mahalanobis Metric Learning for Cross-Head Attention in Transformers

The paper introduces Data-Adaptive Mahalanobis Cross-Head Attention (DAMCHA), a new attention mechanism that extends Multi-Head Attention by learning a full cross-head metric matrix and adapting it to input data. DAMCHA captures inter-head interactions beyond the block-diagonal structure of standard MHA and uses input-dependent parameterization for dynamic attention geometry. The authors provide regularization techniques, such as stack-wise parameter sharing, to maintain efficiency and stability, and report that DAMCHA-based Transformers outperform baselines on several benchmarks.

By Zhenke Duan, Xin Li, Jiqun Pan, Dong Xiaofei, Hanwen Ning, Xinyuan Song