<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Contrastive Decoding on Nalar</title>
    <link>https://nalar.dev/tags/contrastive-decoding/</link>
    <description>Recent content in Contrastive Decoding on Nalar</description>
    <generator>Hugo</generator>
    <language>en-us</language>
    <lastBuildDate>Sat, 12 Sep 2026 00:00:00 +0700</lastBuildDate>
    <atom:link href="https://nalar.dev/tags/contrastive-decoding/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Improve LLM Generation with Contrastive Decoding</title>
      <link>https://nalar.dev/improve-llm-generation-with-contrastive-decoding/</link>
      <pubDate>Sat, 12 Sep 2026 00:00:00 +0700</pubDate>
      <guid>https://nalar.dev/improve-llm-generation-with-contrastive-decoding/</guid>
      <description>&lt;h1 id=&#34;improve-llm-generation-with-contrastive-decoding&#34;&gt;Improve LLM Generation with Contrastive Decoding&lt;/h1&gt;&#xA;&lt;p&gt;A language model can assign high probability to text that is fluent but bland, repetitive, or overly driven by common patterns. Sampling adds variety, but increasing randomness can also admit weak continuations. &lt;strong&gt;Contrastive decoding&lt;/strong&gt; takes a different route: compare a stronger model with a weaker reference model at each generation step, then favor tokens that the stronger model supports more distinctly.&lt;/p&gt;&#xA;&lt;p&gt;The method changes decoding rather than model parameters. It can therefore be useful when you control inference for compatible models and want to experiment with generation quality without another training run. The extra model pass is not free, and the method needs a plausibility guard to avoid promoting strange tokens.&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
