AI-based legal prediction tools use machine learning algorithms to analyze large amounts of legal data, such as case outcomes, judicial decisions, and legal arguments. The algorithms identify patterns and correlations in the data, which are then used to predict the likely outcome of future cases.