openpi icon indicating copy to clipboard operation
openpi copied to clipboard

Conserms about the reproduction of pi*0.6

Open qianweijiujiu opened this issue 7 months ago • 3 comments

Hi, I confront an issue during my production of pi0.6 Which is how the negative samples work. Opensource reproduction of the pi0.6 trains the negative but I wonder why we have to learn these negative samples? Do we really need that. It's kind of confusing and I can not understand. Would u plz add some ablation study experients in the appendix of your paper or you official website.

qianweijiujiu avatar Apr 15 '26 13:04 qianweijiujiu

Which Opensource reproduction of the pi0.6 do you use?

wjydym avatar Apr 17 '26 09:04 wjydym

Hi @qianweijiujiu , i think the negative samples are used for training the conditional policy.

As mentioned in π*06, there will be two policies, one is the unconditional policy, the other is conditional policy.

In training, we use both good and bad data(I=True & I = False) for conditional training, and use all the data for unconditional training. After this step, the model can simultaneously fit both conditional and unconditional distributions. It is also able to understand why instances where I=True are better than standard data and exactly where they excel, as well as why instances where I=False are worse and specifically where they fall short.

When inference, we forcibly set I=True, so that the model is directed to output actions with higher advantage values.

HomerIsAFool avatar Apr 22 '26 06:04 HomerIsAFool

Training negative samples is not optional — it is required by the RECAP loss design (Eq. 3 in the paper optimizes both conditional and unconditional terms). The direction of CFG inference v_guided = v_uncond + β(v_cond - v_uncond) is meaningful only when the model truly distinguishes between positive and negative semantics. If only positive samples are used for training, the token "Advantage: positive" is always true in the training distribution, and the model will treat it as uninformative noise → conditional and unconditional outputs degrade to nearly the same → CFG effectively multiplies by 1. Negative samples are the way to make the conditional token actually carry a signal, and only when paired with prompt dropout can we obtain the benefit of β>1 at inference time.

LiangSu8899 avatar May 05 '26 09:05 LiangSu8899