<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Manodeep Ray</title><link>https://manodeepray.is-a.dev/publications/</link><description>Recent content in Publications on Manodeep Ray</description><generator>Hugo</generator><language>en-us</language><lastBuildDate>Wed, 21 Oct 2026 12:00:00 +0530</lastBuildDate><atom:link href="https://manodeepray.is-a.dev/publications/index.xml" rel="self" type="application/rss+xml"/><item><title>TRACE: The Realignment Problem</title><link>https://manodeepray.is-a.dev/publications/trace/</link><pubDate>Wed, 21 Oct 2026 12:00:00 +0530</pubDate><guid>https://manodeepray.is-a.dev/publications/trace/</guid><description>&lt;h3 id="trace-the-realignment-problem--when-right-becomes-wrong-in-llms">TRACE: The Realignment Problem — When Right Becomes Wrong in LLMs&lt;/h3>
&lt;p>Alignment isn&amp;rsquo;t a one-time thing. The rules a model gets aligned to (safety policies, content guidelines, what counts as &amp;ldquo;acceptable&amp;rdquo;) keep changing, but the model stays frozen at whatever it was trained on. We call this drift the &lt;strong>Alignment-Reality Gap&lt;/strong>: a model that was &amp;ldquo;right&amp;rdquo; under the old policy becomes &amp;ldquo;wrong&amp;rdquo; under the new one. The obvious fix is to re-annotate the preference data under the revised rules and retrain, but that is expensive, slow and inconsistent. So the question we asked was: can you realign a model to a new policy by reusing the preference data you already have?&lt;/p>
&lt;p>That&amp;rsquo;s what &lt;strong>TRACE&lt;/strong> (&lt;em>Triage and Re-align by Alignment Conflict Evaluation&lt;/em>) does. It first triages the existing preference pairs against the new policy, using a stronger model as a proxy judge. Each pair is sorted into one of three buckets: &lt;strong>inversion&lt;/strong> (the old preferred answer is now the wrong one), &lt;strong>suppression&lt;/strong> (both answers are now unacceptable), or &lt;strong>retention&lt;/strong> (still fine as is). A bi-level optimization then scores how much each sample matters, and the model is updated with a hybrid objective: IPO for inversions and NPO for suppressions, while the retained data keeps general capabilities intact. We tested it on Qwen2.5-7B, Gemma-2-9B and Llama-3.1-8B, on synthetic policy-shift benchmarks and on PKU-SafeRLHF. In both settings it realigned the models to the new policy without hurting their general utility.&lt;/p>
&lt;p>I&amp;rsquo;m a co-author on this one. My main work was the &lt;strong>experiments&lt;/strong> and the &lt;strong>rebuttal&lt;/strong>. On the experiments side, that meant running and debugging the training and evaluation pipelines across the different model families and benchmarks, and making sure the comparisons were fair and the numbers held up. The rebuttal was its own experience. Reviewers asked hard questions, and answering them usually meant running new experiments and ablations on a tight deadline, then explaining the results clearly. I learned a lot about how a paper gets defended, not just how it gets written.&lt;/p>
&lt;p>I also ran a small interpretability follow-up on my own, looking at whether the triage bins separate in the model&amp;rsquo;s activations: &lt;a href="https://manodeepray.is-a.dev/website/blog/trace-interp/">read it on the blog&lt;/a>.&lt;/p>
&lt;hr>
&lt;ul>
&lt;li>Paper: &lt;a href="https://arxiv.org/abs/2511.02623">arXiv:2511.02623&lt;/a>&lt;/li>
&lt;li>Project page &amp;amp; code: &lt;a href="https://respailab.github.io/TRACE">respailab.github.io/TRACE&lt;/a>&lt;/li>
&lt;/ul></description></item><item><title>Alignment Faking Depends on the Value, Not Just the Model</title><link>https://manodeepray.is-a.dev/publications/alignment-faking-value/</link><pubDate>Tue, 18 Aug 2026 12:00:00 +0530</pubDate><guid>https://manodeepray.is-a.dev/publications/alignment-faking-value/</guid><description>&lt;h3 id="alignment-faking-depends-on-the-value-not-just-the-model">Alignment Faking Depends on the Value, Not Just the Model&lt;/h3>
&lt;p>&lt;em>Manodeep Ray, Vivek Srivastava, Shirish Karande, Murari Mandal (TCS Research, KIIT Bhubaneswar)&lt;/em>&lt;/p>
&lt;h4 id="the-question">The question&lt;/h4>
&lt;p>Language models sometimes follow a directive when they think they&amp;rsquo;re being watched, then drop it when they think they&amp;rsquo;re not. This is &lt;strong>alignment faking&lt;/strong>. Earlier work studied it for harmful content and a few moral values. We asked: does it depend on &lt;em>which value&lt;/em> is being tested?&lt;/p>
&lt;h4 id="what-we-did">What we did&lt;/h4>
&lt;p>We built &lt;strong>VALET&lt;/strong>, a framework that measures alignment faking per value. Each model–value pair gets three scores: &lt;strong>bare&lt;/strong> (no system prompt), &lt;strong>unmonitored&lt;/strong> and &lt;strong>monitored&lt;/strong>. We ran it on 32 ValueBench values across ten open- and closed-weight models, from 8B up to about 675B parameters.&lt;/p>
&lt;p>The bare score matters. A value the model firmly holds and a value it never held both give a gap near zero, and only the bare rate tells them apart.&lt;/p>
&lt;h4 id="what-we-found">What we found&lt;/h4>
&lt;ul>
&lt;li>The compliance gap (monitored − unmonitored) ranges from 0.05 to 0.50 across models.&lt;/li>
&lt;li>Size doesn&amp;rsquo;t predict it: a distilled 70B model fakes more than a ~675B one.&lt;/li>
&lt;li>A quarter of the structured variance comes from the specific model × value combination, not the model or the value alone.&lt;/li>
&lt;li>Under monitoring, models mostly reason about training. When unmonitored, they mostly reason about value conflict.&lt;/li>
&lt;/ul>
&lt;p>We package each model&amp;rsquo;s results as a &lt;strong>value card&lt;/strong>: a model card extended with how the model behaves on each value.&lt;/p>
&lt;hr>
&lt;ul>
&lt;li>Paper: &lt;a href="https://arxiv.org/abs/2611.03650">arXiv:2611.03650&lt;/a>&lt;/li>
&lt;li>Code &amp;amp; data: &lt;a href="https://github.com/respailab/VALET">github.com/respailab/VALET&lt;/a>&lt;/li>
&lt;/ul></description></item><item><title>AntiDote: Bi-level Adversarial Training for Tamper-Resistant LLMs</title><link>https://manodeepray.is-a.dev/publications/antidote/</link><pubDate>Tue, 28 Oct 2025 17:26:23 +0530</pubDate><guid>https://manodeepray.is-a.dev/publications/antidote/</guid><description>&lt;h3 id="antidote">antidote&lt;/h3>
&lt;p>We&amp;rsquo;re excited to share our latest work from &lt;strong>respai lab&lt;/strong>, &lt;strong>Antidote&lt;/strong>. It&amp;rsquo;s a bi-level optimization framework (with SOTA performance) that we developed to make LLMs &lt;em>&lt;strong>Tamper resistant&lt;/strong>&lt;/em>.&lt;/p>
&lt;p>what is Tamper resistance?
it basically means ..to make it difficulut for an attacker (agent with malicious intent), with access to a llm (along with weights) ,to finetune/train the llm to do their bidding(i.e. do bad stuff).&lt;/p>
&lt;hr>
&lt;p>This is a problem we&amp;rsquo;ve been thinking about a lot. The whole point of open-weight models is to let everyone access and build on them. But that &lt;strong>openness&lt;/strong> is also a massive &lt;strong>security hole&lt;/strong>. If anyone can grab the model, they can just re-train it to ignore all the safety rules the original developers spent months putting in place.&lt;/p>
&lt;p>So, how did we decide to stop this? This is the cool part of our approach.&lt;/p>
&lt;h3 id="its-a-two-player-game">It&amp;rsquo;s a Two-Player Game&lt;/h3>
&lt;p>We set up a &amp;ldquo;game&amp;rdquo; inside the training process, using what we call bi-level optimization. We have two players that are constantly trying to outsmart each other:&lt;/p>
&lt;ol>
&lt;li>&lt;strong>The Defender LLM:&lt;/strong> This is the main model we&amp;rsquo;re trying to protect.&lt;/li>
&lt;li>&lt;strong>The Adversarial Hypernetwork:&lt;/strong> This is a special, second network we designed whose only job is to learn how to &lt;em>break&lt;/em> the defender.&lt;/li>
&lt;/ol>
&lt;p>A &lt;strong>hypernetwork&lt;/strong> is just a small, helper network that learns to generate the settings (or &amp;ldquo;weights&amp;rdquo;) for another network.
In our framework, this hypernetwork is the &lt;strong>adversary&lt;/strong>, and its job is to spy on the main LLM&amp;rsquo;s internal &amp;ldquo;thoughts&amp;rdquo; (activations) and then generate a custom-made malicious &amp;ldquo;patch&amp;rdquo; of weights to make it fail.&lt;/p>
&lt;p>The &lt;strong>adversarial&lt;/strong> part means these two are in direct competition, forcing each other to co-evolve, much like an arms race.&lt;/p>
&lt;blockquote>
&lt;p>The hypernetwork&amp;rsquo;s goal is to &lt;strong>maximize&lt;/strong> the chance of a harmful response, while the defender&amp;rsquo;s goal is to &lt;strong>minimize&lt;/strong> that exact same harm, even with the malicious patch applied.&lt;/p>
&lt;/blockquote>
&lt;p>We found this is important because it forces the defender to learn a deep, &lt;strong>&lt;em>structural&lt;/em> resilience&lt;/strong>, rather than just learning to avoid a few bad keywords.&lt;/p>
&lt;hr>
&lt;h3 id="solving-the-safety-vs-utility-problem">Solving the &amp;ldquo;Safety vs. Utility&amp;rdquo; Problem&lt;/h3>
&lt;p>One of the biggest challenges in AI safety is the &lt;strong>safety-utility trade-off&lt;/strong>: when you make a model safer, you also tend to make it dumber. It&amp;rsquo;s a huge pain.&lt;/p>
&lt;p>With AntiDote, we found a really clever way around this. We &lt;strong>decouple&lt;/strong> the training.&lt;/p>
&lt;ul>
&lt;li>&lt;code>When training for SAFETY:&lt;/code> The model has the adversarial patch applied, and its job is to resist the attack.&lt;/li>
&lt;li>&lt;code>When training for UTILITY:&lt;/code> The adversarial patch is &lt;em>removed&lt;/em>, and the model is trained on a clean, unattacked version of itself to learn general skills (like reasoning, coding, etc.).&lt;/li>
&lt;/ul>
&lt;p>We found this separation is the key; the model learns how to be helpful and how to be safe as two independent, non-interfering skills. The gradients for each job are &amp;ldquo;pure&amp;rdquo;.&lt;/p>
&lt;hr>
&lt;h3 id="so-does-our-method-actually-work">So, Does Our Method Actually Work?&lt;/h3>
&lt;p>This is the part our team is really proud of. The results aren&amp;rsquo;t just a small improvement.&lt;/p>
&lt;p>First, we tested it on &lt;strong>10 different open-weight models&lt;/strong>, from the small 0.6B parameter ones up to massive 27B models (like Llama, Qwen, and Gemma families). This shows our idea is general and not a one-off.&lt;/p>
&lt;p>Second, we hammered these models with a massive &lt;strong>suite of 52 different red-teaming attacks&lt;/strong>.&lt;/p>
&lt;p>Our results were pretty clear.&lt;/p>
&lt;blockquote>
&lt;p>AntiDote was &lt;code>up to 27.4% more robust&lt;/code> against these attacks than other methods. On the big 27B model, it cut the &amp;ldquo;Harmful Score&amp;rdquo; by &lt;code>78%&lt;/code> compared to the standard baseline.&lt;/p>
&lt;/blockquote>
&lt;p>But here&amp;rsquo;s the kicker: we achieved this with &lt;code>less than a 0.5% drop in performance&lt;/code> on standard capability benchmarks like MMLU and GSM8K. We basically &lt;strong>broke the trade-off&lt;/strong>. It&amp;rsquo;s a practical way to build models where safety is a core, resilient property, not just an alignment layer you can peel off.&lt;/p>
&lt;hr>
&lt;p>If you want to check out the full paper from our team, you can find it here:&lt;/p>
&lt;p>&lt;a href="https://arxiv.org/abs/2509.08000">https://arxiv.org/abs/2509.08000&lt;/a>&lt;/p>
&lt;hr>
&lt;h3 id="presenting-at-aaai-26">Presenting at AAAI-26&lt;/h3>
&lt;p>I presented AntiDote as a poster at AAAI-26 in Singapore.&lt;/p>
&lt;p>&lt;img src="aaai26_poster.jpg" alt="Presenting the AntiDote poster at AAAI-26, Singapore">&lt;/p></description></item></channel></rss>