---
title: "Surgical-name Embeddings Using Large Language Models for Confounding Adjustment in Perioperative O"
id: "medrxiv-14-large-language-model-embeddings-of-surgical-procedural-names-for-confounding"
canonical_url: "https://medichelpline.com/clinical-feed/medrxiv-14-large-language-model-embeddings-of-surgical-procedural-names-for-confounding"
content_type: "clinical_feed_article"
specialty: "Critical Care"
source_name: "medRxiv (Clinical Preprints)"
source_url: "https://www.medrxiv.org/content/10.64898/2026.08.22.26361065v1?rss=1"
published_at: "2026-08-25T12:00:00.000Z"
evidence_level: "Verified Feed"
license: "CC-BY-NC-4.0 / Informational Use"
---
# Surgical-name Embeddings Using Large Language Models for Confounding Adjustment in Perioperative O
## Provenance & Clinical Metadata
- **Canonical URL:** https://medichelpline.com/clinical-feed/medrxiv-14-large-language-model-embeddings-of-surgical-procedural-names-for-confounding
- **Specialty:** [Critical Care](https://medichelpline.com/clinical-feed/critical-care.md)
- **Primary Source:** medRxiv (Clinical Preprints)
- **Source URL:** [Original Journal Publication](https://www.medrxiv.org/content/10.64898/2026.08.22.26361065v1?rss=1)
- **Published At:** 2026-08-25T12:00:00.000Z
- **Evidence Rating:** Verified Feed
## Executive GIST (TL;DR)
- Perioperative observational studies are often confounded by **surgical procedure type**, which influences treatment selection and can bias comparative effectiveness analyses. - The authors developed a framework that converts free-text surgical procedure names into vector representations using open-source **sentence-embedding** models trained on 627,624 adult perioperative records. - Embedded procedure-name vectors were dimension-reduced with principal components analysis and incorporated as covariates using entropy-balancing methods to adjust for confounding at the procedure level. - The framework was tested by replicating three recent perioperative randomized trials: **GA-CARES** (total intravenous vs volatile anesthesia on cancer mortality), **PADDI** (dexamethasone and surgical site infection), and **GAP** (perioperative gabapentin and postoperative length of stay). - In the GA-CARES replication, standard unweighted and clinical covariate adjustment suggested lower two-year mortality with total intravenous anesthesia; adding **surgical-name embeddings** attenuated this association to a nonsignificant estimate consistent with the randomized trial (OR 0.84 [95% CI, 0.62–1.14]; p=0.274). - In the PADDI replication, including surgical-name embeddings reproduced the trial’s overall non-harm finding for 30-day surgical site infection (OR 0.72 [95% CI 0.69–0.76], p<0.001) while retaining an expected protective association with postoperative nausea and/or vomiting. - In the GAP replication, the full cohort showed null effects across adjustment strategies, but recovery of trial-consistent null length-of-stay estimates within cardiac, thoracic, and abdominal subgroups required surgical-name embeddings. - Department indicators and randomly generated covariates did not replicate the effect of embedding adjustment, supporting that embeddings capture procedure-specific information not represented by simple categorical or random variables. - The authors provide a publicly available software package to reproduce intermediate data and apply the method more broadly. - The study received institutional review board approval from Stanford University and the authors declared no competing interests.
## Clinical Analysis & Structured Key Points
Large Language Model Embeddings of Surgical Procedural Names for Confounding Adjustment in Perioperative Observational Studies | medRxiv Skip to main content Large Language Model Embeddings of Surgical Procedural Names for Confounding Adjustment in Perioperative Observational Studies Lichy Han , Marc Ghanem , Mahitha K Simhambhatla , Philip Chung , Nima Aghaeepour doi: https://doi.org/10.64898/2026.08.22.26361065 Lichy Han 1 Stanford University; Find this author on Google Scholar Find this author on PubMed Search for this author on this site Marc Ghanem 1 Stanford University; Find this author on Google Scholar Find this author on PubMed Search for this author on this site Mahitha K Simhambhatla 2 The University of Texas at Austin Find this author on Google Scholar Find this author on PubMed Search for this author on this site Philip Chung 1 Stanford University; Find this author on Google Scholar Find this author on PubMed Search for this author on this site Nima Aghaeepour 1 Stanford University; Find this author on Google Scholar Find this author on PubMed Search for this author on this site For correspondence: naghaeep{at}stanford.edu Abstract Info/History Metrics Supplementary material Data/Code Preview PDF Abstract Background: Perioperative observational studies are increasingly used to evaluate anesthesia practices that are difficult to test in randomized trials, but treatment selection is influenced by surgical procedure type. Scalable and robust methods are needed to adjust for procedure-level confounding across heterogeneous surgical cohorts. Methods: We developed and assessed the utility of a surgical-name embedding framework using free-text procedure names from 627,624 adult perioperative records. Procedure names were embedded using open-source sentence-embedding models, reduced with principal components analysis, and incorporated into entropy-balanced observational analyses. We compared unweighted, clinical covariate adjustment, and clinical covariate plus surgical-name embedding adjustment across three replications of recent perioperative randomized trials: GA-CARES for total intravenous versus volatile anesthesia on cancer mortality, PADDI for dexamethasone and surgical site infection, and GAP for perioperative gabapentin and postoperative length of stay. Results: In the GA-CARES replication, unweighted and clinical covariate adjustment suggested lower two-year mortality with total intravenous anesthesia, whereas adding surgical-name embeddings attenuated the estimate to a nonsignificant association consistent with the randomized trial (OR 0.84 [95% CI, 0.62-1.14]; p=0.274). In the PADDI replication, adding surgical-name adjustment reproduced the trial's overall non-harm finding for 30-day surgical site infection (OR 0.72 [95% CI 0.69-0.76], p<0.001) while preserving the expected protective association with postoperative nausea and/or vomiting. In the GAP replication, the full cohort was null across adjustment strategies, but surgical-name embeddings were required to recover trial-consistent null length-of-stay estimates across cardiac, thoracic, and abdominal subgroups. Department indicators and randomly generated covariates did not reproduce the effect of surgical-name embeddings, supporting the presence and importance of procedure-specific information. Conclusions: Free-text surgical-name embeddings provide a scalable method for representing surgical context in perioperative observational studies. Surgical-name adjustment improved concordance with randomized trial benchmarks while preserving expected treatment effects, supporting its use as an additional layer of confounding adjustment in large perioperative datasets. Competing Interest Statement The authors have declared no competing interest. Author Declarations I confirm all relevant ethical guidelines have been followed, and any necessary IRB and/or ethics committee approvals have been obtained. Yes The details of the IRB/oversight body that provided approval or exemption for the research described are given below: The Institutional Review Board of Stanford University gave ethical approval for this work. I confirm that all necessary patient/participant consent has been obtained and the appropriate institutional forms have been archived, and that any patient/participant/sample identifiers included were not known to anyone (e.g., hospital staff, patients or participants themselves) outside the research group so cannot be used to identify individuals. Yes I understand that all clinical trials and any other prospective interventional studies must be registered with an ICMJE-approved registry, such as ClinicalTrials.gov. I confirm that any such study reported in the manuscript has been registered and the trial registration ID is provided (note: if posting a prospective study registered retrospectively, please provide a statement in the trial ID field explaining why the study was not registered in advance). Yes I have followed all appropriate research reporting guidelines, such as any relevant EQUATOR Network research reporting checklist(s) and other pertinent material, if applicable. Yes Data Availability A software package has been published and is publicly available at https://pypi.org/project/surgical-embeddings/ and can be used to regenerate intermediate data produced in this work. Funder Information Declared NIH , K08GM166866 , R35GM163830 International Anesthesia Research Society, https://ror.org/0252rqe04 Foundation for Anesthesia Education and Research Copyright The copyright holder for this preprint is the author/funder, who has granted medRxiv a license to display the preprint in perpetuity. It is made available under a CC-BY-NC-ND 4.0 International license . Back to top Previous Next Posted August 25, 2026. Download PDF Supplementary Material Data/Code Email Thank you for your interest in spreading the word about medRxiv. NOTE: Your email address is requested solely to identify you as the sender of this article. Your Email * Your Name * Send To * Enter multiple addresses on separate lines or separate them with commas. You are going to email the following Large Language Model Embeddings of Surgical Procedural Names for Confounding Adjustment in Perioperative Observational Studies Message Subject (Your Name) has forwarded a page to you from medRxiv Message Body (Your Name) thought you would like to see this page from the medRxiv website. Your Personal Message CAPTCHA This question is for testing whether or not you are a human visitor and to prevent automated spam submissions. Share Large Language Model Embeddings of Surgical Procedural Names for Confounding Adjustment in Perioperative Observational Studies Lichy Han , Marc Ghanem , Mahitha K Simhambhatla , Philip Chung , Nima Aghaeepour medRxiv 2026.08.22.26361065; doi: https://doi.org/10.64898/2026.08.22.26361065 Share This Article: Copy Citation Tools Large Language Model Embeddings of Surgical Procedural Names for Confounding Adjustment in Perioperative Observational Studies Lichy Han , Marc Ghanem , Mahitha K Simhambhatla , Philip Chung , Nima Aghaeepour medRxiv 2026.08.22.26361065; doi: https://doi.org/10.64898/2026.08.22.26361065 Citation Manager Formats BibTeX Bookends EasyBib EndNote (tagged) EndNote 8 (xml) Medlars Mendeley Papers RefWorks Tagged Ref Manager RIS Zotero Tweet Widget Facebook Like Google Plus One Subject Areas All Articles Addiction Medicine (611) Allergy and Immunology (891) Anesthesia (324) Cardiovascular Medicine (4748) Dentistry and Oral Medicine (473) Dermatology (406) Emergency Medicine (639) Endocrinology (including Diabetes Mellitus and Metabolic Disease) (1609) Epidemiology (15785) Forensic Medicine (32) Gastroenterology (1193) Genetic and Genomic Medicine (6955) Geriatric Medicine (725) Health Economics (1050) Health Informatics (4955) Health Policy (1420) Health Systems and Quality Improvement (1730) Hematology (577) HIV/AIDS (1327) Infectious Diseases (except HIV/AIDS) (16225) Intensive Care and Critical Care Medicine (1156) Medical Education (659) Medical Ethics (150) Nephrology (717) Neurology (7148) Nursing (360) Nutrition (1071) Obstetrics and Gynecology (1221) Occupational and Environmental Health (997) Oncology (3561) Ophthalmology (1031) Orthopedics (390) Otolaryngology (444) Pain Medicine (464) Palliative Medicine (139) Pathology (702) Pediatrics (1768) Pharmacology and Therapeutics (730) Primary Care Research (757) Psychiatry and Clinical Psychology (5808) Public and Global Health (9656) Radiology and Imaging (2369) Rehabilitation Medicine and Physical Therapy (1422) Respiratory Medicine (1235) Rheumatology (631) Sexual and Reproductive Health (762) Sports Medicine (571) Surgery (759) Toxicology (106) Transplantation (301) Urology (285)
## Related Clinical Research

- [SGLT2 Inhibitors Linked to Suppression of the Sema3A/NRP1/Plexin-A1 Axis in Postmenopausal T2D Wom](https://medichelpline.com/clinical-feed/pubmed-42649130.md) (DOI: 10.1111/1753-0407.70262)
- [FDA approves Zenbexus (iberdomide) for multiple myeloma, first of a novel drug class](https://medichelpline.com/clinical-feed/stat-news-1-stat-fda-approves-bristol-multiple-myeloma-treatment-marking-debut-of-novel.md)
- [Coexisting AL (λ) amyloidosis and POEMS syndrome presenting as refractory heart failure: a case re](https://medichelpline.com/clinical-feed/frontiers-in-immunology-8-a-rare-coexistence-of-immunoglobulin-light-chain-amyloidosis-and-poems-syndrome.md)
- [Ciltacabtagene autoleucel in high-risk smoldering multiple myeloma: the CAR-PRISM phase 2 trial](https://medichelpline.com/clinical-feed/nature-2-ciltacabtagene-autoleucel-in-high-risk-smoldering-multiple-myeloma-the-car-prism-phase-2-trial.md)
- [Piecing Together the Adrenal Puzzle: CAI Score and Postoperative Testing](https://medichelpline.com/clinical-feed/endocrine-news-1-piecing-together-the-adrenal-puzzle.md)

## Navigation
- [← Back to Critical Care Feed](https://medichelpline.com/clinical-feed/critical-care.md)
- [← All Clinical Specialties](https://medichelpline.com/clinical-feed.md)
## Medical & Regulatory Disclaimer

> [!CAUTION]
> MedicHelpline content is structured for research, educational, and professional discovery purposes. It does not constitute individual medical advice, clinical diagnosis, or treatment recommendations.
> Always verify dosing, contraindications, and regulatory alerts against official product labeling and primary regulatory sources before clinical decision-making.