Sampling at Negative Temperature
cavendishlabs.org·14h·
Discuss: Hacker News

Summary: Inspired by the definition of temperature in statistical mechanics and the possibility for it to be below zero, we try sampling LLaMA at T=−0.001T=-0.001. The results are maximally weird.

Background

What is temperature?

The notion of temperature comes from statistical mechanics. Consider a system that has states with energies E1,…,EnE_1, \dots, E_n. If the system is in thermal equilibrium, the probability distribution over states is given by the [Boltzmann distribution](https://en.wikipedia.org/wiki/Boltzmann distribution):

pi=e−Ei/kBT∑ie−Ei/kBT p_i = \frac{e^{-E_i/k_BT}}{\sum\limits_i e^{-E_i/k_BT}}

The distribution is parameterized by a single number, the temperature TT. At lower temperatures the lowes…

Similar Posts

Loading similar posts...