SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · aaai_28484 · AAAI · 2024

FoSp: Focus and Separation Network for Early Smoke Segmentation

Lujian Yao, Haitao Zhao, Jingchao Peng, Zhongze Wang, Kaijie Zhao

Open in the Atlas

Code that ran

2 of 3 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 1 has no contract verdict; 1 failure of our instrument; 1 no recorded run), measured 2026-11-22; 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/aaai_28484.json · badge: /api/ran/aaai_28484.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
LujianYao/FoSp canonical (classifier label)
classifier basis: census
2 ran · 1 no recorded run
FunctionStatusWhere it lives
feature2token Ran
ran on a synthesized input
LujianYao/FoSp/inpainter_setting/networks/inpainter.py
code served (permissive licence) · get_code("7831601a1f93f0b6")
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 Tensor, ndim 3, dtype family float, shape (2, 15, 4) 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

torch.manual_seed(0)

# The function takes a tensor x with shape (B, C, H, W)
# and reshapes it to (B, H*W, C)
# We need to construct a 4D tensor with distinct dimensions

x = torch.randn(2, 4, 3, 5)  # B=2, C=4, H=3, W=5

ARGS = {
    'x': x
}
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 Tensor, ndim 3, dtype family float, shape (2, 15, 4) — shape (2, 15, 4) 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
token2feature Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
LujianYao/FoSp/inpainter_setting/networks/inpainter.py
pointer only (licence: MIT); the stored copy get_code serves, from daidaijr/EAMamba, is pointer only (licence: NONE) · get_code("e9a442dad357d4a7")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (MIT), but get_code serves the stored copy, first harvested from daidaijr/EAMamba, and GitHub detected no licence in that repository when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

get_plugin Not yet run
unverified (harvested, no recorded run)
LujianYao/FoSp/inpainter_setting/torch_utils/custom_ops.py
pointer only (licence: MIT); the stored copy get_code serves, from junoh-kang/ogdm_edm, is pointer only (licence: NOASSERTION) · get_code("3d012987836d459c")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (MIT), but get_code serves the stored copy, first harvested from junoh-kang/ogdm_edm, and GitHub could not classify the licence of that repository (NOASSERTION). The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

Also present in other papers' code

Of 3 samples lifted from this paper's linked repositories, 3 carry a function identity and 0 do not. Of the 3 distinct functions with an identity, 3 are also present in other papers whose code we hold (3 with at least one paper dated earlier, 0 the same month, 1 later) and 0 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
get_plugin 2 other papers
2 dated earlier
2201.13019 (2022-01)
On the Robustness of Quality Measures for GANs
2310.04041 (2023-10)
Observation-Guided Diffusion Probabilistic Models
token2feature 2 other papers
1 dated earlier, 1 later
2210.05950 (2022-10)
ZITS++: Image Inpainting by Improving the Incremental Transformer on Structural Priors
2506.22246 (2025-06)
EAMamba: Efficient All-Around Vision State Space Model for Image Restoration
feature2token 1 other paper
1 dated earlier
2210.05950 (2022-10)
ZITS++: Image Inpainting by Improving the Incremental Transformer on Structural Priors

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-22.

Repositories linked to this paper

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

Abstract

Early smoke segmentation (ESS) enables the accurate identification of smoke sources, facilitating the prompt extinguishing of fires and preventing large-scale gas leaks. But ESS poses greater challenges than the conventional object and regular smoke segmentation due to its small scale and transparent appearance, which can result in high miss detection rate and low precision. To address these issues, a Focus and Separation Network (FoSp) is proposed. We first introduce a focus module employing bidirectional cascade which guides low-resolution and high-resolution features towards mid-resolution to locate and determine the scope of smoke, reducing the miss detection rate. Next, we propose a separation module that separates smoke images into a pure smoke foreground and a smoke-free background, enhancing the contrast between smoke and background fundamentally, and improving segmentation precision. Finally, a domain fusion module is developed to integrate the distinctive features of the two modules which can balance recall and precision to achieve high F β . Furthermore, to promote the development of ESS, we introduce a highquality real-world dataset called SmokeSeg, which contains more small and transparent smoke images than the existing datasets. Experimental results show that our model achieves the best performance on three available smoke segmentation datasets: SYN70K (mIoU : 83.00%), SMOKE5K (F β : 81.6%) and SmokeSeg (F β : 72.05%). The code can be found at https://github.com/LujianYao/FoSp.

For agents

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

get_harvested_code_for_paper("aaai_28484")
get_code_for_paper("aaai_28484")
have("aaai_28484")

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

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

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

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

Connect an agent — have() is free.