# University of Lübeck Study Shows How Chatbot Scope Limits AI Compliance Costs

> Using a working university admissions chatbot, researchers connect technical architecture and quality assurance with accountability under European AI and data-protection rules. The framework highlights why compliance decisions belong at the start of development, not just in a final legal review.

**Source**: bioengineer.org | **Published**: 2026-11-29 | **Type**: research

## Key Facts

- Lübeck’s chatbot avoids high-risk status by excluding admissions decisions, showing scope control can limit compliance costs.
- On-premises Ollama shifts processing into institutional jurisdiction, reducing exposure to cross-border data-transfer rules.
- No accounts, tracking, or chat retention minimize personal-data exposure, but incidental prompts still require GDPR safeguards.
- Voice features can trigger GDPR biometric-data rules under Articles 4(14) and 9, making multimodal expansion legally costly.
- Compliance is lifecycle work: risk scores above 6 require mitigation, while AI quality needs drift, fairness, and robustness testing.

## Summary

Researchers at the University of Lübeck have published a technical and regulatory framework for building chatbots that comply with European rules, using an operational university admissions-information bot as a case study. The study matters to business leaders because it treats compliance not as a final legal review but as a set of choices about product scope, data flows, model hosting and testing—choices that can determine a system’s regulatory obligations from the outset.

Published in *Discover Artificial Intelligence* by Ludwig Pechmann, Frederic Kanter, Christoph Aust and Martin Leucker, the study examines a chatbot that answers questions about the university’s Master of Science in Artificial Intelligence program. Its architecture combines a React.js web interface, a Python backend built with FastAPI, PostgreSQL for relational data and FAISS for vector search. The team initially used commercial inference through OpenAI APIs and also developed a version running Ollama on local hardware, illustrating how hosting decisions affect where data are processed and which cross-border rules may apply.

The chatbot uses retrieval-augmented generation rather than relying solely on a model’s general knowledge. It first checks whether a prompt concerns the degree program and excludes prohibited content, then searches university documents for relevant passages and supplies them to the model as context. The response is reviewed before delivery. This design can constrain answers to approved material, but it does not eliminate the need to test accuracy, misuse and model behavior.

The study’s regulatory analysis turns on function, not the fact that a system uses a large language model. Under the EU Artificial Intelligence Act, a general-purpose model is not automatically high-risk; classification depends on the downstream system’s purpose and use. The Lübeck bot avoids high-risk education functions because it does not assess applicants, rank students, evaluate academic performance or make admission decisions. It provides general, non-binding information and directs users to human coordinators for binding decisions, placing it in the transparency-risk category, where Article 50 disclosure duties apply.

That boundary has direct product implications. A chatbot that later begins screening applications or recommending admissions decisions could face a different classification and heavier obligations. The study also notes that organizations may take on provider responsibilities if they substantially modify, rebrand or repurpose an existing system for sensitive functions. Product teams therefore need to govern changes in scope, not just the initial launch.

For privacy, the university’s approach is to minimize data collection: no accounts, tracking, profiling or stored conversation history. Users are told not to submit personal information; incidental data in prompts is processed temporarily and discarded rather than retained for profiling or model training. The study identifies Article 6(1)(e), covering public tasks, as the basis for processing incidental submissions in this setting. It also warns that voice features can trigger stricter GDPR rules: audio used to identify a person may constitute biometric data, subject to Article 9 restrictions.

The authors pair legal controls with software-quality and risk-management practices. They draw on ISO/IEC 25000 standards, AI trustworthiness guidance and ISO/IEC 42001, while adding tests for fairness, robustness, explainability and performance drift—areas that conventional software testing may not capture for probabilistic systems. Their risk model scores severity and probability on four levels and requires mitigation when a score exceeds six. Testing covers factual accuracy against official sources, biased prompts, illegal requests and attempts to push the bot beyond its intended role.

For executives, the practical implication is that AI governance must follow the product as it evolves. A company that adds voice input, connects a chatbot to user profiles or expands it into decisions could cross new legal thresholds; the next investment should therefore be in change-control processes that reassess risk and data flows before each material feature release, not only in compliance reviews at launch.

## Entities

- **Companies**: OpenAI
- **Products**: AI Master Chatbot, Ollama, React.js, FastAPI, PostgreSQL, FAISS
- **Technologies**: large language models, retrieval-augmented generation, embeddings, vector databases, biometric templates, voiceprints, Standard Contractual Clauses
- **People**: Ludwig Pechmann, Frederic Kanter, Christoph Aust, Martin Leucker, Denise Maddox
- **Organizations**: University of Lübeck, European Union, Discover Artificial Intelligence, Organization for Economic Cooperation and Development, National Institute of Standards and Technology, Scienmag

## Key Concepts

Compliance must be built into chatbot architecture from the outset, since technical choices shape legal obligations., The chatbot uses input validation, document retrieval, and retrieval-augmented generation to constrain answers to university information., The university chatbot is designed as a transparency-risk system rather than a high-risk education system because it does not evaluate or rank students., Data minimization is implemented by avoiding accounts, tracking, profiling, and conversation-history retention., Generative AI quality assurance must address fairness, robustness, explainability, and post-market drift in addition to conventional software quality., Voice interfaces can trigger heightened privacy obligations when audio is processed to identify individuals., Risk assessment and behavioral testing are used to identify hazards and verify accuracy, fairness, safety, and scope limits., Regulatory responsibilities can shift when organizations substantially modify, rebrand, or repurpose an AI system.

## Definitions

- **Retrieval-augmented generation**: A workflow that retrieves relevant source material and adds it to a prompt so a language model can generate a context-informed response.
- **Transparency-risk system**: An AI system subject to disclosure duties, including informing users that they are interacting with AI, but not classified as high-risk in the described deployment.
- **Data minimization**: Limiting personal-data processing to what is necessary for the stated purpose, including avoiding unnecessary collection or retention.
- **Biometric data**: Personal data resulting from specific technical processing of physical, physiological, or behavioral characteristics that can identify a person uniquely.
- **Transfer Impact Assessment**: A documented assessment of whether personal data transferred internationally will receive adequate protection under the destination’s laws and circumstances.

## Use Cases

- Answering prospective students’ questions about an AI master’s curriculum, application prerequisites, and administrative deadlines.
- Retrieving relevant passages from institutional documents to ground chatbot responses in university information.
- Providing general educational information while directing users to human coordinators for binding administrative decisions.
- Using voice-enabled assistants, with safeguards against generating biometric templates or voiceprints without legal grounds.
- Applying chatbots in healthcare diagnosis or triage, where medical-device rules and additional quality and risk controls may apply.
- Testing chatbot accuracy, bias handling, rejection of illegal requests, and resilience to abusive or out-of-scope prompts.

## Frequently Asked Questions

**What architecture does the University of Lübeck chatbot use?**

It consists of a web frontend, a FastAPI backend, and a language model. The backend uses PostgreSQL for relational data and FAISS for vector-based retrieval, then supplies relevant university material to the model.

**Why is the AI Master Chatbot not classified as high-risk under the EU AI Act?**

It provides non-binding general information and does not evaluate applicants, rank students, assess academic performance, or allocate educational resources. Its main stated AI Act obligation is transparency, including notifying users that they are interacting with AI.

**How does the chatbot limit privacy risks?**

It has no user accounts, tracking, profiling, or stored conversation history, and it tells users not to submit personal information. Incidental data is processed temporarily to generate a response and then discarded rather than retained for profiling or model training.

**What additional legal issues arise when a chatbot supports voice?**

Audio may qualify as biometric data when processed to uniquely identify a person, bringing GDPR special-category protections into play. Developers must limit processing purposes and avoid generating voiceprints or biometric templates without a valid legal basis.

**How does the study recommend validating chatbot safety and quality?**

It combines software-quality guidance with a risk model that scores severity and probability, requiring mitigation when scores exceed the stated threshold of six. Testing covers factual accuracy, bias and non-discrimination, illegal requests, and attempts to exploit the chatbot beyond its intended educational scope.

## Links

- [Read on Welcome.AI](https://welcome.ai/content/university-of-lbeck-study-shows-how-chatbot-scope-limits-ai-compliance-costs)
- [Original source](https://bioengineer.org/study-outlines-architectural-framework-for-building-regulatory-compliant-ai-chatbots/)

---

Source: Welcome.AI | https://welcome.ai/content/university-of-lbeck-study-shows-how-chatbot-scope-limits-ai-compliance-costs