মৌলিক নির্দেশিকা

গ্রেডিয়েন্ট ডিসেন্ট

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) অলাভজনক প্রতিষ্ঠান — কোনো বিজ্ঞাপন নেই, কোনো পেওয়াল নেই, কখনোই না। একটি দান করুন

প্রায়শই জিজ্ঞাসিত প্রশ্নাবলী

গ্রেডিয়েন্ট ডিসেন্ট কি?

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 ঘন্টা।বিনামূল্যে শুরু করুন →