Datasets:

ArXiv:
License:
LbhYqh commited on
Commit
02c4b4d
·
verified ·
1 Parent(s): a62ad47

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +8 -2
README.md CHANGED
@@ -173,20 +173,26 @@ We use the following _statistical-based metrics_:
173
 
174
  - **Scoring Formula**:
175
 
176
- \[
177
  \text{Score} = \frac{|A \cap B|}{n} \times \left( 1 - \frac{1}{p} \times \min\left(\frac{\text{dist}(A, B)}{\operatorname{max}(n, m)}, p \right)\right)
178
- \]
179
 
180
  - Ensures a score of 0 when no correct images are present.
181
  - \( \frac{|A \cap B|}{n} \): Normalization factor.
182
 
183
  - **Details**:
184
  - Here, dist(A, B) represents the weighted edit distance between string A and string B , i.e., the minimum total cost to transform string B into string A through the following three operations:
 
185
  - **String Insertion**: If B is missing certain images, insert an image from A into a specific position in B
186
  . The operation cost is p_1.
 
187
  - **String Deletion**: If B contains extra irrelevant images, delete them. The operation cost is p_2.
 
 
188
  - **String Substitution**: If the positions of images in B do not match A, substitute the image in B with the corresponding image from A. The operation cost is p_3.
 
189
  - The weights generally satisfy p_1 > p_2 > p_3, and p >= p_1 ensures the final score falls within the range \[0, 1\].
 
190
  - Weighted edit distance can be computed using dynamic programming, with a time complexity of O(mn).
191
 
192
  - **Rouge-L** is a text generation evaluation metric based on the longest common subsequence, measuring the structural similarity between the answer and the ground truth.
 
173
 
174
  - **Scoring Formula**:
175
 
176
+ ![\[
177
  \text{Score} = \frac{|A \cap B|}{n} \times \left( 1 - \frac{1}{p} \times \min\left(\frac{\text{dist}(A, B)}{\operatorname{max}(n, m)}, p \right)\right)
178
+ \]](https://cdn-uploads.huggingface.co/production/uploads/67571051d39ac252085797ca/KF53yea-wyQe9Av2Zn0-q.png)
179
 
180
  - Ensures a score of 0 when no correct images are present.
181
  - \( \frac{|A \cap B|}{n} \): Normalization factor.
182
 
183
  - **Details**:
184
  - Here, dist(A, B) represents the weighted edit distance between string A and string B , i.e., the minimum total cost to transform string B into string A through the following three operations:
185
+
186
  - **String Insertion**: If B is missing certain images, insert an image from A into a specific position in B
187
  . The operation cost is p_1.
188
+
189
  - **String Deletion**: If B contains extra irrelevant images, delete them. The operation cost is p_2.
190
+
191
+ -
192
  - **String Substitution**: If the positions of images in B do not match A, substitute the image in B with the corresponding image from A. The operation cost is p_3.
193
+
194
  - The weights generally satisfy p_1 > p_2 > p_3, and p >= p_1 ensures the final score falls within the range \[0, 1\].
195
+
196
  - Weighted edit distance can be computed using dynamic programming, with a time complexity of O(mn).
197
 
198
  - **Rouge-L** is a text generation evaluation metric based on the longest common subsequence, measuring the structural similarity between the answer and the ground truth.