Frederick Liu

Frederick Liu

Auto-generated profile, based on publicly available information

Frederick Liu

Google Research, United States

Research Focus & Metrics

Academic Career Length

3Years (2024-Present)

(Calculated once Scilit publication data is synced: current year − year of first publication + 1)

Representative Publications

View All Publications
11 May 2024
Verified
Conference Paper
Open access
MLMichael Xieyang Liu
Michael Xieyang Liu
FLFrederick Liu
Frederick Liu
AFAlexander J. Fiannaca
Alexander J. Fiannaca
TKTerry Koo
Terry Koo
LDLucas Dixon
Lucas Dixon
CCCarrie J. Cai
Carrie J. Cai
Large language models can produce creative and diverse responses. However, to integrate them into current developer workflows, it is essential to constrain their outputs to follow specific formats or standards. In this work, we surveyed 51 experienced industry professionals to understand the range of scenarios and motivations driving the need for output constraints from a user-centered perspective. We identified 134 concrete use cases for constraints at two levels: low-level, which ensures the output adhere to a structured format and an appropriate length, and high-level, which requires the output to follow semantic and stylistic guidelines without hallucination. Critically, applying output constraints could not only streamline the currently repetitive process of developing, testing, and integrating LLM prompts for developers, but also enhance the user experience of LLM-powered features and applications. We conclude with a discussion on user preferences and needs towards articulating intended constraints for LLMs, alongside an initial design for a constraint prototyping tool.