Read, Extract, Classify: A Tool for Smarter Requirements Engineering
This paper introduces ReXCL, an automated tool that enhances requirements engineering by extracting data from semi-structured documents and classifying requirements using predictive modeling and adaptive fine-tuning, thereby significantly improving efficiency and accuracy in the software development lifecycle.
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 a librarian trying to organize a massive, chaotic pile of customer letters. Some are written on fancy letterheads, some are scribbled on napkins, and some are just long, messy paragraphs. Your job is to read every single one, figure out which part is the "subject line," which part is the "body," and then sort them into four specific bins: Info, Header, Functional Request (what the product must do), and Non-Functional Request (how the product should perform).
Doing this by hand is slow, boring, and prone to mistakes. That's where the ReXCL tool comes in. Think of ReXCL as a super-smart, automated robot librarian designed specifically for the automotive industry.
Here is how it works, broken down into two main steps:
Step 1: The "Extraction" Robot (Cleaning and Organizing)
First, the robot takes a messy document (like a PDF or Word file) and tries to make sense of the layout.
- The Noise Filter: Imagine the document has page numbers, dates, and "Page 1 of 5" stamped all over the top and bottom. These are distractions. The robot uses a simple, fast brain (called a Random Forest classifier) to spot these repetitive patterns and throw them away, just like a sieve separates sand from gold.
- The Structure Builder: Once the noise is gone, the robot looks for the "skeleton" of the document. It finds the section numbers (like "1.1") and the titles (like "Main Task"). It then grabs the text that belongs under those titles.
- The Result: It turns the messy document into a neat, structured table. It's like taking a jumbled box of LEGO bricks and snapping them together into a clear instruction manual where every piece has its own labeled slot.
Step 2: The "Classification" Robot (Sorting and Labeling)
Now that the text is clean and organized, the second robot takes over. This one is much smarter and has been specially trained.
- The Specialist Training: Imagine a general language expert (like a standard BERT model) who knows English well but doesn't know much about cars. This robot takes that expert and gives them a crash course in "Automotive Speak" by reading thousands of unlabeled car requirement documents. This is called Adaptive Fine-Tuning. It's like teaching a general chef to specialize in Italian cuisine by having them taste and study thousands of Italian recipes before they start cooking.
- The Sorting: Now, the robot reads each piece of text and asks, "Is this a fact? Is this a header? Is this a rule about what the car must do (Functional), or a rule about how fast it should go (Non-Functional)?"
- The Result: It slaps a digital label on every sentence. The paper claims this robot is incredibly accurate, especially for tricky categories that other tools miss.
The Proof: Did it work?
The researchers tested their robot against human experts.
- For Extraction: Three experts checked the robot's work on 445 sentences. The robot got a score of 4.45 out of 5. It was also 96% accurate at spotting and removing those annoying page headers and footers.
- For Classification: When the robot tried to sort the text, it was a massive improvement over a standard, untrained model.
- A standard model struggled, getting scores as low as 0.22 (out of 1.0) for difficult categories.
- The ReXCL robot, after its special training, scored between 0.93 and 0.99. It was almost perfect at telling the difference between a "Functional Requirement" and a "Non-Functional Requirement."
The Big Picture
The paper concludes that ReXCL is a tool that automates the boring, error-prone work of turning messy customer documents into clean, structured data.
- What it does: It takes raw files, cleans them, structures them, and labels them.
- What it doesn't do (yet): It currently handles text documents. The authors mention that in the future, they want to teach it to understand images, tables, and spreadsheets, but right now, it sticks to text.
- The Output: Once the robot is done, you can download the results as a neat file (like Excel or CSV) and feed it directly into professional engineering tools like IBM DOORS.
In short, ReXCL is a digital assistant that turns a chaotic pile of requirement documents into a perfectly organized, labeled filing cabinet, saving engineers from hours of manual sorting.
Drowning in papers in your field?
Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.