Negative sampling and log Q : Description of who the model is comparing to first

Track how sampling distribution changes classification targets and identifies sampling correction and preference judgements.

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

Try to do it after reading

  • Track how sampling distribution changes classification targets and identifies sampling correction and preference judgements.
  • Check the applicable conditions and the invalid boundary using the calculations in the text

Suggested first

  • Retrieval, sorting and feedback deviations
  • vector-point build-up and condition probability

Why do you want to sample the whole library

Recall models face millions of candidates and the costs of statization are high. Training is usually carried out in a positive manner, with some candidates drawn for comparison. (a) Different comparative environments for homogenous sampling, popular sampling and batch negatives; So the same dot-and-lost function may also learn different sorting preferences.

Negative cases in the batch were borrowed from other users, resulting in savings in reading and coding costs, but hot items were easier to access. Models are subject to stronger exclusionary pressures when they repeatedly see the same popular object acting as a negative case. In order to approach some of the full-candidates for the purpose of reunification, the scores can be adjusted to the probability of sampling. Common forms involve subtracting the probability of logarithmic sampling from the original fractions; The number of samples and the exclusion of positive items must be consistent with the specific estimate.

The two-candidatures

Assuming that the original scores for candidates A and B are two, the probability of extraction is 0.5 and the probability of extraction to B is 0.05. Using fractions to reduce the probability of logarithmics, the two are approximately 2.693 and 4.996. (b) The rare candidate has received greater correction to offset the fact that it rarely enters the comparative pool; It cannot be asserted that rare items are more in line with user needs, nor can the corrected values be considered directly as the probability of a click.

One is the use of a very small, complete collection of items, which calculates the full range of targets and repeats the estimated gradient for sampling to see if the average direction is consistent. If only the most difficult cases are taken, the sampling mechanism has changed, and it would be unmatched to continue with the homogeneity probabilities. If the same items are repeated in the same batch, the processing and probabilities definition of the duplicate items should be checked, in particular that their positive elements cannot be penalized as a negative circumstance at the same time.

Training targets are separated from the line

Sampling calibration of normal service training estimates. When online candidates have been generated by another search process, the probability of training sampling cannot be deducted again without analysis. The first is to clarify whether the original points are used on the line or whether there are other calibrated points; Second, complete or fixed real candidates pool assessments are used to avoid the same sampling deviations in the evaluation data.

Negative sampling also has a plaque: non-interactive entries are not necessarily irrelevant. It can hide positive items known to users, control synonym ratios and record negative case strategy versions. The harder the negative cases are more likely to be mixed into potential positive cases, and the more difficult it is to upgrade training is not the same as to increase label reliability. The screening is conducted by looking at the effects of recall overlays, heat distributions and different user groups, rather than just the intra-basket accuracy.

Check understanding

Less log Q Did you solve the exposure bias?

Nothing. It addresses the estimated deviations from specific negative sampling processes, and the exposure deviations stem from what users see and where they see them. The two probabilities are different in meaning and the probability of sampling the items cannot be used as a substitute for exposure.

Is the number of negative cases doubled and the decline in loss directly comparable?

Not necessarily. Both the aggregation and the homogenization of items have changed, and the scale of loss and the difficulty of the task have changed accordingly. A regular evaluation pool should be maintained, consistent recall indicators should be reported, and the percentage of leave loads should be checked.

Sources and reconciliations

Definitions, methods and interfaces are available.

  1. TensorFlow candidate sampling
  2. TensorFlow Recommenders Retrieval API

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.