Imọ Itọsọna

Ẹkọ Imudara Lati Idahun Eniyan

Reinforcement learning from human feedback uses human judgments to construct a training signal for a model’s behavior.

Gbọ si itọsọna yiiAI-ṣe afihan · ~2 min

Lori iwe yi2 min ka
  1. Akopọ
  2. Jin Dive
  3. Real-World imuse
  4. Ọjọ iwaju ti Ẹkọ Imudara Lati Idahun Eniyan
  5. Fifi o sinu iwa
  6. Tesiwaju Ṣiṣawari
  7. Awọn ibeere ti a beere nigbagbogbo

Akopọ

It can improve agreement with collected preferences, but does not guarantee truthful, safe, or universally preferred answers.

Jin Dive

A pretrained language model predicts plausible text, but plausible is not the same as helpful, honest, or safe. A common RLHF pipeline addresses these goals in stages. First, supervised fine-tuning teaches the model to follow instructions using human-written example answers. Next, humans compare pairs of model responses to the same prompt and pick the better one; these comparisons train a separate reward model that scores any response. Finally, the language model is optimized with reinforcement learning to produce responses the reward model rates highly. A penalty regularizes deviation from a reference policy; it does not eliminate exploitation of reward-model errors. RLHF was central to making ChatGPT-style assistants usable.

Real-World imuse

Ṣiṣatunṣe oluranlọwọ iwiregbe ki o kọ awọn ibeere ipalara ati fun iranlọwọ, awọn idahun ti a ṣeto daradara dipo ọrọ ti o ṣeeṣe nikan.

Ipo awọn orisii akojọpọ nipasẹ ayanfẹ eniyan lati ṣe ikẹkọ awoṣe ti o kọ awọn akopọ ti eniyan rii iwulo gaan.

Idinku majele tabi awọn abajade aiṣedeede nipasẹ awọn idahun ere ti awọn oniyeye eniyan ṣe idajọ ọwọ ati ailewu.

Lilo DPO lori iwe-ipamọ data ti o fẹ la awọn idahun ti a kọ lati ṣe deede awoṣe orisun-ìmọ laisi ṣiṣiṣẹ lupu PPO ni kikun.

Ọjọ iwaju ti Ẹkọ Imudara Lati Idahun Eniyan

RLHF ti wa ni ṣiṣan ati adaṣe ni apakan. DPO ati awọn ọna ayanfẹ taara ti o ni ibatan n rọpo opo gigun ti epo PPO fun ọpọlọpọ awọn ẹgbẹ, ati RLAIF nlo awọn esi ti ipilẹṣẹ AI (bii ninu AI t’olofin) lati ge awọn idiyele isamisi. Iwadi n koju gige sakasaka ere, ojuṣaaju onitumọ, ati iṣoro ti idajọ gigun tabi awọn idahun iwé, pẹlu awọn ilana bii abojuto ilana ati ariyanjiyan. Reti titete lati dapọ eniyan ati awọn esi AI, awọn ifihan agbara ere ti o pọ ju atampako kan lọ, ati ayewo ti o dagba ti ẹniti o pese awọn yiyan ati iru awọn iye wo ni wọn fi koodu sii.

Fifi o sinu iwa

Kini idi ti o ṣe pataki

  • Iye owo ati isuna. Awọn ipinnu faaji ṣe awakọ iṣẹ ati idiyele iṣẹ fun awọn ọdun.
  • Awọn ipinnu diẹ sii. Ẹkọ imọ-ẹrọ ṣe iranlọwọ fun awọn ẹgbẹ lati yan akopọ to tọ, kii ṣe ọkan tuntun nikan.
  • Iṣakoso didara. Awọn yiyan imọ-ẹrọ to dara julọ dinku awọn iṣẹlẹ igbẹkẹle ni iṣelọpọ.

Ṣọra fun

  • Ṣiṣepe ala-ilẹ kan le tọju awọn ailagbara eto ti o gbooro.
  • Awọn ohun elo amayederun ati awọn idiyele itọju nigbagbogbo ni aibikita.
  • Aabo ati awọn ela akiyesi le dagba bi awọn eto ṣe di eka sii.

Next awọn igbesẹ

  1. Ṣetumo lairi, didara, ati awọn ibi-afẹde idiyele ṣaaju imuse.
  2. Aṣepari labẹ ẹru ojulowo ati awọn ipo data.
  3. Abojuto ohun elo fun awọn aṣiṣe, fiseete, ati ipa olumulo.
  4. Mura ipadasẹhin pada ati awọn ipa ọna esi iṣẹlẹ ṣaaju iwọn.

Tesiwaju Ṣiṣawari

Ìwé ìròyìn ọfẹ

Gba ìkànìyàn AI ojoojúmọ́

Ìtàn AI mẹta tó jẹ́rìí ní gbogbo owurọ́ ọjọ́ iṣẹ́, kọ́wé ní Gẹ̀ẹ́sì tó rọrùn. Ọfẹ́ fún gbogbo àkókò, kò sí ìpolówó.

Ìmeèlì kan ní gbogbo ọjọ́ iṣẹ́. Yọkúrò ní ìkànìyàn ní ìkànìyàn kan. A kò ta tàbí pín àdírẹ́sì rẹ.

Ṣe idanwo fun ara rẹ

Take the Reinforcement Learning From Human Feedback quiz

Ìdáhùn lẹ́sẹ̀kẹsẹ̀ lórí gbogbo ìdáhùn, àti iwe-ẹ̀rí tó lè pin pẹ̀lú ID tó lè jẹ́rìí lẹ́yìn tí o bá kọ́ ẹ̀kọ́.

Bẹrẹ adanwo

Ṣe àtìlẹ́yìn ẹ̀kọ́ AI ọfẹ́. AI Understanding jẹ́ àjọ àìní èrè 501(c)(3) — kò sí ìpolówó, kò sí àkúnya owó, ní gbogbo àkókò. Ṣe ẹbun kan

Awọn ibeere ti a beere nigbagbogbo

What is Reinforcement Learning From Human Feedback?

Reinforcement learning from human feedback uses human judgments to construct a training signal for a model’s behavior. It can improve agreement with collected preferences, but does not guarantee truthful, safe, or universally preferred answers.

Kini idi akọkọ ti RLHF fun awoṣe ede kan?

RLHF ṣe itọsọna awoṣe kan si awọn idahun ti eniyan fẹ, ti o jẹ ki o ṣe iranlọwọ diẹ sii, ooto, ati ailewu dipo ki o ṣeeṣe lasan.

Kini awoṣe ere ni RLHF kọ ẹkọ lati ṣe gangan?

Awoṣe ere naa jẹ ikẹkọ lori awọn afiwera ayanfẹ eniyan si awọn idahun Dimegilio, pese ifihan agbara ti eto imulo ṣe iṣapeye lodi si.

What does a KL-divergence penalty against a reference policy aim to regularize in an RLHF objective?

The penalty discourages large policy shifts. It is not proof that the reward model cannot be exploited or that generated answers are correct.

Bawo ni a ṣe n gba data ayanfẹ ni igbagbogbo fun awoṣe ere?

Awọn olufojusi mu idahun ti o fẹ julọ ni awọn afiwera meji, eyiti o ṣe ikẹkọ awoṣe ere nipasẹ pipadanu ara Bradley-Terry.

Anfaani wo ni DPO (Imudara Iyanfẹ Taara) funni lori opo gigun ti epo RLHF Ayebaye?

DPO n gba ibi-afẹde taara lati awọn ayanfẹ, yago fun awoṣe ẹsan lọtọ ati igbesẹ ikẹkọ ti o ni ifarakanra.