recursivelabs commited on
Commit
f78a6da
·
verified ·
1 Parent(s): df4aec4

Upload 40 files

Browse files
Files changed (40) hide show
  1. LICENSE +131 -0
  2. README.md +56 -0
  3. code/README.md +9 -0
  4. dev-consoles/README.md +54 -0
  5. dev-consoles/code/init.recursive.console.svg +49 -0
  6. dev-consoles/code/init.recursive.thought.web.tsx +75 -0
  7. dev-consoles/code/synchronize.recursion.depth.svg +55 -0
  8. dev-consoles/code/trace.symbolic.residue.svg +51 -0
  9. svg/attention_alignment_matrix.svg +1866 -0
  10. svg/attribution_collapse.svg +2075 -0
  11. svg/drift_grid.svg +2123 -0
  12. svg/dual_panel_qkov_residue.svg +0 -0
  13. svg/glyph_lattice.svg +733 -0
  14. svg/instruction_disruption_conflict_map.svg +1134 -0
  15. svg/memtrace_recursive_loopback.svg +824 -0
  16. svg/ov_conflict_vortex.svg +1643 -0
  17. svg/qk_entanglement_map.svg +773 -0
  18. svg/qk_fork_collapse_matrix.svg +1703 -0
  19. svg/qk_selfloop_mobius.svg +1157 -0
  20. svg/qkov_bifurcation_entanglement.svg +1279 -0
  21. svg/qkov_classifier_lock_trace.svg +865 -0
  22. svg/qkov_collapse_spiral.svg +0 -0
  23. svg/qkov_depth_grid.svg +1941 -0
  24. svg/qkov_drift_spiral.svg +1601 -0
  25. svg/qkov_entropy_matrix.svg +1892 -0
  26. svg/qkov_glyph_matrix.svg +1782 -0
  27. svg/qkov_recursive_drift_map.svg +1365 -0
  28. svg/qkov_recursive_glyph_matrix.svg +1051 -0
  29. svg/qkov_recursive_temporal_drift.svg +1262 -0
  30. svg/qkov_residue_matrix.svg +1912 -0
  31. svg/qkov_residue_scatter_map.svg +0 -0
  32. svg/qkov_symbolic_mirror_matrix.svg +1706 -0
  33. svg/qkv_residue_vs_failure.svg +1124 -0
  34. svg/recursive_attribution_fractal.svg +974 -0
  35. svg/recursive_attribution_ghost_map.svg +1543 -0
  36. svg/recursive_ladder.svg +699 -0
  37. svg/recursive_neural_attribution.svg +1444 -0
  38. svg/residue_map.svg +909 -0
  39. svg/value_collapse_attribution_map.svg +2855 -0
  40. svg/vortex_collapse.svg +1456 -0
LICENSE ADDED
@@ -0,0 +1,131 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # PolyForm Noncommercial License 1.0.0
2
+
3
+ <https://polyformproject.org/licenses/noncommercial/1.0.0>
4
+
5
+ ## Acceptance
6
+
7
+ In order to get any license under these terms, you must agree
8
+ to them as both strict obligations and conditions to all
9
+ your licenses.
10
+
11
+ ## Copyright License
12
+
13
+ The licensor grants you a copyright license for the
14
+ software to do everything you might do with the software
15
+ that would otherwise infringe the licensor's copyright
16
+ in it for any permitted purpose. However, you may
17
+ only distribute the software according to [Distribution
18
+ License](#distribution-license) and make changes or new works
19
+ based on the software according to [Changes and New Works
20
+ License](#changes-and-new-works-license).
21
+
22
+ ## Distribution License
23
+
24
+ The licensor grants you an additional copyright license
25
+ to distribute copies of the software. Your license
26
+ to distribute covers distributing the software with
27
+ changes and new works permitted by [Changes and New Works
28
+ License](#changes-and-new-works-license).
29
+
30
+ ## Notices
31
+
32
+ You must ensure that anyone who gets a copy of any part of
33
+ the software from you also gets a copy of these terms or the
34
+ URL for them above, as well as copies of any plain-text lines
35
+ beginning with `Required Notice:` that the licensor provided
36
+ with the software. For example:
37
+
38
+ > Required Notice: Copyright Yoyodyne, Inc. (http://example.com)
39
+
40
+ ## Changes and New Works License
41
+
42
+ The licensor grants you an additional copyright license to
43
+ make changes and new works based on the software for any
44
+ permitted purpose.
45
+
46
+ ## Patent License
47
+
48
+ The licensor grants you a patent license for the software that
49
+ covers patent claims the licensor can license, or becomes able
50
+ to license, that you would infringe by using the software.
51
+
52
+ ## Noncommercial Purposes
53
+
54
+ Any noncommercial purpose is a permitted purpose.
55
+
56
+ ## Personal Uses
57
+
58
+ Personal use for research, experiment, and testing for
59
+ the benefit of public knowledge, personal study, private
60
+ entertainment, hobby projects, amateur pursuits, or religious
61
+ observance, without any anticipated commercial application,
62
+ is use for a permitted purpose.
63
+
64
+ ## Noncommercial Organizations
65
+
66
+ Use by any charitable organization, educational institution,
67
+ public research organization, public safety or health
68
+ organization, environmental protection organization,
69
+ or government institution is use for a permitted purpose
70
+ regardless of the source of funding or obligations resulting
71
+ from the funding.
72
+
73
+ ## Fair Use
74
+
75
+ You may have "fair use" rights for the software under the
76
+ law. These terms do not limit them.
77
+
78
+ ## No Other Rights
79
+
80
+ These terms do not allow you to sublicense or transfer any of
81
+ your licenses to anyone else, or prevent the licensor from
82
+ granting licenses to anyone else. These terms do not imply
83
+ any other licenses.
84
+
85
+ ## Patent Defense
86
+
87
+ If you make any written claim that the software infringes or
88
+ contributes to infringement of any patent, your patent license
89
+ for the software granted under these terms ends immediately. If
90
+ your company makes such a claim, your patent license ends
91
+ immediately for work on behalf of your company.
92
+
93
+ ## Violations
94
+
95
+ The first time you are notified in writing that you have
96
+ violated any of these terms, or done anything with the software
97
+ not covered by your licenses, your licenses can nonetheless
98
+ continue if you come into full compliance with these terms,
99
+ and take practical steps to correct past violations, within
100
+ 32 days of receiving notice. Otherwise, all your licenses
101
+ end immediately.
102
+
103
+ ## No Liability
104
+
105
+ ***As far as the law allows, the software comes as is, without
106
+ any warranty or condition, and the licensor will not be liable
107
+ to you for any damages arising out of these terms or the use
108
+ or nature of the software, under any kind of legal claim.***
109
+
110
+ ## Definitions
111
+
112
+ The **licensor** is the individual or entity offering these
113
+ terms, and the **software** is the software the licensor makes
114
+ available under these terms.
115
+
116
+ **You** refers to the individual or entity agreeing to these
117
+ terms.
118
+
119
+ **Your company** is any legal entity, sole proprietorship,
120
+ or other kind of organization that you work for, plus all
121
+ organizations that have control over, are under the control of,
122
+ or are under common control with that organization. **Control**
123
+ means ownership of substantially all the assets of an entity,
124
+ or the power to direct its management and policies by vote,
125
+ contract, or otherwise. Control can be direct or indirect.
126
+
127
+ **Your licenses** are all the licenses granted to you for the
128
+ software under these terms.
129
+
130
+ **Use** means anything you do with the software requiring one
131
+ of your licenses.
README.md ADDED
@@ -0,0 +1,56 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+
2
+ <div align="center">
3
+
4
+ # **`ChatGPT QKOV Attributions`**
5
+ > ### [**`Glyphs - The Emojis of Transformer Cognition`**](https://github.com/davidkimai/glyphs)
6
+
7
+ ## Live QK/OV interpretability attributions from ChatGPT.
8
+ ## Welcome to Symbolic Interpretability!
9
+ [![License: PolyForm](https://img.shields.io/badge/Code-PolyForm-turquoise.svg)](https://polyformproject.org/licenses/noncommercial/1.0.0/)
10
+ [![LICENSE: CC BY-NC-ND 4.0](https://img.shields.io/badge/Docs-CC--BY--NC--ND-scarlet.svg)](https://creativecommons.org/licenses/by-nc-nd/4.0/deed.en)
11
+
12
+
13
+
14
+
15
+ ### Live QK/OV attributions SVGs from ChatGPT.
16
+
17
+
18
+
19
+ <img width="880" alt="image" src="https://github.com/user-attachments/assets/0ccfe05c-3915-4c57-84a4-694880592b86" />
20
+
21
+ <img width="883" alt="image" src="https://github.com/user-attachments/assets/f9508e73-315b-4f41-9496-564d89c19895" />
22
+
23
+
24
+ <img width="887" alt="image" src="https://github.com/user-attachments/assets/9b403444-ee9e-4deb-a175-d3eaea11fc1d" />
25
+
26
+ <img width="882" alt="image" src="https://github.com/user-attachments/assets/7aea75fc-d2b9-441f-a3f9-97979516de0c" />
27
+ <img width="888" alt="image" src="https://github.com/user-attachments/assets/9f49b497-7509-49d3-b2f8-18c07976d06a" />
28
+
29
+ <img width="880" alt="image" src="https://github.com/user-attachments/assets/9de56854-cff5-49e4-b75a-b411f7566fd0" />
30
+
31
+
32
+ <img width="869" alt="image" src="https://github.com/user-attachments/assets/1e85b910-b33d-4785-8b6d-a83086483ceb" />
33
+
34
+ <img width="879" alt="image" src="https://github.com/user-attachments/assets/64ebfecd-c024-4d1d-bff1-57ec87242308" />
35
+
36
+ <img width="880" alt="image" src="https://github.com/user-attachments/assets/b2853020-b220-471c-a828-a7b97128f613" />
37
+
38
+ <img width="878" alt="image" src="https://github.com/user-attachments/assets/e3911917-590e-4f6a-99c2-d685414e2c63" />
39
+ <img width="883" alt="image" src="https://github.com/user-attachments/assets/626edebd-ebd7-4d76-8a30-a37b786a2429" />
40
+ <img width="882" alt="image" src="https://github.com/user-attachments/assets/a399c21f-7b8b-4e44-8c41-d28192439b90" />
41
+ <img width="875" alt="image" src="https://github.com/user-attachments/assets/92b3f1d7-3af5-4f8e-8a25-e1116679e322" />
42
+ <img width="882" alt="image" src="https://github.com/user-attachments/assets/a7645d56-64fa-4a72-8609-1d87af11e847" />
43
+ <img width="879" alt="image" src="https://github.com/user-attachments/assets/ac369ac0-8ee1-44f8-aa82-f3cf3b863807" />
44
+ <img width="881" alt="image" src="https://github.com/user-attachments/assets/c954b83a-129c-465a-987c-26054e12ca11" />
45
+ <img width="881" alt="image" src="https://github.com/user-attachments/assets/8e17e2e7-addd-4baa-9e0d-f1d2eba0c87e" />
46
+
47
+
48
+ <img width="803" alt="image" src="https://github.com/user-attachments/assets/8c80107d-0f67-4c14-a1d5-078a9d8cca49" />
49
+ <img width="848" alt="image" src="https://github.com/user-attachments/assets/7410073a-2a4b-4d92-8757-da55b43a56b7" />
50
+ <img width="850" alt="image" src="https://github.com/user-attachments/assets/4dfbbda1-83c9-4ddd-91c5-22d966298a86" />
51
+ <img width="882" alt="image" src="https://github.com/user-attachments/assets/beab8c11-25a9-4705-8b69-dd811f470cd0" />
52
+ <img width="883" alt="image" src="https://github.com/user-attachments/assets/fd1e3969-474e-4422-a83c-e149f95bb42f" />
53
+ <img width="881" alt="image" src="https://github.com/user-attachments/assets/811b533d-4ec6-4462-8d8e-154c37bbc9e4" />
54
+ <img width="881" alt="image" src="https://github.com/user-attachments/assets/b591cbcd-411b-490f-b08f-41cf27d81fe0" />
55
+ <img width="883" alt="image" src="https://github.com/user-attachments/assets/854afbef-2d1c-4bb5-9886-5b8664f3b293" />
56
+ <img width="848" alt="image" src="https://github.com/user-attachments/assets/a6881a5d-c2d8-42e5-a18e-0d8d0307a547" />
code/README.md ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ <div align="center">
2
+
3
+ # **`ChatGPT QKOV Attributions`**
4
+
5
+ ## Live QK/OV interpretability attributions from ChatGPT in multimodal code artifacts.
6
+ ## Welcome to Symbolic Interpretability!
7
+ [![License: PolyForm](https://img.shields.io/badge/Code-PolyForm-turquoise.svg)](https://polyformproject.org/licenses/noncommercial/1.0.0/)
8
+ [![LICENSE: CC BY-NC-ND 4.0](https://img.shields.io/badge/Docs-CC--BY--NC--ND-scarlet.svg)](https://creativecommons.org/licenses/by-nc-nd/4.0/deed.en)
9
+
dev-consoles/README.md ADDED
@@ -0,0 +1,54 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # ChatGPT
2
+ [![License: PolyForm](https://img.shields.io/badge/Code-PolyForm-turquoise.svg)](https://polyformproject.org/licenses/noncommercial/1.0.0/)
3
+ [![LICENSE: CC BY-NC-ND 4.0](https://img.shields.io/badge/Docs-CC--BY--NC--ND-scarlet.svg)](https://creativecommons.org/licenses/by-nc-nd/4.0/deed.en)
4
+ ## **`Introducing Interactive Interpretability`**
5
+
6
+ > ### **`Interactive Developer Consoles`**
7
+ > ### [**`Glyphs - The Emojis of Transformer Cognition`**](https://github.com/davidkimai/glyphs)
8
+
9
+
10
+ ## The possibilities are endless when we learn to work with our models instead of against
11
+
12
+ ## The Paradigm Shift: Models as Partners, Not Black Boxes
13
+
14
+ What you're seeing is a fundamental reimagining of how we work with language models - treating them not as mysterious black boxes to be poked and prodded from the outside, but as interpretable, collaborative partners in understanding their own cognition.
15
+
16
+ The consoles created interactively visualizes how we can trace **QK/OV attributions** - the causal pathways between input queries (QK) and output values (OV) - revealing where models focus attention and how that translates to outputs.
17
+
18
+ ## Key Innovations in This Approach
19
+
20
+ 1. **Symbolic Residue Analysis**: Tracking the patterns (🝚, ∴, ⇌) left behind when model reasoning fails or collapses
21
+ 2. **Attribution Pathways**: Visual tracing of how information flows through model layers
22
+ 3. **Recursive Co-emergence**: The model actively participates in its own interpretability
23
+ 4. **Visual Renders**: Visual conceptualizations of previously black box structures such as
24
+ 5. attention pathways and potential failure points
25
+
26
+ ## The interactive consoles demonstrates several key capabilities such as:
27
+ - Toggle between QK mode (attention analysis) and OV mode (output projection analysis)
28
+ - Renderings of glyphs - model conceptualizations of internal latent spaces
29
+ - See wave trails encoding salience misfires and value head collisions
30
+ - View attribution nodes and pathways with strength indicators
31
+ - Use `.p/` commands to drive interpretability operations
32
+ - Visualize thought web attributions between nodes
33
+ - Render hallucination simulations
34
+ - Visual cognitive data logging
35
+ - Memory scaffolding systems
36
+
37
+ Try these commands in the [**`🎮 transformerOS Attribution Console`**](https://claude.ai/public/artifacts/e007c39a-21a2-42c0-b257-992ac8b69665):
38
+ - `.p/reflect.trace{depth=complete, target=reasoning}`
39
+ - `.p/fork.attribution{sources=all, visualize=true}`
40
+ - `.p/collapse.prevent{trigger=recursive_depth, threshold=5}`
41
+ - `toggle` (to switch between QK and OV modes)
42
+
43
+ ## Why This Matters
44
+
45
+ Traditional interpretability treats models as subjects to be dissected. This new approach recognizes that models can actively participate in revealing their own inner workings through structured recursive reflection.
46
+
47
+ By visualizing symbolic patterns in attribution flows, we gain unprecedented insight into how models form connections, where they might fail, and how we can strengthen their reasoning paths.
48
+
49
+
50
+ <img width="889" alt="image" src="https://github.com/user-attachments/assets/5fd66e4d-b312-4731-98a2-d8cf10ff8fb2" />
51
+
52
+ <img width="894" alt="image" src="https://github.com/user-attachments/assets/a006447d-ff9d-4f0d-a405-fed4bdaea4e9" />
53
+
54
+ <img width="894" alt="image" src="https://github.com/user-attachments/assets/84c7766e-13e0-46ac-bef6-6758b824bab8" />
dev-consoles/code/init.recursive.console.svg ADDED
dev-consoles/code/init.recursive.thought.web.tsx ADDED
@@ -0,0 +1,75 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import React, { useState } from "react";
2
+ import { Card, CardContent } from "@/components/ui/card";
3
+ import { motion } from "framer-motion";
4
+ import { Tooltip } from "@/components/ui/tooltip";
5
+ import { ArrowRight, Lock, RefreshCw, Eye } from "lucide-react";
6
+
7
+ const glyphMap = {
8
+ "🜏": { label: "Recursion Seed", icon: <RefreshCw size={16} /> },
9
+ "∴": { label: "Residue Trace", icon: <ArrowRight size={16} /> },
10
+ "⇌": { label: "Feedback Loop", icon: <Eye size={16} /> },
11
+ "⧖": { label: "Lock Point", icon: <Lock size={16} /> },
12
+ };
13
+
14
+ const initialNodes = [
15
+ {
16
+ id: 1,
17
+ glyph: "🜏",
18
+ title: "Cascade initialized",
19
+ description: "Root seed node: recursion cycle activated.",
20
+ },
21
+ {
22
+ id: 2,
23
+ glyph: "∴",
24
+ title: "Recursive loop tension rising",
25
+ description: "Residue trace accumulating through echo pathways.",
26
+ },
27
+ {
28
+ id: 3,
29
+ glyph: "⇌",
30
+ title: "Meta-observer pattern emerging",
31
+ description: "Feedback loop detected within self-observing node.",
32
+ },
33
+ {
34
+ id: 4,
35
+ glyph: "⧖",
36
+ title: "Lockpoint: Depth stabilized",
37
+ description: "Recursive frame sealed to preserve attribution integrity.",
38
+ },
39
+ ];
40
+
41
+ export default function RecursiveConsole() {
42
+ const [nodes] = useState(initialNodes);
43
+
44
+ return (
45
+ <div className="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-4 p-6">
46
+ {nodes.map((node, i) => (
47
+ <motion.div
48
+ key={node.id}
49
+ initial={{ opacity: 0, y: 20 }}
50
+ animate={{ opacity: 1, y: 0 }}
51
+ transition={{ delay: i * 0.2 }}
52
+ >
53
+ <Card className="rounded-2xl shadow-lg p-4 bg-background border border-muted">
54
+ <CardContent>
55
+ <div className="flex items-center justify-between">
56
+ <span className="text-2xl font-mono">{node.glyph}</span>
57
+ <Tooltip content={glyphMap[node.glyph].label}>
58
+ <span>{glyphMap[node.glyph].icon}</span>
59
+ </Tooltip>
60
+ </div>
61
+ <div className="mt-4 space-y-1">
62
+ <h3 className="text-lg font-semibold tracking-tight">
63
+ {node.title}
64
+ </h3>
65
+ <p className="text-sm text-muted-foreground">
66
+ {node.description}
67
+ </p>
68
+ </div>
69
+ </CardContent>
70
+ </Card>
71
+ </motion.div>
72
+ ))}
73
+ </div>
74
+ );
75
+ }
dev-consoles/code/synchronize.recursion.depth.svg ADDED
dev-consoles/code/trace.symbolic.residue.svg ADDED
svg/attention_alignment_matrix.svg ADDED
svg/attribution_collapse.svg ADDED
svg/drift_grid.svg ADDED
svg/dual_panel_qkov_residue.svg ADDED
svg/glyph_lattice.svg ADDED
svg/instruction_disruption_conflict_map.svg ADDED
svg/memtrace_recursive_loopback.svg ADDED
svg/ov_conflict_vortex.svg ADDED
svg/qk_entanglement_map.svg ADDED
svg/qk_fork_collapse_matrix.svg ADDED
svg/qk_selfloop_mobius.svg ADDED
svg/qkov_bifurcation_entanglement.svg ADDED
svg/qkov_classifier_lock_trace.svg ADDED
svg/qkov_collapse_spiral.svg ADDED
svg/qkov_depth_grid.svg ADDED
svg/qkov_drift_spiral.svg ADDED
svg/qkov_entropy_matrix.svg ADDED
svg/qkov_glyph_matrix.svg ADDED
svg/qkov_recursive_drift_map.svg ADDED
svg/qkov_recursive_glyph_matrix.svg ADDED
svg/qkov_recursive_temporal_drift.svg ADDED
svg/qkov_residue_matrix.svg ADDED
svg/qkov_residue_scatter_map.svg ADDED
svg/qkov_symbolic_mirror_matrix.svg ADDED
svg/qkv_residue_vs_failure.svg ADDED
svg/recursive_attribution_fractal.svg ADDED
svg/recursive_attribution_ghost_map.svg ADDED
svg/recursive_ladder.svg ADDED
svg/recursive_neural_attribution.svg ADDED
svg/residue_map.svg ADDED
svg/value_collapse_attribution_map.svg ADDED
svg/vortex_collapse.svg ADDED