paper-with-me

홈 › Papers

Sampling at intermediate temperatures is optimal for training large language models in protein structure prediction

2026-03-31 · L. Ghiringhelli, A. Zambon, G. Tiana arxiv

We investigate the parameter space of transformer models trained on protein sequence data using a statistical mechanics framework, sampling the loss landscape at varying temperatures by Langevin dynamics to characterize the low-loss manifold and understand the mechanisms underlying the superior performance of transformers in protein structure prediction. We find that, at variance with feedforward networks, the lack of a first--order--like transition in the loss of the transformer produces a range of intermediate temperatures with good learning properties. We show that the parameters of most layers are highly conserved at these temperatures if the dimension of the embedding is optimal, and we provide an operative way to find this dimension. Finally, we show that the attention matrix is more predictive of the contact maps of the protein at higher temperatures and for higher dimensions of the embedding than those optimal for learning.

📄 PDF Abstract BibTeX arXiv:2603.29529

Code (0)

등록된 구현이 없습니다.

Tasks

Protein Structure Prediction

Similar Papers 제목 키워드 기반

Controlled Langevin Dynamics for Sampling of Feedforward Neural Networks Trained with Minibatches

2026-03-16 · Alessandro Zambon, Francesca Caruso, Riccardo Zecchina, Guido Tiana arxiv

Sampling the parameter space of artificial neural networks according to a Boltzmann distribution provides insight into the geometry of low-loss solutions and offers an alternative to conventional loss minimization for tr…

Policy Gradients for Optimal Parallel Tempering MCMC

2024-09-03 · Daniel Zhao, Natesh S. Pillai

Parallel tempering is a meta-algorithm for Markov Chain Monte Carlo that uses multiple chains to sample from tempered versions of the target distribution, enhancing mixing in multi-modal distributions that are challengin…

Priority Sampling of Large Language Models for Compilers

2024-02-28 · Dejan Grubisic, Chris Cummins, Volker Seeker, Hugh Leather

Large language models show great potential in generating and optimizing code. Widely used sampling methods such as Nucleus Sampling increase the diversity of generation but often produce repeated samples for low temperat…

Diversity

Refined Gradient-Based Temperature Optimization for the Replica-Exchange Monte-Carlo Method

2026-01-20 · Tatsuya Miyata, Shunta Arai, Satoshi Takabe arxiv

The replica-exchange Monte-Carlo (RXMC) method is a powerful Markov-chain Monte-Carlo algorithm for sampling from multi-modal distributions, which are challenging for conventional methods. The sampling efficiency of the …

Revisiting Self-Consistency from Dynamic Distributional Alignment Perspective on Answer Aggregation

2025-02-27 · Yiwei Li, Ji Zhang, Shaoxiong Feng, Peiwen Yuan 외

Self-consistency improves reasoning by aggregating diverse stochastic samples, yet the dynamics behind its efficacy remain underexplored. We reframe self-consistency as a dynamic distributional alignment problem, reveali…

DiversityMathematical Reasoning