{
  "id": 704840,
  "title": "Ensemble with Weighted MBR for Akkadian Translation",
  "url": "/competitions/deep-past-initiative-machine-translation/discussion/704840",
  "author_name": "Jeki Wan Taufik",
  "post_date": "2026-06-06T14:30:52.788000",
  "votes": 2,
  "comment_count": 0,
  "views": 0,
  "content": "<h2>Overview</h2>\n<p>Our final solution was based on an ensemble of two ByT5 translation models combined with a Minimum Bayes Risk (MBR) decoding framework.</p>\n<p>Instead of selecting the highest-probability output from a single model, we generated a diverse pool of translation candidates from multiple decoding strategies and selected the candidate with the strongest consensus across the pool.</p>\n<p>The key idea was that candidate diversity and consensus-based selection produced more robust translations than relying solely on beam search.</p>\n<hr>\n<h2>Competition Challenges</h2>\n<p>The Deep Past Initiative Machine Translation task involves translating Akkadian transliterations into English.</p>\n<p>Several characteristics made the problem challenging:</p>\n<ul>\n<li>Low-resource parallel data.</li>\n<li>Significant transliteration variability.</li>\n<li>Damaged tablet markers and gap annotations.</li>\n<li>Special symbols and determinatives.</li>\n<li>Fractional and commodity notations.</li>\n<li>OCR and formatting inconsistencies.</li>\n</ul>\n<p>Because of these issues, preprocessing and postprocessing played an important role in overall performance.</p>\n<hr>\n<h2>Data Normalization</h2>\n<p>Before inference, transliterations were normalized to reduce notation variability.</p>\n<p>The preprocessing pipeline included:</p>\n<ul>\n<li>ASCII transliteration normalization.</li>\n<li>Unicode diacritic conversion.</li>\n<li>Gap marker standardization.</li>\n<li>Determinative normalization.</li>\n<li>Fraction normalization.</li>\n<li>Whitespace cleanup.</li>\n<li>Symbol harmonization.</li>\n</ul>\n<p>Examples:</p>\n<pre><code>sz → š\ns, → ṣ\nt, → ṭ\n</code></pre>\n<p>Gap indicators from multiple formats were unified into a single <code>&lt;gap&gt;</code> token.</p>\n<p>This reduced fragmentation in the input space and improved consistency between similar texts.</p>\n<hr>\n<h2>Model Ensemble</h2>\n<p>The final system used two independently trained ByT5 models:</p>\n<pre><code>Model A: akkadian-optimized\nModel B: akkadian-mbr\n</code></pre>\n<p>For every test sample, both models generated candidate translations.</p>\n<p>Using multiple models reduced model-specific biases and increased candidate diversity.</p>\n<hr>\n<h2>Candidate Generation</h2>\n<p>Instead of generating a single translation, each model produced multiple candidates.</p>\n<h3>Beam Search</h3>\n<p>For each model:</p>\n<ul>\n<li>num_beams = 8</li>\n<li>beam candidates = 4</li>\n</ul>\n<p>Beam search provided high-probability translations.</p>\n<h3>Multi-Temperature Sampling</h3>\n<p>Additional candidates were generated using stochastic decoding:</p>\n<pre><code>Temperature = 0.60\nTemperature = 0.80\nTemperature = 1.05\n</code></pre>\n<p>Two samples were generated for each temperature.</p>\n<p>This produced:</p>\n<pre><code>4 beam candidates\n6 sampled candidates\n------------------\n10 candidates/model\n</code></pre>\n<p>With two models:</p>\n<pre><code>20 candidates/sample\n(before deduplication)\n</code></pre>\n<p>The purpose was to create a heterogeneous candidate pool from which MBR could select the most reliable translation.</p>\n<hr>\n<h2>Postprocessing</h2>\n<p>After generation, translations were normalized using a rule-based postprocessing pipeline.</p>\n<p>Important corrections included:</p>\n<h3>Host-recommended fixes</h3>\n<ul>\n<li>5/12 shekel → ⅓ shekel 15 grains</li>\n<li>Preservation of parentheses</li>\n<li>Curly quotes converted to straight quotes</li>\n<li>ḫ/Ḫ normalized to h/H</li>\n</ul>\n<h3>Noise removal</h3>\n<ul>\n<li>Duplicate words</li>\n<li>Duplicate punctuation</li>\n<li>Stray OCR marks</li>\n<li>Invalid markup symbols</li>\n</ul>\n<p>Special care was taken to preserve meaningful content while removing formatting noise.</p>\n<hr>\n<h2>Minimum Bayes Risk Decoding</h2>\n<p>The core of the solution was a weighted MBR selection procedure.</p>\n<p>Instead of selecting the candidate with the highest model probability, we selected the candidate with the highest agreement with all other candidates.</p>\n<h3>Candidate Similarity Metrics</h3>\n<p>Each candidate pair was evaluated using:</p>\n<table>\n<thead>\n<tr>\n<th>Metric</th>\n<th>Weight</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>chrF++</td>\n<td>0.55</td>\n</tr>\n<tr>\n<td>BLEU</td>\n<td>0.25</td>\n</tr>\n<tr>\n<td>Jaccard similarity</td>\n<td>0.20</td>\n</tr>\n</tbody>\n</table>\n<p>Additionally, a length-consistency bonus was applied.</p>\n<p>The final score was:</p>\n<pre><code>MBR Score =\n0.55 × chrF++\n+ 0.25 × BLEU\n+ 0.20 × Jaccard\n+ Length Bonus\n</code></pre>\n<p>The candidate with the highest consensus score was selected as the final translation.</p>\n<hr>\n<h2>Why MBR Worked</h2>\n<p>Beam search often produced several translations that were very similar but differed in wording.</p>\n<p>Sampling generated more diverse alternatives.</p>\n<p>MBR acted as a consensus mechanism:</p>\n<ul>\n<li>weak outliers were rejected,</li>\n<li>unstable generations were penalized,</li>\n<li>translations supported by multiple decoding paths were preferred.</li>\n</ul>\n<p>This generally improved robustness compared with selecting the top beam candidate directly.</p>\n<hr>\n<h2>Computational Optimizations</h2>\n<p>To keep inference efficient:</p>\n<ul>\n<li>BF16 mixed precision was enabled.</li>\n<li>BetterTransformer acceleration was used when available.</li>\n<li>Bucket batching reduced padding overhead.</li>\n<li>Adaptive beam sizing was applied for shorter inputs.</li>\n<li>Checkpointing was used during large-scale inference.</li>\n</ul>\n<p>These optimizations allowed larger candidate pools without exceeding resource constraints.</p>\n<hr>\n<h2>Final Pipeline</h2>\n<pre><code>Input Transliteration\n          ↓\nPreprocessing\n          ↓\nModel A (ByT5)\n          ↓\nBeam + Sampling Candidates\n          ↓\n\nModel B (ByT5)\n          ↓\nBeam + Sampling Candidates\n          ↓\n\nCandidate Pool Merge\n          ↓\nPostprocessing\n          ↓\nWeighted MBR Selection\n          ↓\nFinal Translation\n</code></pre>\n<hr>\n<h2>Lessons Learned</h2>\n<p>The most important lesson from this competition was that candidate diversity can be as valuable as model quality.</p>\n<p>The largest gains came from:</p>\n<ol>\n<li>Strong preprocessing.</li>\n<li>Diverse candidate generation.</li>\n<li>Consensus-based MBR decoding.</li>\n</ol>\n<p>Rather than relying on a single best prediction, aggregating evidence from multiple models and decoding strategies produced more stable translations and better overall performance.</p>\n<hr>",
  "messages": [
    {
      "id": 3467536,
      "postDate": "2026-06-06T14:30:52.790Z",
      "content": "<h2>Overview</h2>\n<p>Our final solution was based on an ensemble of two ByT5 translation models combined with a Minimum Bayes Risk (MBR) decoding framework.</p>\n<p>Instead of selecting the highest-probability output from a single model, we generated a diverse pool of translation candidates from multiple decoding strategies and selected the candidate with the strongest consensus across the pool.</p>\n<p>The key idea was that candidate diversity and consensus-based selection produced more robust translations than relying solely on beam search.</p>\n<hr>\n<h2>Competition Challenges</h2>\n<p>The Deep Past Initiative Machine Translation task involves translating Akkadian transliterations into English.</p>\n<p>Several characteristics made the problem challenging:</p>\n<ul>\n<li>Low-resource parallel data.</li>\n<li>Significant transliteration variability.</li>\n<li>Damaged tablet markers and gap annotations.</li>\n<li>Special symbols and determinatives.</li>\n<li>Fractional and commodity notations.</li>\n<li>OCR and formatting inconsistencies.</li>\n</ul>\n<p>Because of these issues, preprocessing and postprocessing played an important role in overall performance.</p>\n<hr>\n<h2>Data Normalization</h2>\n<p>Before inference, transliterations were normalized to reduce notation variability.</p>\n<p>The preprocessing pipeline included:</p>\n<ul>\n<li>ASCII transliteration normalization.</li>\n<li>Unicode diacritic conversion.</li>\n<li>Gap marker standardization.</li>\n<li>Determinative normalization.</li>\n<li>Fraction normalization.</li>\n<li>Whitespace cleanup.</li>\n<li>Symbol harmonization.</li>\n</ul>\n<p>Examples:</p>\n<pre><code>sz → š\ns, → ṣ\nt, → ṭ\n</code></pre>\n<p>Gap indicators from multiple formats were unified into a single <code>&lt;gap&gt;</code> token.</p>\n<p>This reduced fragmentation in the input space and improved consistency between similar texts.</p>\n<hr>\n<h2>Model Ensemble</h2>\n<p>The final system used two independently trained ByT5 models:</p>\n<pre><code>Model A: akkadian-optimized\nModel B: akkadian-mbr\n</code></pre>\n<p>For every test sample, both models generated candidate translations.</p>\n<p>Using multiple models reduced model-specific biases and increased candidate diversity.</p>\n<hr>\n<h2>Candidate Generation</h2>\n<p>Instead of generating a single translation, each model produced multiple candidates.</p>\n<h3>Beam Search</h3>\n<p>For each model:</p>\n<ul>\n<li>num_beams = 8</li>\n<li>beam candidates = 4</li>\n</ul>\n<p>Beam search provided high-probability translations.</p>\n<h3>Multi-Temperature Sampling</h3>\n<p>Additional candidates were generated using stochastic decoding:</p>\n<pre><code>Temperature = 0.60\nTemperature = 0.80\nTemperature = 1.05\n</code></pre>\n<p>Two samples were generated for each temperature.</p>\n<p>This produced:</p>\n<pre><code>4 beam candidates\n6 sampled candidates\n------------------\n10 candidates/model\n</code></pre>\n<p>With two models:</p>\n<pre><code>20 candidates/sample\n(before deduplication)\n</code></pre>\n<p>The purpose was to create a heterogeneous candidate pool from which MBR could select the most reliable translation.</p>\n<hr>\n<h2>Postprocessing</h2>\n<p>After generation, translations were normalized using a rule-based postprocessing pipeline.</p>\n<p>Important corrections included:</p>\n<h3>Host-recommended fixes</h3>\n<ul>\n<li>5/12 shekel → ⅓ shekel 15 grains</li>\n<li>Preservation of parentheses</li>\n<li>Curly quotes converted to straight quotes</li>\n<li>ḫ/Ḫ normalized to h/H</li>\n</ul>\n<h3>Noise removal</h3>\n<ul>\n<li>Duplicate words</li>\n<li>Duplicate punctuation</li>\n<li>Stray OCR marks</li>\n<li>Invalid markup symbols</li>\n</ul>\n<p>Special care was taken to preserve meaningful content while removing formatting noise.</p>\n<hr>\n<h2>Minimum Bayes Risk Decoding</h2>\n<p>The core of the solution was a weighted MBR selection procedure.</p>\n<p>Instead of selecting the candidate with the highest model probability, we selected the candidate with the highest agreement with all other candidates.</p>\n<h3>Candidate Similarity Metrics</h3>\n<p>Each candidate pair was evaluated using:</p>\n<table>\n<thead>\n<tr>\n<th>Metric</th>\n<th>Weight</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>chrF++</td>\n<td>0.55</td>\n</tr>\n<tr>\n<td>BLEU</td>\n<td>0.25</td>\n</tr>\n<tr>\n<td>Jaccard similarity</td>\n<td>0.20</td>\n</tr>\n</tbody>\n</table>\n<p>Additionally, a length-consistency bonus was applied.</p>\n<p>The final score was:</p>\n<pre><code>MBR Score =\n0.55 × chrF++\n+ 0.25 × BLEU\n+ 0.20 × Jaccard\n+ Length Bonus\n</code></pre>\n<p>The candidate with the highest consensus score was selected as the final translation.</p>\n<hr>\n<h2>Why MBR Worked</h2>\n<p>Beam search often produced several translations that were very similar but differed in wording.</p>\n<p>Sampling generated more diverse alternatives.</p>\n<p>MBR acted as a consensus mechanism:</p>\n<ul>\n<li>weak outliers were rejected,</li>\n<li>unstable generations were penalized,</li>\n<li>translations supported by multiple decoding paths were preferred.</li>\n</ul>\n<p>This generally improved robustness compared with selecting the top beam candidate directly.</p>\n<hr>\n<h2>Computational Optimizations</h2>\n<p>To keep inference efficient:</p>\n<ul>\n<li>BF16 mixed precision was enabled.</li>\n<li>BetterTransformer acceleration was used when available.</li>\n<li>Bucket batching reduced padding overhead.</li>\n<li>Adaptive beam sizing was applied for shorter inputs.</li>\n<li>Checkpointing was used during large-scale inference.</li>\n</ul>\n<p>These optimizations allowed larger candidate pools without exceeding resource constraints.</p>\n<hr>\n<h2>Final Pipeline</h2>\n<pre><code>Input Transliteration\n          ↓\nPreprocessing\n          ↓\nModel A (ByT5)\n          ↓\nBeam + Sampling Candidates\n          ↓\n\nModel B (ByT5)\n          ↓\nBeam + Sampling Candidates\n          ↓\n\nCandidate Pool Merge\n          ↓\nPostprocessing\n          ↓\nWeighted MBR Selection\n          ↓\nFinal Translation\n</code></pre>\n<hr>\n<h2>Lessons Learned</h2>\n<p>The most important lesson from this competition was that candidate diversity can be as valuable as model quality.</p>\n<p>The largest gains came from:</p>\n<ol>\n<li>Strong preprocessing.</li>\n<li>Diverse candidate generation.</li>\n<li>Consensus-based MBR decoding.</li>\n</ol>\n<p>Rather than relying on a single best prediction, aggregating evidence from multiple models and decoding strategies produced more stable translations and better overall performance.</p>\n<hr>",
      "rawMarkdown": "## Overview\n\nOur final solution was based on an ensemble of two ByT5 translation models combined with a Minimum Bayes Risk (MBR) decoding framework.\n\nInstead of selecting the highest-probability output from a single model, we generated a diverse pool of translation candidates from multiple decoding strategies and selected the candidate with the strongest consensus across the pool.\n\nThe key idea was that candidate diversity and consensus-based selection produced more robust translations than relying solely on beam search.\n\n---\n\n## Competition Challenges\n\nThe Deep Past Initiative Machine Translation task involves translating Akkadian transliterations into English.\n\nSeveral characteristics made the problem challenging:\n\n* Low-resource parallel data.\n* Significant transliteration variability.\n* Damaged tablet markers and gap annotations.\n* Special symbols and determinatives.\n* Fractional and commodity notations.\n* OCR and formatting inconsistencies.\n\nBecause of these issues, preprocessing and postprocessing played an important role in overall performance.\n\n---\n\n## Data Normalization\n\nBefore inference, transliterations were normalized to reduce notation variability.\n\nThe preprocessing pipeline included:\n\n* ASCII transliteration normalization.\n* Unicode diacritic conversion.\n* Gap marker standardization.\n* Determinative normalization.\n* Fraction normalization.\n* Whitespace cleanup.\n* Symbol harmonization.\n\nExamples:\n\n```text\nsz → š\ns, → ṣ\nt, → ṭ\n```\n\nGap indicators from multiple formats were unified into a single `<gap>` token.\n\nThis reduced fragmentation in the input space and improved consistency between similar texts.\n\n---\n\n## Model Ensemble\n\nThe final system used two independently trained ByT5 models:\n\n```text\nModel A: akkadian-optimized\nModel B: akkadian-mbr\n```\n\nFor every test sample, both models generated candidate translations.\n\nUsing multiple models reduced model-specific biases and increased candidate diversity.\n\n---\n\n## Candidate Generation\n\nInstead of generating a single translation, each model produced multiple candidates.\n\n### Beam Search\n\nFor each model:\n\n* num_beams = 8\n* beam candidates = 4\n\nBeam search provided high-probability translations.\n\n### Multi-Temperature Sampling\n\nAdditional candidates were generated using stochastic decoding:\n\n```text\nTemperature = 0.60\nTemperature = 0.80\nTemperature = 1.05\n```\n\nTwo samples were generated for each temperature.\n\nThis produced:\n\n```text\n4 beam candidates\n6 sampled candidates\n------------------\n10 candidates/model\n```\n\nWith two models:\n\n```text\n20 candidates/sample\n(before deduplication)\n```\n\nThe purpose was to create a heterogeneous candidate pool from which MBR could select the most reliable translation.\n\n---\n\n## Postprocessing\n\nAfter generation, translations were normalized using a rule-based postprocessing pipeline.\n\nImportant corrections included:\n\n### Host-recommended fixes\n\n* 5/12 shekel → ⅓ shekel 15 grains\n* Preservation of parentheses\n* Curly quotes converted to straight quotes\n* ḫ/Ḫ normalized to h/H\n\n### Noise removal\n\n* Duplicate words\n* Duplicate punctuation\n* Stray OCR marks\n* Invalid markup symbols\n\nSpecial care was taken to preserve meaningful content while removing formatting noise.\n\n---\n\n## Minimum Bayes Risk Decoding\n\nThe core of the solution was a weighted MBR selection procedure.\n\nInstead of selecting the candidate with the highest model probability, we selected the candidate with the highest agreement with all other candidates.\n\n### Candidate Similarity Metrics\n\nEach candidate pair was evaluated using:\n\n| Metric             | Weight |\n| ------------------ | ------ |\n| chrF++             | 0.55   |\n| BLEU               | 0.25   |\n| Jaccard similarity | 0.20   |\n\nAdditionally, a length-consistency bonus was applied.\n\nThe final score was:\n\n```text\nMBR Score =\n0.55 × chrF++\n+ 0.25 × BLEU\n+ 0.20 × Jaccard\n+ Length Bonus\n```\n\nThe candidate with the highest consensus score was selected as the final translation.\n\n---\n\n## Why MBR Worked\n\nBeam search often produced several translations that were very similar but differed in wording.\n\nSampling generated more diverse alternatives.\n\nMBR acted as a consensus mechanism:\n\n* weak outliers were rejected,\n* unstable generations were penalized,\n* translations supported by multiple decoding paths were preferred.\n\nThis generally improved robustness compared with selecting the top beam candidate directly.\n\n---\n\n## Computational Optimizations\n\nTo keep inference efficient:\n\n* BF16 mixed precision was enabled.\n* BetterTransformer acceleration was used when available.\n* Bucket batching reduced padding overhead.\n* Adaptive beam sizing was applied for shorter inputs.\n* Checkpointing was used during large-scale inference.\n\nThese optimizations allowed larger candidate pools without exceeding resource constraints.\n\n---\n\n## Final Pipeline\n\n```text\nInput Transliteration\n          ↓\nPreprocessing\n          ↓\nModel A (ByT5)\n          ↓\nBeam + Sampling Candidates\n          ↓\n\nModel B (ByT5)\n          ↓\nBeam + Sampling Candidates\n          ↓\n\nCandidate Pool Merge\n          ↓\nPostprocessing\n          ↓\nWeighted MBR Selection\n          ↓\nFinal Translation\n```\n\n---\n\n## Lessons Learned\n\nThe most important lesson from this competition was that candidate diversity can be as valuable as model quality.\n\nThe largest gains came from:\n\n1. Strong preprocessing.\n2. Diverse candidate generation.\n3. Consensus-based MBR decoding.\n\nRather than relying on a single best prediction, aggregating evidence from multiple models and decoding strategies produced more stable translations and better overall performance.\n\n---",
      "votes": 2
    }
  ],
  "comments": [],
  "raw_markdown_by_id": {
    "3467536": "## Overview\n\nOur final solution was based on an ensemble of two ByT5 translation models combined with a Minimum Bayes Risk (MBR) decoding framework.\n\nInstead of selecting the highest-probability output from a single model, we generated a diverse pool of translation candidates from multiple decoding strategies and selected the candidate with the strongest consensus across the pool.\n\nThe key idea was that candidate diversity and consensus-based selection produced more robust translations than relying solely on beam search.\n\n---\n\n## Competition Challenges\n\nThe Deep Past Initiative Machine Translation task involves translating Akkadian transliterations into English.\n\nSeveral characteristics made the problem challenging:\n\n* Low-resource parallel data.\n* Significant transliteration variability.\n* Damaged tablet markers and gap annotations.\n* Special symbols and determinatives.\n* Fractional and commodity notations.\n* OCR and formatting inconsistencies.\n\nBecause of these issues, preprocessing and postprocessing played an important role in overall performance.\n\n---\n\n## Data Normalization\n\nBefore inference, transliterations were normalized to reduce notation variability.\n\nThe preprocessing pipeline included:\n\n* ASCII transliteration normalization.\n* Unicode diacritic conversion.\n* Gap marker standardization.\n* Determinative normalization.\n* Fraction normalization.\n* Whitespace cleanup.\n* Symbol harmonization.\n\nExamples:\n\n```text\nsz → š\ns, → ṣ\nt, → ṭ\n```\n\nGap indicators from multiple formats were unified into a single `<gap>` token.\n\nThis reduced fragmentation in the input space and improved consistency between similar texts.\n\n---\n\n## Model Ensemble\n\nThe final system used two independently trained ByT5 models:\n\n```text\nModel A: akkadian-optimized\nModel B: akkadian-mbr\n```\n\nFor every test sample, both models generated candidate translations.\n\nUsing multiple models reduced model-specific biases and increased candidate diversity.\n\n---\n\n## Candidate Generation\n\nInstead of generating a single translation, each model produced multiple candidates.\n\n### Beam Search\n\nFor each model:\n\n* num_beams = 8\n* beam candidates = 4\n\nBeam search provided high-probability translations.\n\n### Multi-Temperature Sampling\n\nAdditional candidates were generated using stochastic decoding:\n\n```text\nTemperature = 0.60\nTemperature = 0.80\nTemperature = 1.05\n```\n\nTwo samples were generated for each temperature.\n\nThis produced:\n\n```text\n4 beam candidates\n6 sampled candidates\n------------------\n10 candidates/model\n```\n\nWith two models:\n\n```text\n20 candidates/sample\n(before deduplication)\n```\n\nThe purpose was to create a heterogeneous candidate pool from which MBR could select the most reliable translation.\n\n---\n\n## Postprocessing\n\nAfter generation, translations were normalized using a rule-based postprocessing pipeline.\n\nImportant corrections included:\n\n### Host-recommended fixes\n\n* 5/12 shekel → ⅓ shekel 15 grains\n* Preservation of parentheses\n* Curly quotes converted to straight quotes\n* ḫ/Ḫ normalized to h/H\n\n### Noise removal\n\n* Duplicate words\n* Duplicate punctuation\n* Stray OCR marks\n* Invalid markup symbols\n\nSpecial care was taken to preserve meaningful content while removing formatting noise.\n\n---\n\n## Minimum Bayes Risk Decoding\n\nThe core of the solution was a weighted MBR selection procedure.\n\nInstead of selecting the candidate with the highest model probability, we selected the candidate with the highest agreement with all other candidates.\n\n### Candidate Similarity Metrics\n\nEach candidate pair was evaluated using:\n\n| Metric             | Weight |\n| ------------------ | ------ |\n| chrF++             | 0.55   |\n| BLEU               | 0.25   |\n| Jaccard similarity | 0.20   |\n\nAdditionally, a length-consistency bonus was applied.\n\nThe final score was:\n\n```text\nMBR Score =\n0.55 × chrF++\n+ 0.25 × BLEU\n+ 0.20 × Jaccard\n+ Length Bonus\n```\n\nThe candidate with the highest consensus score was selected as the final translation.\n\n---\n\n## Why MBR Worked\n\nBeam search often produced several translations that were very similar but differed in wording.\n\nSampling generated more diverse alternatives.\n\nMBR acted as a consensus mechanism:\n\n* weak outliers were rejected,\n* unstable generations were penalized,\n* translations supported by multiple decoding paths were preferred.\n\nThis generally improved robustness compared with selecting the top beam candidate directly.\n\n---\n\n## Computational Optimizations\n\nTo keep inference efficient:\n\n* BF16 mixed precision was enabled.\n* BetterTransformer acceleration was used when available.\n* Bucket batching reduced padding overhead.\n* Adaptive beam sizing was applied for shorter inputs.\n* Checkpointing was used during large-scale inference.\n\nThese optimizations allowed larger candidate pools without exceeding resource constraints.\n\n---\n\n## Final Pipeline\n\n```text\nInput Transliteration\n          ↓\nPreprocessing\n          ↓\nModel A (ByT5)\n          ↓\nBeam + Sampling Candidates\n          ↓\n\nModel B (ByT5)\n          ↓\nBeam + Sampling Candidates\n          ↓\n\nCandidate Pool Merge\n          ↓\nPostprocessing\n          ↓\nWeighted MBR Selection\n          ↓\nFinal Translation\n```\n\n---\n\n## Lessons Learned\n\nThe most important lesson from this competition was that candidate diversity can be as valuable as model quality.\n\nThe largest gains came from:\n\n1. Strong preprocessing.\n2. Diverse candidate generation.\n3. Consensus-based MBR decoding.\n\nRather than relying on a single best prediction, aggregating evidence from multiple models and decoding strategies produced more stable translations and better overall performance.\n\n---"
  }
}