Explore the research collection
4 entries · Follow this search
- Paper
LoopQuant: Accurate and Efficient Post-Training Quantization for Looped Transformers
Loop-aware PTQ for looped LLMs (LoopLMs), targeting W4A4/W4A6. Three components: (1) CLDC (Cross-Loop Distribution Canonicalization) — learns a shared orthogonal-scaling/rotation representation across recurrent states + group-aware channel reordering, keeping parameter sharing intact (directly addresses activations drifting across passes); (2) ILPA (Interaction-Aware Loop-wise Precision Allocation) — assigns 4-bit or 8-bit activation precision per loop under a fixed bit budget from task-level loop sensitivity plus cross-loop error interactions; (3) LCTC (Loop-Conditioned Task Calibration) — calibrates along the actual low-bit recursive trajectory, tuning only lightweight loop-conditioned clipping/gain/bias params; weights frozen. Numbers (first-party, vs SmoothQuant/QuaRot/SpinQuant/FlatQuant/DartQuant, GPTQ weights, 128 WikiText2 calib seqs, lm-eval, RTX PRO 6000): Ouro-2.6B W4A4 (68.89 avg zero-shot) beats all W4A8 baselines (best QuaRot W4A8 68.30); W4A6 70.20 vs 71.12 BF16. Memory −65.3% vs BF16, ~1.5–1.7× decoding speedup. Reasoning: Ouro-2.6B-thinking W4A4 retains >97% of BF16 (72.46/72.02/81.15 vs 76.20/73.31/82.32); baselines partially collapse (DartQuant W4A4 HumanEval: 4.88). Models: Ouro-1.4B/2.6B (+thinking), Nanbeige4.2-3B, Huginn-0125 (T=6). Caveats: the >97% retention is Ouro-2.6B-thinking only — Ouro-1.4B-thinking retains ~87%; all GPTQ-backed; speedups are PyTorch-on-RTX-PRO-6000; authors note prior/concurrent LoopQ (Fang et al. 2026) did initial cross-loop work but released no code, comparison only via its original numbers. Ethics statement flags quantized behavior may shift in ways accuracy benchmarks don't capture.
- Paper
On Calibration of Modern Neural Networks
Canonical calibration paper TypeSafe-style claims inherit from. Shows modern nets are overconfident (depth/width/BN/weight-decay factors). Introduces temperature scaling: divide logits by scalar T>0 learned on held-out NLL; preserves argmax so accuracy unchanged. Often best among post-hoc methods (histogram binning, isotonic, vector/matrix scaling) on vision/NLP. Defines the practical “probs should match empirical frequencies” yardstick. Post-hoc only — does not train calibration into RL/decision models.
- Paper
HippoRAG: Neurobiologically Inspired Long-Term Memory for Large Language Models
NeurIPS 2024 (cite Gutiérrez et al.; arXiv 2405.14831). Hippocampal indexing: LLM extracts a schemaless KG (neocortex), Personalized PageRank spreads activation from query entities (hippocampus) for single-step multi-hop retrieval. Up to +20% vs then-SOTA RAG on multi-hop QA; single-step HippoRAG matches or beats iterative IRCoT at 10–30× cheaper and 6–13× faster; combining them helps further. Also handles integration scenarios existing RAG misses. Discord/X is a 2026 hype recap by @N01ennn quoting their “How to be a Memory Engineer” X article (Stanford/Microsoft/Anthropic/Nvidia lenses); the substantial artifact is this 2024 paper. MIT code OSU-NLP-Group/HippoRAG. OSU + Stanford.
- Dataset
ReasonMed: A 370K Multi-Agent Generated Dataset for Advancing Medical Reasoning
ReasonMed is the largest open-source medical reasoning dataset to date, containing 370K high-quality question-answer examples with multi-step chain-of-thought (CoT) rationales and concise summaries. The examples were distilled from 1.75M initial reasoning paths generated by three competitive LLMs (Qwen-2.5-72B, DeepSeek-R1-Distill-Llama-70B, and HuatuoGPT-o1-70B) through a rigorous multi-agent verification and refinement pipeline with an Error Refiner. The full dataset contains 1.11M rows across three variants (ReasonMed, CoTMed, ResponseMed). Models trained on ReasonMed (ReasonMed-7B) surpass prior best sub-10B models by 4.17% and exceed LLaMA3.1-70B on PubMedQA by 4.60%.