|
|
|
|
|
by zero_k
620 days ago
|
|
Yes, we should use LLMs to translate human requirements that are ambiguous and have a lot of hidden assumptions (e.g. that football matches should preferably be at times when people are not working & awake [3]), and use them to create formal requirements, e.g. generating SMT [1] or ASP [2] queries. Then the formal methods tool, e.g. Z3/cvc5 or clingo can solve these now formal queries. Then we can translate back the solution to human language via the LLM. This does not solve some problems, e.g. the LLM not correctly guessing the implicit requirements. But it does go around a bunch of issues. We do need to pump up the jam when it comes to formal methods tools, though. And academia is still rife with quantum and AI buzzword generators if you wanna get funding. Formal methods doesn't get enough funding from Academia. Amazon has put a bunch of money into it (hiring all good talent :sadface:), and Microsoft is funding both Z3 and Lean4. Industry is ahead of the game, again. This is purely failure of Academic leadership, nothing else. [1] https://en.wikipedia.org/wiki/Satisfiability_modulo_theories [2] https://en.wikipedia.org/wiki/Answer_set_programming [3] Anecdotal, but this was a "bug" in a solution offered by a tool that optimally schedules football matches in Spain. |
|
Why would an LLM trained on human language patterns be good at this? If anything, I would expect it to follow the same pattern that humans do.