← Latest papers
💻 computer science

QUARE: Multi-Agent Negotiation for Balancing Quality Attributes in Requirements Engineering

QUARE is a multi-agent framework that automates requirements engineering by employing a dialectical negotiation protocol among five quality-specialized agents to systematically resolve conflicting quality attributes, achieving superior compliance, semantic preservation, and verifiability compared to existing baselines.

Original authors: Haowei Cheng, Milhan Kim, Foutse Khomh, Teeradaj Racharak, Nobukazu Yoshioka, Naoyasu Ubayashi, Hironori Washizaki

Published 2026-03-13
📖 4 min read☕ Coffee break read

Original authors: Haowei Cheng, Milhan Kim, Foutse Khomh, Teeradaj Racharak, Nobukazu Yoshioka, Naoyasu Ubayashi, Hironori Washizaki

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 you are the architect of a massive, futuristic city. You need to build a new district, but you have a team of five very different experts, each with a single, intense obsession:

  1. Safety: "Nothing can ever go wrong! We need triple-redundant brakes and walls thick enough to stop a meteor."
  2. Efficiency: "We need to move fast! No traffic lights, no waiting, and the whole thing must run on a single battery."
  3. Green: "We can't pollute! Every brick must be made of recycled air, and the lights must be solar-powered."
  4. Trust: "No one can sneak in! We need a moat, a drawbridge, and a guard who knows your name."
  5. Responsibility: "We must follow the law and be fair to everyone, even if it slows us down."

If you just ask one general contractor (a standard AI) to build this, they might try to please everyone by making a "compromise" that satisfies no one. Or, they might accidentally ignore the "Green" guy because the "Efficiency" guy is shouting the loudest.

This is the problem QUARE solves.

What is QUARE?

QUARE (Quality-Aware Requirements Engineering) is a new way of using Artificial Intelligence to design software. Instead of asking one giant AI to do all the thinking, QUARE sets up a structured debate between five specialized AI agents (the experts listed above) and a Moderator.

Think of it like a high-stakes town hall meeting where the goal isn't to vote, but to find a creative solution that keeps everyone happy without breaking the rules.

How Does It Work? (The 5-Step Dance)

  1. The Solo Acts (Parallel Generation):
    First, each expert writes down their own list of rules. The Safety expert writes 10 rules about safety; the Efficiency expert writes 10 about speed. They don't talk to each other yet. They just do their job.

  2. The Debate (Dialectical Negotiation):
    This is the magic part. The Moderator brings them together.

    • Thesis: Safety says, "We need a 500ms delay to check for errors."
    • Antithesis: Efficiency screams, "No! 500ms is too slow! We need 30ms!"
    • Synthesis: Instead of just picking one or splitting the difference (250ms), they brainstorm a new solution. Maybe they design a "Fast Lane" for normal traffic (30ms) and a "Slow Lane" for emergencies (500ms).
    • They keep arguing and refining until they find a solution that satisfies the spirit of both rules.
  3. The Blueprint (Integration):
    Once they agree, the Moderator takes all the agreed-upon ideas and draws a formal map (called a KAOS model). This ensures the building doesn't have circular logic (like a door that opens only if the door is already open).

  4. The Inspector (Verification):
    Before the building is "built," a robot inspector checks the blueprint against the actual law books (industry standards like ISO). It uses a "Retrieval-Augmented Generation" (RAG) system, which is like giving the inspector a library of laws to look up instantly to make sure nothing is illegal.

  5. The Final Plan:
    The result is a perfect, legally compliant, and balanced blueprint ready for the software engineers to build.

Why Is This Better Than What We Had Before?

Previous methods were like asking one person to be the Safety expert, the Green expert, and the Efficiency expert all at once. They would get confused, or they would just pick the "easiest" answer.

  • Old Way: "Okay, we'll make it safe, but we'll ignore the green stuff because it's hard."
  • QUARE Way: "We found a way to be safe, fast, and green by changing the architecture of the system."

The Results: What Did They Find?

The researchers tested QUARE on real-world scenarios, like designing an autonomous car (self-driving) and a banking system.

  • More Ideas: QUARE generated 25% to 43% more requirements than other AI systems. It didn't miss the "boring" details.
  • Better Balance: It didn't let one expert dominate. Every quality (Safety, Green, Speed, etc.) got a fair share of the attention.
  • Staying True: When the AI argued and changed its mind, it didn't lose the original point of the project. It kept the "soul" of the request intact (94.9% accuracy).
  • Following the Rules: Most importantly, QUARE's designs followed industry laws 98.2% of the time. Other systems only got about 47% right.

The Big Takeaway

The paper concludes that you don't need a bigger, smarter AI to solve complex problems. You need a better team structure.

Just like a successful company needs a CEO, a CFO, and a CTO working together with clear rules for how they talk to each other, successful software design needs specialized AI agents that debate, compromise, and verify their work. QUARE proves that how you organize the conversation is more important than how big the brain is.

Drowning in papers in your field?

Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.

Try Digest →