วารสารวิจัยนักศึกษาไทยแดชบอร์ดเข้าสู่ระบบ

ระดับมัธยมศึกษาการสำรวจเชิงคณิตศาสตร์คณิตศาสตร์ประยุกต์14 พฤศจิกายน 2569ปีที่ 1 ฉบับที่ 1, e001

Deriving the Optimal Learning Rate for Gradient Descent on Quadratics

ที่ปรึกษา: Gavin Collier, KIS International School

อ่านเป็นภาษาอังกฤษ

บทคัดย่อ

This investigation examines the conditions under which gradient descent converges on quadratic functions of the form f(x)=ax2f(x) = ax^2 (a>0a > 0), and derives the learning rate that minimises the number of iterations required. Applying the update rule xk+1=xk−αf′(xk)x_{k+1} = x_k - \alpha f'(x_k) to f(x)=ax2f(x) = ax^2 yields the geometric sequence xk+1=xk(1−2αa)x_{k+1} = x_k(1 - 2\alpha a), whose closed form xk=x0(1−2αa)kx_k = x_0(1 - 2\alpha a)^k is proven by mathematical induction. From the convergence condition on a geometric sequence, ∣1−2αa∣<1|1 - 2\alpha a| < 1, the stable range of learning rates is shown to be 0<α<1a0 < \alpha < \frac{1}{a}, with the upper bound inversely proportional to the coefficient aa. Minimising the contraction factor ∣1−2αa∣|1 - 2\alpha a| over this interval gives the optimal learning rate αopt=12a\alpha_{\mathrm{opt}} = \frac{1}{2a}, the midpoint of the convergence range, at which the algorithm reaches the minimum in exactly one iteration. An expression for the number of iterations required to reach a tolerance ε\varepsilon, k≈ln⁡(ε/∣x0∣)ln⁡∣1−2αa∣k \approx \frac{\ln(\varepsilon/|x_0|)}{\ln|1 - 2\alpha a|}, is also derived and predicts a U-shaped relationship between α\alpha and iteration count. These theoretical results were verified computationally using a Python implementation that swept α\alpha from 0.0010.001 to 22 for a∈{0.5,1,5}a \in \{0.5, 1, 5\}: the observed convergence bounds (2,1,0.2)(2, 1, 0.2), optimal learning rates (1,0.5,0.1)(1, 0.5, 0.1), and iteration counts (e.g., 8888 iterations at α=0.1\alpha = 0.1 for a=0.5a = 0.5) matched the theoretical predictions. The investigation concludes that steeper quadratics demand smaller learning rates and a narrower stable range, and that even modest deviation from αopt\alpha_{\mathrm{opt}} can substantially increase the iteration count.

คำสำคัญ: ai, machine learning, gradient descent

อ่านฉบับเต็ม (PDF)ไฟล์ PDF คือฉบับบันทึกอย่างเป็นทางการ ประกอบด้วยหน้าปกของวารสารตามด้วยต้นฉบับที่ได้รับการตอบรับ

อ่านฉบับเต็มได้จากไฟล์ PDF

บทบาทของผู้เขียน

  • Preme Pongcharoen: แนวคิดและคำถามวิจัย, การออกแบบวิธีการ, การทดลองและเก็บข้อมูล, การวิเคราะห์ข้อมูล, การเขียนร่างแรก, การตรวจและแก้ไข, ภาพและตาราง

คำแถลง

จริยธรรมการวิจัย
This study did not involve human participants, animals, or personal data. Ethical approval and informed consent were therefore not required.
ผลประโยชน์ทับซ้อน
The authors declare no conflicts of interest.
แหล่งทุน
This research received no external funding.
การเข้าถึงข้อมูล
All data supporting the findings of this study are included in the manuscript.