Leading LLM-based prompt defense techniques include embedding-based machine learning classifiers (e.g., Random Forest, XGBoost) which outperform older neural networks, and 'instruction hierarchy' that assigns higher priority to system instructions over user input to prevent overrides.