我目前正在研究一种搜索排名算法,该算法将应用于 Elasticsearch 查询(领域:电子商务)。它为返回的多个实体分配分数,并最终根据分配的分数对它们进行排序。
我的问题是:有没有人曾尝试在任何搜索算法中引入一定程度的随机性并体验到它的积极效果。我认为减少偏见和推广排名较低的项目可能会很有用,让它们有机会更容易被看到并在它们应得的情况下变得流行。我知道一些机器学习算法正在引入一些随机化来减少偏差,所以我认为它也可以应用于搜索。
我能得到的最接近的是这个,但不完全是我希望得到的答案: Randomness in Artificial Intelligence & Machine Learning
最佳答案
我没有在您的帖子中看到这一点... Elasticsearch 提供随机评分功能:https://www.elastic.co/guide/en/elasticsearch/guide/master/random-scoring.html
As the owner of the website, you want to give your advertisers as much exposure as possible. With the current query, results with the same
_score
would be returned in the same order every time. It would be good to introduce some randomness here, to ensure that all documents in a single score level get a similar amount of exposure.We want every user to see a different random order, but we want the same user to see the same order when clicking on page 2, 3, and so forth. This is what is meant by consistently random.
The
random_score
function, which outputs a number between 0 and 1, will produce consistently random results when it is provided with the same seed value, such as a user’s session ID
关于search - 随机性对搜索结果的影响,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/28608778/