Add meritocratic author-size IPS to RankingScorer - #31
Open
Pitchfork-and-Torch wants to merge 1 commit into
Open
Add meritocratic author-size IPS to RankingScorer#31Pitchfork-and-Torch wants to merge 1 commit into
Pitchfork-and-Torch wants to merge 1 commit into
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Phoenix already estimates P(action | viewer, post). That is the quality signal. Follower count is not a Phoenix feature, but audience size still leaks into For You through Thunder (follow graph), hashed author IDs, SimClusters log-fav retrieval, and the flat 0.75 OON tax.
This PR residualizes ln(1 + followers) inside the scored batch so two posts with the same Phoenix score are not ordered by how many people already follow the author.
Mean-normalization keeps the batch arithmetic mean at 1. This reallocates score. It does not inflate it. Missing follower counts are identity. Negative scores (predicted block / mute / report) are not lifted.
Quality still wins. Default clamp is 2x, so a 1M-follower post that Phoenix scored 3x higher still ranks above a 100-follower post.
This is individual meritocratic fairness (Singh and Joachims KDD 2018, groups of size one; Biega et al. equity of attention). It is not demographic parity. No identity groups. No impression quotas. Low-quality posts stay low.
Why here, not UserCred / retrieval
Knobs
alpha = 0is a no-op. Applied after the Phoenix weighted sum, before author diversity, the OON tax, and cold start.Math writeup: docs/MERITOCRATIC_AUTHOR_SIZE_IPS.md
Test plan