Papers
Topics
Authors
Recent
Gemini 2.5 Flash
Gemini 2.5 Flash
38 tokens/sec
GPT-4o
59 tokens/sec
Gemini 2.5 Pro Pro
41 tokens/sec
o3 Pro
7 tokens/sec
GPT-4.1 Pro
50 tokens/sec
DeepSeek R1 via Azure Pro
28 tokens/sec
2000 character limit reached

Lexically-constrained Text Generation through Commonsense Knowledge Extraction and Injection (2012.10813v1)

Published 19 Dec 2020 in cs.CL

Abstract: Conditional text generation has been a challenging task that is yet to see human-level performance from state-of-the-art models. In this work, we specifically focus on the Commongen benchmark, wherein the aim is to generate a plausible sentence for a given set of input concepts. Despite advances in other tasks, large pre-trained LLMs that are fine-tuned on this dataset often produce sentences that are syntactically correct but qualitatively deviate from a human understanding of common sense. Furthermore, generated sequences are unable to fulfill such lexical requirements as matching part-of-speech and full concept coverage. In this paper, we explore how commonsense knowledge graphs can enhance model performance, with respect to commonsense reasoning and lexically-constrained decoding. We propose strategies for enhancing the semantic correctness of the generated text, which we accomplish through: extracting commonsense relations from Conceptnet, injecting these relations into the Unified LLM (UniLM) through attention mechanisms, and enforcing the aforementioned lexical requirements through output constraints. By performing several ablations, we find that commonsense injection enables the generation of sentences that are more aligned with human understanding, while remaining compliant with lexical requirements.

User Edit Pencil Streamline Icon: https://streamlinehq.com
Authors (8)
  1. Yikang Li (64 papers)
  2. Pulkit Goel (3 papers)
  3. Varsha Kuppur Rajendra (1 paper)
  4. Har Simrat Singh (6 papers)
  5. Jonathan Francis (48 papers)
  6. Kaixin Ma (35 papers)
  7. Eric Nyberg (39 papers)
  8. Alessandro Oltramari (19 papers)
Citations (7)