Explore the research collection
4 entries · Follow this search
- Paper
Transformers without Normalization
Observes that LN input–output maps are tanh-like S-curves and replaces LN/RMSNorm with DyT(x)=γ·tanh(αx)+β (α learnable scalar). Matches or beats LN with original hparams: ImageNet ViT-B 82.5 vs 82.3, ViT-L 83.6 vs 83.1; MAE/DINO on par; DiT FID comparable; LLaMA 7B–70B on 200B Pile tokens match RMSNorm zero-shot (70B both 0.549 / loss 1.45). Default α0=0.5 except LLMs (attention vs other α0 split). Tanh ablation needed for stability; identity diverges. Does not replace BN in ResNet-50 (76.2→68.9). CVPR 2025. Code https://github.com/jiachenzhu/DyT; project https://jiachenzhu.github.io/DyT/.
- Paper
Transformers Stop Thinking Too Early, and a Tiny LoRA Fixes It
Pretrained transformers use little of their depth to follow references in context: 13 base models reliably follow only 1.4-3.6 lines, and extra pretrained loops add little. A task-trained rank-8 LoRA at one early layer extends computation with all model weights frozen: Qwen3-8B improves from 15.5% to 99% exact accuracy on 24-line chains; a longer-trained LoRA reaches 50 lines; Ouro-1.4B reaches 60 lines after four loops and at least 160 after eight. Mechanism: the LoRA starts a relay -- program lines pass on their chain identity through a short range of middle layers, frozen heads read progressively further up the chain, and removing parent-line attention stops the relay. A frozen-model measurement locates the last useful intervention layer within tolerance in 3 of 4 held-out models. Task-specific LoRAs also improve MuSiQue. Takeaway: default answers understate the computation accessible through a tiny edit. Code and an interactive demo at https://lunamos.github.io/stop-thinking-too-early/
- Paper
DepthBench: Measuring How Residual Connections Enable More Computational Depth
Introduces DepthBench, a controlled benchmark for studying computational depth across architectures, proposing effective computational depth as a new scaling axis. Systematically varies the width-depth aspect ratio (d_model/n_layer) from shallow-wide to deep-narrow shapes while keeping model size and the pretraining recipe fixed, across 10 representative architectures. Finds the benefit of allocating capacity to depth is strongly architecture-dependent: standard Pre-LN and most norm- and scaling-based variants (e.g. LayerNorm Scaling) give little benefit and can even degrade as models get deeper and narrower, whereas HC and Full AttnRes improve consistently even at extreme deep shapes. Gains extend beyond pretraining loss into improved domain-specific performance and effective computation; layer-level analyses link HC/Full AttnRes gains to more effective utilization of additional layers via distinct mechanisms. Concludes residual-connection design determines whether depth can serve as a meaningful scaling axis.
- Model
Nemotron 3 Diarization (streaming + offline, up to 8 speakers)
NVIDIA open-weight speaker diarization model (HF nvidia/Nemotron-3-Diarization; released 2026-09-23; OpenMDW 1.1) that answers “who spoke when” for up to eight speakers in streaming and offline audio. Architecture is a 31-layer Transformer encoder with RoPE (~100M / ~99.2M params from ~397 MB float32 safetensors), 10 ms Mel features stacked 8× to an 80 ms encoder rate then Conv1D-upsampled to configurable 10 ms output frames; speaker channels are ordered by first arrival (Sortformer). Streaming uses Arrival-Order Speaker Cache (AOSC) + FIFO from Streaming Sortformer; one checkpoint covers recommended input-buffer latencies 0.32 / 0.64 / 1.04 / 30.4 s (theoretical floor 80 ms). Trained on ~10k h real conversations plus ~82.6k h FastMSS-simulated multi-talker mixtures (English/Mandarin/Indic/multilingual), initialized from NEST SSL, fine-tuned in two stages on 8×8 A100-80GB. Card DER (overlap on; collar 0 except CALLHOME 0.25 s) at 30.4 s vs diar_streaming_sortformer_4spk-v2.1: DIHARD III full 12.73 vs 19.09; CALLHOME-Part2 full 9.10 vs 10.32; AliMeeting Near/Far 6.40/10.47 vs 11.57/13.69; AMI MHM/SDM 9.25/11.14 vs 15.81/21.42; NOTSOFAR1 MHM/SC full 6.77/11.00 vs 21.77/30.49. At 1.04 s DIHARD full 13.18; RTFx on RTX PRO 5000 BF16 offline bs=1 eager/compiled 1340/4385. HF blog also reports #1 on VoiceArena Diarization-Bench at 14.72% DER and ~40% relative DER cut at 1.04 s. Runtimes: NeMo Speech (SortformerEncLabelModel), NeMo-Speech.cpp, and Transformers AutoModelForAudioFrameClassification.