Pith. sign in

REVIEW 3 cited by

Validating Large Language Models with ReLM

Not yet reviewed by Pith; the record is open.

This paper has not been read by Pith yet. Machine review is queued; the pith claim, tier, and objections will appear here once it completes.

SPECIMEN: schema-true, not a live event

T0 review · schema-true

One-sentence machine reading of the paper's core claim.

pith:XXXXXXXX · record.json · timestamp

arxiv 2211.15458 v2 pith:PJR6PRDK submitted 2022-11-21 cs.LG cs.CL

classification cs.LGcs.CL
keywords languagerelmllmsqueriesvalidatingbiasconcernsdata
verification ladder T0 review T1 audit T2 compute T3 formal

Signed reviews

No signed human review yet.

0 comments
read the original abstract

Although large language models (LLMs) have been touted for their ability to generate natural-sounding text, there are growing concerns around possible negative effects of LLMs such as data memorization, bias, and inappropriate language. Unfortunately, the complexity and generation capacities of LLMs make validating (and correcting) such concerns difficult. In this work, we introduce ReLM, a system for validating and querying LLMs using standard regular expressions. ReLM formalizes and enables a broad range of language model evaluations, reducing complex evaluation rules to simple regular expression queries. Our results exploring queries surrounding memorization, gender bias, toxicity, and language understanding show that ReLM achieves up to 15x higher system efficiency, 2.5x data efficiency, and increased statistical and prompt-tuning coverage compared to state-of-the-art ad-hoc queries. ReLM offers a competitive and general baseline for the increasingly important problem of LLM validation.

Discussion (0). Continue with ORCID to comment.

Forward citations

Cited by 3 Pith papers

Reviewed papers in the Pith corpus that reference this work. Sorted by Pith novelty score. Full citation record

  1. Imprompt: A Language Framework for Prompt Programming

    cs.AI 2026-07 conditional novelty 7.0 of 10

    Prompt programs can be typed like programs and compiled in different ways; Imprompt formalizes two such compilers and tests them on tax-law reasoning and data-labeling tasks.

  2. JSONSchemaBench: A Rigorous Benchmark of Structured Outputs for Language Models

    cs.CL 2025-01 conditional novelty 6.0 of 10

    JSONSchemaBench is a new 10K-schema benchmark showing that constrained decoding frameworks differ widely in efficiency, coverage, and quality, with the best tool supporting roughly twice as many schemas as the worst.

  3. Byte BPE Tokenization as an Inverse string Homomorphism

    cs.CL 2024-12 conditional novelty 4.0 of 10

    The paper shows that, under the assumption that detokenization is compositional, extended tokenization is an inverse homomorphism and thus preserves context-free and regular language structure, while the structure of ...

Pith tools