Groups
Formal
(Group)
Consider a set and an operation defined on . Then is called a group if the following hold:
- Closure of under :
- Associativity:
- Neutral Element: and
- Inverse Element:, where is the neutral element.
(Abelian Group)
Additionally, if then is called an Abelian Group. (commutative).
(Example) Square Matrices: For the set of -matrices with matrix multiplication defined, i.e., :
- Closure and associativity follow directly from the definition of matrix multiplication.
- is the neutral element w.r.t. matrix multiplication.
- If the inverse exists ( is regular), then is the inverse element of . And only in this case is is a group, called the general linear group.
(General Linear Group).
The set of regular (invertible) matrices is a group with respect to matrix multiplication as defined in (2.13) and is called general linear group . However, since matrix multiplication is not commutative, the group is not Abelian.
Intuition
At its heart, a Group is a formal way of capturing our intuition about symmetry and transformation. Think about operations you already know, like addition of numbers or rotation of an object. A group is a set of elements (like numbers, or rotations) and an operation (like addition, or applying one rotation after another) that behaves in a predictable, well-structured way. Why does this matter? It provides a blueprint for systems that have three key properties:
- You can always “undo” an action. If you add 5, you can always subtract 5 to get back to where you started. If you rotate an object 90 degrees clockwise, you can rotate it 90 degrees counter-clockwise. This is the concept of an inverse.
- There’s a “do nothing” action. Adding 0 doesn’t change a number. Rotating by 0 degrees doesn’t change an object’s orientation. This is the identity element.
- The order of grouping operations doesn’t matter. If you’re adding three numbers,
(2 + 3) + 4is the same as2 + (3 + 4). This is associativity. By abstracting these properties, we can prove things about all systems that follow these rules, whether we’re talking about integers, rotations in 3D space (crucial for robotics and computer graphics), or the permutations of a dataset. It’s a powerful tool for generalization.
ML Applications
- Geometric Transformations: Many ML algorithms are about finding the right transformation of data. Rotations, reflections, and translations are all group operations. Understanding their properties is key to fields like computer vision and robotics. For example, the set of all 3D rotations forms a special group called SO(3), the special orthogonal group.
- Symmetry in Data: If a learning problem has inherent symmetries (e.g., a cat image is still a cat image if you flip it horizontally), this can be formalized using group theory. This leads to techniques in deep learning like data augmentation and the architecture of Convolutional Neural Networks (CNNs), which are designed to be invariant to translation.
- Optimization Landscapes: The algorithms used to train models, like gradient descent, are navigating a high-dimensional space. The mathematical properties of this space, inherited from its group and vector space structure, determine whether optimization is feasible.
Connections
- Forward Links: Vector Spaces
- Backward Links: Matrix, Closure