Pith. sign in

REVIEW 4 cited by

GeDi: Generative Discriminator Guided Sequence Generation

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 2009.06367 v2 pith:O7BZNU6F submitted 2020-09-14 cs.CL cs.LG

classification cs.CLcs.LG
keywords gedigenerationcontrolgeneratelanguagelargemethodwhile
verification ladder T0 review T1 audit T2 compute T3 formal
0 comments
read the original abstract

While large-scale language models (LMs) are able to imitate the distribution of natural language well enough to generate realistic text, it is difficult to control which regions of the distribution they generate. This is especially problematic because datasets used for training large LMs usually contain significant toxicity, hate, bias, and negativity. We propose GeDi as an efficient method for using smaller LMs as generative discriminators to guide generation from large LMs to make them safer and more controllable. GeDi guides generation at each step by computing classification probabilities for all possible next tokens via Bayes rule by normalizing over two class-conditional distributions; one conditioned on the desired attribute, or control code, and another conditioned on the undesired attribute, or anti control code. We find that GeDi gives stronger controllability than the state of the art method while also achieving generation speeds more than 30 times faster. Additionally, training GeDi on only four topics allows us to controllably generate new topics zero-shot from just a keyword, unlocking a new capability that previous controllable generation methods do not have. Lastly, we show that GeDi can make GPT-2 (1.5B parameters) significantly less toxic without sacrificing linguistic quality, making it by far the most practical existing method for detoxifying large language models while maintaining a fast generation speed.

Discussion (0). Sign in to comment.

Forward citations

Cited by 4 Pith papers

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

  1. Artificial Epanorthosis: Why large language models overuse a classical rhetorical figure, and how to mitigate it

    cs.CL 2026-07 conditional novelty 6.0 of 10

    LLMs overuse the 'not X, but Y' self-correction pattern in persuasive registers and underuse it in informal Q&A; a prompt or a detachable LoRA dial adjusts it to human levels.

  2. Test-Time Scaling via Error Localization

    cs.LG 2026-07 conditional novelty 6.0 of 10

    TTEL uses feedback-induced token probability drops to localize the first error in a failed reasoning trace and branch a new generation from that prefix, improving pass@k per token on coding and math benchmarks.

  3. Detoxification of Large Language Models through Output-layer Fusion with a Calibration Model

    cs.CL 2025-06 conditional novelty 5.0 of 10

    A small calibration model trained on non-toxic text is aligned and fused into the final layer of LLaMA-2-based LLMs, modestly reducing toxicity on RealToxicityPrompts but with mixed perplexity results.

  4. TRACEALIGN -- Tracing the Drift: Attributing Alignment Failures to Training-Time Belief Sources in LLMs

    cs.AI 2025-08 reject novelty 4.0 of 10

    TraceAlign attributes LLM safety failures to memorized training spans using a suffix-array index and a rarity score called BCI, and powers three defenses that reportedly reduce drift by up to 85%.

Pith tools