Datasets:
Upload folder using huggingface_hub
Browse files- README.md +163 -121
- figures/correlation_heatmap_readable.png +3 -0
- figures/e1_model_share_by_class.png +3 -0
- figures/e2_rejection_reasons.png +3 -0
- figures/e4_text_vs_label.png +3 -0
- figures/e6_report_length.png +3 -0
- figures/e7_cooccurrence.png +3 -0
- figures/e7_word_frequency.png +3 -0
- figures/e7_wordcloud.png +3 -0
- figures/e8_tfidf_pca.png +3 -0
- figures/f_first_vs_final_run.png +3 -0
- figures/rq2_ranked_fault_signature_similarity.png +3 -0
- figures/rq6_persistence_by_fault_and_severity.png +3 -0
README.md
CHANGED
|
@@ -1,125 +1,15 @@
|
|
| 1 |
---
|
| 2 |
-
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
dtype: int64
|
| 14 |
-
- name: flight_phase
|
| 15 |
-
dtype: string
|
| 16 |
-
- name: fault_class
|
| 17 |
-
dtype: string
|
| 18 |
-
- name: flight_fault_class
|
| 19 |
-
dtype: string
|
| 20 |
-
- name: severity
|
| 21 |
-
dtype: string
|
| 22 |
-
- name: severity_ordinal
|
| 23 |
-
dtype: int64
|
| 24 |
-
- name: severity_score
|
| 25 |
-
dtype: float64
|
| 26 |
-
- name: active_mechanisms_json
|
| 27 |
-
dtype: string
|
| 28 |
-
- name: active_families_json
|
| 29 |
-
dtype: string
|
| 30 |
-
- name: scheduled_events_json
|
| 31 |
-
dtype: string
|
| 32 |
-
- name: fault_onset_window
|
| 33 |
-
dtype: int64
|
| 34 |
-
- name: is_compound
|
| 35 |
-
dtype: bool
|
| 36 |
-
- name: domain_shift
|
| 37 |
-
dtype: bool
|
| 38 |
-
- name: source_type
|
| 39 |
-
dtype: string
|
| 40 |
-
- name: approved_mitigation
|
| 41 |
-
dtype: string
|
| 42 |
-
- name: approved_inspection
|
| 43 |
-
dtype: string
|
| 44 |
-
- name: physics_validation_status
|
| 45 |
-
dtype: string
|
| 46 |
-
- name: action_training_eligible
|
| 47 |
-
dtype: bool
|
| 48 |
-
- name: consequence_control
|
| 49 |
-
dtype: float64
|
| 50 |
-
- name: consequence_power
|
| 51 |
-
dtype: float64
|
| 52 |
-
- name: consequence_navigation
|
| 53 |
-
dtype: float64
|
| 54 |
-
- name: consequence_altitude
|
| 55 |
-
dtype: float64
|
| 56 |
-
- name: altitude_mean_m
|
| 57 |
-
dtype: float64
|
| 58 |
-
- name: commanded_speed_mean_mps
|
| 59 |
-
dtype: float64
|
| 60 |
-
- name: voltage_mean_v
|
| 61 |
-
dtype: float64
|
| 62 |
-
- name: voltage_min_v
|
| 63 |
-
dtype: float64
|
| 64 |
-
- name: voltage_slope_v_s
|
| 65 |
-
dtype: float64
|
| 66 |
-
- name: current_mean_a
|
| 67 |
-
dtype: float64
|
| 68 |
-
- name: motor_output_mean
|
| 69 |
-
dtype: float64
|
| 70 |
-
- name: motor_output_std
|
| 71 |
-
dtype: float64
|
| 72 |
-
- name: motor_imbalance
|
| 73 |
-
dtype: float64
|
| 74 |
-
- name: accel_rms_g
|
| 75 |
-
dtype: float64
|
| 76 |
-
- name: gyro_rms_dps
|
| 77 |
-
dtype: float64
|
| 78 |
-
- name: attitude_error_mean_deg
|
| 79 |
-
dtype: float64
|
| 80 |
-
- name: vibration_rms_g
|
| 81 |
-
dtype: float64
|
| 82 |
-
- name: gps_satellites_mean
|
| 83 |
-
dtype: int64
|
| 84 |
-
- name: gps_hdop_mean
|
| 85 |
-
dtype: float64
|
| 86 |
-
- name: position_innovation_mean_m
|
| 87 |
-
dtype: float64
|
| 88 |
-
- name: baro_altitude_std_m
|
| 89 |
-
dtype: float64
|
| 90 |
-
- name: altitude_residual_mean_m
|
| 91 |
-
dtype: float64
|
| 92 |
-
- name: vertical_speed_error_mean_mps
|
| 93 |
-
dtype: float64
|
| 94 |
-
- name: wind_estimate_mean_mps
|
| 95 |
-
dtype: float64
|
| 96 |
-
- name: qwen_source_evidence_json
|
| 97 |
-
dtype: string
|
| 98 |
-
- name: evidence_hash
|
| 99 |
-
dtype: string
|
| 100 |
-
- name: symptom_report
|
| 101 |
-
dtype: string
|
| 102 |
-
- name: report_generation_method
|
| 103 |
-
dtype: string
|
| 104 |
-
- name: report_validator_pass
|
| 105 |
-
dtype: bool
|
| 106 |
-
- name: report_retry_count
|
| 107 |
-
dtype: int64
|
| 108 |
-
- name: report_model
|
| 109 |
-
dtype: string
|
| 110 |
-
- name: report_model_revision
|
| 111 |
-
dtype: string
|
| 112 |
-
- name: prompt_version
|
| 113 |
-
dtype: string
|
| 114 |
-
splits:
|
| 115 |
-
- name: benchmark
|
| 116 |
-
num_bytes: 13946536
|
| 117 |
-
num_examples: 10500
|
| 118 |
-
- name: challenge
|
| 119 |
-
num_bytes: 4237903
|
| 120 |
-
num_examples: 3500
|
| 121 |
-
download_size: 5678523
|
| 122 |
-
dataset_size: 18184439
|
| 123 |
configs:
|
| 124 |
- config_name: default
|
| 125 |
data_files:
|
|
@@ -128,3 +18,155 @@ configs:
|
|
| 128 |
- split: challenge
|
| 129 |
path: data/challenge-*
|
| 130 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 13 |
configs:
|
| 14 |
- config_name: default
|
| 15 |
data_files:
|
|
|
|
| 18 |
- split: challenge
|
| 19 |
path: data/challenge-*
|
| 20 |
---
|
| 21 |
+
|
| 22 |
+
# UAV Fault Symptom Reports
|
| 23 |
+
|
| 24 |
+
A synthetic dataset of UAV flight telemetry paired with operator-style symptom reports written by a
|
| 25 |
+
language model. Each row is one five-second window of a flight: 20 telemetry channels, the fault
|
| 26 |
+
class, a severity derived from simulated consequences, and a one-sentence report.
|
| 27 |
+
|
| 28 |
+
| split | rows | flights | model-written reports | unique reports |
|
| 29 |
+
| --- | --- | --- | --- | --- |
|
| 30 |
+
| benchmark | 10,500 | 2,100 | 91.5% | 82.6% |
|
| 31 |
+
| challenge | 3,500 | 700 | 94.7% | 91.9% |
|
| 32 |
+
|
| 33 |
+
**benchmark** is balanced across seven classes (six fault families plus normal).
|
| 34 |
+
**challenge** is harder: mostly normal flights, random fault onset, and some flights with two faults.
|
| 35 |
+
|
| 36 |
+
## How it was generated
|
| 37 |
+
|
| 38 |
+
1. A mechanistic simulator produces telemetry from sampled aircraft, battery, sensor and
|
| 39 |
+
environment state. Fault events change those latent parameters, never the telemetry directly.
|
| 40 |
+
2. Labels are read from the event log afterwards, so the fault class never builds the telemetry.
|
| 41 |
+
3. Facts are derived from the telemetry against fixed thresholds.
|
| 42 |
+
4. `Qwen/Qwen2.5-0.5B-Instruct` rewrites those facts as an operator report, using a
|
| 43 |
+
system prompt, few-shot examples, a JSON output format and explicit constraints.
|
| 44 |
+
5. Every report is validated: length, no numbers, no diagnosis, no actions, no inferred causes, no
|
| 45 |
+
signals the model was not given, no chat-style text. Failures are retried twice, then replaced
|
| 46 |
+
by a templated sentence built from the same facts.
|
| 47 |
+
|
| 48 |
+
The model never sees the fault class, the severity or the recommended action.
|
| 49 |
+
|
| 50 |
+
## Exploratory data analysis
|
| 51 |
+
|
| 52 |
+
### Instruction-following failures
|
| 53 |
+
|
| 54 |
+
91.5% of reports were written by the model and accepted. The rest failed
|
| 55 |
+
validation three times. Rejection reasons across all attempts:
|
| 56 |
+
|
| 57 |
+
| reason | rejections | share_of_attempts |
|
| 58 |
+
|:------------------------------------|-------------:|--------------------:|
|
| 59 |
+
| Too short / too long | 2642 | 0.192 |
|
| 60 |
+
| Inferred a cause | 1208 | 0.088 |
|
| 61 |
+
| Other | 271 | 0.02 |
|
| 62 |
+
| Mentioned a signal it was not given | 216 | 0.016 |
|
| 63 |
+
| Ignored the given signals | 147 | 0.011 |
|
| 64 |
+
| Invented a number | 61 | 0.004 |
|
| 65 |
+
| Named a diagnosis | 1 | 0 |
|
| 66 |
+
|
| 67 |
+

|
| 68 |
+
|
| 69 |
+
*Why model outputs were rejected*
|
| 70 |
+
|
| 71 |
+

|
| 72 |
+
|
| 73 |
+
*Model-written share per fault class*
|
| 74 |
+
|
| 75 |
+
|
| 76 |
+
### Hallucination
|
| 77 |
+
|
| 78 |
+
Accepted reports naming a signal they were not given: **0**. The validator blocks these.
|
| 79 |
+
31.6% of accepted reports add no content word beyond their facts.
|
| 80 |
+
|
| 81 |
+
### Inconsistency between text and label
|
| 82 |
+
|
| 83 |
+
Each report describes one five-second window, and never sees the label. **36.4%** of fault
|
| 84 |
+
windows show no threshold crossing and are described as steady; **15.8%** of normal
|
| 85 |
+
windows cross one during ordinary manoeuvres and are described as irregular. These rows are where
|
| 86 |
+
the text alone cannot identify the fault.
|
| 87 |
+
|
| 88 |
+

|
| 89 |
+
|
| 90 |
+
*How each class is described by its text*
|
| 91 |
+
|
| 92 |
+

|
| 93 |
+
|
| 94 |
+
*Reports in TF-IDF space, coloured by class*
|
| 95 |
+
|
| 96 |
+
|
| 97 |
+
### Duplication, and how the EDA changed the generation
|
| 98 |
+
|
| 99 |
+
The first full run had **42.8%** duplicate reports. The cause was the input:
|
| 100 |
+
the evidence builder drew from a small fixed pool of facts, which capped how many different reports
|
| 101 |
+
were possible. Widening the evidence phrasings brought duplicates down to
|
| 102 |
+
**17.4%**. Counting reports that differ only in word order or function
|
| 103 |
+
words as the same, the near-duplicate rate is
|
| 104 |
+
**25.9%**.
|
| 105 |
+
|
| 106 |
+

|
| 107 |
+
|
| 108 |
+
*First run vs. final run*
|
| 109 |
+
|
| 110 |
+
|
| 111 |
+
### Text statistics
|
| 112 |
+
|
| 113 |
+

|
| 114 |
+
|
| 115 |
+
*Words per report*
|
| 116 |
+
|
| 117 |
+

|
| 118 |
+
|
| 119 |
+
*Top content words and Zipf plot*
|
| 120 |
+
|
| 121 |
+

|
| 122 |
+
|
| 123 |
+
*Word cloud*
|
| 124 |
+
|
| 125 |
+

|
| 126 |
+
|
| 127 |
+
*Signal families mentioned together*
|
| 128 |
+
|
| 129 |
+
|
| 130 |
+
### Telemetry
|
| 131 |
+
|
| 132 |
+
Severity is scored per window, so it can escalate within a flight:
|
| 133 |
+
**43.6%** of flights change severity across their five windows, and
|
| 134 |
+
92.5% of those only escalate.
|
| 135 |
+
|
| 136 |
+

|
| 137 |
+
|
| 138 |
+
*Telemetry correlations*
|
| 139 |
+
|
| 140 |
+

|
| 141 |
+
|
| 142 |
+
*Similarity between fault signatures*
|
| 143 |
+
|
| 144 |
+

|
| 145 |
+
|
| 146 |
+
*Persistence of fault evidence across windows*
|
| 147 |
+
|
| 148 |
+
|
| 149 |
+
### Flagged issues
|
| 150 |
+
|
| 151 |
+
| issue | type | rows affected | share of rows | handling |
|
| 152 |
+
|:--------------------------------------------------------------------------|:-------------------------------|----------------:|----------------:|:----------------------------------------------------------------------------------------|
|
| 153 |
+
| Model failed its instructions and fell back to a template | instruction following | 896 | 0.085 | Kept, labelled canonical_grounded_fallback; the sentence states the same facts |
|
| 154 |
+
| Accepted report names a signal it was not given | hallucination | 0 | 0 | Blocked by the validator before acceptance |
|
| 155 |
+
| Fault window described as steady operation | inconsistency (text vs. label) | 2785 | 0.265 | Intended: the fault was not visible in that window. Flagged for the recommendation step |
|
| 156 |
+
| Normal window described as irregular | inconsistency (text vs. label) | 201 | 0.019 | Intended: ordinary manoeuvres cross thresholds. Flagged for the recommendation step |
|
| 157 |
+
| Exact duplicate report text | duplication | 1823 | 0.174 | Reduced from the first run by widening the evidence (Part F) |
|
| 158 |
+
| Near-duplicate report text (differs only in word order or function words) | duplication | 2719 | 0.259 | Flagged; each row still carries its own telemetry, but the text adds little on its own |
|
| 159 |
+
| Chat residue in a report | instruction following | 0 | 0 | Blocked by the validator |
|
| 160 |
+
|
| 161 |
+
## Limitations
|
| 162 |
+
|
| 163 |
+
- The simulator is a transparent mechanistic prototype, not a validated flight-dynamics model.
|
| 164 |
+
- Severity is a declared academic rubric, not a certified safety scale.
|
| 165 |
+
- `approved_mitigation` and `approved_inspection` are fixed academic placeholders, one per fault
|
| 166 |
+
family; they are not maintenance procedures.
|
| 167 |
+
|
| 168 |
+
## Files
|
| 169 |
+
|
| 170 |
+
- `01_synthetic_data_generation.ipynb` - the generator
|
| 171 |
+
- `02_dataset_and_eda.ipynb` - this analysis
|
| 172 |
+
- `manifest.json` - seed, model revision, row counts and SHA-256 of each file
|
figures/correlation_heatmap_readable.png
ADDED
|
Git LFS Details
|
figures/e1_model_share_by_class.png
ADDED
|
Git LFS Details
|
figures/e2_rejection_reasons.png
ADDED
|
Git LFS Details
|
figures/e4_text_vs_label.png
ADDED
|
Git LFS Details
|
figures/e6_report_length.png
ADDED
|
Git LFS Details
|
figures/e7_cooccurrence.png
ADDED
|
Git LFS Details
|
figures/e7_word_frequency.png
ADDED
|
Git LFS Details
|
figures/e7_wordcloud.png
ADDED
|
Git LFS Details
|
figures/e8_tfidf_pca.png
ADDED
|
Git LFS Details
|
figures/f_first_vs_final_run.png
ADDED
|
Git LFS Details
|
figures/rq2_ranked_fault_signature_similarity.png
ADDED
|
Git LFS Details
|
figures/rq6_persistence_by_fault_and_severity.png
ADDED
|
Git LFS Details
|