SISTER RAY SEISMOSCOPE · LAB ▸
R&D Note · 研究ノート
LELANTOS
Λήλαντος — CRITERIA 03 · LETHE · SEISMOSCOPE

自己観測のための、逐次圧縮

CRITERIA 03 · LETHE · LELANTOS の計器から取り出した方法。状態ベクトル、忘却する主成分分析、その検証。R&D メモ。
SEISMOSCOPE · LAB2026.09R&D
課題 — Problem

生成系やセンサー系の画面には、多数の量が並ぶ。だが量の一覧は、系全体の状態を示さない。状態を示すには次元を落とす必要があり、系が非定常なら、落とし方も時間とともに更新しなければならない。本メモは、ブラウザの描画ループの中で、外部のモデルや重みを使わずに、系が自分の状態を圧縮して示す最小の方法を記録する。

01 — STATE

状態ベクトル

既存の走査周期に同期して、およそ0.1秒ごとに11の量を取る。(1) 衛星の速度の平均 (2) 速度の最大 (3) 輝度の平均 (4) リング内にある衛星の割合 (5) 半径の平均 (6) 窓内の衝突数 (7) 窓内の吸収数 (8) 窓内のエントロピー増分 (9) 閃光の数 (10) グリッチの数 (11) ドラッグの速度。速度・半径・ドラッグは画面の基準長で割り、端末の解像度に依存しないようにする。生の値は MEAS。

衝突・吸収・増分は0.1秒の窓では疎なので、時定数およそ1秒の指数平滑をかける(DERIV)。

累積エントロピー S は除外した。単調な量を入れると、軌跡が構成的に一方向へ流れ、観測ではなく設計の帰結になるからである(制作論 第3章)。なお、忘却する標準化の下では、S を入れてもその単調性は正規化で相殺される。戻らない軌跡を得たいなら、S だけを忘却のない正規化で別に扱う必要があり、それは完全に意図的な作り込みになる。

02 — METHOD

忘却する標準化と CCIPCA

各量は逐次に平均と分散を追い、z 値へ標準化する(DERIV)。更新の重みは 1/n とし、n は600(約60秒)で頭打ちにする。頭打ちにしなければ重みがゼロへ向かい、装置は忘れなくなる。z 値は ±5 で切り詰める。分散の小さい量が稀な事象で跳ねると、それだけで軸が奪われるからである。

主成分は CCIPCA(Weng ら, 2003)で逐次に3本求める。共分散行列を持たず、標本ごとに成分ベクトルを更新し、その成分を除いた残差を次の成分へ渡す。忘却パラメータ l は2とし、最初の20標本だけは0にする(初期に係数が負になるのを避けるため)。成分ベクトルの大きさが、固有値の推定になる。

最初の50標本(約5秒)は収束していないので、座標を出さず「MODEL --」と表示する(withheld)。

過去600標本の z ベクトルを保持し、毎フレーム、現在の軸へ射影する。PC1 と PC2 は同じ縮尺(PC1 の標準偏差の3倍を枠に合わせる)で描き、PC3 は明るさに割り当てる。寄与率は、固有値を z の二乗和の忘却平均で割って求める。Δθ は、1秒ごとに記録した PC1 の向きと10秒前の向きのなす角である(符号の反転は無視する)。これらはすべて MODEL。

計算量は 11次元 × 3成分 × 約10Hz で、無視できる。負荷は描画の側にのみ出る。潜在空間を表示している間は粒子の描画を止めるので、物理空間より軽い。

03 — VERIFICATION

検証

一括の主成分分析との一致。 既知の3因子構造を持つ合成データを3000標本流し、直近600標本に対する一括の主成分分析と比べた。PC1 のずれは0.87°、PC2 は1.18°、第一固有値は5.31対5.40。

忘却の速さ。 途中で因子構造を切り替えると、PC1 は約30秒で新しい構造に近づき、約60秒で旧構造から約48°離れた。表示の「memory ~60s」はこの挙動と整合する。ただし「~」は丸めであり、実効的な記憶は30〜60秒の幅を持つ。

見つけた誤り。 (1) 寄与率の分母を次元数の11に固定していたため、立ち上がりで247%と表示された。z の分散は初期に1を大きく超えるためである。分母を、実測した二乗和の忘却平均に改めた。(2) モバイルで潜在空間の枠が右端のグリフ列と重なり、外れ値の軌跡もはみ出していた。枠を画面要素の間に収め、軌跡を枠で切り取るようにした。いずれもヘッドレスブラウザでの描画の目視で発見した。

公開後に見つけた誤り。 寄与率の分母(二乗和の忘却平均)は重み 1/n で更新していたが、主成分を推定する CCIPCA の重みは (1+l)/n で、両者が揃っていなかった。分母のほうが長く過去を覚えているため、状態が急に変わった直後に寄与率が過大に出る。合成データで途中から振幅を6倍にすると、落ち着いた値が約63%のところを、最大94%と表示した。note のために採らなかった設計を再現した際、124%として表面化して見つかった。分母の重みを (1+l)/n に揃え、同じ条件で63%に収まることを確かめた(2026年9月17日)。

実行例。 80秒後、寄与率は PC1 38%・PC2 10%・PC3 10%、Δθ は2.3°/10秒で落ち着いた。これは一回の実行の値であり、乱数によって実行ごとに変わる。

04 — TRADE-OFFS

利点と欠点、検証の方向

誠実に、両面を置く。

利点。 外部のモデル・重み・通信が要らず、単一の HTML で完結する。既存の MEAS/DERIV/MODEL の文法にそのまま載る。非定常な系でも軸が追従する。計算が軽い。忘却の窓が、そのまま「記憶の長さ」として開示できる。

欠点。 線形なので、非線形な構造は潰れる。状態ベクトルの選び方が像をほぼ決める——ここに設計者の判断が最も濃く入る。忘却の窓は選んだ値であり、Δθ は系の性質と設計の両方を映す。一括の主成分分析との一致は合成データでの確認であり、LETHE の実データでの収束は、目視と数値の安定でしか確かめていない。ヘッドレスブラウザと実機ではフレームレートが異なり、標本化の実際の周期(約0.1秒+1フレーム)が揺れる。

検証の方向。 (1) 非線形な圧縮と比べ、線形で失ったものの量を測る。ただし外部の重みを持ち込むことになり、単一ファイルで完結する利点と引き換えになる。(2) 忘却の窓を変えたときの Δθ の分布を取り、系の寄与と設計の寄与を分ける。(3) 同じ方法を、CRITERIA 01・02 の映像素材に当てる。この場合、画像の埋め込みはローカルでの計算が要る。(4) MODEL の二つの意味——時間からの仮定と、データへの当てはめ——を、開示の文法の上でどう区別するかを決める。

draft v0.1 — 図は含まない。思想と判断の経緯は制作論(見られずに動くものを、見る)を参照。

SEISMOSCOPE — 観測装置群 / SISTER RAY(竹内基貴 Motoki Takeuchi). draft v0.1.
LELANTOS観測する ▸ Top

Amnesic Compression for Self-Observation

A method taken from the instrument of CRITERIA 03 · LETHE · LELANTOS: the state vector, principal component analysis that forgets, and its verification. An R&D memo.

Problem

Screens of generative and sensor systems list many quantities. A list of quantities, however, does not show the state of the system as a whole. Showing the state requires reducing dimensions, and if the system is non-stationary, the reduction itself must be updated over time. This memo records a minimal method by which a system compresses and shows its own state inside a browser’s render loop, without external models or weights.

The State Vector

In step with the existing scan cycle, eleven quantities are taken roughly every 0.1 s: (1) mean velocity of the bodies, (2) maximum velocity, (3) mean luminance, (4) share of bodies in the ring, (5) mean radius, (6) impacts in the window, (7) absorptions in the window, (8) entropy increment in the window, (9) number of flashes, (10) number of glitches, (11) drag speed. Velocity, radius and drag are divided by the screen’s base length so they do not depend on device resolution. Raw values are MEAS.

Impacts, absorptions and increments are sparse in a 0.1 s window, so an exponential smoothing with a time constant of about 1 s is applied (DERIV).

Cumulative entropy S is excluded. A monotonic quantity would make the trajectory flow in one direction by construction — an outcome of design, not of observation (paper, section 3). Note that under amnesic standardisation, including S would not even preserve its monotonicity; it would be cancelled by normalisation. A non-returning trajectory would require treating S alone with non-forgetting normalisation, which would be deliberate construction outright.

Amnesic Standardisation and CCIPCA

Each quantity tracks its mean and variance incrementally and is standardised to a z-value (DERIV). The update weight is 1/n, with n capped at 600 (about 60 s); without the cap the weight tends to zero and the instrument stops forgetting. z-values are clipped at ±5, because a low-variance quantity spiking on a rare event would otherwise capture an axis by itself.

Three principal components are found incrementally by CCIPCA (Weng et al., 2003). No covariance matrix is kept: each sample updates the component vectors, and the residual after removing a component is passed to the next. The amnesic parameter l is 2, set to 0 for the first 20 samples only (to avoid negative coefficients early on). The length of each component vector is the estimate of its eigenvalue.

The first 50 samples (about 5 s) have not converged, so no coordinates are shown; the readout says “MODEL --” (withheld).

The z-vectors of the last 600 samples are kept and projected onto the current axes every frame. PC1 and PC2 are drawn at the same scale (three standard deviations of PC1 fitted to the frame); PC3 is mapped to brightness. The share of variance is each eigenvalue divided by the amnesic mean of the squared norm of z. Δθ is the angle between the direction of PC1 recorded each second and its direction ten seconds earlier (sign flips ignored). All of these are MODEL.

The computation — 11 dimensions × 3 components × about 10 Hz — is negligible; any load comes from drawing alone. While the latent space is shown, particle rendering stops, so it is lighter than the physical view.

Verification

Agreement with batch PCA. 3,000 samples of synthetic data with a known three-factor structure were streamed and compared against batch PCA over the latest 600 samples. PC1 differed by 0.87°, PC2 by 1.18°; the first eigenvalue was 5.31 against 5.40.

Speed of forgetting. When the factor structure was switched mid-stream, PC1 approached the new structure within about 30 s and had moved about 48° away from the old one by about 60 s. The readout “memory ~60s” is consistent with this. The “~” is a rounding, however: effective memory spans 30 to 60 s.

Errors found. (1) The denominator of the share of variance was fixed at the dimension count, 11, so the readout showed 247% at start-up, since the variance of z greatly exceeds 1 early on. The denominator was changed to the amnesic mean of the measured squared norm. (2) On mobile, the latent-space frame overlapped the glyph column at the right, and outlying trajectory spilled beyond it. The frame was fitted between the screen elements, and the trajectory is clipped to the frame. Both were found by inspecting renders in a headless browser.

An error found after publication. The denominator of the share of variance (the amnesic mean of the squared norm) was updated with weight 1/n, while CCIPCA estimates the components with weight (1+l)/n; the two did not match. Because the denominator remembered further back, the share was overstated right after an abrupt change of state: with synthetic data whose amplitude jumped sixfold mid-stream, it read up to 94% where the settled value was about 63%. It surfaced as 124% while reproducing the rejected design for the note. The denominator now uses the same (1+l)/n weight, and under the same conditions the share stays at about 63% (17 September 2026).

A run. After 80 s, the shares settled at PC1 38%, PC2 10%, PC3 10%, with Δθ at 2.3°/10 s. These are the values of one run and vary from run to run with the random numbers.

Trade-offs, and Directions for Verification

Both sides, honestly.

Advantages. No external model, weights or network; it completes within a single HTML file. It fits the existing MEAS / DERIV / MODEL grammar as it is. The axes follow a non-stationary system. The computation is light. The forgetting window can be disclosed directly as a “length of memory.”

Disadvantages. Being linear, non-linear structure is flattened. The choice of state vector largely decides the image — this is where the designer’s judgement enters most heavily. The forgetting window is a chosen value, so Δθ reflects both the system and the design. Agreement with batch PCA was checked on synthetic data; convergence on LETHE’s actual data was confirmed only by inspection and the stability of the numbers. Frame rates differ between a headless browser and real devices, so the actual sampling period (about 0.1 s plus one frame) fluctuates.

Directions. (1) Compare with non-linear compression to measure what linearity loses — at the cost of importing external weights and giving up the single-file advantage. (2) Take the distribution of Δθ across forgetting windows, to separate the system’s contribution from the design’s. (3) Apply the same method to the footage of CRITERIA 01 and 02; image embeddings would then need local computation. (4) Decide how the disclosure grammar should distinguish the two meanings of MODEL — assumed from time, and fitted to data.

draft v0.1 — no figures. For the ideas and decisions, see the process paper (Seeing What Moves Unseen).

SEISMOSCOPE — observation instruments / SISTER RAY (Motoki Takeuchi). draft v0.1.