Schram's sorting - learning to sort based on fairness
At the international academic conference AIBT 2023 held in 2023, Ratidar Technologies LLC published a fairness-based ranking learning algorithm and won the conference’s best paper report award. The algorithm, called Skellam Rank, makes full use of statistical principles and combines Pairwise Ranking and matrix decomposition technology to solve the accuracy and fairness problems in the recommendation system. Since there are few innovative ranking learning algorithms in recommender systems, Schramam's ranking algorithm performed so well that it won a research award at the conference. The basic principles of Schram's algorithm will be introduced below:
Let's first recall the Poisson distribution:
The calculation formula of the parameters of the Poisson distribution is as follows:
The difference between two Poisson variables is the Schillam distribution:
In the formula, we have:
The function is called Bessel functions of the first kind.
With these basic concepts in statistics, let’s build a Pairwise Ranking ranking learning recommendation system!
We first believe that the user's rating of items is a Poisson distribution concept. In other words, the user's item rating value obeys the following probability distribution:
The reason why we can describe the process of users rating items as a Poisson process , because there is a Matthew effect in user item ratings, that is to say, the higher the user rating, the more people rate it, so that we can use the number of people who rated an item to approximate the distribution of the item's ratings. What random process does the number of people who rate an item obey? Naturally, we will think of the Poisson process. Because the probability of a user rating an item is similar to the probability of how many people have rated the item, we can naturally use the Poisson process to approximate the process of users rating an item.
Let’s replace the parameters of the Poisson process with the statistics of the sample data and get the following formula:
We define the maximum likelihood function formula of Pariwise Ranking below. As we all know, the so-called Pairwise Ranking means that we use the maximum likelihood function to solve the model parameters so that the model can maintain the relationship of the known ranking pairs in the data sample to the greatest extent:
Because R in the formula is a Poisson distribution, their difference is the Schramam distribution, that is to say:
The variable E is defined as follows:
We bring the formula of Schram distribution into the maximum likelihood function The loss function L, the following formula is obtained:
#For the user rating value R that appears in the variable E, we use matrix decomposition to solve it . Use the parameter user feature vector U and item feature vector V in matrix decomposition as variables to be solved:
Here we first review the concept of matrix decomposition. The concept of matrix factorization is a recommendation system algorithm proposed around 2010. This algorithm can be said to be one of the most successful recommendation system algorithms in history. To this day, a large number of recommendation system companies still use matrix decomposition algorithm as the baseline of online systems, and Factorization Machine, an important component in the popular classic recommendation algorithm DeepFM, is also a subsequent improvement of the matrix decomposition algorithm in the recommendation system algorithm. Version is inextricably linked to matrix decomposition. There is a landmark paper on the matrix factorization algorithm, which is Probabilistic Matrix Factorization in 2007. The author used a statistical learning model to remodel the concept of matrix factorization in linear algebra, giving matrix factorization a solid mathematical theoretical foundation for the first time.
The basic concept of matrix decomposition is to use the dot product of vectors to efficiently predict unknown user ratings while reducing the dimensionality of the user rating matrix. The loss function of matrix decomposition is as follows:
There are many variants of matrix decomposition algorithm, such as SVDFeature proposed by Shanghai Jiaotong University, which uses linear Modeling in the form of combination turns the problem of matrix decomposition into a problem of feature engineering. SVDFeature is also a landmark paper in the field of matrix factorization. Matrix decomposition can be applied in Pairwise Ranking to replace unknown user ratings to achieve modeling purposes. Classic application cases include the BPR-MF algorithm in Bayesian Pairwise Ranking, and the Schramam ranking algorithm draws on the same ideas.
We use stochastic gradient descent to solve the Schramam sorting algorithm. Because stochastic gradient descent can greatly simplify the loss function during the solution process to achieve the purpose of solution, our loss function becomes the following formula:
Using stochastic gradient descent to solve the unknown parameters U and V, we get the iterative formula as follows:
where:
In addition:
Among them:
The solution to the unknown parameter variable V is similar, we have the following formula:
Among them:
In addition:
Among them:
We use the following pseudo code to demonstrate the entire algorithm process:
In order to verify the effectiveness of the algorithm, the author of the paper conducted tests on MovieLens 1 Million Dataset and LDOS-CoMoDa Dataset. The first data set contains ratings of 6040 users and 3706 movies. The entire rating data set has approximately 1 million rating data and is one of the most well-known rating data collections in the field of recommendation systems. The second data collection comes from Slovenia and is a scenario-based recommendation system data collection that is rare on the Internet. The data set contains ratings from 121 users and 1232 movies. The author compared Schram's sorting with 9 other recommendation system algorithms. The main evaluation indicators are MAE (Mean Absolute Error, used to test accuracy) and Degree of Matthew Effect (mainly used to test fairness):
Figure 1. MovieLens 1 Million Dataset (MAE indicator)
Figure 2. MovieLens 1 Million Dataset (Degree of Matthew Effect indicator)
Through Figure 1 and Figure 2, we found that Skilam sorting performed well on the MAE indicator. , but during the entire experimental process of Grid Search, there is no guarantee that the performance will be better than other algorithms. But in Figure 2, we find that Schram's sorting leads the way in the fairness index, far ahead of the other 9 recommendation system algorithms.
Let’s take a look at the performance of this algorithm on the LDOS-CoMoDa data set:
Figure 3. LDOS-CoMoDa Dataset (MAE indicator)
##Figure 4. LDOS-CoMoDa Dataset (Degree of Matthew Effect indicator)
Through Figure 3 and Figure 4, we understand that Schram's sorting is unparalleled in the fairness index and performs well in the accuracy index. The conclusion is similar to the previous experiment.
Schillam sorting combines concepts such as Poisson distribution, matrix decomposition and Pairwise Ranking, and is a rare ranking learning algorithm for recommendation systems. In the technical field, those who master ranking learning technology only account for 1/6 of those who master deep learning, so ranking learning is a scarce technology. And there are even fewer talents who can invent original ranking learning in the field of recommendation systems. The ranking learning algorithm liberates people from the narrow perspective of score prediction and makes people realize that the most important thing is the order, not the score. Ranking learning based on fairness is currently very popular in the field of information retrieval, especially in top conferences such as SIGIR. Papers on recommendation systems based on fairness are very welcome and hope to get the attention of readers.
About the author
Wang Hao, former head of Funplus Artificial Intelligence Laboratory. He has held technology and technology executive positions in ThoughtWorks, Douban, Baidu, Sina and other companies. Having worked in Internet companies, financial technology, gaming and other companies for 12 years, he has deep insights and rich experience in fields such as artificial intelligence, computer graphics and blockchain. Published 42 papers in international academic conferences and journals, and won the IEEE SMI 2008 Best Paper Award and the ICBDT 2020 / IEEE ICISCAE 2021 / AIBT 2023 Best Paper Report Award.
The above is the detailed content of Schram's sorting - learning to sort based on fairness. For more information, please follow other related articles on the PHP Chinese website!

Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

AI Hentai Generator
Generate AI Hentai for free.

Hot Article

Hot Tools

Notepad++7.3.1
Easy-to-use and free code editor

SublimeText3 Chinese version
Chinese version, very easy to use

Zend Studio 13.0.1
Powerful PHP integrated development environment

Dreamweaver CS6
Visual web development tools

SublimeText3 Mac version
God-level code editing software (SublimeText3)

Hot Topics



Digital currency rolling positions is an investment strategy that uses lending to amplify trading leverage to increase returns. This article explains the digital currency rolling process in detail, including key steps such as selecting trading platforms that support rolling (such as Binance, OKEx, gate.io, Huobi, Bybit, etc.), opening a leverage account, setting a leverage multiple, borrowing funds for trading, and real-time monitoring of the market and adjusting positions or adding margin to avoid liquidation. However, rolling position trading is extremely risky, and investors need to operate with caution and formulate complete risk management strategies. To learn more about digital currency rolling tips, please continue reading.

The handling fees of the Gate.io trading platform vary according to factors such as transaction type, transaction pair, and user VIP level. The default fee rate for spot trading is 0.15% (VIP0 level, Maker and Taker), but the VIP level will be adjusted based on the user's 30-day trading volume and GT position. The higher the level, the lower the fee rate will be. It supports GT platform coin deduction, and you can enjoy a minimum discount of 55% off. The default rate for contract transactions is Maker 0.02%, Taker 0.05% (VIP0 level), which is also affected by VIP level, and different contract types and leverages

This article introduces in detail the registration, use and cancellation procedures of Ouyi OKEx account. To register, you need to download the APP, enter your mobile phone number or email address to register, and complete real-name authentication. The usage covers the operation steps such as login, recharge and withdrawal, transaction and security settings. To cancel an account, you need to contact Ouyi OKEx customer service, provide necessary information and wait for processing, and finally obtain the account cancellation confirmation. Through this article, users can easily master the complete life cycle management of Ouyi OKEx account and conduct digital asset transactions safely and conveniently.

This article provides a complete guide to login and registration on Binance PC version. First, we explained in detail the steps for logging in Binance PC version: search for "Binance Official Website" in the browser, click the login button, enter the email and password (enable 2FA to enter the verification code) to log in. Secondly, the article explains the registration process: click the "Register" button, fill in the email address, set a strong password, and verify the email address to complete the registration. Finally, the article also emphasizes account security, reminding users to pay attention to the official domain name, network environment, and regularly updating passwords to ensure account security and better use of various functions provided by Binance PC version, such as viewing market conditions, conducting transactions and managing assets.

This article recommends ten well-known virtual currency-related APP recommendation websites, including Binance Academy, OKX Learn, CoinGecko, CryptoSlate, CoinDesk, Investopedia, CoinMarketCap, Huobi University, Coinbase Learn and CryptoCompare. These websites not only provide information such as virtual currency market data, price trend analysis, etc., but also provide rich learning resources, including basic blockchain knowledge, trading strategies, and tutorials and reviews of various trading platform APPs, helping users better understand and make use of them

It ranks among the top in the world, supports all categories of transactions such as spot, contracts, and Web3 wallets. It has high security and low handling fees. A comprehensive trading platform with a long history, known for its compliance and high liquidity, supports multilingual services. The industry leader covers currency trading, leverage, options, etc., with strong liquidity and supports BNB deduction fees.

This article lists the top ten well-known Web3 trading platforms, including Binance, OKX, Gate.io, Kraken, Bybit, Coinbase, KuCoin, Bitget, Gemini and Bitstamp. The article compares the characteristics of each platform in detail, such as the number of currencies, trading types (spot, futures, options, NFT, etc.), handling fees, security, compliance, user groups, etc., aiming to help investors choose the most suitable trading platform. Whether it is high-frequency traders, contract trading enthusiasts, or investors who focus on compliance and security, they can find reference information from it.

Sesame Exchange Gate.io web version is convenient to log in. Just enter "gate.io" in the browser address bar and press Enter to access the official website. The concise homepage provides clear "Login" and "Register" options, and users can choose to log in to a registered account or register a new account according to their own situation. After registering or logging in, you can enter the main trading interface to conduct cryptocurrency trading, check market conditions and account management. Gate.io has a friendly interface and is easy to operate, suitable for beginners and professional traders.
