From neural networks to large language models: innovations in financial ai, mathematical reasoning, and structured data representation