AIMech AI

Fira (Full-Rank Training under Low-Rank Optimizer Constraint)

Algorithms AIMech:FiraFullRankTrainingUnderLowRankOptimizerConstraint DRAFT
Aliases: Fira, Fira Optimizer Framework, Full-Rank Training under Low-Rank Constraint via Norm-Based Scaling, Fira Norm-Based Scaling and Norm-Growth Limiter
A memory-efficient full-rank neural network optimization framework that maintains adaptive optimizer states strictly within a low-rank gradient subspace while preserving full-rank weight updates by rescaling the orthogonal-complement residual gradient using the low-rank optimizer's matrix- or column-level gradient-norm scaling factor and smoothing abrupt gradient surges via a relative norm-growth limiter.
Identity Notes & Concept Scope Distinct from GaLore (AIMech:GaLoreGradientLowRankProjection), which projects the full-rank gradient G_t into a rank-r subspace R_t = P_t^T G_t and completely discards the orthogonal residual (I - P_t P_t^T) G_t = G_t - P_t R_t; Fira retains the same low-rank optimizer states (mr + 2nr + 1 floats per m x n matrix) but scales and adds back G_t - P_t R_t using the low-rank adaptive scaling factor phi_t(R_t) = ||psi_t(R_t)|| / ||R_t|| alongside a multiplicative norm-growth limiter gamma.

Claims & Grounded Evidence

5 Claims
Mechanism #fira-norm-based-scaling-orthogonal-complement-mechanism
Given full-rank gradient G_t in R^{m x n} (m <= n) and rank-r SVD projection matrix P_t in R^{m x r} updated every T steps, Fira computes the low-rank projected gradient R_t = P_t^T G_t in R^{r x n} and its adaptive optimizer correction psi_t(R_t) using low-rank states M_t, V_t in R^{r x n}, defines the matrix-level scaling factor phi_t(R_t) = ||psi_t(R_t)|| / ||R_t|| (or column-wise factors phi_t(R_t)_i = ||psi_t(R_{t,:,i})|| / (||R_{t,:,i}|| + epsilon) for i = 1, ..., n), and rescales the orthogonal residual gradient S_t = phi_t(R_t) * (G_t - P_t R_t) so the parameter update W_{t+1} = W_t - eta * (P_t psi_t(R_t) + S_t) preserves full-rank gradient information with only mr + 2nr + 1 optimizer states.
Mechanism #fira-norm-growth-limiter-mechanism
To prevent training loss spikes triggered by periodic projection-subspace switching (t mod T = 0) and steep curvature along unsmoothed residual directions, Fira applies a relative norm-growth limiter to the scaled residual gradient S_t = phi_t(R_t)(G_t - P_t R_t): whenever ||S_t|| / ||S_{t-1}|| > gamma (default gamma = 1.01), S_t is rescaled to (S_t / ||S_t||) * gamma * ||S_{t-1}||, converting abrupt gradient norm jumps into bounded geometric growth while preserving direction.
Scope #fira-scaling-approximation-error-and-variance-scope
Under bounded component-wise adaptive scaling c_min <= |psi_i(g_i)/g_i| <= c_max, Theorem 1 proves that the squared scaling-factor approximation error satisfies kappa(r) = |phi_t^2(G_t) - phi_t^2(R_t)| <= (c_max^2 - c_min^2) * (1 - ||G_r||^2 / ||G||^2), and Theorem 2 proves under early-stage Gaussian gradients and inverse-chi-squared second moments (rho > 4) that Dirichlet(1/2, ..., 1/2) weighting yields Var[phi^2] = (3 / (n + 2)) * Var[psi^2] <= Var[psi^2].
Application #fira-llm-pretraining-and-finetuning-application
In C4 pre-training of LLaMA-60M/130M/350M/1B/7B and commonsense-reasoning fine-tuning of LLaMA-7B (BoolQ, PIQA, SIQA, HellaSwag, WinoGrande, ARC-e, ARC-c, OBQA), Fira reduces optimizer-state memory by 61.1% on LLaMA-1B and uses 8x smaller optimizer state memory (rank 64 vs 512) on LLaMA-7B while achieving lower validation perplexity and higher average accuracy (76.9% vs 62.7% for GaLore and 74.7% for LoRA).
Limitation #fira-full-gradient-materialization-and-domain-scope-limitation
Unlike LoRA, which stores only low-rank adapter gradients (mr + nr), Fira computes full-rank weight gradients (mn) during backpropagation and incurs a slight throughput overhead relative to GaLore and LoRA from column-wise norm-based scaling and norm-growth limiting.

⚠️ Curated Limitations & Negative Results

Artificial Intelligence Ontology (AIO) Grounding

Mapped AIO Classes
AIO Target Class Mapping Relation Mapping Rationale
AIO:ArtificialNeuralNetwork
Artificial Neural Network
related_match Fira is a memory-efficient full-rank optimization algorithm for pre-training and fine-tuning deep neural network and Transformer language models.
AIO:DimensionalityReduction
Dimensionality Reduction
related_match Fira uses periodic truncated SVD subspace projection P_t in R^{m x r} to compress optimizer states into a low-rank subspace while reconstructing full-rank updates.

Evidence Sources & Primary Literature

3 Sources
Source ID Publication / Document Type / Access Reference & Checksum
r636-primary-pdf
Xi Chen, Kaituo Feng, Changsheng Li, Xunhao Lai, Xiangyu Yue, Ye Yuan, Guoren Wang
primary paper
full_text
ID: https://dblp.org/rec/conf/nips/ChenFLLYYW25
sha256:6ef3647c0d0b…
r636-arxiv-abs
Xi Chen, Kaituo Feng, Changsheng Li, Xunhao Lai, Xiangyu Yue, Ye Yuan, Guoren Wang
primary paper
abstract_only
ID: https://arxiv.org/abs/2410.01623
sha256:abee3707cbba…
r636-metadata-cr
Xi Chen, Kaituo Feng, Changsheng Li, Xunhao Lai, Xiangyu Yue, Ye Yuan, Guoren Wang
primary paper
abstract_only
ID: https://dblp.org/rec/conf/nips/ChenFLLYYW25
sha256:70ff0fe919b7…

Ontology & Grounding Topology

Open in interactive network graph →
CONCEPT KIND Algorithms AIMech:FiraFullRankTrainingUnderLowRankOptimizerConstraint Fira (Full-Rank... 5 claims · 3 sources AIO GROUNDING AIO:ArtificialNeuralNetwork (2)

Curation Provenance

Curator: Antigravity
Method: ai_assisted
Model: Gemini
Created: 2026-10-19T11:59:00Z
Updated: 2026-10-19T11:59:00Z
Source File: data/curated/FiraFullRankTrainingUnderLowRankOptimizerConstraint.yaml · Schema: curated_concept.yaml

Explore across X-Mech

Related computational & biological Mechs: Embedding Map Network Graph ProteinTraitsMech (ESM-2 pLM) DUFMech (Domain pLM) TraitMech CultureMech All 14 X-Mech Repositories