by falcor84 · 3y ago · 0 comments
I think that this challenge is entirely unfair, and the LLM's should not be expected to write perfect code on the first try, but rather to have something good enough to then run, test and iterate on. Essentially, it should be compared against the first version of code I would write myself before having had a chance to test it yet. From my experience, with ChatGPT and Copilot, when I approach it in this iterative way, it's a great boon to my productivity, and I don't end up blaming neither it nor myself in the times when it's not quite accurate, just like I wouldn't blame a student for making silly mistakes when writing code on a paper-based exam.
The problem is not AI taking away work – that’s a great thing – the problem is that our current economic system is not designed for this. Fixing our economic system is easier and gives much better results for people than trying to stop technological progress.
My point is more: gosh isn't it odd that people are complaining it can't do all the things, given how radically different everything will be when that does finally come to pass?
it has no sense of whether a task has been fulfilled
I've never seen any of the recursive models show convergence on a task, seems without a human hand they fall apart
An exception I've seen is with the Wolfram plugin, it seems to at least try different approaches until it arrives at an answer to present to you.
This is definitely annoying, but considering their tendency to hallucinate facts it's usually preferable to something like this: https://scoop.upworthy.com/microsoft-chatbot-fights-with-hum...
But I do think it should be toned down a bit, especially if the user is just saying something like "are you sure that's right?"
I've managed to work around this in GPT (4 at least) by having a system prompt that forces GPT to challenge me and not blindly accept what I say without verifying it first.
I've definitely seen it say it's implementation is fine if just asked to identify problems or compare to the original problem statement (and alternatively fix issues it identifies).
Similarly, stopped playing when the question was "Write a html page with javascript/canvas to draw the US flag that changes color when I click on it. Make the flag perfectly accurate." and it generated a flag that wasn't "perfectly accurate" (https://i.imgur.com/WhyRsYa.png, notice the position of the top/left stars) but then told me "Wrong! You guessed that GPT-4 could not solve the question, but it can! 71% of people got this question correct."
I'm not sure how the validation is done, seems to be manually hardcoded or something, but it seems it's not very reliable.
I assumed they would have enough brain cells to draw the flag without cutting in half all the stars in the margins. But they must have failed kindergarten because I assumed wrong.
``` // Draw 50 stars: 9 rows of alternating 6 or 5 stars
ctx.fillStyle = white;
for (let row = 0; row < 9; row++) {
for (let col = 0; col < (row % 2 === 0 ? 6 : 5); col++) {
let x = 16 + col \* 32 + (row % 2) \* 16;
let y = 16 + row \* 32;
ctx.beginPath();
ctx.arc(x, y, 4, 0, Math.PI \* 2);
ctx.fill();
}
}
}
```Effectively drawing circles and the rectangle which contains them is rotated right by 90° so that a section of the blue rectangle is not covered and the dots are partially above the red stripes.
At least when I input it into ChatGPT with GPT-4, that's the result.
And the rendered solution by the site has the stars offset so that some are not fully in the blue rectangle. Accurately is something different.
It succeeds only if the thing was drilled diwn hard in learning like american flag or implementing tictactoe (but not predicting best move on the fly).
Though I think it's computationally cheaper for GPT to actually run the code than to double check its work...