Live data from Hacker News

Show HN: Quality News – Towards a fairer ranking algorithm for Hacker News

news.social-protocols.org

1–10 of 72 posts

Show HN: Quality News – Towards a fairer ranking algorithm for Hacker News

#1
Hello HN!

TLDR;

- Quality News is a Hacker News client that provides additional data and insights on submissions, notably, the upvoteRate metric.

- We propose that this metric could be used to improve the Hacker News ranking score.

- In-depth explanation: https://github.com/social-protocols/news#readme

The Hacker News ranking score is directly proportional to upvotes, which is a problem because it creates a feedback loop: higher rank leads to more upvotes leads to higher rank, and so on...

                →
             ↗     ↘
    Higher Rank   More Upvotes
             ↖     ↙
                ←
As a consequence, success on HN depends almost entirely on getting enough upvotes in the first hour or so to make the front page and get caught in this feedback loop. And getting these early upvotes is largely a matter of timing, luck, and moderator decisions. And so the best stories don't always make the front page, and the stories on the front page are not always the best.

Our proposed solution is to use upvoteRate instead of upvotes in the ranking formula. upvoteRate is an estimate of how much more or less likely users are to upvote a story compared to the average story, taking account how much attention the story as received, based on a history of the ranks and times at which it has been shown. You can read about how we calculate this metric in more detail here: https://github.com/social-protocols/news#readme

About 1.5 years ago, we published an article with this basic idea of counteracting the rank-upvotes feedback loop by using attention as negative feedback. We received very valuable input from the HN community (https://news.ycombinator.com/item?id=28391659). Quality News has been created based largely on this feedback.

Currently, Quality News shows the upvoteRate metric for live Hacker News data, as well as charts of the rank and upvote history of each story. We have not yet implemented an alternative ranking algorithm, because we don't have access to data on flags and moderator actions, which are a major component of the HN ranking score.

We'd love to see the Hacker News team experiment with the new formula, perhaps on an alternative front page. This will allow the community to evaluate whether the new ranking formula is an improvement over the current one.

We look forward discussing our approach with you!

Links:

Site: https://news.social-protocols.org/

Readme: https://github.com/social-protocols/news#readme

Previous Blog Post: https://felx.me/2021/08/29/improving-the-hacker-news-ranking...

Previous Discussion: https://news.ycombinator.com/item?id=28391659

Show HN: Quality News – Towards a fairer ranking algorithm for Hacker News
news.social-protocols.org

Re: Show HN: Quality News – Towards a fairer ranking algorithm for Hacker News

#3
post #2

Can I somehow see the historical data for some of mine old submits? I seems to me that on https://news.social-protocols.org/ I can get the data for past 24 hours. I think that you have point with feedback loop.

We just reset the history yesterday and plan to keep data for about one month for now. In the future, it should definitely be possible to retain a much longer time span.

Re: Show HN: Quality News – Towards a fairer ranking algorithm for Hacker News

#4
How does your model compare to using:

(Users who upvoted a given submission / Users who saw a page that includes the submission and its vote icon)

This would be a percent between 0 (no one who saw a page containing a given submission upvoted it) and 100 (everyone who saw it upvoted it). Receiving more impressions wouldn’t change that percentage.

Weaknesses: It can only be calculated by HN itself. On pages that list lots of submissions (like the home page), it need may to compensate for relative position on the page. These pages may already randomize position enough for this not to be an issue, or to only be an issue for the first 3-5 items on the home page.

Re: Show HN: Quality News – Towards a fairer ranking algorithm for Hacker News

#5
When my RSS reader shows me an arXiv paper about ML with ‘fair’ in the title I hit the reject button. What is ‘fair’ is subjective and what I want is a feed relevant to my interests (also subjective.)

This is 2023 and text classification problems that I struggled with at a startup 5 years ago are now easy and the power of transformer models is obscured by the ChatGPT hype. It is time that we turn our back in the collaborative filtering algorithms that made social media a hellscape and embrace content-based filtering.

I have a model that predicts if an article will front page or get a high ratio of comments/votes. It has a terrible ROCAUC because it is such a fuzzy problem but it is well calibrated and just today my RSS reader told me a story I thought was a nothingburger would succeed on both metrics and… It did!

I did make an attempt to take into account the factors you’re concerned about and I was surprised that the AUC didn’t go up. Probably I did it wrong though.

Look up my profile, I’d love to chat about it.

Re: Show HN: Quality News – Towards a fairer ranking algorithm for Hacker News

#6
I'd like to see these alternate algorithms implemented. The API exists - and isn't that really the only way to ultimately judge if it's better or worse?

Another random idea: have the parameters affecting rankings be visible and adjustable with interactive sliders- so you could customize the various weights to try to attain the ideal mix of stories for you.

Or does that defeat the purpose. Is the joy of HN in knowing that when a story reaches the front page, you know it's on everyone's front page...

Re: Show HN: Quality News – Towards a fairer ranking algorithm for Hacker News

#7

When my RSS reader shows me an arXiv paper about ML with ‘fair’ in the title I hit the reject button. What is ‘fair’ is subjective and what I want is a feed relevant to my interests (also subjective.) This is 2023 and text classification problems that I struggled with at a startup 5 years ago are now easy and the power of transformer models is obscured by the ChatGPT hype. It is time that we turn our back in the coll…

it is well calibrated and just today my RSS reader told me a story I thought was a nothingburger would succeed on both metrics and… It did!

I was originally going to joke that maybe you should turn your script on to the stock market, but I'm guessing with your background you may have some experience in that regard!

Re: Show HN: Quality News – Towards a fairer ranking algorithm for Hacker News

#8

When my RSS reader shows me an arXiv paper about ML with ‘fair’ in the title I hit the reject button. What is ‘fair’ is subjective and what I want is a feed relevant to my interests (also subjective.) This is 2023 and text classification problems that I struggled with at a startup 5 years ago are now easy and the power of transformer models is obscured by the ChatGPT hype. It is time that we turn our back in the coll…

> It is time that we turn our back in the collaborative filtering algorithms that made social media a hellscape and embrace content-based filtering.

Except people deeply care about what other people are doing.

That was the whole point of Google’s Pagerank algorithm.

So, it might not be what you personally want. But to a lot of people, it’s more important to read/consume something popular (ie. that a lot of others care about), rather than something related to their own interests.

Re: Show HN: Quality News – Towards a fairer ranking algorithm for Hacker News

#9

How does your model compare to using: (Users who upvoted a given submission / Users who saw a page that includes the submission and its vote icon) This would be a percent between 0 (no one who saw a page containing a given submission upvoted it) and 100 (everyone who saw it upvoted it). Receiving more impressions wouldn’t change that percentage. Weaknesses: It can only be calculated by HN itself. On pages that list l…

Interesting question.

One difference is that upvoteRate formula adjusts for where the submission appears on the page (the rank). It also adjusts for how many site-wide upvotes occurred during that time period.

You are right, since we don't know the number of users who saw the page + the vote icon, so we can't calculate the probability Pr(upvote|saw submission with upvote button). But the upvoteRate formula would be proportional to this probability, times additional factors for rank and time.

We talked about this in our original blog article here: https://felx.me/2021/08/29/improving-the-hacker-news-ranking...

Re: Show HN: Quality News – Towards a fairer ranking algorithm for Hacker News

#10
As long as we're talking about redoing this, let me suggest letting authors see the names of upvoters (and only upvoters).

Quora had this and it did a fair bit to create positive community feelings for me. It also let people signal agreement/support without having to create a comment to do so, which I would find handy.

Post reply on HN