Here’s a comprehensive solution addressing all three aspects of AI extraction for safety requirements:
1. AI Extraction Model Configuration for Domain-Specific Terminology
Polarion’s AI extraction can be tuned using custom extraction rules. Create a configuration file that defines safety-critical term patterns:
<extractionRules domain="automotive-safety">
<termPattern priority="high">ASIL-[A-D]</termPattern>
<termPattern priority="high">fail-safe|fail-operational</termPattern>
<termPattern priority="high">redundant.*validation</termPattern>
</extractionRules>
Upload this to Polarion → Administration → Document Processing → AI Extraction Rules. This forces the AI to treat these patterns as high-confidence requirement indicators even if surrounding context is ambiguous.
2. Safety Constraint Pattern Recognition and Validation
Implement a two-stage validation workflow:
Stage 1 - Post-Extraction Validation:
Create a Polarion workflow function that runs after AI extraction:
// Pseudocode - Safety requirement validation:
1. Query all requirements extracted from document
2. For each requirement, check for safety indicators:
- Contains ASIL level designation
- Has failure mode description
- Includes verification method
3. Flag requirements missing safety metadata
4. Auto-assign to safety engineer for review
Stage 2 - Completeness Check:
Use Polarion’s custom field validation to enforce safety constraint completeness. Create mandatory custom fields for safety requirements:
- ASIL Level (enum: A/B/C/D)
- Safety Goal Reference (link to parent safety goal)
- Failure Mode (text)
- Verification Method (enum: Test/Inspection/Analysis)
Requirements missing these fields are automatically flagged in the traceability matrix.
3. Hybrid Manual-Automated Requirement Capture Workflow
Implement this three-phase approach:
Phase 1 - AI First Pass (Automated):
- Run AI extraction on full document to capture obvious functional requirements
- AI typically handles 70-80% of standard requirements well
Phase 2 - Safety Section Manual Review (Semi-Automated):
- Configure document import to auto-tag sections with safety-related headings
- Safety engineer reviews only these tagged sections (10-15% of document)
- Use Polarion’s inline editing to manually create requirements the AI missed
- Apply the safety requirement template with mandatory custom fields
Phase 3 - Cross-Reference Validation (Automated):
- Run a validation script that compares extracted requirements against safety standards checklist
- Generate gap report showing which safety aspects lack requirements
- Example validation rules:
- Every ASIL-C/D function must have redundancy requirement
- Every sensor input must have validation requirement
- Every failure mode must have detection and mitigation requirements
Implementation Priority:
- Start with Phase 2 (manual review of safety sections) - this immediately improves your 15-20% capture rate to 90%+
- Add Phase 3 validation to catch systematic gaps
- Fine-tune Phase 1 AI rules over time as you identify common missed patterns
This hybrid approach balances automation efficiency with safety-critical thoroughness. The AI handles routine functional requirements while safety engineers focus their expertise on critical constraints.