zeechimp commited on
Commit
129f968
·
verified ·
1 Parent(s): 3944a41

Create README.md

Browse files
Files changed (1) hide show
  1. README.md +167 -0
README.md ADDED
@@ -0,0 +1,167 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ tags:
4
+ - ramsey-theory
5
+ - combinatorial-optimization
6
+ - chaos-map
7
+ - census
8
+ - 8bit
9
+ - tabular
10
+ task_categories:
11
+ - other
12
+ size_categories:
13
+ - 1K<n<10K
14
+ ---
15
+
16
+ # chaos-chip-census
17
+
18
+ Exhaustive census of the 256-chip 8-bit chaos-chip family across six
19
+ Ramsey coloring instances. Every chip is evaluated against every instance.
20
+ No sampling, no training — the complete space is covered.
21
+
22
+ ## Chip format
23
+
24
+ Each chip is a single byte. The byte encodes two 4-bit parameters:
25
+
26
+ ```
27
+ byte = (q_idx << 4) | s_idx q_idx, s_idx ∈ [0, 15]
28
+ q = q_idx / 15 * 2π - π
29
+ s = s_idx / 15 * 2π - π
30
+ ```
31
+
32
+ These drive the chirp map:
33
+
34
+ ```
35
+ φ(i, j) = α · cos(s_j · i − c · q_i · j) c = 2.0, α = 1.5
36
+ ```
37
+
38
+ A coloring is extracted by median-centering and thresholding:
39
+
40
+ ```
41
+ C_ij = sign(φ_ij − median(φ))
42
+ ```
43
+
44
+ A chip **solves** an instance iff the resulting ±1 coloring has zero
45
+ monochromatic K_k subgraphs.
46
+
47
+ ## Files
48
+
49
+ | File | Description |
50
+ |------|-------------|
51
+ | `census.csv` | 1,536 rows: 256 chips × 6 instances |
52
+ | `config.json` | metadata + per-instance summary |
53
+
54
+ ## Results
55
+
56
+ | Instance | Solved / 256 | Rate |
57
+ |----------|--------------|------|
58
+ | K_10, k=4 | 10 | 3.9% |
59
+ | K_11, k=4 | 6 | 2.3% |
60
+ | K_12, k=4 | 2 | 0.8% |
61
+ | K_14, k=5 | 62 | 24.2% |
62
+ | K_14, k=6 | **176** | **68.8%** |
63
+ | K_20, k=6 | 76 | 29.7% |
64
+
65
+ ## Key findings
66
+
67
+ 1. **K_14, k=6 is the highest-yield instance.** 68.8% of raw 8-bit chips
68
+ solve it. Any random byte has a better-than-even chance of working.
69
+
70
+ 2. **K_12, k=4 has exactly 2 solving chips.** Earlier papers reported 1;
71
+ exhaustive enumeration reveals 2. Both are shown in the CSV.
72
+
73
+ 3. **Difficulty is monotonic in D** where
74
+ `D = log₂ C(n, k) / C(k, 2)`. Fitting `log(rate) = a·D + b` on these
75
+ six points gives R² > 0.95. The D-coordinate works on the raw chip
76
+ space even though it fails on the trained-chip distribution (see
77
+ Paper 7 of the chaos-chip series for the failure case).
78
+
79
+ ## CSV schema
80
+
81
+ ```
82
+ hex,n,k,q,s,mono,solved
83
+ 0x00,10,4,-3.1416,-3.1416,18,0
84
+ 0x01,10,4,-3.1416,-2.7227,15,0
85
+ ...
86
+ 0xAF,20,6,1.8850,-2.3038,0,1
87
+ ```
88
+
89
+ | Column | Meaning |
90
+ |--------|---------|
91
+ | `hex` | chip byte in hex |
92
+ | `n` | Ramsey instance vertex count |
93
+ | `k` | Ramsey instance clique size |
94
+ | `q` | decoded charge parameter (radians) |
95
+ | `s` | decoded spin parameter (radians) |
96
+ | `mono` | number of monochromatic K_k subgraphs |
97
+ | `solved` | 1 if mono = 0, else 0 |
98
+
99
+ ## Usage
100
+
101
+ ### Load with pandas
102
+
103
+ ```python
104
+ import pandas as pd
105
+ df = pd.read_csv("census.csv")
106
+
107
+ # solve rate per instance
108
+ print(df.groupby(["n", "k"])["solved"].mean())
109
+
110
+ # find all chips that solve K_12
111
+ k12 = df[(df.n == 12) & (df.k == 4) & (df.solved == 1)]
112
+ print(k12["hex"].tolist()) # ['0x??', '0x??']
113
+ ```
114
+
115
+ ### Load with numpy
116
+
117
+ ```python
118
+ import numpy as np
119
+ data = np.genfromtxt("census.csv", delimiter=",", skip_header=1,
120
+ dtype=[("hex","U4"), ("n","i4"), ("k","i4"),
121
+ ("q","f4"), ("s","f4"),
122
+ ("mono","i4"), ("solved","i4")])
123
+ solved = data[data["solved"] == 1]
124
+ ```
125
+
126
+ ### Reproduce
127
+
128
+ ```bash
129
+ pip install jax jaxlib numpy
130
+ python build_census.py
131
+ ```
132
+
133
+ Runtime ~60 seconds on CPU. No GPU required.
134
+
135
+ ## Method
136
+
137
+ The chirp map was first introduced in the chaos-chip series as a
138
+ continuous-parameter combinatorial solver. The 8-bit quantized form
139
+ tested here is the smallest tractable version: 256 distinct chips, one
140
+ byte each, evaluated exhaustively against six Ramsey instances.
141
+
142
+ For each (chip, instance) pair, a ±1 edge-coloring is computed and
143
+ checked for monochromatic K_k subgraphs. The `mono` column is the count
144
+ of such subgraphs; `solved` is 1 iff `mono == 0`.
145
+
146
+ ## Limitations
147
+
148
+ - **Only six instances.** Larger n values are not tested. Extrapolation
149
+ is possible (see D-metric) but not verified.
150
+ - **Only the 8-bit quantized family.** Full-precision chips may behave
151
+ differently. The tiled (2-row) form is what is tested; n-row forms
152
+ exist but are not in this census.
153
+ - **No K_13.** Neither K_13, k=4 nor any other K_13 instance is present
154
+ because no chip in this family solves them. Including empty rows would
155
+ not add information.
156
+
157
+ ## Citation
158
+
159
+ ```bibtex
160
+ @misc{chaos-chip-census,
161
+ title = {chaos-chip-census: Exhaustive evaluation of the 256-chip
162
+ 8-bit chaos-chip family on six Ramsey instances},
163
+ year = {2026},
164
+ howpublished = {Hugging Face dataset},
165
+ note = {Not peer-reviewed}
166
+ }
167
+ ```