Hacker News new | ask | show | jobs
by drfloyd51 19 days ago
Ok. I get that. You can query the lamp’s state. Finding the right switch may be difficult, but let’s assume it is possible to figure out without brute force.

So then queries like “design an effective weight loss program” can be validated observing the weight going down. It can’t be prevalidated, the proof is in the pudding.

But a query such as “what is the shortest route between these 50 cities” doesn’t have a validation function unless it CAN compute the shortest route, or if the shortest route was somehow precomputed and given to the validation function. In this sense, it could be used to calibrate the AI. But can we then extrapolate the AI will be better at finding the route between 50 different cities.

1 comments

There's no efficient validation function for optimization problems. If there was, most NP-hard problems wouldn't exist.

You have to approach those with a goal of "be better than x" rather than "be exact".

Caveat that I am an amateur in this field, but given the Traveling Salesman problem in your example, if we aren't allowed to use an existing solver to check against, I'd aim for a suite of validation functions that certify different parts of reaching the solution like:

- validate properties of the logic that have to hold up, such as "shifting the order of my list of cities alone should never change the outcome"

- validate that the outcome never reaches above or below certain bounds that we know aren't possible due to trivial understanding of the problem

- validate that the outcome is always below some other algorithm we know is inefficient

Essentially, for most logic problems, checking validity is exponentially simpler than deriving a solution, but with optimization problems specifically, we are validating that the outcome is not wrong rather than is correct.