Meaningful Human-in-the-Loop Checking of GenAI Synthesis for Restricted Languages

Lobsters Hottest Papers

Summary

A paper on meaningful human-in-the-loop verification of generative AI synthesis for restricted (low-resource) languages, proposing ways to make human checking of GenAI output more effective.

<p>Abstract: Developers routinely use GenAI tools (large language models enriched in various ways) to generate useful components of programs, such as regular expressions. While pleasant and often effective, this can easily lead to subtle bugs. The developer may have been unclear in their specification, they may not fully understand the language of the output, there may be systematic misconceptions suffered by the user and perhaps even embedded in the language model, and so on.</p> <p>Responsible use of GenAI requires humans in the loop. To be effective, the human interaction must be both meaningful and moderate. We accomplish this as follows. First, we generate multiple candidate expressions instead of one. We then use formal language containment properties to generate distinguishing concrete scenarios that illustrate the differences between the candidates. We then have users rate these concrete scenarios. This process converges in a few steps, while also giving the user insight into any lack of clarity on their part.</p> <p>We have built a tool, PICK, that implements this iterative process. We apply it to three formal languages with the necessary properties: regexes, linear temporal logic, and access-control policies. We show through experiments that PICK is a significant improvement over showing users the candidate expressions, and also helps catch situations where no output is a match.</p> <p><a href="https://lobste.rs/s/bl8gp8/meaningful_human_loop_checking_genai">Comments</a></p>
Original Article
View Cached Full Text

Cached at: 11/26/26, 08:23 AM

The provided content is raw binary PDF data and does not contain extractable article text to translate. Please provide the plain text or markdown version of the article, and I will translate it into English.

Similar Articles

Releasing AI-generated software (8 minute read)

TLDR AI

A blog post exploring the implications of releasing AI-generated software, prompted by Robert C. Martin's claim that he no longer reads agent-written code and instead relies on tests and constraints, discussing epistemology, verification, and liability when LLMs produce code.

Formal Verification Gates for AI Coding Loops

Hacker News Top

The article argues that structural backpressure (e.g., compilers, type checkers) is more effective than improving AI models for ensuring code correctness, and introduces Shen-Backpressure as a tool to implement this approach.

Generative Compilation: On-the-Fly Compiler Feedback as AI Generates Code

Hugging Face Daily Papers

This paper introduces generative compilation, a method to obtain compiler feedback on partial programs during AI code generation, using a 'sealor' transformation that enables standard compilers to diagnose incomplete code. Evaluated on Rust coding tasks, it reduces non-compiling outputs and improves functional correctness by catching errors early.