Artificial neural network-based automatic detection of food intake via heart rate variability signal

preprint OA: closed
Full text JSON View at publisher
Full text 12,074 characters · extracted from preprint-html · click to expand
Artificial neural network-based automatic detection of food intake via heart rate variability signal | 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 Article Artificial neural network-based automatic detection of food intake via heart rate variability signal M. Khawar Ali, Tong Zhou, Lei Guo, Qi Lin, Jiande DZ Chen This is a preprint; it has not been peer reviewed by a journal. https://doi.org/ 10.21203/rs.3.rs-3943447/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 Intestinal electrical stimulation (IES) and vagus nerve stimulation have been proposed for the treatment of obesity and diabetes. The treatment can be improved if the stimulations are applied immediately after the food intake. The purpose of this study was to develop and enhance the automated food intake detection system using dynamic analysis of heart rate variability via artificial neural network (ANN). The ECG signal was recorded from 34 healthy subjects for 20 min each during following four events: sitting silently, reading, watching emotional movie, intaking food. The HRV parameters were generated from the recorded ECG signal and used to train and test as well as to optimize the ANN for the detection of food intake event. The results of Leave One Subject Out-Leave One Out (LOSO-LOO) with linear, tanh and ReLU were compared in the first step. The best ANN was tested for optimization by removing the input HRV parameters with mutual information score of less than 0.01 and with a decreased number of neurons in the hidden layer. LOSO-LOO, Leave One Subject Out (LOSO), Support Vector Machine (SVM) and Random Forest (RF) algorithms were also compared to identify the best ANN for automatic detection of food intake. The results indicated that (i) tanh algorithm outperformed both the linear and ReLU algorithms. (ii) Removing the input features with low mutual information score (<0.01) increased the performance of the ANN. (iii) The performance of ANN improved further by decreasing the number of neurons in the hidden layer from 10 to 8. (iv) LOSO outperformed both SVM and RF methods. However, LOSO-LOO was even better than LOSO in terms of sensitivity. In conclusion, the ANN using LOSO-LOO with 8 neurons in the hidden layer and 11 HRV features can be used to effectively detect food intake and may be used in a real-time IES system for treating obesity and diabetes. Physical sciences/Engineering/Biomedical engineering Biological sciences/Biological techniques/Software 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-3943447","acceptedTermsAndConditions":true,"allowDirectSubmit":true,"archivedVersions":[],"articleType":"Article","associatedPublications":[],"authors":[{"id":287664739,"identity":"9b13d218-acd6-4a78-ac59-c3f6abfb81ed","order_by":0,"name":"M. Khawar Ali","email":"","orcid":"","institution":"University of Michigan School of Medicine","correspondingAuthor":false,"prefix":"","firstName":"M.","middleName":"Khawar","lastName":"Ali","suffix":""},{"id":287664740,"identity":"23b7d999-61b4-48d4-8bf7-21022746fb3a","order_by":1,"name":"Tong Zhou","email":"","orcid":"","institution":"Northeastern University","correspondingAuthor":false,"prefix":"","firstName":"Tong","middleName":"","lastName":"Zhou","suffix":""},{"id":287664741,"identity":"8f2c0615-da32-44cb-805a-86e17ccf6fa2","order_by":2,"name":"Lei Guo","email":"","orcid":"","institution":"Kinetic Inc","correspondingAuthor":false,"prefix":"","firstName":"Lei","middleName":"","lastName":"Guo","suffix":""},{"id":287664742,"identity":"ceaa4f46-2fc2-4c12-afb9-a7e140009a75","order_by":3,"name":"Qi Lin","email":"","orcid":"","institution":"Yinzhou People’s Hospital","correspondingAuthor":false,"prefix":"","firstName":"Qi","middleName":"","lastName":"Lin","suffix":""},{"id":287664743,"identity":"ad5327eb-c170-4e48-a31b-6cc239cb6af0","order_by":4,"name":"Jiande DZ Chen","email":"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAZAAAAAyAQMAAABI0h/eAAAABlBMVEX///8AAABVwtN+AAAACXBIWXMAAA7EAAAOxAGVKw4bAAAA6UlEQVRIiWNgGAWjYBAC/oaDDQwMbAxyQLYBEEtASTxA4gBEizHxWgwcQCQbQ2IDRAsDEVoYDzd+LiizSV/b3ryBmTfHQt6cgfngbR58WhgONkvPOJeWu+3MsQJm3m0Shjsb2JKtCWhpkOZtO5y77UaOAUhLgsEBHjNpQrb85m37n252/w1MC/83/FocDrYBbTmQYHaDB24LG14twEBus+Y5l2y47UxawcG5QL9sOMxmbDkHjxb+Gccf3+Yps5M3O35444O32+rkDY43P7zxBo8WoDUINoTJjE852JoGQipGwSgYBaNgxAMAWdhN1wwZttkAAAAASUVORK5CYII=","orcid":"","institution":"University of Michigan School of Medicine","correspondingAuthor":true,"prefix":"","firstName":"Jiande","middleName":"DZ","lastName":"Chen","suffix":""}],"badges":[],"createdAt":"2024-02-09 15:44:27","currentVersionCode":1,"declarations":"","doi":"10.21203/rs.3.rs-3943447/v1","doiUrl":"https://doi.org/10.21203/rs.3.rs-3943447/v1","draftVersion":[],"editorialEvents":[],"editorialNote":"","failedWorkflow":false,"files":[{"id":60552846,"identity":"714f480f-ab01-4b0f-bcb3-105a14a69569","added_by":"auto","created_at":"2024-07-18 05:44:13","extension":"pdf","order_by":1,"title":"","display":"","copyAsset":false,"role":"manuscript-pdf","size":658405,"visible":true,"origin":"","legend":"","description":"","filename":"ZhouAliANNHRVFoodIntakeBiomedicalEngineeringOnline.pdf","url":"https://assets-eu.researchsquare.com/files/rs-3943447/v1_covered_afceb646-eb97-487e-b443-0cafb16009be.pdf"}],"financialInterests":"No competing interests reported.","formattedTitle":"Artificial neural network-based automatic detection of food intake via heart rate variability signal","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":"","lastPublishedDoi":"10.21203/rs.3.rs-3943447/v1","lastPublishedDoiUrl":"https://doi.org/10.21203/rs.3.rs-3943447/v1","license":{"name":"CC BY 4.0","url":"https://creativecommons.org/licenses/by/4.0/"},"manuscriptAbstract":"Intestinal electrical stimulation (IES) and vagus nerve stimulation have been proposed for the treatment of obesity and diabetes. The treatment can be improved if the stimulations are applied immediately after the food intake. The purpose of this study was to develop and enhance the automated food intake detection system using dynamic analysis of heart rate variability via artificial neural network (ANN). The ECG signal was recorded from 34 healthy subjects for 20 min each during following four events: sitting silently, reading, watching emotional movie, intaking food. The HRV parameters were generated from the recorded ECG signal and used to train and test as well as to optimize the ANN for the detection of food intake event. The results of Leave One Subject Out-Leave One Out (LOSO-LOO) with linear, tanh and ReLU were compared in the first step. The best ANN was tested for optimization by removing the input HRV parameters with mutual information score of less than 0.01 and with a decreased number of neurons in the hidden layer. LOSO-LOO, Leave One Subject Out (LOSO), Support Vector Machine (SVM) and Random Forest (RF) algorithms were also compared to identify the best ANN for automatic detection of food intake. The results indicated that (i) tanh algorithm outperformed both the linear and ReLU algorithms. (ii) Removing the input features with low mutual information score (\u003c0.01) increased the performance of the ANN. (iii) The performance of ANN improved further by decreasing the number of neurons in the hidden layer from 10 to 8. (iv) LOSO outperformed both SVM and RF methods. However, LOSO-LOO was even better than LOSO in terms of sensitivity. In conclusion, the ANN using LOSO-LOO with 8 neurons in the hidden layer and 11 HRV features can be used to effectively detect food intake and may be used in a real-time IES system for treating obesity and diabetes.","manuscriptTitle":"Artificial neural network-based automatic detection of food intake via heart rate variability signal","msid":"","msnumber":"","nonDraftVersions":[{"code":1,"date":"2024-04-05 08:25:52","doi":"10.21203/rs.3.rs-3943447/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":"8b518975-db14-4c73-8970-1a2bd0150844","owner":[],"postedDate":"April 5th, 2024","published":true,"recentEditorialEvents":[],"rejectedJournal":[],"revision":"","amendment":"","status":"posted","subjectAreas":[{"id":30286540,"name":"Physical sciences/Engineering/Biomedical engineering"},{"id":30286541,"name":"Biological sciences/Biological techniques/Software"}],"tags":[],"updatedAt":"2024-07-18T05:36:06+00:00","versionOfRecord":[],"versionCreatedAt":"2024-04-05 08:25:52","video":"","vorDoi":"","vorDoiUrl":"","workflowStages":[]},"version":"v1","identity":"rs-3943447","journalConfig":"researchsquare"},"__N_SSP":true},"page":"/article/[identity]/[[...version]]","query":{"redirect":"/article/rs-3943447","identity":"rs-3943447","version":["v1"]},"buildId":"qtupq5eGEP_6zYnWcrvyt","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 (2024) — 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