Self-Attention based Traffic Anomaly Detection for Cloud Servers using Line Chart Patch Filling

preprint OA: closed
Full text JSON View at publisher

Abstract

Abstract With the rapid expansion of cloud servers in applications, detecting anomalies in network traffic accessing cloud servers has become a core concern of cloud server providers. Traditional anomaly detection methods suffer from low accuracy and inefficiency, thus failing to meet the demands. Meanwhile, deep learning techniques struggle with the issues of data imbalance. To address these challenges, we propose Line Chart Patch Filling assisted Self Attention (LCPF-SA) mode. LCPF-SA first transforms raw time series data into images by producing line chart, filling parts of the line chart with selected patterns. The images are then classified by using a multi-layer model that integrates Convolutional Neural Network (CNN) and Self-Attention (SA) mechanism. To facilitate the training and evaluation of network traffic anomaly detection algorithms, we construct a dedicated dataset and named HQUNetTraffic dataset. The performance of LCPF-SA is comparatively evaluated on our dataset and a public ElectricDevices dataset from UCR. Experiment results show that LCPF-SA outperforms existing anomaly detection techniques and exhibits greater robustness to data imbalance.
Full text 33,333 characters · extracted from preprint-html · click to expand
Self-Attention based Traffic Anomaly Detection for Cloud Servers using Line Chart Patch Filling | Research Square window.SnipcartSettings = { analytics: { enabled: false } }; (function() { var accessVector = localStorage.getItem('access_vector') || ''; window.dataLayer = window.dataLayer || []; if (accessVector) { window.dataLayer.push({ user: { profile: { profileInfo: { snid: accessVector } } } }); } })(); (function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src='https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);})(window,document,'script','dataLayer','GTM-K279D39R'); Browse Preprints In Review Journals COVID-19 Preprints AJE Video Bytes Research Tools Research Promotion AJE Professional Editing AJE Rubriq About Preprint Platform In Review Editorial Policies Our Team Advisory Board Help Center Sign In Submit a Preprint Cite Share Download PDF Research Article Self-Attention based Traffic Anomaly Detection for Cloud Servers using Line Chart Patch Filling Qingyu Gao, Zhenguo Gao, Yiqin Chen This is a preprint; it has not been peer reviewed by a journal. https://doi.org/ 10.21203/rs.3.rs-8153838/v1 This work is licensed under a CC BY 4.0 License Status: Posted Version 1 posted You are reading this latest preprint version Abstract With the rapid expansion of cloud servers in applications, detecting anomalies in network traffic accessing cloud servers has become a core concern of cloud server providers. Traditional anomaly detection methods suffer from low accuracy and inefficiency, thus failing to meet the demands. Meanwhile, deep learning techniques struggle with the issues of data imbalance. To address these challenges, we propose Line Chart Patch Filling assisted Self Attention (LCPF-SA) mode. LCPF-SA first transforms raw time series data into images by producing line chart, filling parts of the line chart with selected patterns. The images are then classified by using a multi-layer model that integrates Convolutional Neural Network (CNN) and Self-Attention (SA) mechanism. To facilitate the training and evaluation of network traffic anomaly detection algorithms, we construct a dedicated dataset and named HQUNetTraffic dataset. The performance of LCPF-SA is comparatively evaluated on our dataset and a public ElectricDevices dataset from UCR. Experiment results show that LCPF-SA outperforms existing anomaly detection techniques and exhibits greater robustness to data imbalance. Anomaly Detection Network Traffic Convolutional Neural Network Self-Attention Mechanism Line Chart Patch Filling Full Text Additional Declarations No competing interests reported. Cite Share Download PDF Status: Posted Version 1 posted You are reading this latest preprint version Research Square lets you share your work early, gain feedback from the community, and start making changes to your manuscript prior to peer review in a journal. As a division of Research Square Company, we’re committed to making research communication faster, fairer, and more useful. We do this by developing innovative software and high quality services for the global research community. Our growing team is made up of researchers and industry professionals working together to solve the most critical problems facing scientific publishing. Also discoverable on Platform About Our Team In Review Editorial Policies Advisory Board Help Center Resources Author Services Accessibility API Access RSS feed Manage Cookie Preferences © Research Square 2026 | ISSN 2693-5015 (online) Privacy Policy Terms of Service Do Not Sell My Personal Information {"props":{"pageProps":{"initialData":{"identity":"rs-8153838","acceptedTermsAndConditions":true,"allowDirectSubmit":true,"archivedVersions":[],"articleType":"Research Article","associatedPublications":[],"authors":[{"id":565522462,"identity":"7fc731d2-bea1-4aac-aae8-cd2a17c84804","order_by":0,"name":"Qingyu Gao","email":"","orcid":"","institution":"HuaQiao University","correspondingAuthor":false,"prefix":"","firstName":"Qingyu","middleName":"","lastName":"Gao","suffix":""},{"id":565522463,"identity":"3362bf82-4c7a-49c0-91bc-f2142d615d1d","order_by":1,"name":"Zhenguo Gao","email":"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAZAAAAAyAQMAAABI0h/eAAAABlBMVEX///8AAABVwtN+AAAACXBIWXMAAA7EAAAOxAGVKw4bAAAArElEQVRIiWNgGAWjYHACxscQOoF4LczGJGthkyZNi7z/8WvVBWWHGfjZcwwYfu4gQovhgTNlt2ecO8wg2fPGgLH3DDFaGnvSbvO2HWYwuJFjwMzYRoyWZp60YpAWe6K1yLOxH2MG2yJBrBYDHh5maZ5z6TwSZ54VHOwlypb+4w8/85RZy/G3J2988JMoWw7wGACjhoEHxDlAhAagLQ3sD0BaRsEoGAWjYBTgBgCdNDGgFm7h2QAAAABJRU5ErkJggg==","orcid":"","institution":"HuaQiao University","correspondingAuthor":true,"prefix":"","firstName":"Zhenguo","middleName":"","lastName":"Gao","suffix":""},{"id":565522464,"identity":"0e762701-9f7c-4783-a81f-2ca6d801302d","order_by":2,"name":"Yiqin Chen","email":"","orcid":"","institution":"HuaQiao University","correspondingAuthor":false,"prefix":"","firstName":"Yiqin","middleName":"","lastName":"Chen","suffix":""}],"badges":[],"createdAt":"2025-11-19 10:08:22","currentVersionCode":1,"declarations":"","doi":"10.21203/rs.3.rs-8153838/v1","doiUrl":"https://doi.org/10.21203/rs.3.rs-8153838/v1","draftVersion":[],"editorialEvents":[],"editorialNote":"","failedWorkflow":false,"files":[{"id":99130917,"identity":"53b37e97-69f0-42c4-8bc3-0e28b741d77d","added_by":"auto","created_at":"2025-12-29 04:26:28","extension":"json","order_by":0,"title":"","display":"","copyAsset":false,"role":"acdc-reference","size":4611,"visible":true,"origin":"","legend":"","description":"","filename":"8d8d1dea64c240d582526b1d628d3341.json","url":"https://assets-eu.researchsquare.com/files/rs-8153838/v1/6f0d1aad39322cc19daf5524.json"},{"id":99316452,"identity":"a1f38b32-79ba-4ad0-82c7-a3f75caaa15a","added_by":"auto","created_at":"2025-12-31 16:28:29","extension":"xml","order_by":1,"title":"","display":"","copyAsset":false,"role":"acdc-reference","size":104243,"visible":true,"origin":"","legend":"","description":"","filename":"8d8d1dea64c240d582526b1d628d33411enriched.xml","url":"https://assets-eu.researchsquare.com/files/rs-8153838/v1/375af405e03bea3e08663045.xml"},{"id":99130914,"identity":"93bbfb9c-db31-440f-85d3-84c6c03f32e4","added_by":"auto","created_at":"2025-12-29 04:26:27","extension":"png","order_by":2,"title":"","display":"","copyAsset":false,"role":"acdc-reference","size":269570,"visible":true,"origin":"","legend":"","description":"","filename":"ACC5class.png","url":"https://assets-eu.researchsquare.com/files/rs-8153838/v1/e94662849c3042cba86439a9.png"},{"id":99130920,"identity":"e2c2a3d1-92f0-4e7f-8706-a9925656e547","added_by":"auto","created_at":"2025-12-29 04:26:28","extension":"png","order_by":3,"title":"","display":"","copyAsset":false,"role":"acdc-reference","size":265534,"visible":true,"origin":"","legend":"","description":"","filename":"ACC6class.png","url":"https://assets-eu.researchsquare.com/files/rs-8153838/v1/c0b08ba8b135dc8ebf5e205d.png"},{"id":99130919,"identity":"c6d37558-8dad-41d3-aa4a-7bf3632cb3af","added_by":"auto","created_at":"2025-12-29 04:26:28","extension":"png","order_by":4,"title":"","display":"","copyAsset":false,"role":"acdc-reference","size":284395,"visible":true,"origin":"","legend":"","description":"","filename":"ACCALL.png","url":"https://assets-eu.researchsquare.com/files/rs-8153838/v1/debf2b620521e4d5db7710d6.png"},{"id":99314915,"identity":"0d2eb228-0673-4a44-94e9-4e6396bcbd5a","added_by":"auto","created_at":"2025-12-31 16:24:37","extension":"png","order_by":5,"title":"","display":"","copyAsset":false,"role":"acdc-reference","size":21767,"visible":true,"origin":"","legend":"","description":"","filename":"ACCimage.png","url":"https://assets-eu.researchsquare.com/files/rs-8153838/v1/3ef733544b24a1d9f9caa749.png"},{"id":99130916,"identity":"d519a031-11dc-4282-9712-d43112466c41","added_by":"auto","created_at":"2025-12-29 04:26:28","extension":"png","order_by":6,"title":"","display":"","copyAsset":false,"role":"acdc-reference","size":415707,"visible":true,"origin":"","legend":"","description":"","filename":"Differentimage.png","url":"https://assets-eu.researchsquare.com/files/rs-8153838/v1/beede9899341235e861c49c8.png"},{"id":99314708,"identity":"c06af797-44a1-4084-922f-e24365930894","added_by":"auto","created_at":"2025-12-31 16:22:32","extension":"png","order_by":7,"title":"","display":"","copyAsset":false,"role":"acdc-reference","size":4892,"visible":true,"origin":"","legend":"","description":"","filename":"ElectricDevicesclass1.png","url":"https://assets-eu.researchsquare.com/files/rs-8153838/v1/1371150f748eaa65dea3f7b1.png"},{"id":99130926,"identity":"ca135d4a-22fe-4fe1-b98a-ce22dbc4db25","added_by":"auto","created_at":"2025-12-29 04:26:28","extension":"png","order_by":8,"title":"","display":"","copyAsset":false,"role":"acdc-reference","size":30622,"visible":true,"origin":"","legend":"","description":"","filename":"ElectricDevicesclass2.png","url":"https://assets-eu.researchsquare.com/files/rs-8153838/v1/64d770d72611acc5d1c7e21f.png"},{"id":99130937,"identity":"f559750d-b4a5-4544-8b7f-e9966b167bc5","added_by":"auto","created_at":"2025-12-29 04:26:28","extension":"png","order_by":9,"title":"","display":"","copyAsset":false,"role":"acdc-reference","size":4685,"visible":true,"origin":"","legend":"","description":"","filename":"ElectricDevicesclass3.png","url":"https://assets-eu.researchsquare.com/files/rs-8153838/v1/843ffccd070e8f79d60f000d.png"},{"id":99316025,"identity":"05f034c5-bae7-410a-8b33-c5354c1ae803","added_by":"auto","created_at":"2025-12-31 16:27:34","extension":"png","order_by":10,"title":"","display":"","copyAsset":false,"role":"acdc-reference","size":14095,"visible":true,"origin":"","legend":"","description":"","filename":"ElectricDevicesclass7.png","url":"https://assets-eu.researchsquare.com/files/rs-8153838/v1/e6af2e434f8a25bb3ed4bdc8.png"},{"id":99130922,"identity":"fc3baa97-2f99-498c-8fe9-34aa780a7749","added_by":"auto","created_at":"2025-12-29 04:26:28","extension":"png","order_by":11,"title":"","display":"","copyAsset":false,"role":"acdc-reference","size":1625359,"visible":true,"origin":"","legend":"","description":"","filename":"LCPFSAstructure.png","url":"https://assets-eu.researchsquare.com/files/rs-8153838/v1/76a3daef2eac96bd11d42606.png"},{"id":99130927,"identity":"a337e558-40a4-4768-90bb-d5497a9f62bc","added_by":"auto","created_at":"2025-12-29 04:26:28","extension":"png","order_by":12,"title":"","display":"","copyAsset":false,"role":"acdc-reference","size":1401844,"visible":true,"origin":"","legend":"","description":"","filename":"Modelclear.png","url":"https://assets-eu.researchsquare.com/files/rs-8153838/v1/e6cd479c77cd5f6ce7282314.png"},{"id":99316459,"identity":"a9775e36-d2f3-46e0-8d47-300810286e6f","added_by":"auto","created_at":"2025-12-31 16:28:29","extension":"png","order_by":13,"title":"","display":"","copyAsset":false,"role":"acdc-reference","size":228102,"visible":true,"origin":"","legend":"","description":"","filename":"Modellayer.png","url":"https://assets-eu.researchsquare.com/files/rs-8153838/v1/01afa6136e31eac9e7e97e7f.png"},{"id":99130935,"identity":"aa12cd92-9fca-4c56-888f-ea9fc2589628","added_by":"auto","created_at":"2025-12-29 04:26:28","extension":"png","order_by":14,"title":"","display":"","copyAsset":false,"role":"acdc-reference","size":148477,"visible":true,"origin":"","legend":"","description":"","filename":"Modelstructure.png","url":"https://assets-eu.researchsquare.com/files/rs-8153838/v1/61321c6a8b6e7d2178d9ddf9.png"},{"id":99314736,"identity":"09824bd8-297f-4fec-8d88-3d75796efc2f","added_by":"auto","created_at":"2025-12-31 16:22:49","extension":"png","order_by":15,"title":"","display":"","copyAsset":false,"role":"acdc-reference","size":143557,"visible":true,"origin":"","legend":"","description":"","filename":"ROC.png","url":"https://assets-eu.researchsquare.com/files/rs-8153838/v1/357d8a6258b5bfb77ebd43dc.png"},{"id":99130923,"identity":"880e019d-9ccf-4649-b02b-35c252159b14","added_by":"auto","created_at":"2025-12-29 04:26:28","extension":"png","order_by":16,"title":"","display":"","copyAsset":false,"role":"acdc-reference","size":117694,"visible":true,"origin":"","legend":"","description":"","filename":"ROC5Class.png","url":"https://assets-eu.researchsquare.com/files/rs-8153838/v1/01876dea89d69e96172fc3ac.png"},{"id":99314876,"identity":"0ab9570e-1150-49b1-beac-c1a935ae082c","added_by":"auto","created_at":"2025-12-31 16:24:20","extension":"png","order_by":17,"title":"","display":"","copyAsset":false,"role":"acdc-reference","size":123611,"visible":true,"origin":"","legend":"","description":"","filename":"ROC6Class.png","url":"https://assets-eu.researchsquare.com/files/rs-8153838/v1/a7acd8787afec10b1f8b7c79.png"},{"id":99130938,"identity":"23716d1e-3172-4b83-98f7-1cab12e6ea87","added_by":"auto","created_at":"2025-12-29 04:26:28","extension":"png","order_by":18,"title":"","display":"","copyAsset":false,"role":"acdc-reference","size":174139,"visible":true,"origin":"","legend":"","description":"","filename":"ROCALL.png","url":"https://assets-eu.researchsquare.com/files/rs-8153838/v1/179d391be0977e5c02f48939.png"},{"id":99130943,"identity":"aeaafaa3-00d6-4ca1-9ec1-e2760a78694c","added_by":"auto","created_at":"2025-12-29 04:26:28","extension":"png","order_by":19,"title":"","display":"","copyAsset":false,"role":"acdc-reference","size":77531,"visible":true,"origin":"","legend":"","description":"","filename":"ROCunbalance.png","url":"https://assets-eu.researchsquare.com/files/rs-8153838/v1/776a085cbdeae3ea3f34b455.png"},{"id":99316284,"identity":"042632f6-fbbf-4dea-afaa-64b74cbaf24f","added_by":"auto","created_at":"2025-12-31 16:28:06","extension":"png","order_by":20,"title":"","display":"","copyAsset":false,"role":"acdc-reference","size":70996,"visible":true,"origin":"","legend":"","description":"","filename":"ROCunbalance1.png","url":"https://assets-eu.researchsquare.com/files/rs-8153838/v1/f43b4adc00ac13c09a663a2e.png"},{"id":99130930,"identity":"f531dbc4-8a46-4e51-b694-f6e0c00b7fe8","added_by":"auto","created_at":"2025-12-29 04:26:28","extension":"png","order_by":21,"title":"","display":"","copyAsset":false,"role":"acdc-reference","size":475018,"visible":true,"origin":"","legend":"","description":"","filename":"SAWeight.png","url":"https://assets-eu.researchsquare.com/files/rs-8153838/v1/df3a56f2e103932f7358b406.png"},{"id":99130933,"identity":"58118e53-f2ca-414f-bc44-421a2bd8ee72","added_by":"auto","created_at":"2025-12-29 04:26:28","extension":"pdf","order_by":22,"title":"","display":"","copyAsset":false,"role":"acdc-reference","size":5500284,"visible":true,"origin":"","legend":"","description":"","filename":"SelfAttentionbasedTrafficAnomalyDetectionforCloudServersusingLineChartPatchFilling.pdf","url":"https://assets-eu.researchsquare.com/files/rs-8153838/v1/733fbf9cf0689bdf2dbf07fd.pdf"},{"id":99130928,"identity":"573a626b-54f0-46ce-b2e1-c251aba6e9fe","added_by":"auto","created_at":"2025-12-29 04:26:28","extension":"eps","order_by":23,"title":"","display":"","copyAsset":false,"role":"acdc-reference","size":670205,"visible":true,"origin":"","legend":"","description":"","filename":"authorcdj.eps","url":"https://assets-eu.researchsquare.com/files/rs-8153838/v1/1a79bcb4033e4e2ebe0dcbec.eps"},{"id":99314949,"identity":"dce14bd1-02f7-47bc-b01d-2b2da1714c99","added_by":"auto","created_at":"2025-12-31 16:25:05","extension":"jpg","order_by":24,"title":"","display":"","copyAsset":false,"role":"acdc-reference","size":17372,"visible":true,"origin":"","legend":"","description":"","filename":"authorfsh.jpg","url":"https://assets-eu.researchsquare.com/files/rs-8153838/v1/4e554ddc381d4a25af70e7f3.jpg"},{"id":99130939,"identity":"f3cd1412-8c6a-4f8e-81fe-3d9ecfb91e68","added_by":"auto","created_at":"2025-12-29 04:26:28","extension":"jpg","order_by":25,"title":"","display":"","copyAsset":false,"role":"acdc-reference","size":26541,"visible":true,"origin":"","legend":"","description":"","filename":"authorgqr.jpg","url":"https://assets-eu.researchsquare.com/files/rs-8153838/v1/c1244d9d9e22777d773d8317.jpg"},{"id":99130934,"identity":"f2c64772-a176-4d84-b8e6-932a030c2d91","added_by":"auto","created_at":"2025-12-29 04:26:28","extension":"jpg","order_by":26,"title":"","display":"","copyAsset":false,"role":"acdc-reference","size":88728,"visible":true,"origin":"","legend":"","description":"","filename":"authorgzg.jpg","url":"https://assets-eu.researchsquare.com/files/rs-8153838/v1/97fb7dd5e49db9c8ccdcd059.jpg"},{"id":99130932,"identity":"2fc8c7d6-ed23-4ed3-9437-6ecbbbd4d765","added_by":"auto","created_at":"2025-12-29 04:26:28","extension":"pdf","order_by":27,"title":"","display":"","copyAsset":false,"role":"acdc-reference","size":51355,"visible":true,"origin":"","legend":"","description":"","filename":"coverletter.pdf","url":"https://assets-eu.researchsquare.com/files/rs-8153838/v1/0a370dd9deeee8dc29b6004b.pdf"},{"id":99315510,"identity":"fbe8e82f-69e8-4560-bf3c-a75c5aa90693","added_by":"auto","created_at":"2025-12-31 16:27:01","extension":"png","order_by":28,"title":"","display":"","copyAsset":false,"role":"acdc-reference","size":22828,"visible":true,"origin":"","legend":"","description":"","filename":"example1.png","url":"https://assets-eu.researchsquare.com/files/rs-8153838/v1/0bec0f75db318043a509190f.png"},{"id":99130948,"identity":"cfa82b2c-47fa-418a-8464-ea838a42756a","added_by":"auto","created_at":"2025-12-29 04:26:29","extension":"png","order_by":29,"title":"","display":"","copyAsset":false,"role":"acdc-reference","size":18161,"visible":true,"origin":"","legend":"","description":"","filename":"example2.png","url":"https://assets-eu.researchsquare.com/files/rs-8153838/v1/67b8a12baa4c9834eae787fc.png"},{"id":99316326,"identity":"88984b4b-4a5f-45b6-8b60-fe13ca5ca7f4","added_by":"auto","created_at":"2025-12-31 16:28:15","extension":"png","order_by":30,"title":"","display":"","copyAsset":false,"role":"acdc-reference","size":21073,"visible":true,"origin":"","legend":"","description":"","filename":"example3.png","url":"https://assets-eu.researchsquare.com/files/rs-8153838/v1/a79b57f5a9dbc35ea9f86e9c.png"},{"id":99130951,"identity":"09c08d0c-f965-4b2f-87c7-bed79a249805","added_by":"auto","created_at":"2025-12-29 04:26:29","extension":"png","order_by":31,"title":"","display":"","copyAsset":false,"role":"acdc-reference","size":31220,"visible":true,"origin":"","legend":"","description":"","filename":"example4.png","url":"https://assets-eu.researchsquare.com/files/rs-8153838/v1/7860222ea48ebfc355e8a0b1.png"},{"id":99130961,"identity":"093c9953-ca7c-46a8-825b-ea385384b381","added_by":"auto","created_at":"2025-12-29 04:26:29","extension":"png","order_by":32,"title":"","display":"","copyAsset":false,"role":"acdc-reference","size":19357,"visible":true,"origin":"","legend":"","description":"","filename":"example5.png","url":"https://assets-eu.researchsquare.com/files/rs-8153838/v1/66b61b085c2986afc65f10ce.png"},{"id":99130947,"identity":"30631d53-edc5-4f71-8fdc-9d09b30ae333","added_by":"auto","created_at":"2025-12-29 04:26:28","extension":"png","order_by":33,"title":"","display":"","copyAsset":false,"role":"acdc-reference","size":7535,"visible":true,"origin":"","legend":"","description":"","filename":"example6.png","url":"https://assets-eu.researchsquare.com/files/rs-8153838/v1/04bba08bb7fb9a3152ef0212.png"},{"id":99314871,"identity":"d822d482-aba6-42fc-b842-810e565c2223","added_by":"auto","created_at":"2025-12-31 16:24:19","extension":"pdf","order_by":34,"title":"","display":"","copyAsset":false,"role":"acdc-reference","size":4596241,"visible":true,"origin":"","legend":"","description":"","filename":"snarticle.pdf","url":"https://assets-eu.researchsquare.com/files/rs-8153838/v1/27b6f0166d1f69729f57584b.pdf"},{"id":99130962,"identity":"28db8f18-1b17-4940-8d04-f430b6420f22","added_by":"auto","created_at":"2025-12-29 04:26:29","extension":"cls","order_by":35,"title":"","display":"","copyAsset":false,"role":"acdc-reference","size":55857,"visible":true,"origin":"","legend":"","description":"","filename":"snjnl.cls","url":"https://assets-eu.researchsquare.com/files/rs-8153838/v1/ce75f7d9f8bb55ebf1a12eb5.cls"},{"id":99130955,"identity":"ff507da7-2859-4f34-b42e-c1370cc3290b","added_by":"auto","created_at":"2025-12-29 04:26:29","extension":"bst","order_by":36,"title":"","display":"","copyAsset":false,"role":"acdc-reference","size":40758,"visible":true,"origin":"","legend":"","description":"","filename":"snvancouvernum.bst","url":"https://assets-eu.researchsquare.com/files/rs-8153838/v1/54e172a981f55c4d740da3ac.bst"},{"id":99130946,"identity":"1868def9-60b7-4129-b5a2-b963eb39f3be","added_by":"auto","created_at":"2025-12-29 04:26:28","extension":"png","order_by":38,"title":"","display":"","copyAsset":false,"role":"acdc-reference","size":236384,"visible":true,"origin":"","legend":"","description":"","filename":"OnlineACC6class.png","url":"https://assets-eu.researchsquare.com/files/rs-8153838/v1/804e0bdae78a6c96bbfccfee.png"},{"id":99130959,"identity":"f358601e-0456-4313-947f-e93292dc90a1","added_by":"auto","created_at":"2025-12-29 04:26:29","extension":"png","order_by":43,"title":"","display":"","copyAsset":false,"role":"acdc-reference","size":25594,"visible":true,"origin":"","legend":"","description":"","filename":"OnlineElectricDevicesclass2.png","url":"https://assets-eu.researchsquare.com/files/rs-8153838/v1/caae23a24ef3b5d98a2ed9da.png"},{"id":99130964,"identity":"2a1d319b-c3f2-4af5-9a93-bfa7c842b7a8","added_by":"auto","created_at":"2025-12-29 04:26:29","extension":"png","order_by":44,"title":"","display":"","copyAsset":false,"role":"acdc-reference","size":3688,"visible":true,"origin":"","legend":"","description":"","filename":"OnlineElectricDevicesclass3.png","url":"https://assets-eu.researchsquare.com/files/rs-8153838/v1/242642a4684dd326211e6a75.png"},{"id":99130957,"identity":"6c5125ea-3c29-4c71-97f1-716be7d14213","added_by":"auto","created_at":"2025-12-29 04:26:29","extension":"png","order_by":45,"title":"","display":"","copyAsset":false,"role":"acdc-reference","size":11983,"visible":true,"origin":"","legend":"","description":"","filename":"OnlineElectricDevicesclass7.png","url":"https://assets-eu.researchsquare.com/files/rs-8153838/v1/24330c894b5f8ee53fbccf8d.png"},{"id":99130953,"identity":"be30884c-c4d7-4151-8cef-9ef0d7b2af98","added_by":"auto","created_at":"2025-12-29 04:26:29","extension":"png","order_by":49,"title":"","display":"","copyAsset":false,"role":"acdc-reference","size":96921,"visible":true,"origin":"","legend":"","description":"","filename":"OnlineModelstructure.png","url":"https://assets-eu.researchsquare.com/files/rs-8153838/v1/5222e3a617522cc30f11f5df.png"},{"id":99130950,"identity":"b08d964d-128e-451e-8a7b-c12ed1af75cf","added_by":"auto","created_at":"2025-12-29 04:26:29","extension":"png","order_by":52,"title":"","display":"","copyAsset":false,"role":"acdc-reference","size":107860,"visible":true,"origin":"","legend":"","description":"","filename":"OnlineROC6Class.png","url":"https://assets-eu.researchsquare.com/files/rs-8153838/v1/c7baa98f4cfb27e048b09419.png"},{"id":99130967,"identity":"d4cabea8-3c20-4d05-afd2-701616e52637","added_by":"auto","created_at":"2025-12-29 04:26:29","extension":"png","order_by":53,"title":"","display":"","copyAsset":false,"role":"acdc-reference","size":154570,"visible":true,"origin":"","legend":"","description":"","filename":"OnlineROCALL.png","url":"https://assets-eu.researchsquare.com/files/rs-8153838/v1/54c78e14bf9674c30d6829c8.png"},{"id":99130936,"identity":"0a47951c-28f9-48c1-97a1-da4c4bf7e191","added_by":"auto","created_at":"2025-12-29 04:26:28","extension":"png","order_by":55,"title":"","display":"","copyAsset":false,"role":"acdc-reference","size":60601,"visible":true,"origin":"","legend":"","description":"","filename":"OnlineROCunbalance1.png","url":"https://assets-eu.researchsquare.com/files/rs-8153838/v1/b9c69496478533dc16ffe60d.png"},{"id":99130942,"identity":"fe1a4bd8-caa2-4e97-b350-d808b24a7c28","added_by":"auto","created_at":"2025-12-29 04:26:28","extension":"png","order_by":57,"title":"","display":"","copyAsset":false,"role":"acdc-reference","size":138328,"visible":true,"origin":"","legend":"","description":"","filename":"Onlineauthorfsh.png","url":"https://assets-eu.researchsquare.com/files/rs-8153838/v1/36d3c1f0632d3a7792333d20.png"},{"id":99130968,"identity":"5d883d3a-38ea-4cac-9117-73755f551728","added_by":"auto","created_at":"2025-12-29 04:26:29","extension":"png","order_by":58,"title":"","display":"","copyAsset":false,"role":"acdc-reference","size":89084,"visible":true,"origin":"","legend":"","description":"","filename":"Onlineauthorgqr.png","url":"https://assets-eu.researchsquare.com/files/rs-8153838/v1/9b21651b8425989909e21ded.png"},{"id":99315398,"identity":"1ac2a468-9dcf-45d3-9663-1acc139aeee7","added_by":"auto","created_at":"2025-12-31 16:26:53","extension":"png","order_by":59,"title":"","display":"","copyAsset":false,"role":"acdc-reference","size":358010,"visible":true,"origin":"","legend":"","description":"","filename":"Onlineauthorgzg.png","url":"https://assets-eu.researchsquare.com/files/rs-8153838/v1/c8a9d0dc8fe95900d77eb5ee.png"},{"id":99314583,"identity":"9fac6c69-1900-4a65-a3f9-ce3d4bcda463","added_by":"auto","created_at":"2025-12-31 16:21:55","extension":"png","order_by":61,"title":"","display":"","copyAsset":false,"role":"acdc-reference","size":15840,"visible":true,"origin":"","legend":"","description":"","filename":"Onlineexample2.png","url":"https://assets-eu.researchsquare.com/files/rs-8153838/v1/79cc87e380dfb14278215846.png"},{"id":99316395,"identity":"8619f237-2493-4145-97dc-41f49c529bb9","added_by":"auto","created_at":"2025-12-31 16:28:23","extension":"png","order_by":62,"title":"","display":"","copyAsset":false,"role":"acdc-reference","size":18391,"visible":true,"origin":"","legend":"","description":"","filename":"Onlineexample3.png","url":"https://assets-eu.researchsquare.com/files/rs-8153838/v1/648be484eebe6c62910fc723.png"},{"id":99130958,"identity":"5049c483-26e6-4993-98f1-ea4da43c15e1","added_by":"auto","created_at":"2025-12-29 04:26:29","extension":"png","order_by":63,"title":"","display":"","copyAsset":false,"role":"acdc-reference","size":27510,"visible":true,"origin":"","legend":"","description":"","filename":"Onlineexample4.png","url":"https://assets-eu.researchsquare.com/files/rs-8153838/v1/d266118222f246be41bbabac.png"},{"id":99130956,"identity":"5447ba56-614f-4f06-bdec-f4f99b4714b3","added_by":"auto","created_at":"2025-12-29 04:26:29","extension":"png","order_by":64,"title":"","display":"","copyAsset":false,"role":"acdc-reference","size":16874,"visible":true,"origin":"","legend":"","description":"","filename":"Onlineexample5.png","url":"https://assets-eu.researchsquare.com/files/rs-8153838/v1/bf3af6adb990e1ea0b8a948b.png"},{"id":99130944,"identity":"6e4faf62-1b6a-41ba-b353-7277d0fd9425","added_by":"auto","created_at":"2025-12-29 04:26:28","extension":"png","order_by":65,"title":"","display":"","copyAsset":false,"role":"acdc-reference","size":6249,"visible":true,"origin":"","legend":"","description":"","filename":"Onlineexample6.png","url":"https://assets-eu.researchsquare.com/files/rs-8153838/v1/f79f925f5eafd35797d83939.png"},{"id":99315527,"identity":"2e441eff-3110-4db3-9bee-dc5df675d857","added_by":"auto","created_at":"2025-12-31 16:27:02","extension":"xml","order_by":66,"title":"","display":"","copyAsset":false,"role":"acdc-reference","size":111961,"visible":true,"origin":"","legend":"","description":"","filename":"8d8d1dea64c240d582526b1d628d33411structuring.xml","url":"https://assets-eu.researchsquare.com/files/rs-8153838/v1/b75a1b9717ddadee1ddd76c0.xml"},{"id":99315423,"identity":"f88a8217-3013-446e-819d-a9b61d595375","added_by":"auto","created_at":"2025-12-31 16:26:55","extension":"html","order_by":67,"title":"","display":"","copyAsset":false,"role":"acdc-reference","size":128128,"visible":true,"origin":"","legend":"","description":"","filename":"earlyproof.html","url":"https://assets-eu.researchsquare.com/files/rs-8153838/v1/58b3f2a7ca4608a066e5c1ff.html"},{"id":108977739,"identity":"3e048505-4fe4-49f3-b3f6-e83af90ee0c0","added_by":"auto","created_at":"2026-05-11 11:32:45","extension":"pdf","order_by":1,"title":"","display":"","copyAsset":false,"role":"manuscript-pdf","size":3244091,"visible":true,"origin":"","legend":"","description":"","filename":"SelfAttentionbasedTrafficAnomalyDetectionforCloudServersusingLineChartPatchFilling.pdf","url":"https://assets-eu.researchsquare.com/files/rs-8153838/v1_covered_02f8ed2e-eb8b-42f1-a802-246039aa6ccd.pdf"}],"financialInterests":"No competing interests reported.","formattedTitle":"Self-Attention based Traffic Anomaly Detection for Cloud Servers using Line Chart Patch Filling","fulltext":[],"fulltextSource":"","fullText":"","funders":[],"hasAdminPriorityOnWorkflow":false,"hasManuscriptDocX":false,"hasOptedInToPreprint":true,"hasPassedJournalQc":"","hasAnyPriority":false,"hideJournal":true,"highlight":"","institution":"","isAcceptedByJournal":false,"isAuthorSuppliedPdf":true,"isDeskRejected":"","isHiddenFromSearch":false,"isInQc":false,"isInWorkflow":false,"isPdf":true,"isPdfUpToDate":true,"isWithdrawnOrRetracted":false,"journal":{"display":true,"email":"[email protected]","identity":"researchsquare","isNatureJournal":false,"hasQc":true,"allowDirectSubmit":true,"externalIdentity":"","sideBox":"","snPcode":"","submissionUrl":"/submission","title":"Research Square","twitterHandle":"researchsquare","acdcEnabled":true,"dfaEnabled":false,"editorialSystem":"","reportingPortfolio":"","inReviewEnabled":false,"inReviewRevisionsEnabled":true},"keywords":"Anomaly Detection, Network Traffic, Convolutional Neural Network, Self-Attention Mechanism, Line Chart Patch Filling","lastPublishedDoi":"10.21203/rs.3.rs-8153838/v1","lastPublishedDoiUrl":"https://doi.org/10.21203/rs.3.rs-8153838/v1","license":{"name":"CC BY 4.0","url":"https://creativecommons.org/licenses/by/4.0/"},"manuscriptAbstract":"\u003cp\u003eWith the rapid expansion of cloud servers in applications, detecting anomalies in network traffic accessing cloud servers has become a core concern of cloud server providers. Traditional anomaly detection methods suffer from low accuracy and inefficiency, thus failing to meet the demands. Meanwhile, deep learning techniques struggle with the issues of data imbalance. To address these challenges, we propose Line Chart Patch Filling assisted Self Attention (LCPF-SA) mode. LCPF-SA first transforms raw time series data into images by producing line chart, filling parts of the line chart with selected patterns. The images are then classified by using a multi-layer model that integrates Convolutional Neural Network (CNN) and Self-Attention (SA) mechanism. To facilitate the training and evaluation of network traffic anomaly detection algorithms, we construct a dedicated dataset and named HQUNetTraffic dataset. The performance of LCPF-SA is comparatively evaluated on our dataset and a public ElectricDevices dataset from UCR. Experiment results show that LCPF-SA outperforms existing anomaly detection techniques and exhibits greater robustness to data imbalance.\u003c/p\u003e","manuscriptTitle":"Self-Attention based Traffic Anomaly Detection for Cloud Servers using Line Chart Patch Filling","msid":"","msnumber":"","nonDraftVersions":[{"code":1,"date":"2025-12-29 04:26:22","doi":"10.21203/rs.3.rs-8153838/v1","editorialEvents":[{"type":"communityComments","content":0}],"status":"published","journal":{"display":true,"email":"[email protected]","identity":"researchsquare","isNatureJournal":false,"hasQc":true,"allowDirectSubmit":true,"externalIdentity":"","sideBox":"","snPcode":"","submissionUrl":"/submission","title":"Research Square","twitterHandle":"researchsquare","acdcEnabled":true,"dfaEnabled":false,"editorialSystem":"","reportingPortfolio":"","inReviewEnabled":false,"inReviewRevisionsEnabled":true}}],"origin":"","ownerIdentity":"2c32f777-1593-42ac-a4a7-27478dc47eab","owner":[],"postedDate":"December 29th, 2025","published":true,"recentEditorialEvents":[{"type":"decision","content":"Rejected","date":"2026-05-10T23:13:25+00:00","index":"","fulltext":""},{"type":"editorInvitedReview","content":"","date":"2026-05-10T10:55:27+00:00","index":43,"fulltext":""},{"type":"editorInvitedReview","content":"","date":"2026-05-04T17:10:55+00:00","index":42,"fulltext":""},{"type":"reviewerAgreed","content":"116939290605644926165983044655272418556","date":"2026-05-04T16:30:11+00:00","index":41,"fulltext":""},{"type":"reviewerAgreed","content":"284561110787178924007820250965129746458","date":"2026-05-03T19:32:55+00:00","index":39,"fulltext":""}],"rejectedJournal":[],"revision":"","amendment":"","status":"posted","subjectAreas":[],"tags":[],"updatedAt":"2026-05-10T23:24:30+00:00","versionOfRecord":[],"versionCreatedAt":"2025-12-29 04:26:22","video":"","vorDoi":"","vorDoiUrl":"","workflowStages":[]},"version":"v1","identity":"rs-8153838","journalConfig":"researchsquare"},"__N_SSP":true},"page":"/article/[identity]/[[...version]]","query":{"redirect":"/article/rs-8153838","identity":"rs-8153838","version":["v1"]},"buildId":"8U1c8b4HqxoKbykW_rLl7","isFallback":false,"isExperimentalCompile":false,"dynamicIds":[84888],"gssp":true,"scriptLoader":[]}

Text is read by the "Ask this paper" AI Q&A widget below. Extraction quality varies by source — PMC NXML preserves structure cleanly, OA-HTML may include some navigation residue, and OA-PDF can have broken hyphenation. The publisher copy (via DOI) is the canonical version.

My notes (saved in your browser only)

Ask this paper AI returns verbatim quotes from the full text · source: preprint-html

Answers must be backed by verbatim quotes from this paper's full text. Hallucinated quotes are dropped automatically; if no verbatim passage answers the question, we say so. How this works

Citation neighborhood (no data yet)

We don't have any in-corpus citations linked to this paper yet. This is a recent paper (2025) — citers typically take a year or two to land, and the OpenAlex reference graph may still be filling in.

Source provenance

europepmc
last seen: 2026-05-20T01:45:00.602351+00:00