I am trying to get my head around more formal concepts in geometry for the purpose of understanding gradient descent and natural gradients in machine learning. But I feel I still do not understand curvature. Can you check my following informal description and then answer several questions?
The most general coordinate system is a curvilinear system whose basis vectors vary throughout a space $\mathcal{W}$, both in direction, magnitude and non-orthogonality. Such a space can be considered to possess intrinsic (as opposed to extrinsic) curvature which is the stretching or compression of the curvilinear grid. This coordinate system is considered non-Euclidean as lines are not necessarily parallel.
Euclidean spaces have `parallel' coordinate systems and therefore have no intrinsic curvature. Included in this group are Euclidean curvilinear systems such as planar polars, spherical and cylindrical polars (all whose bases are orthogonal but can vary orientations depending on spatial location). The most specialised system is the Cartesian system whose unit vectors are orthogonal and constant throughout the space.
This paper does an excellent job of describing intrinsic curvature, in the context of gradient descent on a loss surface $\mathcal{L}(\mathcal{\mathcal{W}})$ parametrised by the space $\mathcal{W}$. If $\mathbf{w}{\in}\mathcal{W}$ then the distance metric of space $\mathcal{\mathcal{W}}$ as a function of the Reimannian metric tensor $G(\mathbf{w})$ is
\begin{align*} d_{\mathbf{w}}(\mathbf{w}{+}\delta\mathbf{w})^{2}=\delta\mathbf{w}^{\top}G(\mathbf{w})\delta\mathbf{w}. \end{align*}
If $G(\mathbf{w}){=}\mathbf{I}$, then the distance metric reduces to the Euclidean norm i.e. there is no intrinsic curvature and there is no specific `importance' to any direction. If the Reimannian metric tensor is a diagonal of positive constants then the dimensions of the parameter space are stretched or contracted e.g. a bowl loss function can be stretched into a long valley (and vice versa).
Q1. i) If $G(\mathbf{w})$ is anything other than the identity, is the space technically non-Euclidean? In particular, do planar polar coordinates describe a Euclidean space? I thought that planar polar coordinates were Euclidean, however as stated in the paper (section 3. natural gradient adaptation) the metric tensor for planar polars is $\text{diag}(G(\mathbf{w})){=}[1\,\,\,\, r^{2}]$!?
ii) Furthermore, looking at the coordinate mesh of planar polars, it seems that you can create this geometry by contracting a cartesian grid in a symmetric way around the origin so that radial lines are no longer parallel... How can a polar mesh be Euclidean of its radial components are not parallel?
Now I am also having difficulty understanding the interplay between intrinsic and extrinsic curvature. I understand that a flat space can still have intrinsic curvature described by the the Reimannian metric tensor - a flat plane can be stretched and contracted by adjusting the magnitude of the unit vectors in different locations in $\mathcal{W}$. I also understand that if you embed a space in a higher dimensional space, one can describe its extrinsic curvature.
Q2. i) Do inhabitants of a space detect intrinsic curvature but are unaware of extrinsic curvature? By stretching a sheet in its unit vector directions, am I not stretching the unit vectors (I assume inhabitants use unit vectors as their base unit of measurement)?
ii) Do inhabitants detect the orientation of their unit vectors? I assume that they do notice these changes w.r.t to a base Euclidean coordinate system?
iii) Do inhabitants get to see the metric tensor or only what the weighted norm result is?
Q3. i) Creating a torus by folding up a 2D sheet embedded in a 3D space causes intrinsic curvature (compression on the inner rim and expansion on the outer rim). Does this mean that some intrinsic curvature is caused by higher dimensional manipulation?
ii) Can all extrinsic manipulations that stretch manifolds be reduced to a manifold with flat geometry with just intrinsic curvature?
Q4. i) Another question about a sphere, similar to Q1. If inhabitants follow lines of longitude from north to south poles, they will diverge away from each other, then half way down they will be walking parallel (as they cross the equator), finally coming together at the north pole. These lines are not parallel. How can this be Euclidean geometry?