SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2207.07859 · 2022

SenseFi: A Library and Benchmark on Deep-Learning-Empowered WiFi Human Sensing

arXiv · PDF · Open in the Atlas

Code that ran

10 of 12 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (0 of them constructed an object rather than computing a result; 0 honoured the contract we drafted, 0 violated it and 6 have no contract verdict; 4 failures of our instrument; 2 no recorded run), measured 2026-11-23; repository links from the Papers with Code archive attributed under CC BY-SA, no affiliation; bodies inline only under a permissive licence as GitHub detects it. Not a reproduction of the paper's results.

"Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results. This record, dated, as JSON: /api/ran/2207.07859.json · badge: /api/ran/2207.07859.svg

Each repository's role is a label: a classifier's output recorded on the link, or, where no role is recorded, what the Papers with Code archive marked. The line under it names its basis. Neither says who wrote the code.

RepositoryRoleRan
chenxinyan-sg/wifi-csi-sensing-benchmark canonical (classifier label)
classifier basis not recorded on the link
7 ran · 2 no recorded run
xyanchen/wifi-csi-sensing-benchmark canonical (classifier label)
classifier basis: classifier_2025
3 ran · 0 no recorded run
FunctionStatusWhere it lives
CE Ran
ran; our contract draft was wrong, not the code
xyanchen/wifi-csi-sensing-benchmark/self_supervised.py
code served (permissive licence) · get_code("a0acdeb9e2825a25")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1) and returned Tensor, ndim 0, dtype family float, shape () as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import torch.nn as nn

torch.manual_seed(0)

# Create small probability tensors
# probs1 and probs2 should be probability distributions (sum to 1 along dim 1)
# batch_size=2, num_classes=4
probs1 = torch.softmax(torch.randn(2, 4), dim=1)
probs2 = torch.softmax(torch.randn(2, 4), dim=1)

# Create a simple args object with EPS attribute
class Args:
    def __init__(self):
        self.EPS = 1e-8

args = Args()

ARGS = {
    "probs1": probs1,
    "probs2": probs2,
    "args": args
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Tensor, ndim 0, dtype family float, shape () — shape () as a later run recorded it
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
HE Ran
ran; our contract draft was wrong, not the code
xyanchen/wifi-csi-sensing-benchmark/self_supervised.py
code served (permissive licence) · get_code("e26feee877ab5632")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1) and returned Tensor, ndim 0, dtype family float, shape () as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import torch.nn as nn

torch.manual_seed(0)

# Create a small stand-in class for args
class Args:
    def __init__(self):
        self.EPS = 1e-8

# Create probs tensor: shape (batch_size=2, num_classes=4)
# This represents probability distributions
probs = torch.rand(2, 4)
probs = probs / probs.sum(dim=1, keepdim=True)  # normalize to valid probabilities

# Create args object
args = Args()

ARGS = {
    "probs": probs,
    "args": args
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Tensor, ndim 0, dtype family float, shape () — shape () as a later run recorded it
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
KL Ran
ran; our contract draft was wrong, not the code
xyanchen/wifi-csi-sensing-benchmark/self_supervised.py
code served (permissive licence) · get_code("001ba588bf8c63ea")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1) and returned Tensor, ndim 0, dtype family float, shape () as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import torch.nn as nn

torch.manual_seed(0)

# Create small probability tensors
# Shape: (batch_size=2, num_classes=4)
probs1 = torch.tensor([
    [0.4, 0.3, 0.2, 0.1],
    [0.25, 0.25, 0.25, 0.25]
], dtype=torch.float32)

probs2 = torch.tensor([
    [0.3, 0.3, 0.2, 0.2],
    [0.1, 0.2, 0.3, 0.4]
], dtype=torch.float32)

# Create a simple args object with EPS attribute
class Args:
    def __init__(self):
        self.EPS = 1e-8

args = Args()

ARGS = {
    "probs1": probs1,
    "probs2": probs2,
    "args": args
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Tensor, ndim 0, dtype family float, shape () — shape () as a later run recorded it
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
NTU_Fi_ResNet101 Ran
ran on a synthesized input
chenxinyan-sg/wifi-csi-sensing-benchmark/NTU_Fi_model.py
code served (permissive licence) · get_code("625e8924bc420441")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned NTU_Fi_ResNet. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import torch.nn as nn

torch.manual_seed(0)

# NTU_Fi_ResNet101 only takes num_classes as a parameter
ARGS = {
    "num_classes": 10
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type NTU_Fi_ResNet — a NTU_Fi_ResNet output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a NTU_Fi_ResNet output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
NTU_Fi_ResNet18 Ran
ran on a synthesized input
chenxinyan-sg/wifi-csi-sensing-benchmark/NTU_Fi_model.py
code served (permissive licence) · get_code("ca5bcbed71d06f79")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned NTU_Fi_ResNet. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import torch.nn as nn

torch.manual_seed(0)

ARGS = {
    "num_classes": 10
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type NTU_Fi_ResNet — a NTU_Fi_ResNet output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a NTU_Fi_ResNet output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
NTU_Fi_ResNet50 Ran
ran on a synthesized input
chenxinyan-sg/wifi-csi-sensing-benchmark/NTU_Fi_model.py
code served (permissive licence) · get_code("467d4122f383ec3c")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned NTU_Fi_ResNet. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import torch.nn as nn

torch.manual_seed(0)

# NTU_Fi_ResNet50 takes only one parameter: num_classes
ARGS = {
    "num_classes": 10
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type NTU_Fi_ResNet — a NTU_Fi_ResNet output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a NTU_Fi_ResNet output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
UT_HAR_dataset Ran
ran on a synthesized input
chenxinyan-sg/wifi-csi-sensing-benchmark/dataset.py
code served (permissive licence) · get_code("9be77b7f1abaf43b")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned dict. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import numpy as np
import torch
import tempfile
import os

torch.manual_seed(0)

# Create a temporary directory structure that mimics UT_HAR dataset layout
temp_dir = tempfile.mkdtemp()
ut_har_dir = os.path.join(temp_dir, 'UT_HAR')
data_dir = os.path.join(ut_har_dir, 'data')
label_dir = os.path.join(ut_har_dir, 'label')

os.makedirs(data_dir, exist_ok=True)
os.makedirs(label_dir, exist_ok=True)

# Create sample data files
# Data should be shaped (N, 250, 90) before reshaping in the function
sample_data_1 = np.random.rand(2, 250, 90).astype(np.float32)
sample_data_2 = np.random.rand(3, 250, 90).astype(np.float32)

data_file_1 = os.path.join(data_dir, 'data_sample_1.csv')
data_file_2 = os.path.join(data_dir, 'data_sample_2.csv')

np.save(data_file_1, sample_data_1)
np.save(data_file_2, sample_data_2)

# Create sample label files
sample_label_1 = np.array([0, 1, 2, 3, 4], dtype=np.int64)
sample_label_2 = np.array([1, 0], dtype=np.int64)

label_file_1 = os.path.join(label_dir, 'label_sample_1.csv')
label_file_2 = os.path.join(label_dir, 'label_sample_2.csv')

np.save(label_file_1, sample_label_1)
np.save(label_file_2, sample_label_2)

ARGS = {
    'root_dir': temp_dir
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type dict — a dict output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a dict output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
Widar_ResNet101 Ran
ran; our contract draft was wrong, not the code
chenxinyan-sg/wifi-csi-sensing-benchmark/widar_model.py
code served (permissive licence) · get_code("8f83eddd39e9e999")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned Widar_ResNet. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import torch.nn as nn

torch.manual_seed(0)

ARGS = {
    "num_classes": 10
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Widar_ResNet — a Widar_ResNet output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a Widar_ResNet output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
Widar_ResNet18 Ran
ran on a synthesized input
chenxinyan-sg/wifi-csi-sensing-benchmark/widar_model.py
code served (permissive licence) · get_code("9f6e7cbefae34494")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned Widar_ResNet. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import torch.nn as nn

torch.manual_seed(0)

ARGS = {
    "num_classes": 10
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Widar_ResNet — a Widar_ResNet output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a Widar_ResNet output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
Widar_ResNet50 Ran
ran on a synthesized input
chenxinyan-sg/wifi-csi-sensing-benchmark/widar_model.py
code served (permissive licence) · get_code("ac9e7149e89e92e5")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned Widar_ResNet. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import torch.nn as nn

torch.manual_seed(0)

# The function Widar_ResNet50 only takes num_classes as a parameter
ARGS = {
    "num_classes": 10
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Widar_ResNet — a Widar_ResNet output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a Widar_ResNet output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
load_data_n_model Not yet run
unverified (harvested, no recorded run)
chenxinyan-sg/wifi-csi-sensing-benchmark/util.py
code served (permissive licence) · get_code("bfc85e340b1c13ae")
How it ran

no invocation recorded.

load_unsupervised_data_n_model Not yet run
unverified (harvested, no recorded run)
chenxinyan-sg/wifi-csi-sensing-benchmark/util.py
code served (permissive licence) · get_code("8412d2a0d6416a03")
How it ran

no invocation recorded.

Also present in other papers' code

Of 12 samples lifted from this paper's linked repositories, 12 carry a function identity and 0 do not. Of the 12 distinct functions with an identity, 1 are also present in other papers whose code we hold (0 with at least one paper dated earlier, 0 the same month, 1 later) and 11 are only here among the 52,977 papers whose code Syntology holds (as of 2026-09-26).

Only here means: among the 52,977 papers whose code Syntology holds (51,887 with lifted samples, 1,090 through their assemblies only), as of 2026-09-26, no other paper's lifted samples or current assembly bricks contain an identical function body after normalisation.

FunctionAlso present inEarliest-datedOthers named
Widar_ResNet101 1 other paper
1 later
2310.00109 (2023-10)
FedAIoT: A Federated Learning Benchmark for Artificial Intelligence of Things

Presence, not direction: an identical function body in two papers' repositories does not say who wrote it, which came from which, or that either paper's method rests on it. Matching is exact after normalisation, so a renamed or edited function is not matched. Dates are when papers appeared, not when code was written. Only .py files the harvester lifted are covered; notebooks are not read. A new-style arXiv id YYMM.NNNN dates a paper to the month 20YY-MM; otherwise Paper.year dates it to the year; otherwise it is undated. Dates are when the paper appeared, not when the code was written. Read 2026-11-23.

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

Abstract

WiFi sensing has been evolving rapidly in recent years. Empowered by propagation models and deep learning methods, many challenging applications are realized such as WiFi-based human activity recognition and gesture recognition. However, in contrast to deep learning for visual recognition and natural language processing, no sufficiently comprehensive public benchmark exists. In this paper, we review the recent progress on deep learning enabled WiFi sensing, and then propose a benchmark, SenseFi, to study the effectiveness of various deep learning models for WiFi sensing. These advanced models are compared in terms of distinct sensing tasks, WiFi platforms, recognition accuracy, model size, computational complexity, feature transferability, and adaptability of unsupervised learning. It is also regarded as a tutorial for deep learning based WiFi sensing, starting from CSI hardware platform to sensing algorithms. The extensive experiments provide us with experiences in deep model design, learning strategy skills and training techniques for real-world applications. To the best of our knowledge, this is the first benchmark with an open-source library for deep learning in WiFi sensing research. The benchmark codes are available at https://github.com/xyanchen/WiFi-CSI-Sensing-Benchmark.

For agents

The same record, over MCP at https://syntology.ai/mcp:

get_harvested_code_for_paper("2207.07859")
get_code_for_paper("2207.07859")
have("2207.07859")

The run record, dated, one paper per request, free:

curl https://syntology.ai/api/ran/2207.07859.json

A badge for a README (the split and the date, never a ratio):

[![Syntology run record](https://syntology.ai/api/ran/2207.07859.svg)](https://syntology.ai/paper/2207.07859)

Connect an agent — have() is free.