Neural nets, nodes to features?
Moderator: Ras
-
- Posts: 12792
- Joined: Wed Mar 08, 2006 8:57 pm
- Location: Redmond, WA USA
Neural nets, nodes to features?
Has anyone figured out how to decode the neural nets created by enormous compute effort to turn them back into features and scores/weights?
Taking ideas is not a vice, it is a virtue. We have another word for this. It is called learning.
But sharing ideas is an even greater virtue. We have another word for this. It is called teaching.
But sharing ideas is an even greater virtue. We have another word for this. It is called teaching.
-
- Posts: 4645
- Joined: Tue Apr 03, 2012 4:28 pm
- Location: Midi-Pyrénées
- Full name: Christopher Whittington
Re: Neural nets, nodes to features?
yesDann Corbit wrote: ↑Fri Apr 14, 2023 11:14 pm Has anyone figured out how to decode the neural nets created by enormous compute effort to turn them back into features and scores/weights?
-
- Posts: 12535
- Joined: Thu Mar 09, 2006 12:57 am
- Location: Birmingham UK
- Full name: Graham Laight
Re: Neural nets, nodes to features?
My personal experience (based on "a bit of playing") is that above about 10 neurons, it becomes prohibitively difficult to work out what's going on in an NN.
I fully accept that somebody doing this seriously would get to a much higher neuron limit than I did.
I fully accept that somebody doing this seriously would get to a much higher neuron limit than I did.
Human chess is partly about tactics and strategy, but mostly about memory
-
- Posts: 3351
- Joined: Wed Mar 10, 2010 10:18 pm
- Location: Hamburg, Germany
- Full name: Srdja Matovic
Re: Neural nets, nodes to features?
...IIRC Deepmind used heat maps to visualize CNN stuff with AlphaGo.
--
Srdja
--
Srdja
-
- Posts: 4645
- Joined: Tue Apr 03, 2012 4:28 pm
- Location: Midi-Pyrénées
- Full name: Christopher Whittington
-
- Posts: 3351
- Joined: Wed Mar 10, 2010 10:18 pm
- Location: Hamburg, Germany
- Full name: Srdja Matovic
Re: Neural nets, nodes to features?
Come on, full disclosure

--
Srda
-
- Posts: 4645
- Joined: Tue Apr 03, 2012 4:28 pm
- Location: Midi-Pyrénées
- Full name: Christopher Whittington
Re: Neural nets, nodes to features?
It’s pretty simple. If I gave you 100M Stockfish 15, d7, say, labelled epds, could you extract the virtual SF Piece Values, or the virtual SF PSQT tables from those epds? Well, of course you could, it’s just a linear regression problem, or Texel tune for that matter.
I did this as an experiment several months ago. Only bothering to pull out virtual piece values, but across 8 games phases. And not just for SF, but for as many NNUE engines as were available.
Plot piece value, per piece type against phase and you get a bunch of pretty graphs (5 pieces x 8 phases = 40 graphs per engine). A visual compare of the graph profiles will tell you which engines are using the same or similar training sets, which was my idea of doing this in the first place.
-
- Posts: 3351
- Joined: Wed Mar 10, 2010 10:18 pm
- Location: Hamburg, Germany
- Full name: Srdja Matovic