you would probably first tag the papers (AI papers then being tagged with "AI"),then generate for instance an Elasticsearch query with an LLM for matching papers with the ai tag and the word transformer
you can do first a keyword based search (inverse index, etc.) and then do semantic search with the results of the first step