Sample candidate evaluation: Why the small collection of Hit @K cannot pretend to be a full library
Track the ranking of the same positive example in different candidate pools and explain the impact of negative sampling on the ranking evaluation.
Learning objectives and first steps2 objectives . 1 first fix
Try to do it after reading
- Track the same number of names in different candidate pools
- Explain the impact of negative sampling on the sequencing evaluation
Suggested first
- Classification and probabilities projections
The evaluation pool itself is also a selection process
Large banks are often searched or recommended to form only one positive and a small number of negative cases for purposes of calculation. The ranking thus obtained depends on which negative cases are drawn. It can compare the conduct under a specific sampling agreement, but it does not directly represent the first few coverages in the entire library. Models and labels remain unchanged, and assessing the smaller pool may make the results much better.
Two names for the same example
Assuming that there is one known positive example of 100 items in the whole bank, it is actually ranked 20th, or 19 negative examples. On the entire library, Hit @5, this request was zero. If there are only nine negative cases, two points are higher than the normal, the remaining seven are lower, and the first is in the pool, number 3. Hit @5 becomes one. This change has not progressed in any model, but in a reduced number of competitive candidates. If the negative cases are evenly drawn, there is a clear random distribution of the smaller pool names under the given full bank name; Different random seeds cause volatility. The negative cases, when they are singled out for difficulties, are subject to another evaluation problem and cannot be directly compared to the results of the homogenous sampling.
Sampling distribution is different from actual exposure
The non-interactive items drawn from the full library are not necessarily genuinely irrelevant; Historical exposure without clicking is also influenced by presentation and location mechanisms. Clarification is needed as to whether the definition of the case, the treatment of unlisted items, the repetition of candidatures and the sampling precludes future information. To treat unknown cases as negative is a negotiated choice, not the full true value obtained.
Indicators and resource constraints
The denominators and ideal rankings of Hit, Recall and NDCG are dependent on the candidates and the associated pools. When cost-effective, a sample baseline can be retained, but the pool should be fixed or duplicated and uncertainty reported, while a closer check to the real search should be performed to the extent that it is affordable.
We can't just fix a number
Some indicators can be sample corrected under specific assumptions, but they are not restored by applying a constant to all fractions. The ranking is a non-linear event, with inter-candidature dependence, multiple positives and sampling probabilities influencing the calculation. The conditions should be ignored on the basis of a clear generation mechanism, rather than on the basis of a formula with a correction of the word. It also involves index approximation, filtering, inventory and delay, which further change visible candidates. Offline pool indicators should be reported separately from candidate coverage, real-system experiments and, in particular, sampling Hit cannot be translated from zero to business upgrades.
Self-measurement and provocator
This case model remains unchanged. Why did Hit @5 change from 0 to 1?
The current practice is in the 20th Platoon, but there are only two higher negative cases in the small pool, so the change is from the evaluation pool.
Is fixing a small pool of negative cases the whole bank?
There's no guarantee. It improves recoverability, but it still needs to be clarified how the sample is representative, differentiated from the full-base evaluation.
Sources and reconciliations
Definitions, methods and interfaces are available.
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.