Temperature calibration to Sigmoid: what does the zoom score and move bias do

Compares only probabilistic maps that are scaled up and equal to the same scale, and the sorting within the area classification and the multi-species cross-samples.

• Step by stepCollate in 2 self-measured2 First-hand sources
Start Body
Learning objectives and first steps2 objectives . 1 first fix

Try to do it after reading

  • Compare probabilistic maps that zoom in and equalize only
  • Sorting of cross-samples within sector classification

Suggested first

  • Classification and probabilities projections

Probability mapping is not all the features of re-training

Calibration can be done by drawing a smaller map above the existing model fractions, in an attempt to align the values more closely with the actual frequency in the target data. The positive temperature scaling and slanting, biased sigmoid mapping are two common forms with different expression abilities and constraints. They should be combined on data other than the base model training and retain the final evaluation, which cannot be certified as calibrated with training alignment.

Changes in a two-class fraction

Set logit to 2, the original sigmoid probability of about 0.880977. The extraction temperature T = 2, equal to halving logit to approximately 0.731059, closer to 0.5. The points of zero for logit are not moved at the normal temperature, so the fractions corresponding to the 0.5 threshold for classification II are unchanged. The same score 2 gets sigmoid(0) = 0.5 if the slant a = 0.5 is used instead of b =-1. The deviation is capable of adjusting the base position and the temperature is not available separately. Here are fixed map calculations, not parameters drawn from several test labels, on which a better calibration method cannot be declared.

Sorting reservations requires a limitation of scope

The second classification strictly increases the temperature to a single logit, thus retaining the sample order of the score. sigmoid, with a positive slope, is also sequenced; If the slash sign is not restricted, it can theoretically be reversed and the agreement needs to be clearly achieved. Multi-category softmax with positive temperature in the same sample, with the maximum category unchanged; However, when cross-samples compare the probability of a given category, the denominator is influenced by other categories logits and does not guarantee that the ranking is identical. The single sample argmax cannot be expanded to all forms AUC.

Data and objectives

Calibration data should represent deployment population, incident ratio and label mature windows. If the goal is simply to reexpress the category weights, a distinction is also made between cost preferences and real probability. Group calibration can address some local deviations, but it can also change the cross-group sequencing and the group variance, not just the overall improvement.

Evaluation and borders

(b) Low temperature parameters and easier to stabilize, but may not repair complex non-linear deviations; A more flexible approach would make it easier to combine on a small calibration set. A comparison should be made between stand-alone probability losses, reliability and key clusters, and not only between objectives. Enter the distinguishing information that cannot be restored by calibration if the score has been overclosed or quantified; The model is not covered in the new area and is not reliable because of the zero-to-one output. The preservation of base model versions, mapping parameters, synthesizing population and dates will give clear meaning to subsequent deployment and rollback.

pT=σ(zT); pa,b=σ(az+b)

Self-measurement and provocator

Does T =2 move a 0.5 threshold for category II to another logit?

No, I won't. sigmoid(z/T) = 0.5 still requires z = 0 and the temperature changes the slope rather than the zero point position.

Multi-temperature scaling to keep argmax. Can you move out a cross-sampling probability sequence forever?

Can't. Other categories of the different samples logits change the unipolar denominator and require separate checks of cross-samples.

Sources and reconciliations

Definitions, methods and interfaces are available.

  1. scikit-learn — Probability calibration
  2. Guo et al. — On Calibration of Modern Neural Networks

Figures and calculations are reorganized according to this chapter. Mathematical measurements, framework operations and real business effects are described separately in the body of the text.

← Back to the knowledge directory
Ask Max Ask about this site
Ask Max ↗

Opening the assistant…

Paper figure

Photo comments

LEAVE A NOTE

About this photograph

Connecting to the discussion board…

    Comments become public after moderation. You can delete your own comments from this browser.
    No email is required. Clearing cookies prevents this browser from claiming earlier comments.

    MAX WANG / INDEX

    Find something

    Enter a keyword, or explore the directory below.