nivolumab with or without ipilimumab in treating patients with metastatic sarcoma that cannot be removed by surgery

Conditions: Locally Advanced Bone Sarcoma; Locally Advanced Dedifferentiated Liposarcoma; Locally Advanced Gastrointestinal Stromal Tumor; Locally Advanced Soft Tissue Sarcoma; Metastatic Bone Sarcoma; Metastatic Liposarcoma; Metastatic Soft Tissue Sarcoma; Metastatic Undifferentiated Pleomorphic Sarcoma; Metastatic Unresectable Sarcoma; Pleomorphic Liposarcoma; Stage III Bone Sarcoma AJCC v7; Stage III Soft Tissue Sarcoma AJCC v7; Stage IV Bone Sarcoma AJCC v7; Stage IV Soft Tissue Sarcoma AJCC v7; Stage IVA Bone Sarcoma AJCC v7; Stage IVB Bone Sarcoma AJCC v7; Unresectable Bone Sarcoma; Unresectable Dedifferentiated Liposarcoma; Unresectable Liposarcoma; Unresectable Malignant Gastrointestinal Stromal Tumor; Unresectable Soft Tissue Sarcoma

Summary: this randomized phase ii trial studies how well nivolumab with or without ipilimumab works in treating patients with sarcoma that has spread from the primary site to other parts of the body (metastatic) or cannot be removed by surgery (unresectable). immunotherapy with monoclonal antibodies, such as nivolumab and ipilimumab, may help the body's immune system attack the cancer, and may interfere with the ability of tumor cells to grow and spread. it is not yet known whether nivolumab works better with or without ipilimumab in treating patients with metastatic or unresectable sarcoma.

primary objective: i. to evaluate the confirmed response rate of single agent nivolumab and dual agent nivolumab plus ipilimumab in patients with locally advanced/unresectable or metastatic soft tissue sarcoma. secondary objectives: i. to evaluate adverse event rates (national cancer institute \[nci\] common terminology criteria for adverse events \[ctcae\] version \[v\]4.0) within each treatment arm. ii. to evaluate duration of response, clinical benefit rate, time to progression, progression-free survival, and overall survival within each treatment arm. correlative science objectives: i. to potentially detect an early signal of confirmed response rate within a histologically defined patient cohort. ii. to assess the potential association between programmed cell death 1 ligand 1 (pd-l1) expression (by immunohistochemistry \[ihc\]) and clinical outcome, within each treatment. iii. to evaluate associations between selected biomarker measured in serial peripheral blood and with clinical efficacy, within each treatment. iv. to evaluate the association between selected biomarker measured in tumor tissue with clinical efficacy, within each treatment. v. to evaluate the association between baseline tumor mutational burden and neoantigen production with clinical efficacy within each treatment. exploratory phase ii objectives (crossover treatment): i. to evaluate secondary endpoints within patients crossing over to dual agent nivolumab plus ipilimumab after experiencing progressive disease while receiving single agent nivolumab. ii. to evaluate correlative science objectives endpoints within patients crossing over to dual agent nivolumab plus ipilimumab after experiencing progressive disease while receiving single agent nivolumab. outline: patients are randomized to 1 of 2 treatment arms. arm i: patients receive nivolumab intravenously (iv) over 30 minutes once every 2 weeks. cycles repeat every 42 days for up to 108 weeks in the absence of disease progression or unacceptable toxicity. patients who progress after 10 weeks on single agent nivolumab may elect to cross over to arm ii. arm ii: patients receive nivolumab iv over 30 minutes and ipilimumab iv over 90 minutes once every 3 weeks for 12 weeks. patients then receive nivolumab iv over 30 minutes every 2 weeks. cycles repeat every 42 days for up to 108 weeks in the absence of disease progression or unacceptable toxicity. patients who progress by imaging during the first 12 weeks of therapy may continue treatment, at the discretion of the patient and treating investigator. after completion of study treatment, patients are followed up at 4 weeks and then every 6 months 3 years.

Eligibility criteria:
inclusion criteria: * pre-registration eligibility criteria: * patients must have a formalin-fixed, paraffin-embedded (ffpe) tumor block or 1 representative hematoxylin and eosin (h\&e) and 20 unstained sarcoma tissue slides available for submission to central pathology review; this review is mandatory prior to registration to confirm eligibility * registration eligibility criteria: * patients must have histologically confirmed bone or soft tissue sarcoma by central pathology review * patients must have histologically confirmed liposarcoma (lps) (only dedifferentiated and pleomorphic; well differentiated not eligible), undifferentiated pleomorphic sarcoma (ups)/malignant fibrous histiocytoma (mfh), or gastrointestinal stromal tumor (gist) * measurable disease * locally advanced/unresectable or metastatic disease * \>= 1 prior systemic therapy for sarcoma, including adjuvant systemic therapy * no prior therapy with ipilimumab or nivolumab, or any agent targeting programmed cell death 1 (pd-1), pd-l1 or cytotoxic t-lymphocyte-associated protein 4 (ctla-4) * no treatment with biologic therapy, immunotherapy, chemotherapy, investigational agent for malignancy, or radiation =\< 28 days before study registration; no treatment with nitrosourea or mitomycin =\< 42 days before study registration; for gist, tyrosine kinase inhibitor can be continued for up to 3 days prior to initiation of study treatment * patients should have resolution of any toxic effects of prior therapy (except alopecia) to nci ctcae, version 4.0, grade 1 or less * no history of the following: * active known or suspected autoimmune disease * patients with human immunodeficiency virus (hiv) are eligible if the lymphocytes \> 350 cluster of differentiation (cd)4+ cells and no detectable viral load * symptomatic, untreated, or uncontrolled brain metastases present * active autoimmune colitis * autoimmune panhypopituitarism * autoimmune adrenal insufficiency * known active hepatitis b or c * hepatitis b can be defined as: * hepatitis b 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 e antigen (hbeag)-negative chronic hepatitis b * persistent or intermittent elevation in alanine aminotransferase (alt)/alanine aminotransferase (ast) levels * liver biopsy showing chronic hepatitis with moderate or severe necroinflammation * hepatitis c can be defined as: * hepatitis c antibody (ab) positive * presence of hepatitis c virus (hcv) ribonucleic acid (rna) * known active pulmonary disease with hypoxia defined as: * oxygen saturation \< 85% on room air or * oxygen saturation \< 88% despite supplemental oxygen * no systemic treatment with either corticosteroids (\> 10 mg daily prednisone equivalents) or other immunosuppressive medications within 14 days of registration * not pregnant and not nursing because this study involves an agent that has known genotoxic, mutagenic and teratogenic effects; therefore for women of childbearing potential only, a negative pregnancy test done =\< 7 days prior to registration is required * eastern cooperative oncology group (ecog) performance status 0 or 1 * absolute neutrophil count (anc) \>= 1,500/mm\^3 * platelet count \>= 100,000/mm\^3 * creatinine =\ 45 ml/min using the lean body mass formula only (modified cockcroft and gault; shargel and yu 1985) * total bilirubin =\< 1.5 x upper limit of normal (uln) in absence of gilbert disease (total bilirubin =\< 3 x uln with gilbert); also, if hyperbilirubinemia is clearly attributed to liver metastases total bilirubin =\< 3 x uln is permitted * ast/alt =\< 3 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 * re-registration eligibility criteria (for patients who crossover from arm 1 nivolumab alone to dual agent nivolumab and ipilimumab upon progression): measurable disease * re-registration eligibility criteria (for patients who crossover from arm 1 nivolumab alone to dual agent nivolumab and ipilimumab upon progression): locally advanced/unresectable or metastatic disease * re-registration eligibility criteria (for patients who crossover from arm 1 nivolumab alone to dual agent nivolumab and ipilimumab upon progression): patient must have had progressive disease (radiographic or clinical) while on arm 1 single agent nivolumab while registered to a091401 * re-registration eligibility criteria (for patients who crossover from arm 1 nivolumab alone to dual agent nivolumab and ipilimumab upon progression): patients removed from any immunotherapy for reasons other than progressive disease, including arm 1 single agent nivolumab of a091401, are not eligible for re-registration * re-registration eligibility criteria (for patients who crossover from arm 1 nivolumab alone to dual agent nivolumab and ipilimumab upon progression): patients must have completed a minimum of 10 weeks of single agent nivolumab on arm 1 of a091401 to be eligible for re-registration * re-registration eligibility criteria (for patients who crossover from arm 1 nivolumab alone to dual agent nivolumab and ipilimumab upon progression): patients must have completed study drug on arm 1 of a091401 (i.e., last dose of nivolumab) =\< 12 months of re-registration to crossover dual agent therapy * re-registration eligibility criteria (for patients who crossover from arm 1 nivolumab alone to dual agent nivolumab and ipilimumab upon progression): no treatment with immunotherapy =\< 21 days before re-registration; no treatment with biologic therapy, chemotherapy, investigational agent for malignancy, or radiation =\< 28 days before re-registration; no treatment with nitrosourea or mitomycin =\< 42 days before re-registration * re-registration eligibility criteria (for patients who crossover from arm 1 nivolumab alone to dual agent nivolumab and ipilimumab upon progression): patients should have resolution of any toxic effects of prior therapy (except fatigue and alopecia) to nci ctcae, version 4.0, grade 1 or less, including immune toxicity * re-registration eligibility criteria (for patients who crossover from arm 1 nivolumab alone to dual agent nivolumab and ipilimumab upon progression): no systemic treatment with either corticosteroids (\> 10 mg daily prednisone equivalents) or other immunosuppressive medications within 14 days of re-registration * re-registration eligibility criteria (for patients who crossover from arm 1 nivolumab alone to dual agent nivolumab and ipilimumab upon progression): not pregnant and not nursing because this study involves an agent that has known genotoxic, mutagenic and teratogenic effects; therefore, for women of childbearing potential only, a negative pregnancy test done =\< 7 days prior to re-registration is required * re-registration eligibility criteria (for patients who crossover from arm 1 nivolumab alone to dual agent nivolumab and ipilimumab upon progression): ecog performance status 0 or 1 * re-registration eligibility criteria (for patients who crossover from arm 1 nivolumab alone to dual agent nivolumab and ipilimumab upon progression): anc \>= 1,500/mm\^3 * re-registration eligibility criteria (for patients who crossover from arm 1 nivolumab alone to dual agent nivolumab and ipilimumab upon progression): platelet count \>= 100,000/mm\^3 * re-registration eligibility criteria (for patients who crossover from arm 1 nivolumab alone to dual agent nivolumab and ipilimumab upon progression): creatinine =\ 45 ml/min (using lean body mass formula only \[modified cockcroft and gault; shargel and yu 1985\]) * re-registration eligibility criteria (for patients who crossover from arm 1 nivolumab alone to dual agent nivolumab and ipilimumab upon progression): total bilirubin =\< 1.5 x uln in absence of gilbert disease (total bilirubin =\< 3 x uln with gilbert); if hyperbilirubinemia is clearly attributed to liver metastases, total bilirubin =\< 3 x uln is permitted * re-registration eligibility criteria (for patients who crossover from arm 1 nivolumab alone to dual agent nivolumab and ipilimumab upon progression): ast/alt =\< 3 x uln * re-registration eligibility criteria (for patients who crossover from arm 1 nivolumab alone to dual agent nivolumab and ipilimumab upon progression): tsh 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