बुनियादी गाइड

क्रमिक अवतरण

Plain gradient descent updates parameters by subtracting a learning rate times the objective's gradient.

इस गाइड को सुनेंएआई-नैरेटेड · ~3 min

इस पृष्ठ पर3 मिनट लाल
  1. सिंहावलोकन
  2. गहरा गोता
  3. वास्तविक विश्व कार्यान्वयन
  4. ग्रेडिएंट डिसेंट का भविष्य
  5. इसे व्यवहार में लाना
  6. अन्वेषण करते रहें
  7. अक्सर पूछे जाने वाले प्रश्नों

सिंहावलोकन

It aims to reduce the objective locally, while step size and loss shape determine whether a particular update succeeds.

गहरा गोता

For a differentiable scalar objective, the gradient identifies the direction of steepest local increase under the usual Euclidean norm. Plain gradient descent moves in the opposite direction. Its update is new weight equals old weight minus learning rate times gradient. In a scalar illustration with old weight two, gradient three, and learning rate one-tenth, the new weight is one-point-seven. That formula describes the proposed update, not a guarantee that every finite step reduces loss. A learning rate that is too large can overshoot or lead to divergence, and a very small rate can make progress slow. Full-batch gradient descent uses the selected training objective over the whole dataset. Stochastic and mini-batch methods instead use gradients from sampled examples or batches. The batch gradient is exact for that batch calculation but estimates the full-data gradient; the resulting variability can help or hurt depending on the problem. Momentum combines information from earlier gradients to influence the current update. Adam maintains per-parameter moment estimates that adapt updates, so it should not be confused with plain unmodified gradient descent. Nonconvex loss surfaces also contain stationary points. A zero gradient is not proof of a globally lowest objective: local minima, maxima, and saddle points can have zero gradient. Training therefore needs monitoring of the objective and relevant evaluation metrics rather than assuming that a named optimizer or a stationary point establishes success.

वास्तविक विश्व कार्यान्वयन

मिनी-बैच अपडेट का उपयोग करके अरबों प्रशिक्षण टोकन में भाषा मॉडल की भविष्यवाणी त्रुटि को कम करना

सीखने की दर को समायोजित करना ताकि एक छवि मॉडल बिना किसी नुकसान के तेजी से परिवर्तित हो सके

एक लंबी, संकीर्ण हानि घाटी में फंसे वाक् पहचान नेटवर्क के प्रशिक्षण में तेजी लाने के लिए गति का उपयोग करना

एक छोटे डेटासेट पर एक मॉडल को ठीक करने के लिए एडम को लागू करना जहां प्रति-पैरामीटर सीखने की दर स्थिरता में मदद करती है

ग्रेडिएंट डिसेंट का भविष्य

Optimization research studies schedules, moment estimates, curvature, and distributed implementations under specific objectives and workloads. A method that performs well in one experiment may require different settings elsewhere. Report learning rates, sampling, state rules, and evaluation conditions when comparing training runs. Verify that updates change parameters as intended and track whether useful metrics improve; a direction motivated by local calculus is not a universal guarantee of convergence or application quality.

इसे व्यवहार में लाना

यह क्यों मायने रखता है?

  • स्पष्ट निर्णय. यह आपको स्पष्ट तकनीकी दावों को मार्केटिंग भाषा से अलग करने में मदद करता है।
  • लागत और बजट. आप पैसा या समय खर्च करने से पहले बेहतर कार्यान्वयन संबंधी प्रश्न पूछ सकते हैं।
  • टीम और वर्कफ़्लो. साझा समझ वाली टीमें बेहतर उत्पाद, नीति और सीखने के निर्णय लेती हैं।

का ध्यान रखें

  • अलग-अलग टीमें एक ही शब्द का अलग-अलग इस्तेमाल कर सकती हैं, इसलिए दायरे को पहले ही परिभाषित कर लें।
  • बेंचमार्क मजबूत दिख सकते हैं जबकि वास्तविक दुनिया का प्रदर्शन असमान है।
  • डेटा गुणवत्ता और मूल्यांकन योजनाओं की अनदेखी अक्सर नाजुक परिणाम पैदा करती है।

अगले चरण

  1. आपको जिस परिणाम की आवश्यकता है उसकी सरल भाषा में परिभाषा से शुरुआत करें।
  2. परीक्षण से पहले एक सफलता मीट्रिक और एक विफलता स्थिति चुनें।
  3. प्रतिनिधि डेटा के साथ एक छोटा पायलट चलाएँ, न कि एक परिष्कृत डेमो सेट।
  4. दस्तावेज़ जहां ग्रेडिएंट डिसेंट मदद करता है और जहां सरल तरीके बेहतर हैं।

अन्वेषण करते रहें

मुफ़्त न्यूज़लेटर

दैनिक एआई ब्रीफिंग प्राप्त करें

हर कार्यदिवस की सुबह तीन सत्यापित एआई कहानियाँ, सादे अंग्रेजी में लिखी गईं। हमेशा के लिए मुफ़्त, कोई विज्ञापन नहीं।

प्रत्येक सप्ताह के दिन एक ईमेल. एक क्लिक में सदस्यता समाप्त करें. हम आपका पता कभी नहीं बेचते या साझा नहीं करते।

स्वयं की जांच करो

Take the Gradient Descent quiz

प्रत्येक उत्तर पर त्वरित प्रतिक्रिया, और पाठ्यक्रम पास करने के बाद एक सत्यापन योग्य आईडी के साथ एक साझा करने योग्य प्रमाणपत्र।

प्रश्नोत्तरी प्रारंभ करें

निःशुल्क एआई शिक्षा का समर्थन करें। AI Understanding एक 501(c)(3) गैर-लाभकारी संस्था है - कोई विज्ञापन नहीं, कोई पेवॉल नहीं। दान करें

अक्सर पूछे जाने वाले प्रश्नों

What is Gradient Descent?

Plain gradient descent updates parameters by subtracting a learning rate times the objective's gradient. It aims to reduce the objective locally, while step size and loss shape determine whether a particular update succeeds.

In plain gradient descent, which direction is used relative to the objective's gradient?

Plain gradient descent subtracts a scaled gradient, with improvement dependent on step size and objective shape.

सीखने की दर क्या नियंत्रित करती है?

सीखने की दर मापती है कि प्रत्येक अद्यतन पर भार कितना आगे बढ़ता है; बहुत बड़े ओवरशूट, बहुत छोटे से प्रशिक्षण बहुत धीमा हो जाता है।

How does a mini-batch gradient relate to the full selected training-data objective?

The computed batch derivative is exact for that batch, while sampling makes it an estimate of the full-data derivative.

बहुत अधिक सीखने की दर किस समस्या का कारण बन सकती है?

बड़े कदम न्यूनतम सीमा से आगे बढ़ सकते हैं और इधर-उधर उछल सकते हैं या उड़ सकते हैं, जिससे नुकसान तय होने के बजाय बढ़ सकता है।

What information does momentum carry into later gradient-descent updates?

Momentum combines gradient history, which can affect progress and oscillation; its effect still depends on settings.

सीखते रहो

संबंधित मार्गदर्शिकाएँ

इस विषय के लिए अधिक मार्गदर्शिकाएँ चुनी गईं

निःशुल्क AI प्रमाणपत्र प्राप्त करेंएक संक्षिप्त निःशुल्क पाठ्यक्रम और परीक्षा। कोई कीमत नहीं, कोई कार्ड नहीं. लगभग 2.5 घंटे.निःशुल्क प्रारंभ करें →