A generative adversarial network algorithm for inferring age attributes in subway based on AFC and POI data | 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 A generative adversarial network algorithm for inferring age attributes in subway based on AFC and POI data Xinyue Xu, Anzhong Zhang, Jun Liu, Yuankai Wu, Linqiao Qin, Ziyang Ye, and 1 more This is a preprint; it has not been peer reviewed by a journal. https://doi.org/ 10.21203/rs.3.rs-4566800/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 Understanding the socioeconomic characteristics of passengers is crucial for intelligent services for subway systems. Nevertheless, obtaining such information poses challenges, especially sensitive attributes such as age, due to heightened considerations for data privacy. To address this challenge, we explore the correlation between travel features and age from both macro and micro perspectives and propose an improved Generative Adversarial Network (GAN) for age inference in subway contexts. In the macro level, we extract statistical features from Automatic Fare Collection data and novel features from Points of Interest data. The novel features allow us to examine the relationship between built environment and age. In the micro level, we introduce a comprehensive travel chain, considering the dynamic evolution of passenger trips during multiple days. To address the sample imbalance across age groups, we propose an improved GAN-based framework to infer the age attribute. Our framework incorporates Inner Product to capture interdependency among macro features and employs a Transformer-based module to extract sequential and spatiotemporal features within micro-level travel chains. Finally, the framework is validated using a case study of Guangzhou subway. The results indicate the superiority of our model over baseline approaches like Random Forest, Bayesian Networks, and Variational Autoencoders, showcasing accuracy improvements of 17.75%, 20.29%, and 16.10%, respectively. The use of Inner Product and Transformer-based modules enhances the predictive accuracy of the model. The utilization of travel chains proves to be effective in capturing travel features and improves the model’s accuracy in age inference. Furthermore, we delve into potential applications. Age inference macro features micro features trip chains generative adversarial networks 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-4566800","acceptedTermsAndConditions":true,"allowDirectSubmit":true,"archivedVersions":[],"articleType":"Research Article","associatedPublications":[],"authors":[{"id":313548413,"identity":"bda6450b-4e45-4530-9702-4e741022af4b","order_by":0,"name":"Xinyue Xu","email":"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAZAAAAAyAQMAAABI0h/eAAAABlBMVEX///8AAABVwtN+AAAACXBIWXMAAA7EAAAOxAGVKw4bAAAAuklEQVRIiWNgGAWjYHACxscMPGCGAdFamI0ZeAxI08ImDVVNpBaDGzlm1QUyfxIb2Ju3STDU3CGsRbLnjNntGTwGiQ08x8okGI49I6yFn73H7DYPSItEjpkEY8NhwlrYmHnMisFa5N8QqQVkCzPEFh4itUj2HCuWnsFjbNzGk1ZskXCMCC0GN5I3fi7skZPtZz+88caHGiK0MDBwGDAw9gA9BWInEKOBgYH9AQPDD+KUjoJRMApGwQgFAOrDMOZstTcFAAAAAElFTkSuQmCC","orcid":"","institution":"Beijing Jiaotong University","correspondingAuthor":true,"prefix":"","firstName":"Xinyue","middleName":"","lastName":"Xu","suffix":""},{"id":313548414,"identity":"b7ef79ad-d76c-4b17-bcbe-ce88112e9de5","order_by":1,"name":"Anzhong Zhang","email":"","orcid":"","institution":"Beijing Jiaotong University","correspondingAuthor":false,"prefix":"","firstName":"Anzhong","middleName":"","lastName":"Zhang","suffix":""},{"id":313548415,"identity":"b01590b7-488a-4f53-894f-5cbca538738f","order_by":2,"name":"Jun Liu","email":"","orcid":"","institution":"Beijing Jiaotong University","correspondingAuthor":false,"prefix":"","firstName":"Jun","middleName":"","lastName":"Liu","suffix":""},{"id":313548416,"identity":"e1992b28-fd96-43ab-853c-044e4c538251","order_by":3,"name":"Yuankai Wu","email":"","orcid":"","institution":"Sichuan University","correspondingAuthor":false,"prefix":"","firstName":"Yuankai","middleName":"","lastName":"Wu","suffix":""},{"id":313548417,"identity":"89173be1-f308-41a5-8982-851f751395aa","order_by":4,"name":"Linqiao Qin","email":"","orcid":"","institution":"Rivian Automotive, Inc","correspondingAuthor":false,"prefix":"","firstName":"Linqiao","middleName":"","lastName":"Qin","suffix":""},{"id":313548418,"identity":"e7f2cda6-6821-499f-84a8-da51ba2e3ed3","order_by":5,"name":"Ziyang Ye","email":"","orcid":"","institution":"Beijing Jiaotong University","correspondingAuthor":false,"prefix":"","firstName":"Ziyang","middleName":"","lastName":"Ye","suffix":""},{"id":313548419,"identity":"b7de4090-1ecf-4a14-9c64-cf054d365525","order_by":6,"name":"WenWen Xu","email":"","orcid":"","institution":"China Development Bank Shanghai Branch,China","correspondingAuthor":false,"prefix":"","firstName":"WenWen","middleName":"","lastName":"Xu","suffix":""}],"badges":[],"createdAt":"2024-06-12 01:53:08","currentVersionCode":1,"declarations":"","doi":"10.21203/rs.3.rs-4566800/v1","doiUrl":"https://doi.org/10.21203/rs.3.rs-4566800/v1","draftVersion":[],"editorialEvents":[],"editorialNote":"","failedWorkflow":false,"files":[{"id":60335501,"identity":"4af55b3c-9185-496b-9804-060327d1fb5a","added_by":"auto","created_at":"2024-07-15 17:14:09","extension":"pdf","order_by":1,"title":"","display":"","copyAsset":false,"role":"manuscript-pdf","size":1195114,"visible":true,"origin":"","legend":"","description":"","filename":"manuscript.pdf","url":"https://assets-eu.researchsquare.com/files/rs-4566800/v1_covered_0070bf99-5a4e-4b2f-ac75-51ff42eb329e.pdf"}],"financialInterests":"No competing interests reported.","formattedTitle":"A generative adversarial network algorithm for inferring age attributes in subway based on AFC and POI data","fulltext":[],"fulltextSource":"","fullText":"","funders":[],"hasAdminPriorityOnWorkflow":false,"hasManuscriptDocX":false,"hasOptedInToPreprint":true,"hasPassedJournalQc":"","hasAnyPriority":true,"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":"Age inference, macro features, micro features, trip chains, generative adversarial networks","lastPublishedDoi":"10.21203/rs.3.rs-4566800/v1","lastPublishedDoiUrl":"https://doi.org/10.21203/rs.3.rs-4566800/v1","license":{"name":"CC BY 4.0","url":"https://creativecommons.org/licenses/by/4.0/"},"manuscriptAbstract":"\u003cp\u003eUnderstanding the socioeconomic characteristics of passengers is crucial for intelligent services for subway systems. Nevertheless, obtaining such information poses challenges, especially sensitive attributes such as age, due to heightened considerations for data privacy. To address this challenge, we explore the correlation between travel features and age from both macro and micro perspectives and propose an improved Generative Adversarial Network (GAN) for age inference in subway contexts. In the macro level, we extract statistical features from Automatic Fare Collection data and novel features from Points of Interest data. The novel features allow us to examine the relationship between built environment and age. In the micro level, we introduce a comprehensive travel chain, considering the dynamic evolution of passenger trips during multiple days. To address the sample imbalance across age groups, we propose an improved GAN-based framework to infer the age attribute. Our framework incorporates Inner Product to capture interdependency among macro features and employs a Transformer-based module to extract sequential and spatiotemporal features within micro-level travel chains. Finally, the framework is validated using a case study of Guangzhou subway. The results indicate the superiority of our model over baseline approaches like Random Forest, Bayesian Networks, and Variational Autoencoders, showcasing accuracy improvements of 17.75%, 20.29%, and 16.10%, respectively. The use of Inner Product and Transformer-based modules enhances the predictive accuracy of the model. The utilization of travel chains proves to be effective in capturing travel features and improves the model\u0026rsquo;s accuracy in age inference. Furthermore, we delve into potential applications.\u003c/p\u003e","manuscriptTitle":"A generative adversarial network algorithm for inferring age attributes in subway based on AFC and POI data","msid":"","msnumber":"","nonDraftVersions":[{"code":1,"date":"2024-07-10 15:13:00","doi":"10.21203/rs.3.rs-4566800/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":"e4e097a0-c427-4780-97ae-df3969e8b548","owner":[],"postedDate":"July 10th, 2024","published":true,"recentEditorialEvents":[],"rejectedJournal":[],"revision":"","amendment":"","status":"posted","subjectAreas":[],"tags":[],"updatedAt":"2024-07-15T17:05:58+00:00","versionOfRecord":[],"versionCreatedAt":"2024-07-10 15:13:00","video":"","vorDoi":"","vorDoiUrl":"","workflowStages":[]},"version":"v1","identity":"rs-4566800","journalConfig":"researchsquare"},"__N_SSP":true},"page":"/article/[identity]/[[...version]]","query":{"redirect":"/article/rs-4566800","identity":"rs-4566800","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.