r/mlscaling • u/gwern • 9h ago
r/mlscaling • u/Abject_Response2855 • 13h ago
R VibeMathed - tracking math problems solved by AI models
r/mlscaling • u/graiden112 • 10h ago
[For Hire] Boston-Based AI/ML & Data Pipeline Engineer (Entry-Level/Intern) – Experienced in Healthcare Data, Python/SQL & AI/ML Workflows
r/mlscaling • u/rachidlabs • 22h ago
BCMT: A blockwise memory transformer with +57% training throughput and -23% peak GPU memory
Hi everyone,
I've been working on a new language model architecture called BCMT (Blockwise Causal Memory Transformer) and I'd really appreciate feedback from people interested in efficient transformer scaling.

The main idea is to replace full causal attention with:
- Dense causal attention within fixed-size blocks
- A compact memory representation summarizing each block
- Causal memory propagation between successive blocks

The goal is to reduce the computational and memory cost of long-context training while preserving language modeling performance.
Current results (WikiText-103, context length 256):
- Validation loss: 4.5931 (Dense Transformer: 4.5752)
- +57.4% training throughput
- −23.1% peak GPU memory
I've also included an ablation model (BCMT-HOnly) to isolate the contribution of the inter-block memory mechanism.
This is an early version of the project, and I'm especially interested in feedback on:
- the architectural design,
- additional scaling experiments,
- evaluation protocols,
- and comparisons with other efficient attention or memory-based approaches.
Paper, code, and training details are available here:
https://github.com/rachidlabs/BCMT
I'd be grateful for any comments or suggestions. Thanks!