Anti-LGI1 encephalitis and anti-CASPR2 encephalitis were more sensitive to first-line and second-line treatment. The gene discussed is LGI1; the disease is viral encephalitis.