FM: Estimating rarity with shared vectors

Share parameters from a pair of cross-references to derive efficient calculations of second-order interactions.

• 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

  • Share parameters from a pair of cross-references to derive efficient calculations of second-order interactions.
  • 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 is it so hard to learn when you're getting along

The rare vectors of user identification, commodity identification and cataloguing are often high in dimensions. A large number of parameters are required for each pair of features to have a separate interaction factor; Many combinations do not appear in training concentration and coefficients cannot be estimated. The factor decompositioner learns a low-dimensional vector for each feature, using two vectors to accumulate the interactive strength, allowing different combinations to share parameters.

Second-order models include biases, linear entries and cross-references for all different characteristics. A user is not directly present with a commodity and may still learn useful vectors through their own co-existence with other characteristics. This generalization relies on low structural assumptions and does not guarantee the reliability of any unattended combination; In particular, default vectors or content features are required when completely new markings are completely free of training information.

A pair of characterizations

There are only two non-zero features, one and two, respectively, with a potential vector of one, two, zero and two, and one in three dimensions. A dot of two, multiplied by a characteristic value of two, is interactively contributed four. If the second characteristic value is changed to one, the interactive contribution becomes two; The continuous feature scale therefore affects linear and interactive items and does not allow for different standardization in training and reasoning.

Each active characteristic requires a square scale for a simple list. For a potential dimension, the sum of all characteristic values multiplied by vectors and squared; Less the sum of its own squares divided by two, it is only two or two times more of the different characteristics. The complexity becomes dynamic characteristics multiplied by the depths of the depths of each potential dimension. This permanent equation also allows for three non-zero hand-counting checks to confirm that self-interactive duplicates are not counted.

The code determines what the model can see

The same integer number of the different fields must map different feature spaces, otherwise the user number and the commodity number will accidentally share parameters. The multi-value categories need to be clear as to whether it is a summation, mean value or an independent instruction; Continuous values should address extremes. Missing fields and clear zeroes are not usually the same meaning, and missing instructions can be retained to avoid models mistaking uncollected values as true.

The Factor is a forecaster in itself, and the interpretation of output depends on the loss of the outer layer. The square error is appropriate for certain regression objectives, and the logical loss is divided into two categories and sorted in relation to the target. If you don't see an interactive score, you call it probability. The diagnosis is validated efficiently using a small matrix item by item, followed by an examination of the thin index, field deviation and gradient; These errors tend to affect the outcome more than increasing the depth of the depth.

Check understanding

Why can't FM estimate the combination of features that have not been seen directly in training?

The interaction factor is derived from the point accumulation of shared vectors on both sides, and training signals can be obtained from other combinations. It relies on shared structures and does not guarantee that any new combination is accurate or that it is completely unattended.

Why does the quick formula of a square seeking peace need to subtract its own square?

and the square contains each of its own squares and pairs. After deducting its own entries, each disorderly feature appears twice, divided by two to coincide with the second-order model.

Sources and reconciliations

Definitions, methods and interfaces are available.

  1. Steffen Rendle — libFM and original publications
  2. DeepFM

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.