stereotactic body radiation therapy with or without nivolumab in treating patients with stage i-iia or recurrent non-small cell lung cancer

Conditions: Lung Atypical Carcinoid Tumor; Lung Neuroendocrine Neoplasm; Lung Non-Small Cell Squamous Carcinoma; Minimally Invasive Lung Adenocarcinoma; Neuroendocrine Carcinoma; Recurrent Lung Adenocarcinoma; Recurrent Lung Large Cell Carcinoma; Recurrent Lung Non-Small Cell Carcinoma; Stage I Lung Cancer AJCC v8; Stage IA1 Lung Cancer AJCC v8; Stage IA2 Lung Cancer AJCC v8; Stage IA3 Lung Cancer AJCC v8; Stage IB Lung Cancer AJCC v8; Stage IIA Lung Cancer AJCC v8

Summary: this phase ii trial studies how well stereotactic body radiation therapy with or without nivolumab works in treating patients with stage i-iia non-small cell lung cancer or cancer that has come back. stereotactic body radiation therapy uses special equipment to position a patient and deliver radiation to tumors with high precision. this method can kill tumor cells with fewer doses over a shorter period and cause less damage to normal tissue. immunotherapy with monoclonal antibodies, such as nivolumab, may help the body's immune system attack the cancer, and may interfere with the ability of tumor cells to grow and spread. giving stereotactic body radiation therapy and nivolumab may work better at treating non-small cell lung cancer.

primary objective: i. event-free survival (efs), with events defined as local recurrence, regional recurrence, distant metastasis, secondary malignancy (including lung cancer), and death. secondary objectives: i. overall survival (os). ii. toxicity related to stereotactic body radiation therapy (stereotactic ablative body radiation therapy \[sabr\]) and immunotherapy. iii. exploratory analyses of potential predictive markers and immunologic mechanisms of action. exploratory/translational research objectives: i. identify candidate tumor-associated antigens or genes that elicit cellular and humoral immune responses in serum samples (with immunotherapy platform). ii. assess pdl1 expression in tumor biopsy specimens (with department of pathology). iii. identify potential radiomics features from positron emission tomography (pet)/computed tomography (ct) or magnetic resonance imaging (mri) scans that may predict treatment response and toxicity (with department of radiation physics). outline: patients are randomized to 1 of 2 arms. arm i: patients undergo stereotactic body radiation therapy over 1-2 weeks. arm ii: patients undergo stereotactic body radiation therapy over 1-2 weeks. beginning within 36 hours before or after the first fraction of stereotactic body radiation therapy, patients also receive nivolumab intravenously (iv) over 30 minutes on day 1. cycles with nivolumab repeat every 4 weeks for up to 12 weeks in the absence of disease progression or unacceptable toxicity. after completion of study treatment, patients are followed up every 3 months for 2 years, every 6 months for up to 3 years, then annually thereafter.

Eligibility criteria:
inclusion criteria: * histological confirmation of non-small cell lung cancer (nsclc) by either biopsy or cytology is required for the primary diagnosis and is recommended for recurrent disease. the following primary cancer types are eligible: squamous cell carcinoma, adenocarcinoma (with or without bronchioloalveolar carcinoma features), large cell carcinoma (with or without neuroendocrine features), neuroendocrine carcinoma (either nsclc with neuroendocrine features or atypical carcinoids, but not small cell lung carcinoma), bronchioloalveolar cell carcinoma, or non-small cell carcinoma not otherwise specified * stage i or selected stage iia according to the 7th version of the international association for the study of lung cancer (iaslc) system: stage i (t1 or t2a \[tumor size =\ 5 cm but =\< 7 cm\] n0m0) * patients with multiple primary lung tumors (defined below) are eligible: * synchronous tumors (diagnosed within 6 months \[mo\]), * different histology, * same histology, * second tumor in different lobed or lung; * metachronous tumors (diagnosed \> 6 mo apart), * different histology, * same histology, * second tumor in different lobe or lung, * tumor-free interval of at least 4 years (y) * patient with multiple primary lung tumors who will receive multiple courses of stereotactic body radiation therapy (sbrt) (50gy in 4fx or 70gy in 10fx) are eligible * patients with isolated lung parenchymal recurrent/persistent nsclc (histology as defined in eligibility criterion 1) after prior definitive surgery or radiotherapy/chemotherapy, when the lesion or lesions are suitable for sabr, are also eligible. * patients with a single metastatic focus in the lung parenchyma with no other lesions are also eligible, because this presentation is challenging to distinguish from recurrent disease. * recurrent disease can be in the same lobe or a different lobe but should not invade critical structures (esophagus, brachial plexus, major vessels, heart, spinal cord); should not involve any lymph node; and should not include any other suspicious lesions in the lung or any other locations. * any prior therapy (surgery, radiotherapy, or systemic) must have been completed at least 12 weeks before administration of the study drug. * tumors should be =\< 7 cm (measured by ct imaging in the lung window setting) with n0m0; pet) imaging is required for restaging (per eligibility criterion) and any lymph node suspected of harboring tumor should be confirmed by biopsy (per eligibility criterion) * both chest ct and pet/ct are required within 16 weeks and at least one of them needs to be done within 12 weeks (plus/minus 1 week). any lymph node suspected of harboring disease based on its shape, size, or pet standardized uptake value (suv) should be discussed by treating physician and diagnostic radiologist * patients with medically inoperable stage i disease (t1 or t2a \[tumor size =\ 5 cm but =\< 7 cm\] n0m0) who have poor lung function or other significant cardiovascular or other comorbidity such as diabetes are eligible. patients with operable disease who choose to have sabr are also eligible. * the standard justification for medical inoperability is based on pulmonary function and can include any of the following: baseline forced expiratory volume in 1 second (fev1) \< 50% of predicted value; diffusion capacity \< 50% of predicted value; baseline hypoxemia or hypercapnia; exercise oxygen consumption \< 50% of predicted value; severe pulmonary hypertension; severe cerebral, cardiac, or peripheral vascular disease; and severe chronic heart disease * patients must have a zubrod performance status score of 0-2 (2 is included here because such patients are typically \> 70 years old and cannot tolerate surgery) * the following mandatory staging studies must be done within 12 weeks before study registration: * chest ct or pet/ct scans of both lungs, the mediastinum, adrenal glands and rest of the body; primary tumor dimension will be measured on diagnostic ct and again on simulation ct using the lung window setting. * mediastinoscopy or endobronchial ultrasound-guided biopsy of the mediastinal lymph nodes is recommended and required for any patients with pet/ct or ct findings suggesting lymph node involvement. * brain magnetic resonance imaging (mri) or ct scan if symptoms or signs suggest brain metastases. * invasive mediastinal staging: for all patients with ct or pet evidence of hilar involvement (level 10) or with mediastinal lymph nodes \> 1.0 cm in the shortest diameter or clinically suspicious by treating physician and/or radiologist, disease must be staged by cervical mediastinoscopy, esophageal endoscopic ultrasound-guided biopsy, or endobronchial ultrasound-guided biopsy * for patients with left-sided tumors and enlarged nodes (\> 1.0 cm in the shortest diameter) on the aortopulmonary window setting, the aortopulmonary nodes must be biopsied by extended mediastinoscopy, chamberlain procedure, video-assisted thoracoscopic surgery (vats) approach, or ultrasound-guided biopsy to ensure that the patient does not have n2 disease. at the time of cervical mediastinoscopy, esophageal endoscopic ultrasound-guided biopsy, or endobronchial ultrasound-guided biopsy, the following nodal stations must be examined and biopsied, if present: * ipsilateral nodal station 4 * contralateral nodal station level 4, and * subcarinal nodes (level 7) for left-sided tumors, any lymph node in the superior or anterior mediastinum \> 1.0 cm in the shortest axis on ct or positive on pet must be identified and biopsied. eligibility requires that any pet-positive mediastinal or distant sites must be biopsy-negative. however, if the treating physician and diagnostic radiologist strongly suspect pet positivity, the patient should not be enrolled even if the biopsy is negative (to exclude patients with false-negative biopsy) * all patients must sign a study-specific consent form * all patients (men \& women) of childbearing potential should use a method of birth control that is effective for them throughout their participation in this study. * women of childbearing potential should use an adequate contraceptive method to avoid pregnancy for 5 months (30 days plus the time required for nivolumab to undergo five half-lives) after the last dose of investigational drug; must have a negative serum or urine pregnancy test (minimum sensitivity 25 iu/l or equivalent units of human chorionic gonadotropin \[hcg\]) within 24 hours before the start of nivolumab; and must not be breastfeeding. * men who are sexually active with women of childbearing potential must use a contraceptive method with a failure rate of less than 1% per year; men receiving nivolumab will be instructed to use contraception for 7 months after the last dose of nivolumab. * women who are not of childbearing potential (i.e. are postmenopausal or surgically sterile) \& azoospermic men do not require contraception * white blood cell (wbc) \>= 2000/ul (within 30 days before study registration) * neutrophils (neuts) \>= 1500/ul (within 30 days before study registration) * platelets (plt) \>= 100 x 10\^3/ul (within 30 days before study registration) * hemoglobin (hgb) \> 9.0 g/dl (within 30 days before study registration) * serum creatinine =\ = 30 ml/min (within 30 days before study registration) * aspartate aminotransferase (ast)/alanine aminotransferase (alt) =\< 3 x uln (within 30 days before study registration) * total bilirubin (bili t) =\< 1.5 x uln (although patients with gilbert syndrome can have total bilirubin \< 3.0 mg/dl (within 30 days before study registration) exclusion criteria: * patients with tumors \> 7 cm or tumors involving the main bronchus or associated vessels or tumors that invade any critical structures (such as esophagus, brachial plexus, heart, mediastinal major vessels) are not suitable for sabr * patients with direct evidence of regional or distant metastases after appropriate staging studies, or with synchronous non-lung primary or prior non-lung malignancy (other than nonmelanomatous skin cancer or in situ cancer) diagnosed within the past 3 years are not eligible. patients with a history of curable non-lung cancer up to 3 years before registration and have been cancer-free for 2 years are eligible * patients who have received previous immunotherapy with pd1 or ctla4 antibodies are not eligible * patients with plans to receive other concomitant local therapy (including standard fractionated radiotherapy and surgery) or other systemic therapy (including chemotherapy, target therapy and other type of immunotherapy or investigative agents) while on this protocol, except at disease progression, are not eligible * female patients who are pregnant or lactating are not eligible (because treatment involves unforeseeable risks to the embryo or fetus) * patients for whom sabr plans cannot meet the minimum requirement of target coverage and dose-volume constraints of critical structures (see sabr treatment planning section) are not eligible * patients who have active, known, or suspected autoimmune disease are not eligible. however, patients with vitiligo, type i diabetes mellitus, residual hypothyroidism due to an autoimmune condition that requires only hormone replacement, psoriasis not requiring systemic treatment, or conditions not expected to recur in the absence of an external trigger are permitted to enroll * patients with a known history of antibodies to human immunodeficiency virus (hiv) -1 or -2 are not eligible. patients with live vaccines * patients with a known positive test for hepatitis b virus surface antigen (hbv sag) or hepatitis c virus ribonucleic acid (hcv antibody) indicating acute or chronic infection are not eligible * patients who have a condition requiring systemic treatment with corticosteroids (\> 10 mg daily prednisone equivalents) or other immunosuppressive medications within 14 days of study drug administration are not eligible. however, inhaled or topical steroids, adrenal replacement doses, and \> 10 mg daily prednisone equivalents are permitted in the absence of active autoimmune disease * patients with allergies or adverse drug reactions to the following are not eligible: * history of allergy to study drug components; * history of severe hypersensitivity reaction to any monoclonal antibody * patients who have had prior treatment with an anti-pd1, anti-pdl1, anti-pdl2, anti-ctla4 antibody, or any other antibody or drug specifically targeting t-cell costimulation or immune checkpoint pathways are not eligible * patients are known to have contraindications to radiotherapy