Published onMarch 30, 2026X Algorithm Part 4: The Ranking Transformerx-algorithmmachine-learningtransformerrecommendation-systemHow X ranks candidates using a tiny Grok-based transformer with candidate isolation masking — scoring all posts in a single forward pass without them interfering with each other.