AI raises the technical baseline – so where does software R&D sit now?

Related Expertise:

Duration
6 min read
Published
Table of contents

Leyton Nordics

AI is changing how software is built. Developers can generate code, tests and prototypes faster, and models, APIs and frameworks now provide capabilities that once required considerable custom engineering. For technology companies, this raises a sharper question: as AI takes on more of the work in software development, where does the genuinely unresolved technical work now sit?

AI is not only speeding up development. It is also raising the technical baseline. Retrieval, workflow automation and agent-based execution can increasingly be built with commercial platforms and open-source frameworks, and more of the surrounding engineering is available through standard tools and services.

Retrieval shows how quickly this can happen. Retrieval-augmented generation (RAG) was introduced as a research approach in 2020¹. By January 2025, Google Cloud had made its managed Vertex AI RAG Engine generally available, reducing the retrieval infrastructure teams need to build and configure themselves². What once required custom engineering can become much easier to implement as the technology matures.

Looking for R&D in a moving baseline

This changes where companies need to look for software R&D. Using an advanced model, building an AI agent, adding retrieval or connecting company data to an AI application all describe the technology being used. On their own, they do not tell us whether the underlying work involved R&D. The more useful question is what technical problem the team was trying to solve, and whether technology already available could solve it.

Technical challenges can still arise even when each component is known. The challenge may lie in how the components need to interact, coordinate or adapt within a wider system. What matters is whether available approaches could solve the problem, or whether the team had to go beyond them.

A practical way to think about this is through three questions.

1. What was already available when the work began?

Start with the technical baseline. Which models, frameworks, libraries, architectures and software solutions existed at the time? What could they already do, and was there an established way to achieve the intended outcome?

The baseline can move quickly, particularly in AI. Work that once required specialist engineering may later be supported by a platform, framework, model or development tool. Understanding what was possible at the time helps separate the use of available technology from development work that went beyond it.

Spotify’s work on LLM-based podcast recommendations³ is a useful example. Language models and established recommendation techniques were already available. The question was what those approaches could and could not achieve in Spotify’s production environment.

2. What could existing approaches not achieve?

A technical limitation may only become apparent under particular operating conditions, such as real-world data, higher loads, tighter response times, complex workflows or integration with other systems. In those situations, known components or approaches may no longer be sufficient.

For Spotify, a production recommender had to generate items that actually existed in the catalogue, personalise recommendations across a very large inventory and operate within strict production constraints. This created technical challenges around catalogue grounding, user-level personalisation and latency-critical serving³.

3. What did the team have to work out beyond that point?

Once the technical problem is clear, the focus moves to the development work itself. Which alternatives were considered? Which assumptions had to be tested? Which approaches failed or had to be changed, and what did the team learn from that? A key question is whether the team had to develop a new method, architecture, algorithm, capability or understanding because the available approaches could not solve the problem.

In Spotify’s case, the team developed GLIDE, which uses Semantic IDs to ground recommendations in real catalogue items and incorporates long-term listener preferences while operating under strict inference constraints³. The system was evaluated using offline retrieval metrics, human and model-based assessments, and large-scale A/B testing. It increased new-show discovery by up to 14.3% while meeting production latency constraints³. We use the example only to illustrate the line of reasoning. It says nothing about Spotify’s own tax position.

Examples like this show why the technical baseline matters. As more capabilities become available through models, libraries, cloud services and standard platform features, the features themselves tell us less about where the R&D sits.

What this means for the R&D tax relief

The Swedish R&D tax relief reduces employer social security contributions and the general payroll tax for employees working in research and development. The reduction is 20 percent of the contribution base, up to a cap of SEK 3 million per month per group. For software companies, the question is not whether AI was used. Using AI tools does not by itself make work R&D, and it does not rule it out either. What matters is whether the work involved a systematic effort to resolve a technical uncertainty that existing solutions could not. That is why it is important to document the baseline, the limitation and the development work while the project is ongoing, not afterwards.

How Leyton can help

At Leyton, we help software and technology companies identify where genuine R&D sits within their development work, and support them through the R&D tax relief process.

In practical terms, we help you with the following:

  • Establish the technical baseline. We help you describe what was already available when the work began, so the development that went beyond it becomes clear.
  • Identify the technical uncertainty. We work with your engineers to pinpoint where known components or approaches fell short, and what the team had to investigate, test and develop to solve it.
  • Identify the right employees. We help you identify which roles contribute to R&D, for example developers, ML engineers, data scientists and architects.
  • Build documentation that holds up. We prepare technical descriptions and time records that show the problem, the alternatives considered and what was learned. We also help you set up routines so the documentation is produced continuously.
  • Support you during reviews. We present your case clearly and defensibly and support you in your dialogue with the Swedish Tax Agency if questions or reviews arise.

Summary

AI is raising the technical baseline, and the technologies a team uses tell us less and less about where its R&D sits. For software companies, a practical starting point is three questions: what was already possible, what technical problem remained, and what did the team have to investigate, test and develop to solve it?

Companies that can answer these clearly, with documentation from the time the work was done, are best placed to identify and substantiate the genuine R&D within their software development.

Sources

  1. Lewis, P. et al. (2020). Retrieval-Augmented Generation for Knowledge-Intensive NLP Tasks. https://arxiv.org/abs/2005.11401
  2. Google Cloud. (2025). Introducing Vertex AI RAG Engine: Scale your Vertex AI RAG pipeline with confidence. https://cloud.google.com/blog/products/ai-machine-learning/introducing-vertex-ai-rag-engine
  3. D’Amico, E. et al. (2026). Deploying Semantic ID-based Generative Retrieval for Large-Scale Podcast Discovery at Spotify. https://arxiv.org/abs/2603.17540

Claim with Leyton

Book a Free Assessment

Ready to accelerate your transformation? Schedule a 30-minute scoping session with one of our specialized partners to discuss your current challenges.