Gradient of L in LaTeX (\nabla_{\theta} \mathcal{L})
- LaTeX command
\nabla_{\theta} \mathcal{L}- Package
- No package needed: built into LaTeX
- Mode
- Math mode only
Where it is used
Gradient of the loss L with respect to the parameters theta: the vector of partial derivatives used in training.
This is the quantity backpropagation computes, and it drives the gradient descent update \theta \leftarrow \theta - \eta \nabla_\theta \mathcal{L}. The subscript on \nabla names which variables you differentiate with respect to, which matters when the loss depends on both parameters and inputs, for example \nabla_x \mathcal{L} in adversarial attacks. \mathcal gives the script L and supports uppercase letters only. In inline text, the subscript sits to the lower right of the nabla, which is standard. For stochastic estimates, a hat helps: \hat{\nabla}_\theta \mathcal{L} or \tilde{g}.
Minimal compilable example
Paste this into an empty .tex file and compile it with pdfLaTeX, XeLaTeX or LuaLaTeX.
\documentclass{article}
\begin{document}
Gradient of L: $\nabla_{\theta} \mathcal{L}$
\[ \theta_{t+1} = \theta_t - \eta \nabla_{\theta} \mathcal{L}(\theta_t) \]
\end{document}Related symbols
- Partial Derivative
\frac{\partial \mathcal{L}}{\partial \theta} - Nabla
\nabla - Eta
\eta - ReLU
\text{ReLU} - Theta
\theta - Sigma
\sigma
Frequently asked questions
- How do I write Gradient of L in LaTeX?
- Type \nabla_{\theta} \mathcal{L} in math mode, for example $\theta_{t+1} = \theta_t - \eta \nabla_{\theta} \mathcal{L}(\theta_t)$. It works in plain LaTeX without loading any package.
- Which package do I need for \nabla_{\theta} \mathcal{L}?
- None. \nabla_{\theta} \mathcal{L} is part of standard LaTeX, so it compiles with nothing in the preamble but the document class.
- Can I use \nabla_{\theta} \mathcal{L} in text mode, or only in math mode?
- Only in math mode. Outside $...$ LaTeX stops with "Missing $ inserted", so write $\nabla_{\theta} \mathcal{L}$ in running text.
최고의 AI LaTeX 편집기, Overleaf 대안
Octree는 15개 이상의 대학의 연구자들이 AI를 사용하여 논문을 더 빠르게 작성하도록 도움
- AI로 아름다운 TikZ 다이어그램 생성
- 이미지를 업로드하고 LaTeX로 원활하게 변환
- 논문 작성 및 서식에 대한 즉각적인 지원 받기