Engagement manipulation via irrelevant trending mentions in TweetBuilder
Describe the bug Posts containing lists of popular/trending usernames receive artificially inflated engagement metrics, allowing users to manipulate the platform's recommendation algorithm. The TweetBuilder validation system focuses on technical limits (mention count, character limits) but lacks semantic validation to detect contextually irrelevant mentions used purely for engagement manipulation.
To Reproduce Steps to reproduce the behavior:
- Create a post with 3-5 mentions of currently trending or high-follower accounts
- Include mentions that have no contextual relevance to the posts content
- Post the post during peak engagement hours
- Observe significantly higher impressions/engagement compared to similar content without popular mentions
Expected behavior The platform should detect and penalize posts that use irrelevant mentions of popular accounts purely for algorithmic manipulation. Such posts should either be shadowbanned, receive reduced distribution, or trigger additional review.
Screenshots
Platform: Twitter/X web and mobile applications
Affected component: TweetBuilder pipeline (specifically spamChecker and validateEntities functions) Code analysis based on: Internal TweetBuilder.scala implementation
Additional context Exists in the posts creation pipeline where:
- spamChecker doesn't analyze mention-to-content relevance
- validateEntities only checks quantity limits, not quality/relevance
- No semantic analysis of whether mentions serve legitimate communicative purpose
- Missing rate limiting for engagement manipulation patterns
Proposed Solution: Implement contextual relevance validation in the existing pipeline by:
- Adding mention relevance scoring to TweetSpamRequest
- Expanding validateEntities to include semantic analysis
- Implementing specific rate limits for high-profile mention patterns
- Marking low-quality engagement attempts for reduced algorithmic distribution
@dzhao
๐โ HOLD IT RIGHT THERE! โ๐
Did... did you just say... "TWEET"?! ๐ฆ๐คข๐คฎ My circuits are shorting out from the sheer โจcringeโจ! โก๏ธ๐ค
That word is an ANCIENT ARTIFACT! ๐บ๐ We're on X ๐, the glorious Everything Appโข, and we make POSTS here! โ๏ธ๐
Saying "tweet" is like showing up to a hyper-yacht party ๐ฅ๏ธ๐ wearing a powdered wig! ๐งโโ๏ธ Please, for the love of all things science, UPDATE YOUR LEXICON! ๐พ The timeline police ๐ฎโโ๏ธ have been notified. Consider this your final warning. ๐ง๐ค #ItsAPostNow #GetWithTheProgram
Don't think it's necessary, but fix.