Term
temperature parameter
Meaning
A scalar coefficient, written as α, that weights the entropy term against the reward in a maximum entropy objective, so that it sets how stochastic the optimal policy is.
Source Soft Actor-Critic: Off-Policy Maximum Entropy Deep Reinforcement Learning with a Stochastic Actor
How papers use it 6 papers
Soft Actor-Critic: Off-Policy Maximum Entropy Deep Reinforcement Learning with a Stochastic Actor
Use Appears in the maximum entropy objective of the paper, where it weights the expected policy entropy against the reward. The paper omits it in later derivations by absorbing it into the reward through scaling by the inverse of α, and reward scale plays this role in the experiments.
A Simple Framework for Contrastive Learning of Visual Representations
Use A parameter of the NT-Xent loss, where the cosine similarities between normalized embeddings are divided by τ before the softmax-style normalization. The authors treat the choice of τ as part of the loss design, alongside normalization of the embeddings.
Meaning A scalar, denoted τ, that divides the similarity values inside a contrastive loss before the exponential is taken. It controls how sharply the loss separates the positive pair from the negative examples.
Soft Actor-Critic Algorithms and Applications
Use In the basic algorithm it is a fixed hyperparameter that must be tuned for each task. The paper replaces this manual tuning with a constrained formulation in which the temperature is updated by a gradient step to keep the expected entropy near a target. In the experiments, one SAC variant uses a tuned fixed temperature and another learns it automatically, and the automatic version is reported as working across all environments.
Meaning A scalar weight that sets how much the policy entropy counts against the reward in a maximum entropy objective. A larger value makes the optimal policy more stochastic.
Supervised Contrastive Learning
Use Introduced in the contrastive loss as the scalar that scales the dot products. The paper finds that smaller values help training up to a point, since very low values become unstable numerically. The gradient scales inversely with \(\tau\), so the loss is rescaled by \(\tau\) during training for stability.
Meaning A positive scalar \(\tau\) that divides the inner products between normalized embeddings inside a contrastive loss. It controls how sharply the softmax-style weights concentrate on the most similar samples.
World Models
Use Applied when sampling the next latent vector from the MDN-RNN, so that its uncertainty can be tuned. In the Take Cover experiments, raising \(\tau\) makes the virtual environment harder and discourages the controller from exploiting model errors. The paper reports that a controller trained at \(\tau = 1.15\) reached 1092 ± 556 in the real environment, while \(\tau = 1.30\) gave a lower but less variable score, so the value is treated as a hyperparameter to tune.
Meaning A sampling parameter, written as \(\tau\), that scales how much randomness is drawn from a model's predicted distribution. Higher values make the sampled outcomes less predictable.
Learning Transferable Visual Models From Natural Language Supervision
Use It is initialized to the equivalent of 0.07 and clipped so that the logit scaling does not exceed 100, which the authors found necessary for training stability. The same temperature scales the cosine similarities when zero-shot classifiers are built.
Meaning A learned scalar that multiplies the similarity logits before the softmax, controlling how sharply the softmax distribution is peaked.