WALoMA v1

Pretrained weights for WALoMA: A Multitask Wireless Foundation Model via Adaptive Low-Rank Masked Autoencoders (arXiv:2607.25763). Code: github.com/madim1827/WALoMA.

WALoMA is a masked-autoencoder transformer for complex wireless channels (antenna Γ— subcarrier). It has d_model 64, 12 encoder layers with 8 heads, a 4-layer decoder used only for pretraining, and 0.81 M parameters in total. Its learned 2D positional encoding (one table per antenna axis and one per subcarrier axis, with a maximum grid of 32 Γ— 16 patches) is resized with F.interpolate to the patch grid of each input. One checkpoint therefore takes any channel size and patch shape. Downstream tasks adapt the encoder with LoRA and a small task head.

Files

File Contents
model.safetensors pretrained encoder + MAE decoder
model_checkpoint.pth the same weights as originally submitted (md5 6e71954a6ee5d603b34e6234f1044694)
config.json architecture and patch settings
waloma/ model definition (pretrained_model.py, as submitted), patchify tokenizer, loader
finetuned/task_{1..5}.safetensors the submitted fine-tuned models for the five LWM 2025 Challenge tasks: the FineTuningWrapper state dict (adapted encoder model.* + task_head.*). Head definitions are in downstream/train_heads_config.py on GitHub.
results/submitted_scores.json per-task and composite scores

Usage

import sys, torch
from huggingface_hub import snapshot_download

path = snapshot_download("madim1827/WALoMA")
sys.path.insert(0, path)
from waloma import load_pretrained, patchify

model = load_pretrained(f"{path}/model.safetensors")
H = torch.randn(8, 32, 32, dtype=torch.complex64)            # (batch, N_ant, N_sub), complex
tokens, (n_ant_p, n_sub_p) = patchify(H, patch_rows=1, patch_cols=16)
with torch.no_grad():
    emb = model(tokens, N_ant_batch=n_ant_p, N_sub_batch=n_sub_p)    # (8, 64, 64)
  • Patch shape. Pretraining used 4Γ—4 patches. The paper's downstream results tokenize with 1Γ—16; the interpolated positional encoding handles the change of grid.
  • No [CLS] token. Downstream heads use the first patch embedding or all patch embeddings.
  • Input scale. The encoder was trained on raw DeepMIMO channel magnitudes, with mean |H| roughly 5–15 on the challenge tasks. Rescale channels that are on a very different scale.

Training data

Self-supervised pretraining used 24 DeepMIMO sub-6 GHz (3.5 GHz) scenarios: city_0 … city_19, asu_campus_3p5, o1_3p5, boston5G_3p5 and o1b_3p5. The setup was 75 % random patch masking, loss on the masked patches, AdamW (lr 5e-4, weight decay 0.05), 5 warmup epochs followed by cosine decay, and batch size 128. The released weights are the best-validation-reconstruction epoch (275).

Results

These are the scores on the public test split of Wi-Lab's LWM 2025 Challenge, with LoRA fine-tuning and the challenge's limited labelled data.

Task Metric Score
LoS/NLoS classification weighted F1 0.967
Sub-6 GHz β†’ mmWave beam prediction (64 beams) weighted top-1 F1 0.800
Channel interpolation 1 βˆ’ (NMSE dB + 20)/20 0.858 (βˆ’17.2 dB)
Channel estimation 1 βˆ’ (NMSE dB + 20)/20 0.996 (βˆ’19.9 dB)
Localization 1 βˆ’ error (m)/100 0.753 (24.7 m)
Composite mean 0.875

The script that reproduces these scores is in the GitHub repo (downstream/). It downloads the task data from Wi-Lab rather than redistributing it.

Limitations

  • Trained and evaluated only on ray-traced DeepMIMO channels, with no measured data.
  • Pretraining covered sub-6 GHz only.
  • GPU fine-tuning is not bit-for-bit deterministic, so reproduced scores can differ slightly, most of all on localization.

Citation

@misc{makin2026waloma,
  author       = {Madi Makin and Asmaa Abdallah and Abdulkadir Celik and Ahmed M. Eltawil},
  title        = {{WALoMA}: A Multitask Wireless Foundation Model via Adaptive Low-Rank Masked Autoencoders},
  howpublished = {arXiv preprint arXiv:2607.25763},
  year         = {2026}
}
Downloads last month
24
Safetensors
Model size
807k params
Tensor type
F32
Β·
Inference Providers NEW
This model isn't deployed by any Inference Provider. πŸ™‹ Ask for provider support

Paper for madim1827/WALoMA