Large Language Models for Analyzing Enterprise Architecture Debt in Unstructured Documentation
This study proposes and evaluates a design science approach using large language models to automatically detect and quantify Enterprise Architecture Smells in unstructured documentation, demonstrating that while custom GPT-based models offer higher precision and speed, fine-tuned on-premise models provide a viable alternative with enhanced data protection benefits.
Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer
Imagine a massive, old library belonging to a giant company. This library doesn't just hold books; it holds the company's entire "brain"—its strategies, rules, meeting notes, and process manuals. Over the years, the company has made some quick fixes, changed its mind about things, or forgotten to update old plans. These messy, outdated ideas are like cracks in the foundation of a building. In the tech world, we call this "Enterprise Architecture Debt."
The problem is that most of these cracks are hidden inside unstructured documents—long, messy paragraphs of text, not neat spreadsheets or diagrams. Finding these cracks manually is like trying to find a specific typo in a million-page novel by reading every single word with a magnifying glass. It's slow, expensive, and humans get tired.
This paper asks: Can we teach a super-smart robot (an AI) to read these messy documents and find the cracks for us?
Here is the story of how they tried to do it, explained simply:
1. The Two Robots: The Local Handyman vs. The Cloud Super-Genius
The researchers built two different "detective bots" to find these architectural cracks (which they call "EA Smells").
- Robot A (The Local Handyman): This is a smaller, open-source AI (based on LLaMA) that runs on a regular computer in the company's own office.
- The Good: It's like a trusted local handyman. You can keep all your secret blueprints inside your house; no data leaves the building. It respects privacy.
- The Bad: It's a bit slow and gets confused easily. It's like a handyman who sees a stain on the wall and screams, "That's a leak!" even when it's just a shadow. It cries "Wolf" too often (false positives).
- Robot B (The Cloud Super-Genius): This is a powerful, proprietary AI (like a custom version of GPT) that lives in the cloud.
- The Good: It's incredibly sharp. It spots the real cracks with high precision and works lightning fast. It's like a master architect who can spot a structural flaw from a mile away.
- The Bad: To use it, you have to send your secret company documents to the cloud. For some companies, that's a dealbreaker because of privacy rules. Also, it sometimes gets overwhelmed if you give it too many documents at once.
2. The Experiment: The "Fake Company" Test
To see who was better, the researchers created a "fake company" called NextTech. They wrote 30 realistic business documents (like strategy papers and process guides) and secretly planted specific "cracks" (smells) into them.
They asked both robots to read the documents and say: "Where are the problems?"
The Results:
- Robot A (Local Handyman): It was very eager. It found a lot of problems, but many of them weren't real. It confused "temporary fixes" with "permanent disasters." It was also very slow, taking about 2 minutes to read just one document.
- Robot B (Cloud Super-Genius): It was much more careful. It found fewer problems, but the ones it found were almost always real. It was incredibly fast, reading a document in 2 seconds. However, it sometimes missed subtle cracks if there were too many documents to read at once.
3. The Big Takeaway: The "Human-in-the-Loop"
The paper concludes that neither robot is perfect enough to replace a human architect yet.
- Robot A is great for companies that cannot share data with the outside world, but they need to accept that the robot will make mistakes and need a human to double-check its work.
- Robot B is great for speed and accuracy, but only if the company is okay with sending data to the cloud.
The Best Solution?
Think of these robots as metal detectors at a beach.
- The robot scans the sand and beeps when it finds something metal (a potential "smell").
- The human architect is the person who picks up the object to see if it's a valuable coin (a real problem) or just a soda can tab (a false alarm).
Why Does This Matter?
In the past, finding these "cracks" in a company's plan required expensive experts sitting in rooms for days. Now, we have a tool that can scan thousands of pages in minutes. Even if the tool isn't perfect yet, it acts as a safety net, catching issues early before they turn into expensive disasters.
In short: We are teaching AI to read the messy notes of a company to find hidden problems. The AI isn't the boss yet, but it's becoming a very helpful assistant that lets human experts focus on fixing the real issues instead of just searching for them.
Drowning in papers in your field?
Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.