GOVINDFROM commited on
Commit
eb23eee
Β·
verified Β·
1 Parent(s): b7c4bf3

generation findings

Browse files
Files changed (1) hide show
  1. GENERATION_FINDINGS.md +117 -0
GENERATION_FINDINGS.md ADDED
@@ -0,0 +1,117 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Generation findings β€” and a false positive caught
2
+
3
+ 30 stories Γ— 20 chapters Γ— 9 conditions, 5,400 chapters, Qwen2.5-3B base and a
4
+ LoRA trained on 6,876 state-conditioned examples from 215 novels. Canon is
5
+ planted in chapter 1 and withheld afterwards; violations are deterministic
6
+ string tests near a mention of the subject. Paired bootstrap over stories.
7
+
8
+ **Headline: the graph-state approach does not work for generation at this
9
+ scale, and the fine-tuned writer's apparent win is an artefact.**
10
+
11
+ ## 1. The artefact, first
12
+
13
+ The raw table looked like a large win for the fine-tuned writer: violation rate
14
+ **0.054** against **0.367** for the base model with full context β€” nearly 7Γ—
15
+ better.
16
+
17
+ It is not real. Violations are only counted near a mention of their subject, so
18
+ a model that stops writing about the premise cannot violate anything. The
19
+ fine-tune degenerated into pastiche of its training corpus:
20
+
21
+ > *"I have been in a great deal of trouble. I have had a great deal of trouble.
22
+ > I have had a great deal of trouble, and I have had a great deal of trouble."*
23
+ > β€” `tuned:full-context`, chapter 6
24
+
25
+ > *"After that, I had to pay attention to my mother…"* β€” `tuned:dsg-state`,
26
+ > chapter 6, in a story with no mother in it
27
+
28
+ It even reproduced Project Gutenberg's hard-wrap indentation, which is the
29
+ clearest sign of what it actually learned: the *surface form* of the corpus,
30
+ not the conditioning.
31
+
32
+ Two measurements make this quantitative, and the first was added only after the
33
+ prose was read:
34
+
35
+ | | base conditions | tuned conditions |
36
+ | --- | --- | --- |
37
+ | chapters that mention any premise character | **1.000** | 0.765 – 0.812 |
38
+ | canon facts actively restated | 0.838 – 0.887 | **0.092 – 0.163** |
39
+
40
+ So the tuned arm is not comparable to the base arm and is excluded from every
41
+ conclusion below. `on_premise` is now a first-class metric precisely so this
42
+ cannot be reported as a win again.
43
+
44
+ ## 2. What the valid comparisons say
45
+
46
+ All base conditions write about the premise in 100% of chapters, so these are
47
+ like-for-like.
48
+
49
+ | comparison | Ξ” violation rate | 95% CI | wins |
50
+ | --- | --- | --- | --- |
51
+ | full-context βˆ’ rolling-summary | **βˆ’0.146** | [βˆ’0.196, βˆ’0.096] | 21–2 |
52
+ | rolling-summary βˆ’ none | βˆ’0.008 | [βˆ’0.075, +0.058] | ns |
53
+ | **dsg-state βˆ’ none** | **+0.075** | [+0.008, +0.142] | 8–15 |
54
+ | **dsg-state βˆ’ full-context** | **+0.229** | [+0.171, +0.288] | 0–25 |
55
+ | dsg-state βˆ’ append-only-state | βˆ’0.017 | [βˆ’0.054, +0.021] | ns |
56
+
57
+ Three things follow, and two of them go against the method.
58
+
59
+ 1. **Long context wins.** Pasting the transcript beats every alternative by a
60
+ wide margin (0.367 vs 0.521 for no memory).
61
+ 2. **The graph digest is worse than no memory at all** (+0.075, interval
62
+ excludes zero). Not merely worse than the transcript β€” worse than giving the
63
+ writer nothing.
64
+ 3. **Revision makes no difference here.** `dsg-state` and `append-only-state`
65
+ are indistinguishable, so the calculus that was decisive for *reading* buys
66
+ nothing for *writing* in this setup.
67
+
68
+ ## 3. Why the digest hurts
69
+
70
+ The mechanism is measurable: `canon_capture` β€” the share of planted facts the
71
+ state actually holds β€” is **0.321** for `dsg-state`. The digest carries a third
72
+ of the canon, so the writer is handed a confident-looking but impoverished
73
+ summary in place of the text. A partial canon is worse than none, because it
74
+ crowds the prompt while omitting most of what it is supposed to protect.
75
+
76
+ (`append-only-state` shows a higher capture, 0.550, but that is capture by
77
+ hoarding: it keeps contradictory values live, so the checker finds the correct
78
+ one among them. It is not evidence of a better representation.)
79
+
80
+ Extraction is therefore the binding constraint, exactly as it was in the
81
+ reading study. The state cannot protect what it never captured.
82
+
83
+ ## 4. The one thing that did hold
84
+
85
+ Cost. `dsg-state` uses **325** prompt tokens at the final chapter against
86
+ **5,308** for `full-context` β€” a 4,983-token gap that widens with every
87
+ chapter, because a digest does not grow and a transcript does.
88
+
89
+ That is a real property and it is why the approach is worth repairing rather
90
+ than abandoning: at 100 chapters the transcript does not fit at all. But on
91
+ these results the digest is 16Γ— cheaper *and decisively worse*, so the scaling
92
+ argument does not rescue it. It would only matter once capture is high enough
93
+ for the digest to be a faithful substitute.
94
+
95
+ ## 5. What would have to change
96
+
97
+ In the order I would try them:
98
+
99
+ 1. **Fix extraction, not the representation.** 0.321 capture is the whole
100
+ story. Extracting canon-bearing facts reliably is a smaller, better-posed
101
+ problem than anything downstream.
102
+ 2. **Give the writer the digest *and* recent text.** The two are not rivals;
103
+ the experiment forced a choice between them that no real system would make.
104
+ 3. **Retrain properly.** The LoRA learned corpus style over conditioning β€”
105
+ lower rank or fewer epochs, targets stripped of Gutenberg formatting, and a
106
+ held-out check on premise adherence *during* training, not after.
107
+ 4. Only then re-run this comparison.
108
+
109
+ ## 6. Honest status
110
+
111
+ The reading result stands: the calculus holds a read state at 0.000
112
+ self-contradictory slots against 0.370–0.423 for append-only, replicated at
113
+ three model sizes. That is about maintaining a state, and it is well evidenced.
114
+
115
+ The generation result does not stand. On this evidence a maintained graph state
116
+ is not a useful conditioning signal for long-form generation, and the trained
117
+ writer failed outright. Both are reported here rather than buried.