Healthcare · · 8 min read
How to evaluate AI in thoracic surgery
Acumen Editorial · Updated November 27, 2026
AI in thoracic surgery falls into two groups: models that predict complications after lung resection, and computer vision that reads VATS and robotic video. To evaluate either, test on your own recent cases, compare against the risk tools you already use, and have thoracic surgeons label outcomes and grade every frame or alert that matters.
What does AI in thoracic surgery do today?
Thoracic surgery AI mostly predicts and recognizes. It rarely acts. Two kinds of tools are in active research.
- Risk prediction. Models estimate who will develop pneumonia, prolonged air leak, atelectasis, arrhythmia or other complications after lobectomy or segmentectomy.
- Video understanding. Computer vision segments anatomy and instruments in thoracoscopic video and classifies the phase of the operation. The long-term goals are skill assessment, training feedback and intraoperative guidance.
The evidence is real and early. A 2022 study in Frontiers in Oncology trained models on 1,085 patients who had anatomic lung resection at one Beijing center. XGBoost reached a validation AUC of 0.767 for cardiopulmonary complications, but the difference from logistic regression was not significant, and the authors recommended the simpler model for clinical use.
Video work has moved faster. LungSurg, reported in MedComm in 2026, used 222 VATS lobectomy videos from eight centers, more than one million frames and over 32,000 annotations. On external validation it classified 14 surgical phases with 71.5% top-1 accuracy and 88.0% top-3 accuracy.
Why do thoracic surgery models disappoint after publication?
Thoracic programs are small and their practice changes quickly. Segmentectomy, robotic platforms and enhanced recovery pathways all shift the baseline a model learned.
Four failure patterns show up:
- Single-center data. The Frontiers model came from one hospital over one year. Its authors note that DLco and VO2max, two core pulmonary function measures, were not available.
- Approach drift. A model trained on open and VATS cases may misread robotic cases.
- Complication definitions. Prolonged air leak is five days at some centers and seven at others. The label decides the model.
- Phase confusion. A video model with 71.5% top-1 accuracy is wrong on more than one frame in four. Where it is wrong matters more than how often.
How should you test a thoracic surgery AI model?
Use your own cases, then add surgeon judgment. We recommend a five-step evaluation.
| Step | What you test | Who grades it | Pass signal |
|---|---|---|---|
| 1. Local back-test | Discrimination and calibration on your last 12–24 months of resections | Biostatistician with a thoracic surgeon | Calibration holds in the highest-risk decile |
| 2. Head-to-head | Model vs. your current risk tool or logistic baseline on the same patients | Thoracic surgeons | Equal or better, and never worse in key subgroups |
| 3. Subgroup audit | Results by approach (open, VATS, robotic), extent of resection, age, lung function | Surgeon and anesthesiologist pair | No subgroup below a pre-agreed floor |
| 4. Expert review | Every alert, or a sample of video segments, read case by case | Two blinded thoracic surgeons plus an adjudicator | Surgeons agree the output was correct and useful |
| 5. Silent run | Live scoring or video tagging with no clinical display | Thoracic team | Stable performance and acceptable alert volume |
Step 2 deserves attention. If a gradient-boosted model is no better than logistic regression on your data, take the model you can explain. Set the bar before you see results; our checklist for clinical AI pilot acceptance criteria shows how to write it.
For step 4, ask surgeons one question per case: would this alert or this phase label have changed what I did or taught? Our guide to a physician review study for clinical AI covers blinding and adjudication.
How do you evaluate thoracic surgical video AI?
Video models need a different test. Accuracy across all frames is not enough.
- Phase-level errors. Report accuracy per phase. A model that confuses hilar dissection with vessel division is more dangerous than one that confuses port placement with exploration.
- Anatomy segmentation. Check precision on vessels, bronchi and the lung parenchyma separately. LungSurg reported mean average precision of 0.745 for the left lung and 0.726 for the right on external data.
- Cross-center tests. Different cameras, lighting and port positions break models. Test on video from a site the model has not seen.
- Gold-standard labels. Frame and phase labels must come from surgeons who perform the procedure. A shared phase dictionary keeps them consistent.
A fixed, surgeon-labeled reference set lets you compare vendors and versions fairly. Our guide to building a golden dataset for medical AI explains how to keep it clean. For labeling at scale, see our notes on medical image annotation.
Which outcomes need expert-labeled ground truth?
- Prolonged air leak. Pick a day threshold and apply it the same way across centers.
- Pneumonia and atelectasis. Imaging and clinical criteria disagree. A surgeon or intensivist should confirm.
- Arrhythmia. New atrial fibrillation is common and often transient. Decide whether treated-only events count.
- Readmission and reoperation. Record the reason, not only the event.
- Surgical phases. Start and end points need a written definition per phase.
When two reviewers disagree, record it and resolve it with a third.
What will regulators and procurement ask for?
The FDA's January 2025 draft guidance on AI-enabled device software functions asks sponsors to describe how data were collected, cleaned and processed, and to show that test data were independent of training data. It takes a total product life cycle view and asks for attention to bias. Its Predetermined Change Control Plan guidance, finalized in December 2024, sets out how a cleared model can be updated.
Not every in-house risk score is a regulated device. Your quality and procurement teams will ask the same questions anyway. Who labeled the complications and phases? Were the test cases from different patients, surgeons and sites than the training set? What changed between model versions? Keep that record from the first pilot. It is what turns a promising paper into a tool your department will sign off on.
What should you ask a vendor before you sign?
- What population and approaches was the model trained on, and over which years?
- How does it compare with logistic regression on the same data?
- Which pulmonary function variables does it use, and what happens when they are missing?
- For video tools, what is per-phase accuracy on external centers?
- Who labeled the outcomes and phases, and what were their credentials?
- Can our surgeons review outputs in a silent run first?
How Acumen helps
We supply the expert layer thoracic surgery AI evaluation needs. Acumen matches credential-checked thoracic surgeons, thoracic anesthesiologists and pulmonologists to your project. They label complications from de-identified charts, annotate surgical phases and anatomy in video, grade model outputs case by case and document every decision. You get evaluation data that holds up in a quality committee and in procurement.
See how our medical model evaluation service works, then start with a pilot set drawn from your own cases.
For related methods, read our guides on evaluating AI clinical decision support, testing clinical AI for bias and clinical AI model monitoring.
FAQ
How is AI used in thoracic surgery?
AI in thoracic surgery is used for two main jobs. Risk models predict complications such as pneumonia, prolonged air leak and arrhythmia after lung resection. Computer vision reads VATS and robotic video to segment anatomy and instruments and to classify surgical phases. Most tools are still in research or early pilots rather than routine clinical use.
Can machine learning predict complications after lung resection?
It can, with moderate accuracy. A 2022 Frontiers in Oncology study of 1,085 patients reached a validation AUC of 0.767 with XGBoost for cardiopulmonary complications. It was not significantly better than logistic regression, which the authors recommended. Always compare a new model against a simple baseline on your own patients.
How accurate is AI at recognizing phases of VATS lobectomy?
Recent models are useful but imperfect. LungSurg, published in MedComm in 2026, was trained on 222 videos from eight centers and reached 71.5% top-1 and 88.0% top-3 accuracy across 14 phases on external validation. Report per-phase accuracy, because errors in critical steps such as vessel division matter most.
How do you validate a surgical risk model in thoracic surgery?
Back-test it on your last one to two years of resections, compare it head to head with your current tool or a logistic baseline, and audit by approach, resection extent and lung function. Then have thoracic surgeons review every alert in a blinded study and run the model silently before any clinician sees its output.
Who should label thoracic surgery AI data?
Thoracic surgeons who perform the procedure should label surgical phases and anatomy, with thoracic anesthesiologists or pulmonologists for perioperative outcomes. Use at least two blinded reviewers per item and a third to adjudicate. Record each reviewer's specialty and how disagreements were resolved, so the labels hold up in review.
Does AI work for robotic thoracic surgery?
Some models do, but test before you assume. Most published risk and video models were trained largely on open or VATS cases. Robotic video looks different, and robotic patients may differ in case mix. Check performance on robotic cases separately and require external validation on a robotic platform before relying on results.