Pith. sign in

REVIEW 2 cited by

R-U-SURE? Uncertainty-Aware Code Suggestions By Maximizing Utility Across Random User Intents

Not yet reviewed by Pith; the record is open.

This paper has not been read by Pith yet. Machine review is queued; the pith claim, tier, and objections will appear here once it completes.

SPECIMEN: schema-true, not a live event

T0 review · schema-true

One-sentence machine reading of the paper's core claim.

pith:XXXXXXXX · record.json · timestamp

arxiv 2303.00732 v2 pith:XOYRZPIA submitted 2023-03-01 cs.LG cs.SE

classification cs.LGcs.SE
keywords modelcoder-u-sureusergenerativeintentsintroducemodels
verification ladder T0 review T1 audit T2 compute T3 formal
0 comments
read the original abstract

Large language models show impressive results at predicting structured text such as code, but also commonly introduce errors and hallucinations in their output. When used to assist software developers, these models may make mistakes that users must go back and fix, or worse, introduce subtle bugs that users may miss entirely. We propose Randomized Utility-driven Synthesis of Uncertain REgions (R-U-SURE), an approach for building uncertainty-aware suggestions based on a decision-theoretic model of goal-conditioned utility, using random samples from a generative model as a proxy for the unobserved possible intents of the end user. Our technique combines minimum-Bayes-risk decoding, dual decomposition, and decision diagrams in order to efficiently produce structured uncertainty summaries, given only sample access to an arbitrary generative model of code and an optional AST parser. We demonstrate R-U-SURE on three developer-assistance tasks, and show that it can be applied different user interaction patterns without retraining the model and leads to more accurate uncertainty estimates than token-probability baselines. We also release our implementation as an open-source library at https://github.com/google-research/r_u_sure.

Discussion (0). Sign in to comment.

Forward citations

Cited by 2 Pith papers

Reviewed papers in the Pith corpus that reference this work. Sorted by Pith novelty score. Full citation record

  1. Legal Requirements Translation from Law

    cs.SE 2025-07 conditional novelty 6.0 of 10

    A prompt-based method using GPT-4o and selected examples turns legal paragraphs into executable Python objects, passing about 89% of unit tests on 13 U.S. data breach notification laws and beating a JSON extraction baseline.

  2. From Legal Text to Tech Specs: Generative AI's Interpretation of Consent in Privacy Law

    cs.SE 2025-07 conditional novelty 4.0 of 10

    An LLM pipeline that flags and fixes non-compliant consent use cases works imperfectly: it catches about two-thirds of relevant cases with reasoning prompts, and most of its fixes are legally sound but logically inconsistent.

Pith tools