Hostname: page-component-74656f9884-8r8nv Total loading time: 0 Render date: 2026-11-07T13:32:43.087Z Has data issue: false hasContentIssue false

Using evolutionary algorithms to select text features for mining design rationale

Published online by Cambridge University Press:  30 January 2020

Miriam Lester
Affiliation:
Department of Mathematics and Computer Science, Wesleyan University, Middletown, CT, USA
Miguel Guerrero
Affiliation:
Department of Mathematics and Computer Science, Colorado College, Colorado Springs, CO, USA
Janet Burge*
Affiliation:
Department of Mathematics and Computer Science, Colorado College, Colorado Springs, CO, USA
*
Author for correspondence: Janet Burge, E-mail: jburge@coloradocollege.edu
Rights & Permissions [Opens in a new window]

Abstract

At its heart, design is a decision-making process. These decisions, and the reasons for making them, comprise the design rationale (DR) for the designed artifact. If available, DR provides a comprehensive record of the reasoning behind the decisions made during the design. Unfortunately, while this information is potentially quite valuable, it is usually not explicitly captured. Instead, it is often buried in other design and development artifacts. In this paper, we study how to identify rationale from text documents, specifically software bug reports and design discussion transcripts. The method we examined is statistical text mining where a model is built to use document features to classify sentences. Choosing which features are most likely to be good predictors is important. We studied two evolutionary algorithms to optimize feature selection – ant colony optimization and genetic algorithms. We found that for many types of rationale, models built with an optimized feature set outperformed those built using all the document features.

Information

Type
Research Article
Copyright
Copyright © Cambridge University Press 2020
Figure 0

Fig. 1. Annotated document in GATE.

Figure 1

Fig. 2. Pipeline for classifier building (Lester and Burge, 2018).

Figure 2

Fig. 3. Sentence dictionary representation.

Figure 3

Fig. 4. ACO flow chart (Lester and Burge, 2018).

Figure 4

Fig. 5. Chromosome structure.

Figure 5

Fig. 6. Crossover example.

Figure 6

Fig. 7. Genetic algorithm process.

Figure 7

Table 1. Binary rationale (all rationale subclasses)

Figure 8

Table 2. Argumentation subset (alternative, argument, assumption, decision, and requirement)

Figure 9

Table 3. Arguments-all (requirement, argument, and assumption)

Figure 10

Table 4. Alternative

Figure 11

Table 5. Decision

Figure 12

Table 6. Binary rationale (all rationale subclasses)

Figure 13

Table 7. Argumentation subset (alternative, argument, assumption, decision, and requirement)

Figure 14

Table 8. Arguments-all (requirement, argument, and assumption)

Figure 15

Table 9. Alternative

Figure 16

Table 10. Decision