Movement in a Coordinate Space
In AI, direction is not limited to north or east. It describes how a point moves when several coordinates change together. In parameter space it is a combination of changes to many weights; in embedding space it is an axis along which representations vary.
- Loss landscape: the gradient points in the direction of steepest local increase. The steepest local decrease is its negative, .
- Embedding space: a difference vector can describe movement from one represented state to another. Famous word-arithmetic examples illustrate relations that appear in some embeddings, not universal exact laws.
- Attention: query-key dot products produce relevance scores, but a single “direction” is not itself the token being attended to. Scores, softmax, and a weighted combination of values together produce the output.
A Value and a Change Instruction Are Different Information
A scalar loss says how poor the current result is. A gradient vector says how sensitively the loss changes when each parameter moves a little. The update therefore combines the current position, a direction, and a step size .
A gradient does not guarantee a direct path to the global minimum. Learning rate, curvature, noise, and saddle points all affect the trajectory. It is still a far more useful local compass than random search.
-작은 수일 때는 학습률이 너무 작아 기어감 (0.001 같이) -1일 때는 부호가 바뀌면서 값은 같으니 진동 -1이상일 떄는 발산시작 -0.1은 sweet spot이라고 할만함