Towards Consistent Language Models Using Declarative Constraints

Jasmin Mousavi, Arash Termehchy
12/24/2023
cs.DBcs.CL

No confident code implementation found for this paper.

Abstract

Large language models have shown unprecedented abilities in generating linguistically coherent and syntactically correct natural language output. However, they often return incorrect and inconsistent answers to input questions. Due to the complexity and uninterpretability of the internally learned representations, it is challenging to modify language models such that they provide correct and consistent results. The data management community has developed various methods and tools for providing consistent answers over inconsistent datasets. In these methods, users specify the desired properties of data in a domain in the form of high-level declarative constraints. This approach has provided usable and scalable methods to delivering consistent information from inconsistent datasets. We aim to build upon this success and leverage these methods to modify language models such that they deliver consistent and accurate results. We investigate the challenges of using these ideas to obtain consistent and relevant answers from language models and report some preliminary empirical studies.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{mousavi2023towards,
  title  = {Towards Consistent Language Models Using Declarative Constraints},
  author = {Jasmin Mousavi and Arash Termehchy},
  year   = {2023},
  eprint = {2312.15472},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2312.15472v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2312.15472.svg)](https://codeofpaper.com/paper/2312.15472)

Discussion