Papers
Topics
Authors
Recent
Search
2000 character limit reached

Negative Certainty Supervision Loss

Updated 4 July 2026
  • Negative Certainty Supervision Loss is a training paradigm for vision-language models that repurposes rejected responses into corrective dialogue.
  • It leverages a standard cross-entropy loss on both chosen responses and LLM-generated corrective conversations, simplifying complex RLHF pipelines.
  • Experimental results on OCRVQA, TextCaps, and LLaVA-150K show that nSFT achieves competitive performance with reduced computational overhead.

Searching arXiv for the cited paper and related context. arxiv_search(query="(Zhu et al., 2024) Continual SFT Matches Multimodal RLHF with Negative Supervision", max_results=5, sort_by="relevance") Negative supervised finetuning (nSFT) is a continual alignment objective for vision-LLMs (VLMs) in which the supervision signal consists of two standard supervised-finetuning terms: one on the chosen response and one on a constructed corrective dialogue derived from a rejected response. In “Continual SFT Matches Multimodal RLHF with Negative Supervision,” nSFT is presented as a way to disentangle the negative supervision embedded in multimodal RLHF, especially the logit of rejected responses, and to recover that signal within a simple cross-entropy training regime rather than with PPO- or DPO-style preference optimization (Zhu et al., 2024). The method is framed as a memory-efficient alternative to multimodal RLHF, where 2 (e.g., DPO) or 4 (e.g., PPO) large VLMs are strictly required, while nSFT requires only a single model in memory and one simple SFT loss (Zhu et al., 2024).

1. Formal definition and notation

The method is defined on a multimodal input x=(I,q)x=(I,q), where II is an image and qq denotes question tokens. The target chosen response is yc=(yc,1,,yc,L)y_c=(y_{c,1},\dots,y_{c,L}), and the rejected response is yr=(yr,1,,yr,L)y_r=(y_{r,1},\dots,y_{r,L'}), generated by the current model, for example via temperature sampling. The underlying policy is the vision-LLM πθ\pi_\theta to be finetuned (Zhu et al., 2024).

The standard supervised-finetuning token-wise log-loss on a target sequence yy is

Lsft(y;θ)=i=1ylogπθ(yiy<i,x).L_{\mathrm{sft}}(y;\theta)=-\sum_{i=1}^{|y|}\log \pi_\theta(y_i\mid y_{<i},x).

A construction function G()G(\cdot), implemented as a large LLM, e.g. GPT-4, takes the rejected reply yry_r together with the chosen response II0 and a vision-error codebook II1, and produces a corrective conversation II2 of length II3 (Zhu et al., 2024).

The nSFT loss is

II4

In the paper’s formulation, the “negative-response logits” are extracted by including II5 in the cross-entropy training data rather than by introducing a separate preference-classification objective (Zhu et al., 2024).

2. Complete objective and optimization procedure

In a batched setting with preference dataset II6, the training loop first samples a rejected response II7 from the current policy II8 for each input II9, then constructs the corrective dialogue qq0. The overall objective is

qq1

No auxiliary KL term is required, unlike PPO or DPO, although a per-token KL-penalty may optionally be added to stabilize training; this possibility is examined in ablations (Zhu et al., 2024).

The step-by-step algorithm is specified as follows. For each minibatch qq2 of size qq3, one samples qq4 from the alignment dataset qq5. For each qq6, a rejected reply qq7 is generated by sampling qq8, for example with top-k+temperature. The LLM qq9 is then prompted with yc=(yc,1,,yc,L)y_c=(y_{c,1},\dots,y_{c,L})0 to identify instance- and image-level hallucinations and to output a corrective conversation yc=(yc,1,,yc,L)y_c=(y_{c,1},\dots,y_{c,L})1. Two target sequences are thus formed per example, yc=(yc,1,,yc,L)y_c=(y_{c,1},\dots,y_{c,L})2 and yc=(yc,1,,yc,L)y_c=(y_{c,1},\dots,y_{c,L})3, and the losses yc=(yc,1,,yc,L)y_c=(y_{c,1},\dots,y_{c,L})4 and yc=(yc,1,,yc,L)y_c=(y_{c,1},\dots,y_{c,L})5 are computed. The batch loss is

yc=(yc,1,,yc,L)y_c=(y_{c,1},\dots,y_{c,L})6

The model is then updated by backpropagating yc=(yc,1,,yc,L)y_c=(y_{c,1},\dots,y_{c,L})7 and taking an SGD/Adam step (Zhu et al., 2024).

The significance of this formulation is that the alignment stage remains an SFT-style optimization problem. A plausible implication is that implementation complexity is reduced relative to RLHF pipelines that rely on reference models, value models, or rollout machinery, although the paper’s direct claims concern memory and runtime rather than software complexity.

3. Relation to DPO and the role of negative supervision

The paper motivates nSFT by arguing that the inherent value of multimodal RLHF lies in its negative supervision, specifically the logit of the rejected responses (Zhu et al., 2024). This argument is made explicit through a comparison with Direct Preference Optimization (DPO), whose binary log-loss is written as

yc=(yc,1,,yc,L)y_c=(y_{c,1},\dots,y_{c,L})8

Ignoring reference-model terms, the logit inside yc=(yc,1,,yc,L)y_c=(y_{c,1},\dots,y_{c,L})9 can be expressed as

yr=(yr,1,,yr,L)y_r=(y_{r,1},\dots,y_{r,L'})0

By differentiating yr=(yr,1,,yr,L)y_r=(y_{r,1},\dots,y_{r,L'})1 with respect to yr=(yr,1,,yr,L)y_r=(y_{r,1},\dots,y_{r,L'})2, the paper reports

yr=(yr,1,,yr,L)y_r=(y_{r,1},\dots,y_{r,L'})3

This is interpreted as a weighted combination of a positive and a negative SFT gradient, whereas naïve continual SFT uses only yr=(yr,1,,yr,L)y_r=(y_{r,1},\dots,y_{r,L'})4 and thus loses all negative supervision (Zhu et al., 2024).

A second theoretical argument is a gradient-bias analysis. From the partial derivatives of yr=(yr,1,,yr,L)y_r=(y_{r,1},\dots,y_{r,L'})5 with respect to the two logits yr=(yr,1,,yr,L)y_r=(y_{r,1},\dots,y_{r,L'})6 and yr=(yr,1,,yr,L)y_r=(y_{r,1},\dots,y_{r,L'})7, and again ignoring the reference model, the paper states that

yr=(yr,1,,yr,L)y_r=(y_{r,1},\dots,y_{r,L'})8

under standard preference pairs yr=(yr,1,,yr,L)y_r=(y_{r,1},\dots,y_{r,L'})9. The reported interpretation is that DPO training emphasizes decreasing the negative logit faster than boosting the positive one, and that nSFT recovers both sides of this signal in an explicit SFT form (Zhu et al., 2024).

This comparison directly addresses a common assumption stated in the paper: conventional wisdom holds the superiority of multimodal RLHF over continual SFT during the preference alignment stage. The paper’s position is narrower than a blanket rejection of RLHF; it argues specifically that the critical missing component in continual SFT is the negative supervision term, not that all RLHF machinery is intrinsically unnecessary in every setting.

4. Constructive negative supervision and corrective dialogue

A distinctive element of nSFT is that the negative term is not the raw rejected sequence itself. Instead, the rejected response is transformed by the construction function πθ\pi_\theta0 into a corrective conversation conditioned on the rejected response, the chosen response, and the vision-error codebook πθ\pi_\theta1 (Zhu et al., 2024).

The training procedure specifies that πθ\pi_\theta2 identifies instance- and image-level hallucinations. The resulting output πθ\pi_\theta3 becomes a second supervised target paired with the same multimodal input. In the paper’s summary, this is described as extracting and converting hallucinations into corrective dialogue, thereby recasting the rejected-response gradient into a standard cross-entropy term (Zhu et al., 2024).

The vision-error codebook πθ\pi_\theta4 is not an incidental component. In ablations on a 5 K LLaVA-150 K subset, full nSFT yields MMB πθ\pi_\theta5, SQA πθ\pi_\theta6, MME πθ\pi_\theta7, and POPE πθ\pi_\theta8. Removing πθ\pi_\theta9 degrades performance to MMB yy0, SQA yy1, MME yy2, and POPE yy3. Removing yy4 while retaining the rest yields MMB yy5, SQA yy6, MME yy7, and POPE yy8 (Zhu et al., 2024).

The paper’s conclusion from these ablations is explicit: the yy9-guided negative dialogue is crucial, and including Lsft(y;θ)=i=1ylogπθ(yiy<i,x).L_{\mathrm{sft}}(y;\theta)=-\sum_{i=1}^{|y|}\log \pi_\theta(y_i\mid y_{<i},x).0 is helpful on very short dialogues (OCRVQA). This suggests that the effectiveness of the negative term depends not only on exposing the model to a non-preferred response pattern, but on structuring that pattern as an error-aware corrective sequence rather than as a bare penalty target.

5. Experimental regime and quantitative comparisons

The experimental setup uses three alignment datasets, each with 10 K examples: OCRVQA, described as object-centric book covers with very short answers; TextCaps, described as OCR + captioning with medium length; and an LLaVA-150 K subset, described as GPT-4 captions with long length Lsft(y;θ)=i=1ylogπθ(yiy<i,x).L_{\mathrm{sft}}(y;\theta)=-\sum_{i=1}^{|y|}\log \pi_\theta(y_i\mid y_{<i},x).1 tokens (Zhu et al., 2024). The base vision-LLM is LLaVA-1.5-7B with a Vicuna-7B backbone, with ablations on LLaVA-1.5-13B and LLaVA-NeXT-13B. Hyperparameters for nSFT, continual SFT, and DPO are Deepspeed ZeRO-3, batch size Lsft(y;θ)=i=1ylogπθ(yiy<i,x).L_{\mathrm{sft}}(y;\theta)=-\sum_{i=1}^{|y|}\log \pi_\theta(y_i\mid y_{<i},x).2, learning rate Lsft(y;θ)=i=1ylogπθ(yiy<i,x).L_{\mathrm{sft}}(y;\theta)=-\sum_{i=1}^{|y|}\log \pi_\theta(y_i\mid y_{<i},x).3 with cosine scheduler, weight decay Lsft(y;θ)=i=1ylogπθ(yiy<i,x).L_{\mathrm{sft}}(y;\theta)=-\sum_{i=1}^{|y|}\log \pi_\theta(y_i\mid y_{<i},x).4, and training steps Lsft(y;θ)=i=1ylogπθ(yiy<i,x).L_{\mathrm{sft}}(y;\theta)=-\sum_{i=1}^{|y|}\log \pi_\theta(y_i\mid y_{<i},x).5 K per dataset (Zhu et al., 2024).

Evaluation covers nine tasks. Traditional VQA comprises SQA, GQA, and TextVQA (Lsft(y;θ)=i=1ylogπθ(yiy<i,x).L_{\mathrm{sft}}(y;\theta)=-\sum_{i=1}^{|y|}\log \pi_\theta(y_i\mid y_{<i},x).6). Multimodal comprehension uses MMVet, MME, and MMBench. Hallucination uses POPE, CHAIR, and MMHal, where MMHal is rated Lsft(y;θ)=i=1ylogπθ(yiy<i,x).L_{\mathrm{sft}}(y;\theta)=-\sum_{i=1}^{|y|}\log \pi_\theta(y_i\mid y_{<i},x).7–Lsft(y;θ)=i=1ylogπθ(yiy<i,x).L_{\mathrm{sft}}(y;\theta)=-\sum_{i=1}^{|y|}\log \pi_\theta(y_i\mid y_{<i},x).8 by GPT. In-domain evaluation reports “IF score” and “accuracy” by GPT-4 on held-out Lsft(y;θ)=i=1ylogπθ(yiy<i,x).L_{\mathrm{sft}}(y;\theta)=-\sum_{i=1}^{|y|}\log \pi_\theta(y_i\mid y_{<i},x).9 per dataset, together with G()G(\cdot)0 and G()G(\cdot)1 (Zhu et al., 2024).

On the main comparison in which training uses 10 K examples from each source and “total” is the sum of per-category improvements, the reported results are: Baseline, G()G(\cdot)2, total G()G(\cdot)3; GT-DPO, G()G(\cdot)4, total G()G(\cdot)5; SeVa (DPO), G()G(\cdot)6, total G()G(\cdot)7; SIMA (DPO), G()G(\cdot)8, total G()G(\cdot)9; Cont. SFT, yry_r0, total yry_r1; and nSFT (ours), yry_r2, total yry_r3 (Zhu et al., 2024). The category ordering in the paper is yry_r4, MM comprehension, and Hallucination.

The paper also reports a direct comparison with PPO and iterative DPO, labeled CSR yry_r5, on the 10 K LLaVA-150 K subset. Baseline obtains MMB yry_r6, SQA yry_r7, MME yry_r8, and POPE yry_r9. PPO yields II00. CSR 1–3 gives MMB II01–II02, SQA II03–II04, MME II05–II06, and POPE II07–II08. nSFT yields MMB II09, SQA II10, MME II11, and POPE II12 (Zhu et al., 2024).

For in-domain evaluation on held-out 500 examples per dataset, the reported values are as follows. Baseline: IF score II13, accuracy II14, II15 II16, II17 II18. SeVa: IF score II19, accuracy II20, II21 II22, II23 II24. GT-DPO: IF score II25, accuracy II26, II27 II28, II29 II30. nSFT: IF score II31, accuracy II32, II33 II34, II35 II36 (Zhu et al., 2024).

These quantitative results are used in the paper to support the claim that continual SFT can match multimodal RLHF once negative supervision is incorporated, and in several settings exceed DPO-, PPO-, and CSR-style baselines.

6. Efficiency claims, KL ablations, and interpretive scope

The efficiency claim is precise. On a single run on a 32 GB GPU, DPO, which uses two models, policy plus reference, or PPO, which uses policy, value, and rollouts, requires 2–4× more GPUs and 1.5–2× longer wall-clock time than nSFT, which uses a single model (Zhu et al., 2024). This is the paper’s main systems-level argument for preferring the nSFT formulation when the aim is to recover negative supervision without the overhead of full RLHF.

The KL ablation is reported on 5 K TextCaps. Continual SFT without KL gives MMB II37, II38 II39, and SQA II40; with KL it gives II41, II42, and II43. nSFT without KL gives II44, II45, and II46; with KL it gives II47, II48, and II49. DPO (SeVa) with KL gives MMB II50, II51 II52, and SQA II53 (Zhu et al., 2024). The paper’s conclusion is that a mild KL-constraint further boosts both SFT and nSFT.

Two interpretive points follow directly from the reported evidence. First, the results are not presented as a claim that ordinary continual SFT is sufficient; in the main comparison, Cont. SFT has total II54, with negative changes in both II55 and Hallucination (Zhu et al., 2024). Second, the paper does not claim that the rejected sequence alone is enough; the ablations indicate that the II56-guided corrective dialogue is crucial. A plausible implication is that the central design choice is not simply “train on bad outputs,” but “convert model-generated failure cases into structured negative supervision.”

In summary form, the paper states that nSFT recasts the “negative-supervision” half of RLHF, namely the rejected-response gradient, into a standard cross-entropy term by prompting an LLM to extract and convert hallucinations into corrective dialogue. Within the reported experiments, this achieves parity with—and often exceeds—the performance of heavyweight multimodal RLHF methods such as DPO, PPO, and CSR, while requiring only a single model in memory and one simple SFT loss (Zhu et al., 2024).

Definition Search Book Streamline Icon: https://streamlinehq.com
References (1)

Topic to Video (Beta)

No one has generated a video about this topic yet.

Whiteboard

No one has generated a whiteboard explanation for this topic yet.

Follow Topic

Get notified by email when new papers are published related to Negative Certainty Supervision Loss.