nivolumab and pomalidomide in treating patients with relapsed or refractory central nervous system diffuse large b cell lymphoma or primary vitreoretinal diffuse large b cell lymphoma

Conditions: Recurrent Nervous System Lymphoma; Recurrent Primary Vitreoretinal DLBCL; Refractory Nervous System Lymphoma; Refractory Primary Vitreoretinal DLBCL

Summary: this phase i trials studies side effects and best dose of pomalidomide when given together with nivolumab in treating patients with primary central nervous system diffuse large b cell lymphoma or primary vitreoretinal diffuse large b cell lymphoma that has come back or that has not responded to treatment. immunotherapy with monoclonal antibodies, such as pomalidomide and nivolumab, may help the body's immune system attack the cancer, and may interfere with the ability of tumor cells to grow and spread.

primary objectives: i. to establish the maximum tolerated dose (mtd) of pomalidomide which can be safely combined with the fixed dose schedule of nivolumab in patients with relapsed/refractory primary central nervous system lymphoma (pcnsl) and primary vitreoretinal lymphoma (pvrl). (phase i) secondary objectives: i. to evaluate the overall response rate (orr) and progression free survival (pfs) of nivolumab and pomalidomide combination in patients with relapsed/refractory pcnsl and pvrl. outline: this is dose-escalation study of pomalidomide. patients receive nivolumab intravenously (iv) over 30 minutes on day 1 and pomalidomide orally (po) on days 1-14. treatment repeats every 4 weeks until disease progression or unacceptable toxicity. after completion of study treatment, patients are followed up every 6 weeks, then every 3 months for 4 years.

Eligibility criteria:
inclusion criteria: * patient must have one of the following: * relapsed or refractory primary central nervous system (cns) diffuse large b cell lymphoma (pcnsdlbcl) with a brain lesion \>= 1 cm, or with cerebrospinal fluid (csf) relapse with positive csf cytology, or with ocular relapse with positive ocular tissue biopsy * note: tissue biopsy is not absolutely necessary for brain tumor unless clinical and radiologic findings strongly suggest other etiologies as per treating physician. initial diagnosis must be made by tissue biopsy or * relapsed/refractory primary vitreoretinal diffuse large b cell lymphoma (dlbcl) with a cns lesion \>= 1 cm, or with csf relapse with positive csf cytology, or with ocular relapse with positive ocular tissue biopsy. relapsed pvrl must have progressed or failed at least one systemic regimen * note: intraocular treatments are not regarded as systemic therapy * note: if recurrence in ocular or leptomeningeal space, the patient will need a positive ocular tissue biopsy and csf biopsy. tissue biopsy requirement of the cns lesion is as outlined in bullet above * patient progressed after or did not respond to at least 1 line of systemic therapy (e.g., high-dose methotrexate, high-dose methotrexate based regimen, high dose cytarabine, etc) * eastern cooperative oncology group (ecog) performance status (ps) 0, 1, 2 or 3 * absolute neutrophil count (anc) \>= 1500/mm\^3 (within =\< 14 days prior to registration) * platelet count \>= 100,000/mm\^3 (within =\< 14 days prior to registration) * hemoglobin \>= 9.0 g/dl (within =\< 14 days prior to registration) * direct bilirubin \< 1.5 x upper limit of normal (uln) (or total bilirubin =\< 3.0 x uln with direct bilirubin =\< 1.5 x uln in patients with well-documented gilbert?s syndrome) (within =\< 14 days prior to registration) * aspartate transaminase (ast) =\< 3 x uln (within =\< 14 days prior to registration) * creatinine =\ = 45 ml/min using the cockcroft-gault formula (within =\< 14 days prior to registration) * prothrombin time (pt)/international normalized ratio (inr)/partial thromboplastin time (ptt) =\< 1.5 x uln or if patient is receiving anticoagulant therapy and pt or ptt is within therapeutic range of intended use of anticoagulants (within =\< 14 days prior to registration) * women of childbearing potential (wocbp) must have a negative serum or urine pregnancy test with a sensitivity of at least 50 miu/ml, =\< 14 days prior to registration and within 24 hours of starting pomalidomide. in addition, must either commit to continue abstinence from heterosexual intercourse or begin two acceptable methods of birth control, one highly effective method and one additional effective method at the same time, at least 28 days before she starts taking pomalidomide. wocbp must also agree to ongoing pregnancy testing. men must agree to use a latex condom during sexual contact with a wocbp even if they have had a vasectomy. in addition, women of childbearing potential (wocbp) receiving nivolumab will be instructed to adhere to contraception for a period of 5 months after the last dose of nivolumab. men receiving nivolumab and who are sexually active with wocbp will be instructed to adhere to contraception for a period of 7 months after the last dose of nivolumab. all patients must be counseled at a minimum of every 28 days about pregnancy precautions and risks of fetal exposure * a woman of childbearing potential is a sexually mature woman who: 1) has not undergone a hysterectomy or bilateral oophorectomy; or 2) has not been naturally postmenopausal for at least 24 consecutive months (i.e., has had menses at any time in the preceding 24 consecutive months) * able to take aspirin (81 or 325 mg) daily or an anticoagulant (as determined by treating physician) as prophylactic anticoagulation * provide written informed consent * willingness to return to enrolling institution for follow-up (during the active monitoring phase of the study) * willingness to undergo biopsy procedures, if deemed necessary by treating physician * willing to be registered into a mandatory pomalyst rems program, and willing and able to comply with the requirements of the pomalyst rems program exclusion criteria: * any of the following because this study involves an investigational agent whose genotoxic, mutagenic and teratogenic effects on the developing fetus and newborn are unknown: * pregnant women * nursing women * men or women of childbearing potential who are unwilling to employ adequate contraception * co-morbid systemic illnesses or other severe concurrent disease which, in the judgment of the investigator, would make the patient inappropriate for entry into this study or interfere significantly with the proper assessment of safety and toxicity of the prescribed regimens * immunocompromised patients and patients known to be human immunodeficiency virus (hiv) positive * uncontrolled intercurrent illness including, but not limited to, ongoing or active infection, symptomatic congestive heart failure, unstable angina pectoris, cardiac arrhythmia, or psychiatric illness/social situations that would limit compliance with study requirements * other concurrent chemotherapy, immunotherapy, radiotherapy, or any ancillary therapy considered investigational (utilized for a non-food and drug administration \[fda\]-approved indication and in the context of a research investigation) * other active malignancy =\< 3 years prior to registration * exceptions: non-melanotic skin cancer or carcinoma-in-situ of the cervix * note: if there is a history of prior malignancy, they must not have received immune checkpoint inhibitors or immunomodulatory therapy (imid) for their cancer * history of myocardial infarction =\< 6 months prior to registration, or congestive heart failure requiring use of ongoing maintenance therapy for life-threatening ventricular arrhythmias * the development of erythema nodosum if characterized by a desquamating rash while taking thalidomide or similar drugs * use of corticosteroid in the absence of cerebral edema * note: if a corticosteroid is used, it should be used at the lowest dose possible for the shortest possible duration. subjects with a condition requiring systemic treatment with either corticosteroids (\> 10 mg daily prednisone equivalent) or other immunosuppressive medications within 14 days of treatment assignment are excluded * exceptions: inhaled or topical steroids, and adrenal replacement steroid doses \> 10 mg daily prednisone equivalent, are permitted in the absence of active autoimmune disease * therapy with myelosuppressive chemotherapy or biologic therapy =\< 21 days prior to registration with incomplete recovery of blood counts * persistent toxicities \>= grade 3 from prior chemotherapy or biological therapy regardless of interval since last treatment * history of thromboembolic episodes =\< 3 months prior to registration * active hepatitis b or c with uncontrolled disease * note: a detailed assessment of hepatitis b/c medical history and risk factors must be done at screening for all patients. hepatitis b core igm antibody (hbcigm ab), hepatitis b surface antigen (hbsag) and hepatitis c virus (hcv) ab screen (scrn) w/reflex testing are required at screening for all patients with a positive medical history based on risk factors and/or confirmation of prior hbv infection * inability to swallow or impairment of gastrointestinal function or gastrointestinal disease that may significantly alter the absorption of the drugs (e.g., ulcerative disease, uncontrolled nausea, vomiting, diarrhea, malabsorption syndrome or small bowel resection) that would preclude use of oral medications * major surgery =\< 4 weeks prior to registration or have not recovered from side effects of such therapy * new york heart association classification iii or iv * patient received radiation alone previously * note: radiation therapy would not be regarded as a systemic therapy * exception: patients who have received systemic therapy followed by radiation would be eligible * pcnsl with systemic disease * inability to undergo or have a magnetic resonance imaging (mri) performed