Algorithmic_Pudi's blog

By Algorithmic_Pudi, history, 7 weeks ago, In English
  • Idea, blog content: 100% mine
  • Blog title, blog tags, research: 100% AI-assisted

Problem: Nowadays, coding contests usually have two types of contestants -- genuine ones (referred to as GC from now on) and ones that simply use AI (referred to as LOSER from now on). This is significantly affecting a GC's rank and overall performance, since the evaluation algorithm primarily depends on rank.

The problem is even bigger for some sensitive users (like me :)), when they see an actually hard problem getting solved by thousands of contestants in seconds, which decreases there motive to even continue with the contest. Since, they’re not even 100 percent sure if the problem is actually easy or just a bunch of LOSERs using AI.

Solutions such as camera proctoring, browser blocking, etc., simply won't work because there are several ways to circumvent them. Offline contests are simply not feasible given the frequency of the contests.

My take: Lets rethink evaluation. I think it’s time to stop depending on rank and matter fact to even stop providing one. The algorithm should now prioritise one’s absolute performance rather than relative performance.

Metrics like problem rating, number of attempts, time-to-solve, runtime, and memory usage should carry more than 90% of the weight for performance evaluation.

Sub-problem: How to calculate problem ratings before contest? As far as my research goes (I mean Gemini’s research goes), Codeforces problem ratings are currently crowdsourced, data-driven, and dynamically calibrated based on how actual users perform in the contest. Simply put, LOSERs are directly affecting a problem’s rating. Hence if kept the same -> a GC’s rating is still indirectly getting affected by a LOSER.

Now the best solution that I can think of is to use some ML/AI algorithm(s) to generate a problem rating given a problem statement, corresponding tags/concepts, etc.. Now I’m not an ML/AI guy, but I think we have more than enough data to build such a model. It seems comparatively an easier task, given we can build something like “Attention is all you need” type ML architectures.

Adding to that, we can also take help from problem setters and sure GCs (like Benq, jiangly, tourist, Kevin114514, etc..) to evaluate problem ratings before the contest.

I think this should give a fair enough rating to a problem. Comment if you can add something more or think of something even better.


Evaluation: Now that we have a problem rating, we have everything we need to evaluate a contestant’s absolute performance. We can design an algorithm that generates a score of a user’s solution that will directly affect user rating, without comparing to anyone else.

The point is to appreciate GCs for their efforts and provide them with a fair evaluation. We can just stop giving a {f-word} about LOSERs, let them play with their profile and do whatever they want; GCs should not be bothered by them.
 Additionally:
Given this seperation, we can also think of an algorithm to identify GC profiles (I’m not sure, but I feel like it’s easy to identify GCs than LOSERs; also I’m running out of time, I need to get to the office, so we can discuss this later). This way, someone who wants to evaluate a user’s profile (like a recruiter) can easily identify if the user is a GC or a LOSER.

Let me know what you think of this.
Byeeeee

  • Vote: I like it
  • -27
  • Vote: I do not like it

»
7 weeks ago, hide # |
← Rev. 2  
Vote: I like it +1 Vote: I do not like it

If your idea of evaluating problem ratings were to go through, why not just get testers to evaluate problem ratings? They basically already do that when they test a round that isn't yet released.

»
7 weeks ago, hide # |
 
Vote: I like it 0 Vote: I do not like it

Auto comment: topic has been updated by Algorithmic_Pudi (previous revision, new revision, compare).

»
7 weeks ago, hide # |
 
Vote: I like it 0 Vote: I do not like it

Good idea!

»
7 weeks ago, hide # |
 
Vote: I like it 0 Vote: I do not like it

Wow, why so many negatives (⁠*⁠_⁠*⁠)? I just wanted to give my efforts to make this platform fair again. I request you guys to pls share your views instead of just down-voting the post. I genuinely feel we can eliminate AI cheaters.

»
7 weeks ago, hide # |
 
Vote: I like it 0 Vote: I do not like it

The problem is that testers can wildly over or underestimate problem difficulties, how do you think that rounds like 1118 happen?

  • »
    »
    7 weeks ago, hide # ^ |
     
    Vote: I like it 0 Vote: I do not like it

    Why do you think so? I don't think Experienced programmers can wildly over or underestimate. Regardless, we're also considering inputs from multiple testers, along with an ML model output as well. A fair rating can be achieved.

    • »
      »
      »
      7 weeks ago, hide # ^ |
      ← Rev. 2  
      Vote: I like it 0 Vote: I do not like it

      "Just train a classifier" is not always the answer. Humans are not great at estimating problem ratings. The other element is that this would cause ratings to lose their meaning. Under the comparison-based approach, me being 400 points higher rated than you implies that CF believes that I should win 10 out of 11 contests against you. In order to make this work you'd have to train bots to behave like humans across an entire contest and then compare human results to those bot results.

      I will admit that this has been done on Lichess (https://lichess.org/@/maia1) to train bots to play like humans, but as you can see by its rating history it's still not perfect. Doing this for competitive programming feels much harder.

      I personally think some level of distribution shift (whether caused by cheaters or the population just getting better) is inevitable.

      Another thing is emotionally it feels more meaningful to say "I am 2100 because I did this well against other skilled CPers in rounds" than "I am 2100 because I did well compared to 1,000 bots that were trained 5 years ago that try to act like CM humans"

      • »
        »
        »
        »
        7 weeks ago, hide # ^ |
         
        Vote: I like it 0 Vote: I do not like it

        First of all, I don't feel qualified enough to argue with you (XD), but considering your following statement:

        "Under the comparison-based approach, me being 400 points higher rated than you implies that CF believes that I should win 10 out of 11 contests against you."

        My point is to remove this comparison-based approach and make it an absolute one.

        Let's just leave it at this point. I don't think I've conveyed my point clearly here; people seem to get it wrong.

        • »
          »
          »
          »
          »
          7 weeks ago, hide # ^ |
           
          Vote: I like it 0 Vote: I do not like it

          Not my intention XD the difference between 1000 and 2000 is 2 problems :)

          Anyway, I think people downvote this because they see a gray name and they see "fixing cheating" and their brain immediately jumps to AI slop. I know that's what I thought before I actually read it closely. Am I ratist? Maybe.

          To be clear, I think this idea definitely has merit, unlike a lot of other ones that get cycled around the site. I'm just not sure if I actually would think this is better than the existing ratings. I think ratings are inherently relative, and me being the competitive person I am, enjoys that I can quantify exactly (well, within some standard error lol) how I compare to everyone else. I think the world you're envisioning could be a good one — the closest analogy I can think of is minecraft parkour where jumps are ranked using difficulties, but it's mostly absolute because it's if you've completed the jump or not, or in sports like your absolute mile time or amount of weight lifted. But in that world there can still be distribution shift as people make better strategies (sidestep, lol) or just from "standards shifting over time" like how a 4 minute mile used to be impossible but now multiple people have done it.

          Also sorry Lever I failed the try not to mention powerlifting or parkour challenge

»
7 weeks ago, hide # |
 
Vote: I like it 0 Vote: I do not like it
  1. Rank is the fun part.
  2. "I feel like it’s easy to identify GCs than LOSERs", is a very big and wrong assumption.
  3. This method solves nothing.