Update.
[culture.git] / README.txt
1
2 Trying to make GPTs build their own "culture".
3
4 Francois Fleuret
5 Jun 21st, 2024
6
7 * Motivation
8
9 The original motivation of this experiment is the hypothesis that
10 high-level cognition emerges from the competition among humans in the
11 space of language and ideas.
12
13 More precisely, communicating agents try to out-do competitors by
14 creating stuff that is smart but doable, e.g. some other agents get
15 it, but not all. Then, that smart thing is added to the "culture",
16 they all learn and get to understand it, and it repeats.
17
18 * Setup
19
20 It starts with a "world model" that they got before they communicate,
21 and from there, they try to "be smart" by proposing quizzes that can
22 be solved but not by everybody.
23
24 There are 5 competing GPTs.
25
26 The "world" is a 6x8 grid with three "birds" moving in a straight line
27 and bouncing on the world's borders. It could be another "world", but
28 this one has objectness and motion. There are ten colors and 4
29 directions of motions, so roughly (6x8x4x10)**3 ~ 7e9 states.
30
31 Given a random world state, and the state after two iterations of
32 birds moving, a "quiz" is to predict the second frame, given the
33 first, or the opposite. The starting and ending states are chosen, by
34 rejection, so that there is no occlusion.
35
36 My home-baked GPT-37M trained with 250k solves this with ~99% success
37 [to be verified with the new setup].
38
39 At every iteration, we select the GPT with the lowest test accuracy,
40 and run one epoch.
41
42 * Creating new quizzes
43
44 If its test accuracy got higher than 97.5%, it will create new
45 quizzes. To do so, it generates a large number of pairs of frames, and
46 checks which ones of these quizzes are hard but not too hard, which
47 means [THIS IS THE IMPORTANT BIT]:
48
49   it can be solved, in both time directions, by all the other GPTs
50   **but one**
51
52 The both time directions is to avoid a simple type of quizzes which is
53 simply to deal with noise in the first frame.
54
55 The GPT generates 1000 of such quizzes, that are added to the
56 "culture", i.e. the training set.
57
58 We update the test accuracy of all the GPTs, and then we go to the
59 next iteration.
60
61 The hope is that interesting concepts emerge (connectivity, symmetry,
62 interior/exterior, shape vocabulary, etc.)