Hybrid Recurrent–Attention Modeling: A Computational Study Inspired by Sparse-AST-BWM
Year: 2026
Type: report
Abstract: Version 0.2.1 adds a paginated PDF of the version 0.2.0 confirmation report and an updated reproducibility archive. The original v0.1 preliminary report and its measurements remain intact as historical files. The selected hybrid removes absolute sinusoidal positional additions and lets its first unidirectional GRU encode sequence order. It retains the GRU -> full causal self-attention -> GRU topology, width 48, and 48,344 parameters. The three-block Transformer baseline has 57,848 parameters. This work is inspired by Sparse-AST-BWM; a pinned source audit distinguishes it from the reference repository's 18 serial stages with locally mixed frozen and trainable branches. Four candidate modifications were compared on development data. The selected architecture and confirmation settings were frozen before 30 confirmation runs: three architectures, two separately trained tasks, and five fresh training seeds (101, 137, 173, 211, 257). Every run uses 300 updates, batch 32 and training length 64. Recall evaluation uses 4,096 sequences at each of lengths 64, 128, 256 and 512, shared across models and seeds. Mean confirmation accuracy is 99.99992% for improved-hybrid lag-four copying versus 100% for the Transformer; length-256 recall is 100% versus 99.18945%; length-512 recall is 100% versus 85.69336%. The original hybrid averages 83.25684% recall at length 512 in this fresh-seed comparison. The Transformer retains lower copying cross-entropy. On one NVIDIA GTX 1650, median length-512 full-sequence forward latency at batch 16 is 7.938 ms for the improved hybrid and 16.601 ms for the Transformer. This local comparison has unequal parameter counts and is not a cached-generation benchmark. The finite synthetic results do not establish general Transformer parity, language or coding ability, or frontier-scale performance. NEW IN VERSION 0.2.1: IMPROVEMENT_REPORT_v0.2.pdf is the printable three-page report; hybrid_improvement.zip includes that PDF and the updated SHA-256 manifest. README_v0.2.1.md explains this patch release; CITATION_v0.2.1.cff gives its citation. Version 0.2.0 follow-up files remain available, including IMPROVEMENT_REPORT.md, raw confirmation_results.json, and checkpoint archive. Historical paper.pdf, paper.tex, architecture.png, README.md, CITATION.cff, results.json and reproducibility.zip remain the original v0.1 study; the manuscript has not been rewritten to incorporate the follow-up. Author: Chaman Prakash Kanth. Discipline: Physics / Artificial Intelligence / Computational Modeling. Made with AI assistance using ChatGPT and Codex. Licensing: report and original figures CC BY 4.0; original study software MIT; upstream audit snapshots retain Apache-2.0 provenance.
Author: Kanth, Chaman Prakash
Language: English
Topic: Topic Modeling
Subfield: Artificial Intelligence
Field: Computer Science
Domain: Physical Sciences
Open Access status: green
OpenAlex ID: W7222933370
