Jigsaw Agile Community Rules Classification
Kaggle competition — detecting which community rules a comment violates. Bronze medal, ranked 158th of 2437 teams.
Visit websiteResult
Bronze medal — global rank 158 / 2437. Public leaderboard 0.925, private leaderboard 0.91969.
Rule-conditioned classification pipeline
The task was not plain text classification: each prediction had to be conditioned on the specific rule being tested, with severe label noise between near-duplicate comments and conflicting rule assignments.
I built a pipeline around that constraint — positive/negative sample expansion, comment–rule conflict label reconciliation and deduplication, and rule resampling. I also removed subreddit shortcut features, which the models were leaning on instead of learning the actual rule semantics, improving the quality of the supervisory signal.
Modelling and ensembling
I trained Qwen2.5-32B AWQ + LoRA alongside multi-seed DeBERTa-v3 models, and fused Qwen3 Embedding semantic signals into the mix. Generative, discriminative and retrieval-based predictions were combined through rank normalisation and weighted ensembling.
Mixing three different families of predictor was what moved the score — each was wrong in different places, so rank normalisation let them contribute without any single family dominating.
Discriminator upgrade path
Beyond the submitted ensemble, I designed a four-model quantised LoRA discriminator route across Phi-4, Qwen3 and Qwen2.5. Probabilities are extracted from the Yes/No next-token logits rather than generated text, which is more stable and far cheaper than sampling.
That route also required planning dual-GPU parallel training and a fusion strategy to keep the four models affordable to run together.