paper-with-me

Papers

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

2023-03-01 · Daniel D. Johnson, Daniel Tarlow, Christian Walder

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.

📄 PDF Abstract BibTeX arXiv:2303.00732

Code (1)

google-research/r_u_sure 공식 구현

Methods 이 논문이 사용한 방법론

Library 설명 없음

Similar Papers 제목 키워드 기반

A Hierarchical Recurrent Encoder-Decoder For Generative Context-Aware Query Suggestion

2015-07-08 · Alessandro Sordoni, Yoshua Bengio, Hossein Vahabi, Christina Lioma 외

Users may strive to formulate an adequate textual query for their information need. Search engines assist the users by presenting query suggestions. To preserve the original search intent, suggestions should be context-a…

Decoder

INDIANA: Personalized Travel Recommendations Using Wearables and AI

2024-11-08 · Anastasios Manos, Despina Elisabeth Filipidou, Ioannis Deliyannis, Nikolaos Pavlidis 외

This work presents a personalized travel recommendation system developed as part of the INDIANA platform, designed to enhance the tourist experience through tailored activity suggestions, by leveraging data from wearable…

Goal-Oriented Influence-Maximizing Data Acquisition for Learning and Optimization

2026-02-23 · Weichi Yao, Bianca Dumitrascu, Bryan R. Goldsmith, Yixin Wang arxiv

Active data acquisition is central to many learning and optimization tasks in deep neural networks, yet remains challenging because most approaches rely on predictive uncertainty estimates that are difficult to obtain re…

Text ClassificationActive Learning

Automated Code Fix Suggestions for Accessibility Issues in Mobile Apps

2024-08-07 · Forough Mehralian, Titus Barik, Jeff Nichols, Amanda Swearngin

Accessibility is crucial for inclusive app usability, yet developers often struggle to identify and fix app accessibility issues due to a lack of awareness, expertise, and inadequate tools. Current accessibility testing …

From Guessing to Placeholding: A Cost-Theoretic Framework for Uncertainty-Aware Code Completion

2026-04-02 · Liang Zhu, Haolin Chen, Lidong Zhao, Xian Wu arxiv

While Large Language Models (LLMs) have demonstrated exceptional proficiency in code completion, they typically adhere to a Hard Completion (HC) paradigm, compelling the generation of fully concrete code even amidst insu…

Reinforcement LearningCode Completion