Custom Machine Translation Management (Custom Trained Model Registration)

目次


    What is custom training/custom trained model?

    The process of providing language assets (bilingual data) as teaching data to a machine translation (MT) learning service for machine learning is called "Custom training" (sometimes called "Adaptation" or "Relearning"). As the result of custom training, a custom trained model is created. Once the custom training has been completed, the custom trained model can be used in Quick MT/PE and LAC (Custom Glossary Model Registration) of this system.

     

    Service
    Usage Custom trained model
    Quick MT Select in custom machine translation model list
    Quick PE Select in custom machine translation model list
    Customization (LAC) Apply a glossary to create a custom glossary model
    Custom trained models are subject to the limits set by your organization's maximum number of models you can own. If the number of registered custom trained models already reached the limit, a message will be displayed to inform you of this.
    Language assets and custom MT models data registered during your LAC main contract period will be permanently deleted after a certain period of time after the contract period terminates. We recommend that you export your language assets data before the termination of your contract period. In addition, language assets and custom MT models data registered during your LAC trial period will be deleted immediately after the trial period terminates. Please note that data cannot be taken over in order to use in the LAC main contract period.

    Information in Custom Trained Model Registration screen

    In this screen, you can register a new custom trained model. The general steps are as follows:
    1. Select a MT learning service for which you want to perform the custom training. With this system, you can use the following three MT learning services.
      • Google AutoML
      • Kawamura NMT
    2. Select the language assets already registered in LAC as the teaching data for custom training. Press [Language Asset Selection] button to display a selection window. You can specify criteria to search for language assets that have been imported. Select the check box for the language assets you want to use and press [OK] button. You can select multiple language assets.
    3. The main screen displays a list of the selected language assets. Please set necessary items according to the MT learning service you selected (described later).  *If there is any language assets you don't need to include into the custom learning, you can delete them by checking the left-most checkbox and clicking Trash can icon.
    4. If you want to remove the inline tags from the language assets during the custom training, please check [Remove inline tags from Language Asset data] check box. It is checked as default. If you uncheck it, data (source texts/target texts) including the inline tags will be processed as the corpus, which may reduce the accuracy of the custom training.
    5. When all settings are completed, click [Custom Training Request] button. The custom training is scheduled to run and will appear in Custom Trained Model list. Registration of the custom trained models may take hours to days to complete, depending on the size of the provided corpus data, load on MT learning services, and so on. You will be notified via email as soon as the custom training model has been registered.
    The MT learning services to be used with this system can be selected for each organization. When you use them for the first time, you need to apply for each of them from Service Settings in the navigation menu. Please read the Terms of Service for each MT learning service displayed at that time. In this screen, you cannot register any custom learning models for MT learning services whose application has not been completed (usage has been suspended).
    You can request a custom training only when you have Customization Credit (CC) necessary for the processing with the selected MT learning service and you registered less models than the maximum number of the custom trained models you can own. If there are not enough CCs, or if you already registered the custom trained models for the maximum number, a message will be displayed to inform you.

    Custom trained model registration settings

    Depending on the selected MT learning service, you will need to set/select the items marked "〇" in the table below. Please refer to the explanation below the table for each item.

    MT learning service Type Training Method Setting Reverse
    Google AutoML    
    Kawamura NMT
    • Type: Type of Kawamura NMT (described later)
    • Training Method: You can choose from the following three methods;
      1. Adaptation + EBMT: Creates a hybrid translation model by combining the methods 2 and 3 below. It is recommended when using language assets of 10,000 lines or more without noise (mistranslation or miscorrespondence).
      2. Adaptation: A standard method. Executes the custom training to the base model using the provided language assets. It is expected to improve the accuracy of machine translation for sentences that are similar to the training data, but the accuracy of machine translation for sentences that are not similar to the training data may be lower than the base model. It is recommended when using with noisy language assets of 10,000 or more lines.
      3. EBMT (Example-based Machine Translation): If there is a sentence in the training data that is similar to the input sentence (source text for the machine translation), translates referring to it. If there is no similar sentence to the input sentence, translates referring to the base model. It is recommended when using noise-free language assets of less than 10,000 lines.
    • Setting: There are the following four settings. Please note that the following requirements depend on the MT learning service you have selected.
      • Automatic (Google AutoML only): The specified language assets are automatically split and used for the following three purposes accordingly.
      • Training: Used for actual custom training.
      • Tuning: Used to prevent overlearning. (This setting can be called 'Validation', 'Adjustment' or some other names depending on TM learning service.)
      • Testing : Used to evaluate generalization performance.
    Google AutoML: If you want to specify anything other than "Automatic", you must specify at least one language asset for each setting. (That is, you need to specify language assets for "Training", "Tuning", and "Testing" one by one.) In addition, "Automatic" and others cannot be specified at the same time in one custom training request.

    When setting "Automatic"
    - Lower limit of language assets: 1,000 lines in total (Executing custom training with less than 1,000 lines of language assets results in "Custom Training Start Error" and cannot create an custom trained model.)
    - Upper limit of language assets: Total 15,000,000 lines *

    When setting "Training", "Tuning" and "Testing"
    - Training
    - Lower limit of language assets: 3 lines
    - Upper limit of language assets: 15,000,000 lines

    - Tuning, Testing
    - Lower limit of language assets: 100 lines
    - Upper limit of language assets: 10,000 lines

    * If the total number of language assets exceeds 100,000 rows, it is recommended that you specify each of the language assets for Training, Tuning, and Testing, as some language assets will not be used for training if you specify "Automatic".
    Kawamura NMT: You must specify at least one asset for "Training". Setting assets for "Tuning" and "Testing" is optional, but if they are not specified, they are automatically sorted out from the language assets for "Training".

    - Training
    - Upper limit of language assets: N/A. However, the size of each language asset (file) that can be processed is limited to 8.0 MB or less. (It is possible to use several language assets which is each less or equal to 8.0 MB at one time.)

    - Tuning, Testing
    - Upper limit of language assets: 1,000 lines
    • Reverse Language: If you want to use the language asset by reversing the language direction, check the check box. If you check the box, for example, language assets with the language direction of English-Japanese (en->ja) will be used as corpus data for Japanese-English (ja->en). Note that the check box will be checked by default only for language assets whose import category is "TM Generation (AI Utilization)". This is based on a study finding that it is more effective to give machine-translated text as the source text instead of the target text. In other words, if you machine translate Japanese into English and create a Japanese-English TM, it will be more effective to use that TM for custom training for English-Japanese. If you do not wish to reverse the source and target text, please uncheck the check box.
    All selected language assets must have the same language direction. Therefore, if you select an language asset of a reverse language direction, please check the check box for "Reverse Language".

     

    TIPS: How to execute the training more effectively with less corpus data (smaller language assets)?
    We have found that selecting "EBMT" as the training method using "Kawamura NMT" can execute custom training to language assets with fewer rows effectively. Even when you create a model by specifying the same language assets for "Training", "Tuning" and "Testing", you can also customize your training model.

     

    TIPS: How do I execute custom training when using noisy bilingual data?
    You may be able to reduce the impact of noise by providing a small amount (about 1,000 lines) of noise-free language assets and specifying them for "Tuning".

     

    TIPS: How do I compare the performance of multiple custom trained models?
    Use the language assets specified for "Testing" in the custom training to evaluate the custom trained model. To evaluate the differences in multiple language assets for "Training", specify the same language assets for "Tuning" in addition to "Testing".

     

    About Kawamura NMT engine type

    There are eight types of models (combinations of types and language pairs) for Kawamura NMT. The characteristics of each type are listed below. Please select the one that best suits your purpose.
    • General NT: Engine can be used for the translation in any field/purpose of the source documents.
    • Patents NT: Engine built specifically for patent translation, and supports specific terms and phrases.
    • Finance Services: Engine built specifically for financial services translation, and supports specific terms and phrases.
    • Finance NT (IR/Disclosure): Engine built specifically for the translation of IR/disclosure information related to financial service, and supports specific terms and phrases.
    • Legal documents NT: Engine built specifically for the translation of legal documents, and supports specific terms and phrases.
    • Science: Engine built specifically for translation in fields suitable for academic papers mainly in biological and medical fields, and supports specific terms and phrases.
    • Patent decision etc.: Engine built specifically for the translation of notices of reasons for refusal of patent applications and decision information, etc. among patent-related documents, and supports specific terms and phrases.
    • News: Engine built specifically for the translation of news, including new words, new topics and current topics, and supports specific terms and phrases.
    NT stands for the second generation engine using neural networks. If you are not sure which engine is suitable, we recommend you to select "General".

    About Customization Credit (CC)

    • Customization Credit (CC) is required to create custom trained models in LAC's Custom MT Management menu. If you have applied for a LAC trial contract, you will receive a specific CC according to your plan. After the termination of the trial period, CC will not be automatically granted once transiting to the main contract. You need to purchase CC every time when necessary. If you wish to purchase it, please go to [Organization Management] tile in Service menu ➡ Organization Management menu, and click [Change plan/limits] button on Billing Information screen and access XMAT Support Contact Form or please contact our sales representative.
    • To check your CC history (addition/consumption), please go to [Organization Management] tile of Service menu ➡ Organization Management menu, and click [Customization Credit History] button on Billing Information screen.
      • Current Customization Credit Balance: "Unused (Available)" is the number of CCs that are currently available, and "In use (Pending finalization)" is the number of CCs that are being used in the ongoing custom training process.
      • Processed Date/Time: The date and time when the CC was actually added/consumed or expired.
      • Category: The reason of the addition/consumption
      • Changed CCs: Number of CCs increased/decreased
      • Application: MT learning service name for which CCs were used
      • Updated By: If the category is "Custom Training", displays the account name of the user who executed the custom training. In case of "Additional Purchase", "Added by Admin", "Added for Trial Use", or "Expired", the character string "SYSTEM" is displayed as fixed.
    After you apply for additional purchase of CC, it will take a few days to a week for payment processing/confirmation until it is reflected in the balance.
    If an error occurs in the process of the custom training, the consumption of CCs may be cancelled and revived depending on the timing of the error.

    About upper limit of models

    If your organization already own a maximum number of custom trained models, you cannot request custom training process. Use one of the following measures to ensure that there is enough room to reach the upper limit.

    • Delete some of custom trained models you have: Please go to Custom Trained Model List from the navigation menu and delete the models your organization own.
    • Increase the Custom Trained Model Limit: If you do not want to delete any model, you can increase the limit. Please access XMAT Support Contact Form or please contact our sales representative.
    You can see the number of custom trained models your organization currently own in Custom Trained Model List from the navigation menu. Alternatively, you can click [Organization Management] tile in Service menu to see it in Organization Management menu/Billing Information screen (for users with Organization Manager permission only)