Chang Liu, Jie Chen, Yao Lu, M Watson, Yiheng Tao, Kaiwen Cheng, M Kazemi, M Kahng
We lifted 5 functions out of this paper's own repositories and ran 5 of them in a sandbox. "Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results.
| Repository | Role | Ran |
|---|---|---|
| Eziotao-tyd/TRSP | — | 5 of 5 |
| Function | Status | Where it lives |
|---|---|---|
| GammaMLP | Ran | Eziotao-tyd/TRSP/trsp/sba_tri.py code served (permissive licence) · get_code("535c2de7a169bc59") |
| SbaTriBlock | Ran | Eziotao-tyd/TRSP/trsp/sba_tri.py code served (permissive licence) · get_code("c144a4a77b61b722") |
| _compute_gamma | Ran | Eziotao-tyd/TRSP/trsp/sba_tri.py code served (permissive licence) · get_code("e271d415e3beca3d") |
| box_filter_causal | Ran | Eziotao-tyd/TRSP/trsp/sba_tri.py code served (permissive licence) · get_code("970f17fc9200a624") |
| triangular_filter_causal | Ran | Eziotao-tyd/TRSP/trsp/sba_tri.py code served (permissive licence) · get_code("d280f0f3197a3a7c") |
Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.
Large Language Models (LLMs) are fundamentally limited by representation collapse, a bottleneck that severely degrades long-context performance. We identify that existing approaches risk drifting into one of two pathological extremes: homogenization collapse (e.g., attention sinks causing rank deficiency) and isolation collapse (e.g., local attention causing context disconnection). Through spectral analysis of attention dynamics, we derive an intrinsic trade-off between mixing efficiency (spectral gap) and information capacity (effective rank) that standard mechanisms struggle to balance. To resolve this dilemma, we propose the Topologically Regularized Side-Path (TRSP), a non-invasive architectural intervention that achieves spectral balance. TRSP employs a parameter-free Triangular Box mechanism, scaled by a lightweight, length-aware gate, to regularize the token interaction topology. By integrating proximal coupling to preserve effective rank and distal propagation to support non-degenerate mixing, TRSP promotes a geometrically healthier transition operator without altering core attention. Experiments show significant improvements across general capabilities and long-context benchmarks. Notably, on NoLiMa at 8× the training length, TRSP retains 83% accuracy and surpasses the Differential Transformer and Gated Attention by approximately 30 and 50 percentage points, respectively. Code available at: https: //github.com/Eziotao-tyd/TRSP.
The same record, over MCP at https://syntology.ai/mcp:
get_harvested_code_for_paper("2607.20484")
get_code_for_paper("2607.20484")
have("2607.20484")
Connect an agent — have() is free.