Can Language Models Take A Hint? Prompting for Controllable Contextualized Commonsense Inference

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Colon-Hernandez, Pedro, Liu, Nanxi, Joe, Chelsea, Chin, Peter, Yin, Claire, Lieberman, Henry, Xin, Yida, Breazeal, Cynthia
Format: Preprint
Published: 2024
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866912056640274432
author Colon-Hernandez, Pedro
Liu, Nanxi
Joe, Chelsea
Chin, Peter
Yin, Claire
Lieberman, Henry
Xin, Yida
Breazeal, Cynthia
author_facet Colon-Hernandez, Pedro
Liu, Nanxi
Joe, Chelsea
Chin, Peter
Yin, Claire
Lieberman, Henry
Xin, Yida
Breazeal, Cynthia
contents Generating commonsense assertions within a given story context remains a difficult task for modern language models. Previous research has addressed this problem by aligning commonsense inferences with stories and training language generation models accordingly. One of the challenges is determining which topic or entity in the story should be the focus of an inferred assertion. Prior approaches lack the ability to control specific aspects of the generated assertions. In this work, we introduce "hinting," a data augmentation technique that enhances contextualized commonsense inference. "Hinting" employs a prefix prompting strategy using both hard and soft prompts to guide the inference process. To demonstrate its effectiveness, we apply "hinting" to two contextual commonsense inference datasets: ParaCOMET and GLUCOSE, evaluating its impact on both general and context-specific inference. Furthermore, we evaluate "hinting" by incorporating synonyms and antonyms into the hints. Our results show that "hinting" does not compromise the performance of contextual commonsense inference while offering improved controllability.
format Preprint
id arxiv_https___arxiv_org_abs_2410_02202
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Can Language Models Take A Hint? Prompting for Controllable Contextualized Commonsense Inference
Colon-Hernandez, Pedro
Liu, Nanxi
Joe, Chelsea
Chin, Peter
Yin, Claire
Lieberman, Henry
Xin, Yida
Breazeal, Cynthia
Computation and Language
Artificial Intelligence
Generating commonsense assertions within a given story context remains a difficult task for modern language models. Previous research has addressed this problem by aligning commonsense inferences with stories and training language generation models accordingly. One of the challenges is determining which topic or entity in the story should be the focus of an inferred assertion. Prior approaches lack the ability to control specific aspects of the generated assertions. In this work, we introduce "hinting," a data augmentation technique that enhances contextualized commonsense inference. "Hinting" employs a prefix prompting strategy using both hard and soft prompts to guide the inference process. To demonstrate its effectiveness, we apply "hinting" to two contextual commonsense inference datasets: ParaCOMET and GLUCOSE, evaluating its impact on both general and context-specific inference. Furthermore, we evaluate "hinting" by incorporating synonyms and antonyms into the hints. Our results show that "hinting" does not compromise the performance of contextual commonsense inference while offering improved controllability.
title Can Language Models Take A Hint? Prompting for Controllable Contextualized Commonsense Inference
topic Computation and Language
Artificial Intelligence
url https://arxiv.org/abs/2410.02202