How Symmetric Are the Insides of a Go Network? [R]
Our take
The recent study from /u/icosaplex on symmetries within KataGo, a superhuman Go-playing program, offers a fascinating glimpse into the inner workings of neural networks and raises compelling questions about how AI learns to represent complex spatial relationships. It’s particularly noteworthy given the increasing reliance on large models across diverse fields; understanding how these models implicitly encode and utilize symmetries could unlock significant improvements in efficiency and generalization. This work builds on previous explorations of AI interpretability, such as the efforts to benchmark visual causal reasoning in large VLMs detailed in CausalVLBench: Benchmarking Visual Causal Reasoning in Large VLMs, and complements investigations into reinforcement learning and on-policy data for training large language models, as explored in Deep Dive on RL and OPD for Training LLMs [D. The fact that KataGo doesn’t explicitly enforce Go’s rotational and reflective symmetries during training, relying instead on stochastic data augmentation, makes the observed emergent behavior all the more intriguing.
The core question explored—to what degree do these networks autonomously learn to represent the board state independently of its orientation—is a fundamental one in AI research. It challenges the assumption that all complex representations must be explicitly engineered. The finding that superhuman Go programs don't inherently develop symmetric representations, despite the game's inherent symmetry, highlights the nuance of how neural networks learn. While data augmentation helps, it’s not a complete solution; the network still needs to discover and utilize those symmetries. This contrasts with the more structured approaches to achieving symmetry in other areas of AI, and underscores the power of allowing models to explore and discover their own internal representations. The author’s commitment to accessibility in the writeup, and the use of AI in the study’s generation, is also significant. As discussions around AI-assisted research continue, this example demonstrates the potential for AI to not just execute tasks but also contribute to the research process itself, albeit with crucial human oversight and refinement. The emphasis on clear communication, as opposed to simply presenting technical results, is a valuable lesson for the broader AI community.
The implications of this research extend beyond Go. Many real-world problems exhibit inherent symmetries – physical systems, image recognition, even certain aspects of natural language processing. If superhuman Go-playing networks aren't automatically exploiting these symmetries, it suggests that we may need to rethink how we design and train AI models for these other domains. Perhaps current training paradigms, focused on brute-force learning from massive datasets, are hindering the discovery of more efficient and elegant solutions. It also feeds into the wider conversation about the "black box" nature of deep learning. While we can observe the inputs and outputs of these models, understanding *how* they arrive at their decisions remains a significant challenge, as highlighted by the ongoing debate about regaining coherence in the ML research space Is it too late regain some coherence in the ML research space in our life time? [D. This study, despite being a “drop in the bucket,” provides a valuable piece of the puzzle, offering a tangible example of how we might probe and understand these complex internal representations.
Looking forward, it will be fascinating to see how this line of inquiry expands. Will similar studies reveal unexpected symmetries in other complex systems? Can we develop techniques to actively encourage the emergence of symmetric representations in neural networks, potentially leading to more efficient and generalizable models? The author's openness about their own curiosity and the unexpected nature of the results underscores the importance of exploratory research in AI. The question remains: are we merely scratching the surface of understanding how neural networks represent the world, and what other hidden structures await discovery within these complex systems?
I just now posted a small research / ML interp study on symmetries inside the neural nets for an open source Go-playing program that I maintain ("KataGo"). The rules of Go are completely symmetric under rotation/reflection, but such symmetry is not enforced in the models - the only thing we do for that is stochastic 8-fold data augmentation during training, randomizing the spatial orientation of each batch.
To what degree do superhuman-strength Go-playing neural nets automatically learn to represent the board internally independent of its orientation, via "symmetric" concepts where the orientation of the board doesn't matter, vs how much do they have to learn/memorize separately per orientation?
https://lightvector.github.io/katagostudies/202607-symmetry/
Heads-up: this study and its writeup were driven almost entirely with AI, although detailed human direction and feedback was involved in the process. But, I took time to try to polish the article and make it educational and I hope it's a clear step above the typical low-quality AI "slop" one often sees and worth taking a look if you like small studies like this. It's also written fairly gently, for accessibility to people outside of ML. Code is also linked from the post (same repo that hosts the github.io page).
I wanted to explore this because I was (and still am!) really curious about exactly what neural nets are doing inside! And I didn't know what the results would be. One of the findings was unexpected. Overall, just a drop in the bucket of interpretability research out there, but I hope you find it interesting.
[link] [comments]
Read on the original site
Open the publisher's page for the full experience