IDEAS home Printed from https://ideas.repec.org/a/plo/pone00/0359959.html

HSCM-Lane: A ResNet-based encoder-decoder architecture with multi-level shifted-window context modeling for pixel-wise lane segmentation

Author

Listed:
  • Quang Toai Ton
  • Thanh Hien Vu
  • Thanh Nguyen Vu
  • Tuong Le

Abstract

Pixel-wise lane segmentation provides dense geometric cues for lane keeping, road-structure inference, and local trajectory planning in advanced driver-assistance systems and autonomous vehicles. The objective is to improve binary lane-mask segmentation under sparse, thin, low-contrast, occluded, and discontinuous lane-marking conditions while retaining a compact real-time configuration. To this end, we propose HSCM-Lane, a ResNet-based encoder-decoder architecture enhanced by a Hierarchical Swin Context Module (HSCM). HSCM organizes shifted-window context modeling at the 1/4, 1/8, and 1/16 encoder feature levels, so that context-enhanced features are propagated through subsequent residual stages and reused by a lightweight decoder with projected static-sum fusion. For backbone-capacity analysis, the architecture is evaluated as HSCM-Lane-S (Small, ResNet18), HSCM-Lane-M (Medium, ResNet34), and HSCM-Lane-L (Large, ResNet50). These configurations differ only in the ResNet backbone, while the HSCM placement, window size, depth, projected static-sum fusion strategy, and Focal-Tversky objective are kept fixed. On the BDD100K validation set, HSCM-Lane-S achieves 34.44% lane-class intersection over union (IoU), 65.00% lane recall, and 82.12% balanced accuracy, compared with 33.00%, 62.48%, and 80.38% for the no-HSCM counterpart. Relative to the no-HSCM counterpart, these values represent gains of 1.44 percentage points in lane IoU, 2.52 points in lane recall, and 1.74 points in balanced accuracy. The lane-IoU gain corresponds to a 4.36% relative improvement. Scaling the backbone yields 34.86% lane IoU for HSCM-Lane-M and 34.98% lane IoU for HSCM-Lane-L, showing a gradual quality-cost trade-off. Under a derived pixel-level out-of-domain evaluation protocol on TuSimple, HSCM-Lane-S, HSCM-Lane-M, and HSCM-Lane-L achieve 27.2%, 27.6%, and 27.6% lane IoU, respectively, without target-domain fine-tuning. These results indicate that multi-level shifted-window context modeling improves the no-HSCM counterpart and yields competitive lane-mask segmentation results under these protocols. Future work will address temporal, instance-level, multimodal, planning, and safety validation.

Suggested Citation

  • Quang Toai Ton & Thanh Hien Vu & Thanh Nguyen Vu & Tuong Le, 2026. "HSCM-Lane: A ResNet-based encoder-decoder architecture with multi-level shifted-window context modeling for pixel-wise lane segmentation," PLOS ONE, Public Library of Science, vol. 21(10), pages 1-29, October.
  • Handle: RePEc:plo:pone00:0359959
    DOI: 10.1371/journal.pone.0359959
    as

    Download full text from publisher

    File URL: https://journals.plos.org/plosone/article?id=10.1371/journal.pone.0359959
    Download Restriction: no

    File URL: https://journals.plos.org/plosone/article/file?id=10.1371/journal.pone.0359959&type=printable
    Download Restriction: no

    File URL: https://libkey.io/10.1371/journal.pone.0359959?utm_source=ideas
    LibKey link: if access is restricted and if your library uses this service, LibKey will redirect you to where you can use your library subscription to access this item
    ---><---

    More about this item

    Statistics

    Access and download statistics

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:plo:pone00:0359959. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    We have no bibliographic references for this item. You can help adding them by using this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: plosone (email available below). General contact details of provider: https://journals.plos.org/plosone/ .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.