nivolumab or expectant observation following ipilimumab, nivolumab, and surgery in treating patients with high risk localized, locoregionally advanced, or recurrent mucosal melanoma

Conditions: Cervical Carcinoma; Esophageal Carcinoma; Mucosal Melanoma; Mucosal Melanoma of the Head and Neck; Oral Cavity Mucosal Melanoma; Recurrent Melanoma; Stage II Vulvar Cancer AJCC v7; Stage III Vulvar Cancer AJCC v7; Stage IIIA Vulvar Cancer AJCC v7; Stage IIIB Vulvar Cancer AJCC v7; Stage IIIC Vulvar Cancer AJCC v7; Stage IV Oral Cavity Cancer AJCC v6 and v7; Stage IV Vulvar Cancer AJCC v7; Stage IVA Oral Cavity Cancer AJCC v6 and v7; Stage IVB Oral Cavity Cancer AJCC v6 and v7; Stage IVC Oral Cavity Cancer AJCC v6 and v7; Vaginal Carcinoma

Summary: this randomized phase ii trial studies how well nivolumab or expectant observation following ipilimumab, nivolumab, and surgery work in treating patients with high-risk mucosal melanoma that is restricted to the site of origin without evidence of spread, has spread to a local and regional area of the body, or has come back. monoclonal antibodies, such as nivolumab and ipilimumab, may interfere with the ability of tumor cells to grow and spread. sometimes the mucosal melanoma may not need more treatment until it progresses. in this case, observation may be sufficient. it is not known if nivolumab or expectant observation following ipilimumab, nivolumab, and surgery may be better in treating patients with mucosal melanoma.

primary objectives: i. recurrence free survival (rfs) in patients with mucosal melanoma (mm) treated with neoadjuvant ipilimumab plus nivolumab and surgery followed by adjuvant nivolumab and expectant observation. secondary objectives: i. pathologic complete response with neoadjuvant ipilimumab plus nivolumab. ii. distant recurrence-free survival (drfs) with adjuvant nivolumab and expectant observation. iii. overall survival (os) with adjuvant nivolumab and expectant observation. iv. safety/toxicity as measured by maximum grade adverse event in (a) the neoadjuvant setting, (b) the adjuvant nivolumab cohort after randomization, and (c) the observation cohort after randomization. v. rate of delayed primary surgery. tertiary objectives: i. demonstrate that baseline tumors harboring a higher neoepitope burden have superior median rfs than those who have a lower neoepitope burden in the arm receiving adjuvant nivolumab. ii. demonstrate that tumors with higher cd8+ infiltration at the tumor invasive margin at surgical resection have superior median rfs than those with lower cd8+ infiltration. iii. demonstrate that tumors harboring a "t cell inflamed" ribonucleic acid (rna) expression signature at surgical resection following neoadjuvant nivolumab plus ipilimumab have a superior distant rfs than those harboring a "non-t cell inflamed" signature, both in the overall group and within those who receive adjuvant nivolumab. iv. identify recurrent genetic alterations at baseline that are associated with higher cd8+/pd1+ infiltration at baseline and following 1 dose of neoadjuvant nivolumab plus ipilimumab. v. tumor response rate will be estimated based on patients whose imaging are captured and submitted during the neo-adjuvant portion of the study (imaging is not required). outline: part i: patients receive nivolumab intravenously (iv) over 30 minutes and ipilimumab iv over 30 minutes on day 1. within 3-6 weeks after receiving nivolumab and ipilimumab, patients undergo surgery per standard of care. within 84 days of last surgical resection, patients may also undergo adjuvant radiation therapy (rt), if clinically appropriate. part ii: within 84 days of last surgical resection, patients are randomized to 1 of 2 arms. arm i: patients undergo active surveillance for 1 year. arm ii: patients receive nivolumab iv over 30 minutes once every 2 weeks for 4 doses. patients then continue to receive nivolumab iv over 30 minutes once every 4 weeks for up to 11 doses in the absence of disease progression or unacceptable toxicity. after completion of study treatment, patients are followed up every 90 days for 2 years, every 180 days for 3 years or until disease progression, whichever is first, and every 6 months thereafter until a maximum of 5 years following registration.

Eligibility criteria:
inclusion criteria: * step 1 eligibility criteria * documentation of disease: * histologic documentation: histologically proven mucosal melanoma by local pathology * tumor tissue: tumor tissue from the primary site of disease must be available for pd-l1 testing (stratification factor) * disease status * tumors must have not been completely resected, or must be locoregionally recurrent if previously resected; tumor must be deemed potentially resectable by local surgeon * mm arising from the head/neck, genitourinary, or gastrointestinal tract * disease meets any 1 of 4 characteristics: * regional lymph node (ln) involvement; or * multifocal/satellite primary disease; or * single localized, primary disease meeting one of the following site-specific requirements: * head/neck - any primary lesion if sinonasal; pt4a or above for nasal or oral cavity * anorectal - any primary lesion * conjunctiva - any primary lesion t2 or t3 stage by american joint committee on cancer (ajcc) * vaginal/cervical - any primary * vulvar (hair bearing surface, labia majora) - ajcc cutaneous stage iib or higher * esophageal - any primary * locoregionally recurrent following prior resection * no evidence of metastatic disease at the time of registration * no prior medical therapy (chemotherapy, immunotherapy, biologic or targeted therapy) or radiation therapy for mm, unless locoregionally recurrent; if recurrent, no prior medical or radiation therapy is allowed for the latest recurrence * no history of the following: * active known or suspected autoimmune disease * human immunodeficiency virus (hiv) with cd4+ count \ = 300 are eligible * known active hepatitis b or c * hepatitis b can be defined as: * hepatitis b virus surface antigen (hbsag) \> 6 months * serum hepatitis b virus (hbv) deoxyribonucleic acid (dna) 20,000 iu/ml (105 copies/ml), lower values 2,000-20,000 iu/ml (104-105 copies/ml) are often seen in hepatitis b virus e antigen (hbeag)-negative chronic hepatitis b * persistent or intermittent elevation in alanine aminotransferase (alt)/aspartate aminotransferase (ast) levels * liver biopsy showing chronic hepatitis with moderate or severe necroinﬂammation * hepatitis c can be defined as: * hepatitis c antibody (ab) positive * presence of hepatitis c virus (hcv) rna * known active pulmonary disease with hypoxia defined as oxygen saturation \< 85% on room air * not pregnant and not nursing * for women of childbearing potential only, a negative pregnancy test done =\< 14 days prior to registration is required * eastern cooperative oncology group (ecog) performance status =\< 2 * absolute neutrophil count (anc) \>= 1,500/mm\^3 * platelet count \>= 100,000/mm\^3 * creatinine clearance \>= 30 ml/min by modified diet in renal disease (mdrd) equation or cockcroft-gault * total bilirubin =\< 1.5 x upper limit of normal (uln) * except in case of gilbert disease * ast/alt =\< 2.5 x upper limit of normal (uln) * thyroid-stimulating hormone (tsh) within normal limits (wnl) * supplementation is acceptable to achieve a tsh wnl; in patients with abnormal tsh if free t4 is normal and patient is clinically euthyroid, patient is eligible * concomitant medications * no systemic treatment with either corticosteroids (\> 10 mg daily prednisone equivalents) or other immunosuppressive medications within 7 days of registration (inhaled steroids for patients with underlying chronic pulmonary disease is acceptable as long as they meet other eligibility as listed above) * no other planned concurrent investigational agents or other tumor directed therapy (chemotherapy, radiation) while on study * step 2 eligibility criteria * surgical resection of all gross disease * this assessment will be made by the local investigator based on review of the operative report, pathology results, and/or radiology reports; microscopically positive margins (e.g. r1 resection) are permitted * completion of pd-l1 testing * patients will be stratified as pd-l1 \>= 5% versus (vs) \< 5% or inevaluable; baseline tumor will be utilized; if this returns inevaluable, efforts should be made to utilize the resected specimen * randomization within 112 days of completion of surgical * the primary region must be included on cross-sectional imaging (e.g. sinus/neck if arising from sinonasal primary; pelvis if genitourinary); radiographic changes considered nonspecific or possibly due to surgery or radiation are not considered evidence of disease * no significant immune-related adverse event due to the nivolumab plus ipilimumab dose received in the neoadjuvant setting, as follows: * any grade myocarditis, including an asymptomatic troponin elevation felt to be related to nivolumab plus ipilimumab * any grade neurologic complication (e.g. meningitis, encephalitis, neuropathy); study chair should be contacted if there is any question whether an adverse event (ae) was neurologic in nature * grade 2 or higher pneumonitis * grade 2 colitis * grade 2 or higher anemia (due to drug; unrelated anemia is not exclusionary) * thyroid/adrenal aes regardless of grade that have stabilized or are clinically asymptomatic are eligible * fatigue, regardless of grade, is not a contraindication to randomization * grade 4 ast or alt elevation * asymptomatic elevated amylase and lipase, regardless of grade, are not contraindications to randomization * grade 4 rash; grade 3 rash is not a contraindication to randomization; any oropharyngeal lesions or bullous skin lesions that are suggestive of toxic epidermal necrolysis or stevens-johnson syndrome are contraindications to randomization regardless of the grade of rash * if not specified above, other common terminology criteria for adverse events (ctcae) grade 3 or higher aes deemed possibly related to the nivolumab plus ipilimumab are exclusions to randomization; aes that were attributable to surgery or adjuvant rt would not be contraindications to randomization