我是电脑的导盲犬。
I'm a seeing-eye dog for a computer

原始链接: https://claytonwramsey.com/blog/seeing-eye/

作为一名机器人工程师,作者探讨了利用大语言模型(LLM)通过视觉反馈自动化机器人代码调试这一繁琐过程的可行性。尽管 LLM 在生成样板代码方面表现出色,但作者发现它们在视觉调试的“试错”循环中表现得极为糟糕。 主要障碍在于模型缺乏对物理机器人行为的空间直觉,以及 LLM 与基于 GUI 的调试器之间笨拙且低效的接口。作者通过目视检查几秒钟就能解决的问题,LLM 却需要花费三十分钟去误解,这导致的结果是挫败感而非效率。最终,作者得出结论:将视觉调试委托给人工智能是事倍功半的。那种“笨拙”但可靠的人工流程——即由人类目视检查场景并进行调整——依然优于目前的 AI 辅助方法。最终,这位工程师放弃了自动化方案,宁愿亲自动手进行调试,以确保准确性并避免修正 AI 错误带来的徒劳。

抱歉。
相关文章

原文

I draw a picture of where I want the robot to grab a lid.

Grab the lid on the spot that I circled in red.

I used to argue with people on the internet. After about six replies, you realize that you’re speaking to someone incapable of thought. This is a more pleasant experience than getting a LLM to do what you want.

I write code for robots. Rather, it’s 2026, so these days I also tell LLMs to write code for robots. I often handwrite the code myself, but I’ve found that LLM coding assistants’ limitless patience ameliorates the drudgiest work of coding. Since robots are real things, the gold standard in debugging is visualization: you demonstrate a robot solving the problem you specified and inspect the results with your eyeballs.

Debugging against a visualization is often one of the most annoying parts of writing robot code, since the best workflow you can get is just writing down some magic numbers, re-running your software, and then zooming around the output. If the result is no good, you punch in some new magic numbers and pray for the best.

The robot grabs the lid in the wrong spot.

Not there. Grab the lid on the lip, where I circled it.

Since I already like making LLMs handle drudgery for me, I decided to see if I could get my coding assistant to do all that for me. After all, these models already come with an image encoder, and my visualizer tool comes with an MCP server. If the LLM does the debugging loop for me, I can move on to doing better tasks, like staking out the breakroom for leftover pizza.

The robot grabs the wrong spot again.

That's a little bit better. Take the gripper down and flip it toward the lip.

My experience so far has been less than pleasant. It seems that no amount of training on text can give a language model a good sense of what a normal, working robot does. Beyond that, the tools exposed for coding assistants to control GUI software are limited at best. I can zoom around the debug viewer and snap into one spot in the scene in five seconds flat, but for an MCP-powered assistant, just getting to the right view in the scene can take five minutes. So, when I ask an LLM to debug a problem visually, I mostly just wait thirty minutes and then get a new, also-wrong answer.

All that’s left is the dumbest workflow possible: I fire up the debug viewer myself, look around for weird mistakes, then take a screenshot and tell the language model how badly it messed up this time. Eventually I just decided to do all the debugging work myself, so I would at least get to do the fun part too.

The robot grabs the wrong spot one last time.

Oh, I give up.
联系我们 contact @ memedata.com