<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE article PUBLIC "-//NLM//DTD JATS (Z39.96) Journal Publishing DTD v1.1 20151215//EN" "http://jats.nlm.nih.gov/publishing/1.1/JATS-journalpublishing1.dtd">
<article xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:mml="http://www.w3.org/1998/Math/MathML" xml:lang="en" article-type="research-article" dtd-version="1.1">
<front>
<journal-meta>
<journal-id journal-id-type="pmc">CMC</journal-id>
<journal-id journal-id-type="nlm-ta">CMC</journal-id>
<journal-id journal-id-type="publisher-id">CMC</journal-id>
<journal-title-group>
<journal-title>Computers, Materials &#x0026; Continua</journal-title>
</journal-title-group>
<issn pub-type="epub">1546-2226</issn>
<issn pub-type="ppub">1546-2218</issn>
<publisher>
<publisher-name>Tech Science Press</publisher-name>
<publisher-loc>USA</publisher-loc>
</publisher>
</journal-meta>
<article-meta>
<article-id pub-id-type="publisher-id">76083</article-id>
<article-id pub-id-type="doi">10.32604/cmc.2026.076083</article-id>
<article-categories>
<subj-group subj-group-type="heading">
<subject>Article</subject>
</subj-group>
</article-categories>
<title-group>
<article-title>ComAlign: A Benchmark Aligning Natural Language with Operating System Commands</article-title>
<alt-title alt-title-type="left-running-head">ComAlign: A Benchmark Aligning Natural Language with Operating System Commands</alt-title>
<alt-title alt-title-type="right-running-head">ComAlign: A Benchmark Aligning Natural Language with Operating System Commands</alt-title>
</title-group>
<contrib-group>
<contrib id="author-1" contrib-type="author">
<name name-style="western"><surname>Li</surname><given-names>Shasha</given-names></name></contrib>
<contrib id="author-2" contrib-type="author" corresp="yes">
<name name-style="western"><surname>Ji</surname><given-names>Bin</given-names></name><email>jibin@nudt.edu.cn</email></contrib>
<contrib id="author-3" contrib-type="author">
<name name-style="western"><surname>Liu</surname><given-names>Xiaodong</given-names></name></contrib>
<contrib id="author-4" contrib-type="author">
<name name-style="western"><surname>Ma</surname><given-names>Jun</given-names></name></contrib>
<contrib id="author-5" contrib-type="author" corresp="yes">
<name name-style="western"><surname>Yu</surname><given-names>Jie</given-names></name><email>yj@nudt.edu.cn</email></contrib>
<aff id="aff-1"><institution>College of Computer Science and Technology, National University of Defense Technology</institution>, <addr-line>Changsha</addr-line>, <country>China</country></aff>
</contrib-group>
<author-notes>
<corresp id="cor1"><label>&#x002A;</label>Corresponding Authors: Bin Ji. Email: <email>jibin@nudt.edu.cn</email>; Jie Yu. Email: <email>yj@nudt.edu.cn</email></corresp>
</author-notes>
<pub-date date-type="collection" publication-format="electronic">
<year>2026</year>
</pub-date>
<pub-date date-type="pub" publication-format="electronic">
<day>12</day><month>3</month><year>2026</year>
</pub-date>
<volume>87</volume>
<issue>2</issue>
<elocation-id>54</elocation-id>
<history>
<date date-type="received">
<day>13</day>
<month>11</month>
<year>2025</year>
</date>
<date date-type="accepted">
<day>29</day>
<month>12</month>
<year>2025</year>
</date>
</history>
<permissions>
<copyright-statement>&#x00A9; 2026 The Authors. Published by Tech Science Press.</copyright-statement>
<copyright-year>2026</copyright-year>
<copyright-holder>The Authors</copyright-holder>
<license xlink:href="https://creativecommons.org/licenses/by/4.0/">
<license-p>This work is licensed under a <ext-link ext-link-type="uri" xlink:type="simple" xlink:href="https://creativecommons.org/licenses/by/4.0/">Creative Commons Attribution 4.0 International License</ext-link>, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.</license-p>
</license>
</permissions>
<self-uri content-type="pdf" xlink:href="TSP_CMC_76083.pdf"></self-uri>
<abstract>
<p>Aligning natural language with operating system (OS) commands allows users to perform complex computer tasks through simple natural language descriptions. However, due to the complex nature of natural language, it still remains challenging to achieve precise alignment. In this paper, we present <bold>ComAlign</bold>, a Chinese benchmark dataset that pairs Chinese natural language descriptions with corresponding OS commands. ComAlign covers a broad range of <inline-formula id="ieqn-1"><mml:math id="mml-ieqn-1"><mml:mn>82</mml:mn></mml:math></inline-formula> distinct OS command types with a total of <inline-formula id="ieqn-2"><mml:math id="mml-ieqn-2"><mml:mn>1811</mml:mn></mml:math></inline-formula> natural language descriptions. We elaborate on the construction of ComAlign and construct three baselines to evaluate the alignment accuracy on ComAlign. Experimental results show that even advanced large language models struggle with certain ambiguously phrased OS commands. Specifically, the best performing baseline achieves 46.9% alignment accuracy. We demonstrate that ComAlign is collected from real-world application scenarios, making it particularly suitable for developing and benchmarking intelligent OS and agent systems that support user-machine interactions through natural language.</p>
</abstract>
<kwd-group kwd-group-type="author">
<kwd>Large language model</kwd>
<kwd>language-command alignment</kwd>
<kwd>artificial intelligence operating system</kwd>
</kwd-group>
<funding-group>
<award-group id="awg1">
<funding-source>National Key Research and Development Program under Grant</funding-source>
<award-id>2024YFB4506200</award-id>
</award-group>
<award-group id="awg2">
<funding-source>Science and Technology Innovation Program of Hunan Province under Grant</funding-source>
<award-id>2024RC1048</award-id>
</award-group>
<award-group id="awg3">
<funding-source>National Key Laboratory Foundation Project under Grant</funding-source>
<award-id>2024-KJWPDL-14</award-id>
</award-group>
</funding-group>
</article-meta>
</front>
<body>
<sec id="s1">
<label>1</label>
<title>Introduction</title>
<p>The ability for users to control computers through natural language is a long-standing goal of human-computer interaction [<xref ref-type="bibr" rid="ref-1">1</xref>]. And with the rapid development of artificial intelligence (AI) assistants and AI personal computers (AIPC), aligning natural language with underlying os commands has become an increasingly important research direction. Modern AI assistants aim to execute tasks such as adjusting system settings, retrieving information, and managing schedules based on spoken or written descriptions [<xref ref-type="bibr" rid="ref-2">2</xref>,<xref ref-type="bibr" rid="ref-3">3</xref>]. With the advent of large language models (LLMs), there is renewed potential for such AI assistants to understand complex natural language instructions [<xref ref-type="bibr" rid="ref-4">4</xref>,<xref ref-type="bibr" rid="ref-5">5</xref>]. However, a crucial challenge remains: how to precisely align a natural language user description with its corresponding operating system (OS) command [<xref ref-type="bibr" rid="ref-6">6</xref>,<xref ref-type="bibr" rid="ref-7">7</xref>]. For example, if a user says <italic>&#x201C;I forgot my password, I need to set a new one&#x201D;</italic>, the system must recognize this as a request to invoke the OS function for changing the user password. Misaligning the user&#x2019;s intent with an incorrect command could lead to failure or unintended side effects. To facilitate studies on this task, Lin et al. [<xref ref-type="bibr" rid="ref-8">8</xref>] introduce the NL2Bash dataset for aligning English natural language to Linux commands, which contains approximately 10,000 commonly used one-line Bash commands paired with their English natural language descriptions. Preliminary studies demonstrate the considerable difficulty of this task. Specifically, even when restricted to single-line commands, the baselines achieve only about 36% Top-1 alignment accuracy. The NLC2CMD [<xref ref-type="bibr" rid="ref-9">9</xref>,<xref ref-type="bibr" rid="ref-10">10</xref>] competition organized at NeurIPS further advanced this research area, improving alignment accuracy to 53.2% through the introduction of Transformer-based models and other advanced techniques. However, existing studies and datasets are predominantly focused on English, while the alignment between natural language and OS commands in Chinese remains largely unexplored and under-resourced [<xref ref-type="bibr" rid="ref-11">11</xref>]. Due to the distinct linguistic characteristics of Chinese, such as differences in lexical structure and semantic ambiguity, directly applying approaches trained on English data often yields suboptimal performance. Moreover, we&#x2019;d like to emphasize that Chinese text processing presents unique linguistic challenges due to the absence of explicit word boundaries, flexible word formation, and high semantic ambiguity. For example, a short character sequence may correspond to multiple valid segmentations or meanings depending on context. These characteristics increase the complexity of modeling Chinese texts.</p>
<p>To tackle the above issue, we introduce <bold>ComAlign</bold>, a Chinese benchmark dataset designed to systematically support exploring approaches to align Chinese natural language descriptions with the corresponding OS commands. Our primary contribution is a curated dataset of diverse natural language user instructions in Chinese paired with their aligned OS command descriptions. ComAlign includes a wide spectrum of operation tasks that typical users might request, ranging from system operations (e.g., changing settings or managing hardware devices) to question &#x0026; answer tasks. In total, it encompasses 82 distinct OS command types and 1811 natural language descriptions, making it, as far as we know, the first comprehensive Chinese benchmark dataset for this language-command alignment task. The dataset is intended to facilitate training and evaluation of models that act as an interface between the user&#x2019;s natural language descriptions and OS commands.</p>
<p>We formulate the language-command alignment task primarily as an intent classification problem, i.e., given a user&#x2019;s natural language description, predict which OS command (from the predefined set) is being requested, and identify any necessary parameters. For example, a natural language description like &#x201C;<inline-graphic mime-subtype="tif" xlink:href="CMC_76083-inline-1.tif"/>&#x201D; (the screen is too dark, I want to increase the brightness) should be mapped to the &#x201C;<inline-graphic mime-subtype="tif" xlink:href="CMC_76083-inline-2.tif"/>&#x201D; (Set Screen Brightness) command with an appropriate parameter, e.g., &#x201C;<inline-graphic mime-subtype="tif" xlink:href="CMC_76083-inline-3.tif"/>&#x201D; (increase). To establish baseline performance on ComAlign, we design and implement three benchmark baselines, including a vector matching-based baseline (VM), an input normalisation and vector matching-based baseline (INVM), and a vector matching with LLM-powered intent-consistency evaluation-based baseline (VMICE). We conduct comprehensive analyses of their performance on the ComAlign dataset. Experimental results show that even the LLM-powered VMICE baseline solely achieves 46.9% alignment accuracy on ComAlign, highlighting the inherent difficulty of this task and underscoring the need for substantial further study to advance this task.</p>
<p>Compared with existing text-to-SQL and command-line benchmarks, constructing a Chinese natural language&#x2013;OS command dataset presents several unique challenges. First, OS commands often correspond to multi-step Graphical User Interface (GUI) operations, so it is non-trivial to abstract them into concise, reusable command templates. Second, Chinese user instructions in daily computer use are highly colloquial and elliptical. For example, users tend to simply describe a state (e.g., &#x201C;<inline-graphic mime-subtype="tif" xlink:href="CMC_76083-inline-4.tif"/>&#x201D;, &#x201C;the screen is too dark&#x201D;) instead of explicitly specifying the desired operation. Third, there exists a strong many-to-one relationship between natural language descriptions and OS commands. These properties motivate the design of our ComAlign benchmark.</p>
<p>In summary, our contributions can be summarized as follows:
<list list-type="simple">
<list-item><label>(1)</label><p><bold>Construct a Benchmark Dataset.</bold> We collect 1811 pairs of &#x003C;natural language description, operating system command&#x003E; to construct the ComAlign dataset. The dataset covers 82 types of OS commands. To the best of our knowledge, this is the first dataset in the Chinese language domain for the purpose of aligning natural language with operating system commands.</p></list-item>
<list-item><label>(2)</label><p><bold>Design Reproducible Baselines.</bold> For the task of aligning natural language with OS commands, we design three reproducible baselines. These baselines leverage fastText and LLMs to perform vector matching, input normalization, and intent-consistency evaluation, providing strong and reproducible baselines to facilitate future studies.</p></list-item>
<list-item><label>(3)</label><p><bold>Extensive Experiments and Analysis.</bold> We conduct comprehensive experiments and analyses of the three baselines on the ComAlign dataset. Experimental results highlight the intrinsic difficulty of aligning natural language with OS commands and provide insights that point toward promising directions for future studies.</p></list-item>
</list></p>
</sec>
<sec id="s2">
<label>2</label>
<title>Related Work</title>
<sec id="s2_1">
<label>2.1</label>
<title>Aligning Natural Language with OS Commands</title>
<p>Early studies formalize the task of aligning natural language with OS commands as a semantic parsing task [<xref ref-type="bibr" rid="ref-12">12</xref>]. A representative early work in this area is the NL2Bash dataset. Lin et al. [<xref ref-type="bibr" rid="ref-8">8</xref>] collect a set of commonly used Linux Bash commands and their corresponding English descriptions from technical question &#x0026; answering forums, tutorials, and other online sources. After quality control and filtering, they released 10,000 text&#x2013;command pairs covering over 100 Bash utilities. They also proposed several baselines, including Seq2Seq, CopyNet, and a rule-based heuristic baseline named TELLINA, establishing an initial performance benchmark for this task. Subsequent studies further expanded this study. The NLC2CMD [<xref ref-type="bibr" rid="ref-9">9</xref>,<xref ref-type="bibr" rid="ref-10">10</xref>] competition organized at NeurIPS introduced a larger-scale English NL2Bash dataset and new evaluation metrics. Transformer-based models and other advanced techniques are proposed, substantially improving alignment accuracy to 53% on full-command prediction. Fu et al. [<xref ref-type="bibr" rid="ref-13">13</xref>] conduct in-depth analyses of top-performing approaches, summarize optimization strategies, and propose an improved workflow that achieves new state-of-the-art performance on the NLC2CMD dataset.</p>
</sec>
<sec id="s2_2">
<label>2.2</label>
<title>Aligning Natural Language with Codes</title>
<p>Beyond OS commands, aligning natural language with code (NL2Code) [<xref ref-type="bibr" rid="ref-14">14</xref>] has attracted growing attention in recent years. On one hand, extensive work has focused on automatic generation and understanding of general programming codes [<xref ref-type="bibr" rid="ref-15">15</xref>]. For example, Microsoft introduced the CodeXGLUE benchmark [<xref ref-type="bibr" rid="ref-16">16</xref>], which encompasses ten types of tasks, including code clone detection, code search, code summarization, and text-to-code generation, across multiple programming and formal languages (e.g., SQL). These tasks essentially aim to align natural language to specific code semantics and can be framed as program synthesis problems, i.e., generating code that satisfies given specifications such as natural language descriptions or input&#x2013;output examples. With the advancement of deep learning and pretrained language models, many powerful code generation models have emerged. Transformer-based pretrained models such as CodeGPT [<xref ref-type="bibr" rid="ref-16">16</xref>], CodeBERT [<xref ref-type="bibr" rid="ref-17">17</xref>], and CodeLLaMA [<xref ref-type="bibr" rid="ref-18">18</xref>] have established strong baselines across CodeXGLUE tasks. More recently, large-scale models like OpenAI Codex [<xref ref-type="bibr" rid="ref-19">19</xref>] and DeepMind AlphaCode [<xref ref-type="bibr" rid="ref-20">20</xref>] have achieved near-human-level performance on general code generation benchmarks. On the other hand, research on NL2Code in non-English contexts lags behind English contexts [<xref ref-type="bibr" rid="ref-15">15</xref>]. Due to the lack of large-scale annotated datasets, most prior work on text-to-code generation has focused on English. To promote progress in the Chinese domain, the community has begun constructing corresponding datasets and benchmarks. For example, Wang et al. [<xref ref-type="bibr" rid="ref-11">11</xref>] release DuSQL, a Chinese cross-domain text-to-SQL dataset containing 23,797 pairs of Chinese questions and corresponding SQL queries. This work fills a crucial data gap for semantic parsing in Chinese database queries.</p>
</sec>
</sec>
<sec id="s3">
<label>3</label>
<title>Dataset Construction</title>
<sec id="s3_1">
<label>3.1</label>
<title>Data Collection and Annotation</title>
<p><bold>Source and Scenarios.</bold> Our dataset originates from real personal-computer usage scenarios, primarily using an open-source desktop OS (i.e., openKylin) and its common applications. We simulate typical user environments and compile a list of system functions covering system settings, application launch, multimedia control, network management, and so on.</p>
<p><bold>Annotation Process.</bold> We first enumerate potential OS operations, e.g., &#x201C;<inline-graphic mime-subtype="tif" xlink:href="CMC_76083-inline-5.tif"/>&#x201D; (modify user password), &#x201C;<inline-graphic mime-subtype="tif" xlink:href="CMC_76083-inline-6.tif"/>&#x201D; (bluetooth setting), &#x201C;<inline-graphic mime-subtype="tif" xlink:href="CMC_76083-inline-7.tif"/>&#x201D; (set screen brightness). Then, we draft a normalized OS command description serving as the unique identifier for each type of operation. Next, we collect various Chinese natural language expressions to describe these operations, including colloquial, formal, and incomplete phrases. These expressions are carefully checked and bound to the corresponding OS command, with parameters (e.g., volume level, brightness percentage) recorded as needed. It should be noted that the dataset is collected directly from real-world application scenarios rather than being manually crafted or annotated by human annotators. As a result, there is no explicit annotation process involving multiple annotators, and issues such as inter-annotator agreement or annotation consistency procedures do not apply in this context. Each data entry reflects naturally occurring system records generated during actual usage, ensuring authenticity and practical relevance of the dataset.</p>
<p>The resulting dataset contains 1811 pairs of natural language descriptions and corresponding normalized OS command descriptions. Among them are 1706 OS operation tasks and 105 question &#x0026; answering tasks. Each data entry includes the task type, normalized OS command description, natural language description, and optional parameters. We identify 82 types of OS commands, where each type has one normalized command description and 18 to 25 natural language descriptions. The majority (81.61%) of these natural language descriptions contain 6 to 14 Chinese tokens. However, we also add both short and long natural language descriptions to increase the diversity. For example, the shortest natural language description has 3 Chinese tokens while the longest contains 28 Chinese tokens. We present the detailed Chinese token counts of the natural language descriptions in <xref ref-type="fig" rid="fig-1">Fig. 1</xref>.</p>
<fig id="fig-1">
<label>Figure 1</label>
<caption>
<title>Chinese token count statistics of natural language descriptions</title>
</caption>
<graphic mimetype="image" mime-subtype="tif" xlink:href="CMC_76083-fig-1.tif"/>
</fig>
<p>We visualize the semantic representation of natural language descriptions to analyze the semantic distribution of natural language descriptions across different normalized OS command descriptions. Specifically, the selected normalized OS command descriptions are &#x201C;<inline-graphic mime-subtype="tif" xlink:href="CMC_76083-inline-8.tif"/><inline-graphic mime-subtype="tif" xlink:href="CMC_76083-inline-9.tif"/>&#x201D; (modify user password), &#x201C;<inline-graphic mime-subtype="tif" xlink:href="CMC_76083-inline-10.tif"/>&#x201D; (set screen brightness), &#x201C;<inline-graphic mime-subtype="tif" xlink:href="CMC_76083-inline-11.tif"/>&#x201D; (bluetooth setting). For each normalized OS command description, we first transformed its natural language descriptions into numerical vectors using the Term Frequency&#x2013;Inverse Document Frequency (TF&#x2013;IDF) representation, and subsequently applied dimensionality reduction techniques (PCA and t-SNE) for visualization. <xref ref-type="fig" rid="fig-2">Fig. 2</xref> presents the visualization results, from which we can observe that the natural language descriptions are well distributed in the embedding space, indicating the diversity of these descriptions.</p>
<fig id="fig-2">
<label>Figure 2</label>
<caption>
<title>The visualization results of semantic distributions of natural language descriptions across three types of OS commands</title>
</caption>
<graphic mimetype="image" mime-subtype="tif" xlink:href="CMC_76083-fig-2.tif"/>
</fig>
<p>Additionally, we&#x2019;d like to emphasize that natural language descriptions and normalized OS command descriptions form a many-to-one relationship. <xref ref-type="fig" rid="fig-3">Fig. 3</xref> takes the normalized OS command &#x201C;<inline-graphic mime-subtype="tif" xlink:href="CMC_76083-inline-12.tif"/>&#x201D; (modify user password) as an example and presents some natural language descriptions that should align with it.</p>
<fig id="fig-3">
<label>Figure 3</label>
<caption>
<title>A case study of the many-to-one relationship between the natural language descriptions and the normalized command description</title>
</caption>
<graphic mimetype="image" mime-subtype="tif" xlink:href="CMC_76083-fig-3.tif"/>
</fig>
<p>We report more analyses of the ComAlign dataset in <xref ref-type="sec" rid="s6_1">Section 6.1</xref>.</p>
</sec>
<sec id="s3_2">
<label>3.2</label>
<title>Task-Type Distribution and Parameters</title>
<p>To analyse the ComAlign dataset further, we count task types and parameter distributions:
<list list-type="simple">
<list-item><label>(1)</label><p>OS operations vs. question-answering. Approximately 94.2% (1706) of data entries involve OS operations, and 5.8% (115) are question &#x0026; answering tasks. The latter task requires invoking a large language model to generate answers and thus are excluded from alignment accurracy evaluation.</p></list-item>
<list-item><label>(2)</label><p>Parameterised vs. non-parameterised tasks. Among the 1706 natural language descriptions of OS operations, around 868 are parameterised (e.g., &#x201C;volume control&#x201D;, &#x201C;set screen brightness&#x201D;), while the remaining 838 have no parameters (e.g., &#x201C;modify user password&#x201D;). Parameterised descriptions span 43 types of OS commands and non-parameterized ones 39 types of OS commands. Parameterised descriptions often involve numeric or directional adjustments, whereas non-parameter descriptions tend to be simple toggles or navigation actions.</p></list-item>
</list></p>
<p>We report more task-type and parameter distribution analyses in <xref ref-type="sec" rid="s6_1_2">Section 6.1.2</xref>.</p>
</sec>
<sec id="s3_3">
<label>3.3</label>
<title>Multi-Parameter Instances</title>
<p>In our current dataset scheme, each data entry in ComAlign is associated with a single canonical intent category, and linguistically complex user commands that mention several sub-goals are normalized to one OS-level operation whenever they can be executed as a single command. The remaining complexity is mainly reflected in the number of explicit slot arguments attached to each intent. Concretely, among all the data entries, 76 examples (4.2%) involve two explicit slots (for example, specifying both an operation type and a time-zone name in &#x201C;<inline-graphic mime-subtype="tif" xlink:href="CMC_76083-inline-13.tif"/>&#x201D;). If we regard these two-slot cases as &#x201C;multi-parameter&#x201D; or &#x201C;multi-intent-like&#x201D; commands in the sense that the model must satisfy multiple constraints simultaneously, then they account for 4.2% of the ComAlign dataset.</p>
</sec>
</sec>
<sec id="s4">
<label>4</label>
<title>Baseline Construction</title>
<p>This section outlines three baselines for aligning natural language descriptions with normalized OS command descriptions, which are named as Vector Matching-based baseline, Input Normalisation and Vector Matching-based baseline, and Vector Matching with Intent-Consistency Evaluation-based baseline.</p>
<sec id="s4_1">
<label>4.1</label>
<title>Vector Matching-Based Baseline (VM)</title>
<p>The first baseline performs alignment by nearest-neighbour search in a embedding space. Each natural language description in the dataset is segmented and mapped to 300-dimensional fastText embeddings. The vector representation of a description is the mean of its word vectors. The vectors form a database for fast nearest-neighbour descriptions. For a user input, we compute its mean vector and retrieve the database vector with the best similarity. The normalized OS command description corresponding to this most similar vector is returned as the candidate. To avoid mismatches, we apply a similarity threshold (initially set to 0.90): if the highest similarity falls below this threshold, the input is treated as a question &#x0026; answering task. <xref ref-type="fig" rid="fig-4">Fig. 4</xref> illustrates the architecture of the VM baseline. The VM baseline is efficient and does not require a large language model, but fastText embeddings cannot capture complex syntax and context. Consequently, colloquial or long sentences are prone to errors.</p>
<fig id="fig-4">
<label>Figure 4</label>
<caption>
<title>The architecture of the vector matching-based baseline</title>
</caption>
<graphic mimetype="image" mime-subtype="tif" xlink:href="CMC_76083-fig-4.tif"/>
</fig>
<p>In this study, we explore calculating the similarity using the Cosine similarity and Euclidean distance. We report the exploration results in <xref ref-type="sec" rid="s5">Section 5</xref>.</p>
</sec>
<sec id="s4_2">
<label>4.2</label>
<title>Input Normalisation and Vector Matching-Based Baseline (INVM)</title>
<p>The second baseline adds a user input normalisation step before vector matching to reduce the impact of colloquialisms and redundant words. We design a prompt with examples such as &#x201C;User input: please help me turn on Bluetooth; Normalised input: turn on Bluetooth&#x201D;, instructing an LLM to rewrite any user input into a concise command phrase. When a new input arrives, we generate a normalised input via an LLM, preserving the core action and parameters while removing pleasantries or background. We then embed this normalised input with fastText and perform vector matching with the same algorithm presented in <xref ref-type="sec" rid="s4_1">Section 4.1</xref>. <xref ref-type="fig" rid="fig-5">Fig. 5</xref> illustrates the architecture of the INVM baseline. Because the normalisation step eliminates many colloquial words and modifiers, this method improves matching accuracy by making expressions more uniform. However, we also observe that the normalization step causes performance drops in some scenarios. We present detailed analyses in <xref ref-type="sec" rid="s5">Section 5</xref>.</p>
<fig id="fig-5">
<label>Figure 5</label>
<caption>
<title>The architecture of the input normalisation and vector matching-based baseline</title>
</caption>
<graphic mimetype="image" mime-subtype="tif" xlink:href="CMC_76083-fig-5.tif"/>
</fig>
</sec>
<sec id="s4_3">
<label>4.3</label>
<title>Vector Matching with Intent-Consistency Evaluation-Based Baseline (VMICE)</title>
<p>The third baseline introduces an <italic>intent-consistency evaluation</italic> using an LLM to overcome the limitations of a fixed similarity threshold. We first apply the vector matching as aforementioned to obtain the candidate description. Then we construct a question for an LLM, i.e., &#x201C;<italic>Please judge whether the following two descriptions refer to the same system operation. Answer only &#x2018;Yes&#x2019; or &#x2018;No&#x2019;. description 1: normalized input, description 2: best-matching natural language description</italic>.&#x201D; If the LLM outputs &#x201C;<italic>Yes</italic>&#x201D;, we return the OS command associated with the best-matching natural language description; otherwise, we treat the normalized user input as a question &#x0026; answering task. The evaluation prompts include examples and highlight action verbs and parameters. This VMICE baseline does not rely on a fixed threshold and can handle semantically equivalent sentences with low vector similarity. <xref ref-type="fig" rid="fig-6">Fig. 6</xref> illustrates the architecture of the VMICE baseline. In <xref ref-type="sec" rid="s5">Section 5</xref>, we present detailed experimental results and analyses.</p>
<fig id="fig-6">
<label>Figure 6</label>
<caption>
<title>The architecture of the vector matching and intent-consistency evaluation-based baseline</title>
</caption>
<graphic mimetype="image" mime-subtype="tif" xlink:href="CMC_76083-fig-6.tif"/>
</fig>
</sec>
<sec id="s4_4">
<label>4.4</label>
<title>Future Extensions</title>
<p>While this work focuses on lightweight and task-specific baselines to highlight the inherent challenges of the problem, future research could explore the integration of contextual embedding models and modern Chinese sentence encoders. For instance, large language models, such as Qwen [<xref ref-type="bibr" rid="ref-21">21</xref>,<xref ref-type="bibr" rid="ref-22">22</xref>], LLaMA [<xref ref-type="bibr" rid="ref-23">23</xref>,<xref ref-type="bibr" rid="ref-24">24</xref>], and GPT [<xref ref-type="bibr" rid="ref-25">25</xref>] series models, potentially further improve performance on complex or ambiguous cases. We leave a systematic investigation of these advanced models for future work.</p>
</sec>
</sec>
<sec id="s5">
<label>5</label>
<title>Experiments</title>
<sec id="s5_1">
<label>5.1</label>
<title>Experimental Settings</title>
<p>All experimental results are obtained by evaluating the proposed ComAlign dataset, and the evaluation metric is the <italic>alignment accuracy</italic>, which is the proportion of natural language descriptions that are aligned to the correct normalized OS command descriptions. We explore normalizing user inputs and intent-consistency evaluation with seven LLMs, i.e., FM9G-4B, FM9G-8B, FM9G-7B, (<ext-link ext-link-type="uri" xlink:href="https://www.osredm.com/jiuyuan/CPM-9G-8B">https://www.osredm.com/jiuyuan/CPM-9G-8B</ext-link>), miniCPM-4B [<xref ref-type="bibr" rid="ref-26">26</xref>], LLaMA-3.1-8B (LLaMA-8B for short) [<xref ref-type="bibr" rid="ref-24">24</xref>], Qwen2.5-7B (Qwen-7B for short) [<xref ref-type="bibr" rid="ref-21">21</xref>], and LLaMA-3.2-3B-Instruct (LLaMA-3B for short) [<xref ref-type="bibr" rid="ref-24">24</xref>]. The other experimental settings are shown below:
<list list-type="simple">
<list-item><label>(1)</label><p><bold>Embedding and matching.</bold> Each natural language description is embedded into 300-dimensional fastText [<xref ref-type="bibr" rid="ref-27">27</xref>] vectors, and a vector database is built. Euclidean distance and Cosine similarity are used to calculate the similarity, respectively.</p></list-item>
<list-item><label>(2)</label><p><bold>Input normalisation.</bold> For the INVM baseline, we employ an LLM to normalise user input, guided by prompts emphasising concise commands. After normalisation, embedding and matching follow as the VM baseline. All seven LLMs are investigated to normalize user inputs.</p></list-item>
<list-item><label>(3)</label><p><bold>Intent judgement.</bold> For the VMICE baseline, the best-matching natural language description and the user input are fed to an LLM to evaluate their intent consistency. If the LLM responds &#x201C;Yes&#x201D;, the corresponding normalized OS command description is returned; otherwise, an LLM is called to respond to the user input.</p></list-item>
</list></p>
<p>To fairly evaluate the three baselines on the proposed ComAlign benchmark dataset, we adopt leave-one-out cross-validation. Each time, one instance from the 1811 pairs is held out for testing and the rest serve as training data. Only OS operations are included in the alignment accuracy calculation.</p>
</sec>
<sec id="s5_2">
<label>5.2</label>
<title>Main Results</title>
<p><xref ref-type="table" rid="table-1">Table 1</xref> summarises the alignment accuracy of the three baselines under four similarity thresholds (0.9, 0.8, 0.7 and 0.6). The results reveal several notable patterns and provide insights into the linguistic and technical challenges inherent to the ComAlign dataset.</p>
<table-wrap id="table-1">
<label>Table 1</label>
<caption>
<title>Alignment accuracy of the three baselines on the ComAlign benchmark dataset. &#x201C;Euclidean&#x201D; denotes calculating the similarity with the Euclidean distance. Similarly, &#x201C;Cosine&#x201D; denotes using the Cosine similarity to calculate the similarity. &#x201C;Avg.&#x201D; denotes the average alignment accuracy score across the seven LLMs. Note that the VM baseline doesn&#x2019;t include an LLM in its implementation</title>
</caption>
<table>
<colgroup>
<col align="center"/>
<col align="center"/>
<col align="center"/>
<col align="center"/>
<col align="center"/>
<col align="center"/>
<col align="center"/>
<col align="center"/>
<col align="center"/>
<col align="center"/>
<col align="center"/> </colgroup>
<thead>
<tr>
<th rowspan="2">Baseline</th>
<th colspan="2">Similarity</th>
<th colspan="7">LLM</th>
<th rowspan="2">Avg. (%)</th>
</tr>
<tr>

<th>Algorithm</th>
<th>Threshold</th>
<th>FM9G-4B<break/> (%)</th>
<th>FM9G-7B<break/> (%)</th>
<th>FM9G-8B<break/> (%)</th>
<th>LLaMA-3.2-3B<break/> (%)</th>
<th>MiniCPM-4B<break/> (%)</th>
<th>Qwen2.5-7B<break/> (%)</th>
<th>LLaMA-3.1-8B<break/> (%)</th>
</tr>
</thead>
<tbody>
<tr>
<td></td>
<td>Euclidean</td>
<td>0.9</td>
<td>&#x2013;</td>
<td>&#x2013;</td>
<td>&#x2013;</td>
<td>&#x2013;</td>
<td>&#x2013;</td>
<td>&#x2013;</td>
<td>&#x2013;</td>
<td>39.2</td>
</tr>
<tr>
<td></td>
<td>Cosine</td>
<td></td>
<td>&#x2013;</td>
<td>&#x2013;</td>
<td>&#x2013;</td>
<td>&#x2013;</td>
<td>&#x2013;</td>
<td>&#x2013;</td>
<td>&#x2013;</td>
<td>38.9</td>
</tr>
<tr>
<td></td>
<td>Euclidean</td>
<td>0.8</td>
<td>&#x2013;</td>
<td>&#x2013;</td>
<td>&#x2013;</td>
<td>&#x2013;</td>
<td>&#x2013;</td>
<td>&#x2013;</td>
<td>&#x2013;</td>
<td>37.4</td>
</tr>
<tr>
<td>VM</td>
<td>Cosine</td>
<td></td>
<td>&#x2013;</td>
<td>&#x2013;</td>
<td>&#x2013;</td>
<td>&#x2013;</td>
<td>&#x2013;</td>
<td>&#x2013;</td>
<td>&#x2013;</td>
<td>35.6</td>
</tr>
<tr>
<td></td>
<td>Euclidean</td>
<td>0.7</td>
<td>&#x2013;</td>
<td>&#x2013;</td>
<td>&#x2013;</td>
<td>&#x2013;</td>
<td>&#x2013;</td>
<td>&#x2013;</td>
<td>&#x2013;</td>
<td>33.2</td>
</tr>
<tr>
<td></td>
<td>Cosine</td>
<td></td>
<td>&#x2013;</td>
<td>&#x2013;</td>
<td>&#x2013;</td>
<td>&#x2013;</td>
<td>&#x2013;</td>
<td>&#x2013;</td>
<td>&#x2013;</td>
<td>34.1</td>
</tr>
<tr>
<td></td>
<td>Euclidean</td>
<td>0.6</td>
<td>&#x2013;</td>
<td>&#x2013;</td>
<td>&#x2013;</td>
<td>&#x2013;</td>
<td>&#x2013;</td>
<td>&#x2013;</td>
<td>&#x2013;</td>
<td>32.7</td>
</tr>
<tr>
<td></td>
<td>Cosine</td>
<td></td>
<td>&#x2013;</td>
<td>&#x2013;</td>
<td>&#x2013;</td>
<td>&#x2013;</td>
<td>&#x2013;</td>
<td>&#x2013;</td>
<td>&#x2013;</td>
<td>33.4</td>
</tr>
<tr>
<td></td>
<td>Euclidean</td>
<td>0.9</td>
<td>39.3</td>
<td>38.1</td>
<td>37.9</td>
<td>40.1</td>
<td>42.4</td>
<td>42.7</td>
<td>44.6</td>
<td>40.7</td>
</tr>
<tr>
<td></td>
<td>Cosine</td>
<td></td>
<td>40.4</td>
<td>37.5</td>
<td>38.6</td>
<td>41.2</td>
<td>40.5</td>
<td>43.2</td>
<td>43.0</td>
<td>40.6</td>
</tr>
<tr>
<td></td>
<td>Euclidean</td>
<td>0.8</td>
<td>36.7</td>
<td>37.4</td>
<td>38.2</td>
<td>38.1</td>
<td>37.6</td>
<td>40.1</td>
<td>41.1</td>
<td>38.5</td>
</tr>
<tr>
<td>INVM</td>
<td>Cosine</td>
<td></td>
<td>35.8</td>
<td>37.3</td>
<td>38.9</td>
<td>37.2</td>
<td>38.5</td>
<td>39.2</td>
<td>41.6</td>
<td>38.4</td>
</tr>
<tr>
<td></td>
<td>Euclidean</td>
<td>0.7</td>
<td>34.6</td>
<td>37.1</td>
<td>36.8</td>
<td>36.6</td>
<td>38.4</td>
<td>39.2</td>
<td>39.5</td>
<td>37.5</td>
</tr>
<tr>
<td></td>
<td>Cosine</td>
<td></td>
<td>35.3</td>
<td>36.7</td>
<td>34.2</td>
<td>36.8</td>
<td>37.2</td>
<td>38.5</td>
<td>41.0</td>
<td>37.1</td>
</tr>
<tr>
<td></td>
<td>Euclidean</td>
<td>0.6</td>
<td>33.0</td>
<td>35.8</td>
<td>34.6</td>
<td>35.2</td>
<td>36.7</td>
<td>38.2</td>
<td>37.6</td>
<td>35.9</td>
</tr>
<tr>
<td></td>
<td>Cosine</td>
<td></td>
<td>34.6</td>
<td>34.9</td>
<td>34.2</td>
<td>35.5</td>
<td>36.0</td>
<td>37.2</td>
<td>36.4</td>
<td>35.5</td>
</tr>
<tr>
<td>VMICE</td>
<td>Euclidean</td>
<td>&#x2013;</td>
<td>44.9</td>
<td>39.3</td>
<td>46.9</td>
<td>39.6</td>
<td>44.2</td>
<td>44.2</td>
<td>46.4</td>
<td>43.6</td>
</tr>
<tr>
<td></td>
<td>Cosine</td>
<td></td>
<td>44.2</td>
<td>38.7</td>
<td>45.6</td>
<td>40.2</td>
<td>43.8</td>
<td>44.0</td>
<td>46.5</td>
<td>43.3</td>
</tr>
</tbody>
</table>
</table-wrap>
<p><list list-type="simple">
<list-item><label>(1)</label><p><bold>Performance comparison across baselines.</bold> Among the three baselines, the VMICE baseline consistently achieves the highest alignment accuracy across all threshold settings, followed by the INVM baseline, while the VM baseline performs the worst. For instance, at a threshold of 0.9 using Euclidean distance, the average alignment accuracies of the VMICE, INVM, and VM baselines are 43.6%, 40.7%, and 39.2%, respectively. These trends confirm the benefit of incorporating LLMs in both the normalization and intent-consistency evaluation phases. The INVM baseline improves upon VM by reducing noise from redundant or colloquial expressions through input normalization, enabling more semantically compact and comparable representations. Meanwhile, the VMICE baseline introduces a secondary intent-consistency check that allows the baseline to correctly identify semantically equivalent descriptions even when their surface forms differ significantly. This step effectively compensates for the limitations of fastText embeddings, which primarily rely on shallow lexical similarity. The consistent performance gain of VMICE suggests that ComAlign contains a substantial proportion of paraphrased or semantically ambiguous user expressions that simple vector similarity cannot fully capture.</p></list-item>
<list-item><label>(2)</label><p><bold>Influence of similarity thresholds.</bold> For all the three baselines, higher similarity thresholds lead to better performance. Taking the VM baseline as an example, when the threshold is increased from 0.6 to 0.9, alignment accuracy improves from 32.7% to 39.2%. A similar trend is observed across INVM and VMICE. This pattern implies that the semantic representations produced by fastText embeddings sometimes overestimate similarity between unrelated descriptions. Higher thresholds act as a filter, excluding spurious matches caused by shared context words (e.g., &#x201C;<inline-graphic mime-subtype="tif" xlink:href="CMC_76083-inline-14.tif"/>&#x201D; setting or &#x201C;<inline-graphic mime-subtype="tif" xlink:href="CMC_76083-inline-15.tif"/>&#x201D; open) that frequently appear in multiple commands but do not necessarily indicate the same intent. Therefore, stricter thresholds enhance precision by ensuring that only those pairs with stronger semantic overlap are accepted as aligned commands.</p></list-item>
<list-item><label>(3)</label><p><bold>Impact of similarity metrics.</bold> Comparing Cosine similarity and Euclidean distance, we find that Euclidean distance yields slightly better results in 9 out of 12 setting scenarios, though the overall difference is modest (typically below 0.5%). This observation suggests that both metrics capture comparable relational structures in the embedding space. The minor advantage of Euclidean distance may stem from its higher sensitivity to absolute vector magnitudes, which can help discriminate semantically close but non-identical expressions in the fastText embedding space.</p></list-item>
<list-item><label>(4)</label><p><bold>Performance against task type and linguistic variation.</bold> Further examination shows that alignment accuracy varies across task categories. Commands with clear, distinct semantics (e.g., &#x201C;<inline-graphic mime-subtype="tif" xlink:href="CMC_76083-inline-16.tif"/>&#x201D; (modify user password), &#x201C;<inline-graphic mime-subtype="tif" xlink:href="CMC_76083-inline-17.tif"/>&#x201D;) (open Bluetooth) are matched more accurately, while tasks involving graded or parameterized operations (e.g., brightness or volume adjustment) exhibit lower accuracy. This reflects the inherent ambiguity of parameterized instructions in natural language, where modifiers such as &#x201C;<inline-graphic mime-subtype="tif" xlink:href="CMC_76083-inline-18.tif"/>;&#x201D; (a bit higher) or &#x201C;<inline-graphic mime-subtype="tif" xlink:href="CMC_76083-inline-19.tif"/>&#x201D; (a bit brighter) can introduce uncertainty in both intent and parameter magnitude. Additionally, commands expressed in colloquial or mixed-form language (e.g., &#x201C;<inline-graphic mime-subtype="tif" xlink:href="CMC_76083-inline-20.tif"/>&#x201D;, turn up the volume) tend to confuse purely vector-based approaches, underscoring the linguistic diversity of ComAlign and highlighting why normalization and intent-consistency alignment steps substantially improve performance.</p></list-item>
<list-item><label>(5)</label><p><bold>Model stability and LLM effects.</bold> When comparing across the seven LLMs used in INVM and VMICE, we observe modest variability (typically within <inline-formula id="ieqn-3"><mml:math id="mml-ieqn-3"><mml:mo>&#x00B1;</mml:mo></mml:math></inline-formula>3%) in alignment accuracy, indicating stable behavior across model architectures and sizes. Larger instruction-tuned models (e.g., Qwen-7B and LLaMA-8B) generally outperform smaller ones, suggesting that an LLM&#x2019;s instruction-following and semantic generalization capabilities contribute directly to improved normalization and intent-consistency evaluation. Notably, FM9G-8B achieves the best overall score (46.9%) under VMICE, implying that LLMs trained on Chinese-heavy corpora may capture linguistic subtleties in user expressions better than multilingual or English-dominant LLMs.</p></list-item>
</list></p>
<p>In summary, the above results reveal that the simple VM baseline is insufficient for robust natural language to OS command alignment due to its inability to handle paraphrasing and context ambiguity. The INVM baseline mitigates surface-level variance, while the VMICE baseline further bridges the semantic gap between diverse user expressions and canonical OS commands. Nonetheless, even the best-performing baseline achieves only 43.6% average alignment accuracy, underscoring the complexity of the ComAlign dataset and the substantial room for improvement. Future work should explore richer embedding models, contextual parameter extraction, and hybrid retrieval-generation architectures to further advance alignment performance.</p>
</sec>
<sec id="s5_3">
<label>5.3</label>
<title>Comparison of Baselines</title>
<p>Compared to the VM baseline, the INVM baseline includes a component of input normalization, and the VMICE baseline leverages LLMs to evaluate the intent-consistency of the user input and the best-matching natural language description. By analyzing the results reported in <xref ref-type="table" rid="table-1">Table 1</xref>, we draw the following conclusions:
<list list-type="simple">
<list-item><label>(1)</label><p><bold>Limitations of vector matching.</bold> Using fastText embeddings combined with Euclidean distance yields only 39.2% alignment accuracy on the ComAlign dataset when setting the threshold to 0.9. This relatively low performance reflects fundamental limitations in relying purely on word embeddings and vector-space similarity for semantic alignment. First, fastText, although efficient, lacks deep contextual understanding. It treats words largely in isolation and cannot effectively handle polysemy or phrasal nuance. As a result, it struggles to distinguish between closely related instructions, such as &#x201C;<inline-graphic mime-subtype="tif" xlink:href="CMC_76083-inline-21.tif"/>&#x201D; (set screen timeout) and &#x201C;<inline-graphic mime-subtype="tif" xlink:href="CMC_76083-inline-22.tif"/>&#x201D; (set sleep time), which require understanding subtle intent differences. Second, the method is highly sensitive to surface-level features such as colloquial expressions, function words, and word order. For instance, users may phrase the same instruction in several informal ways, e.g., &#x201C;<inline-graphic mime-subtype="tif" xlink:href="CMC_76083-inline-23.tif"/>&#x201D; vs. &#x201C;<inline-graphic mime-subtype="tif" xlink:href="CMC_76083-inline-24.tif"/>&#x201D;, but these may diverge in fastText space due to token variation. Moreover, the method does not learn to ignore semantically irrelevant stopwords, causing it to overvalue irrelevant token overlap. Finally, the approach is particularly brittle in low-resource conditions, where training data are sparse or unevenly distributed across instruction types. Without fine-tuned supervision or task-specific adaptation, vector similarity alone fails to generalize well across description patterns.</p>
</list-item>
<list-item><label>(2)</label><p><bold>Moderate but necessary improvement from normalisation.</bold> Introducing a pre-processing step that normalizes user inputs, i.e., through token standardization, stopword removal, synonym replacement, and punctuation cleanup, yields a modest yet consistent improvement in accuracy, raising it by over 1.0% on average alignment accuracy. For the simple VM baseline, this is a non-trivial gain, especially considering that LLMs like miniCPM-4B, Qwen-7B, and LLaMA-8B achieve 42.1%, 42.7%, and 44.6% alignment accuracy after post-normalisation. The improvement stems from reducing the lexical variability that fastText struggles with. By eliminating surface noise and regularizing key terms (e.g., converting &#x201C;<inline-graphic mime-subtype="tif" xlink:href="CMC_76083-inline-25.tif"/>&#x201D; to a common form, i.e., &#x201C;<inline-graphic mime-subtype="tif" xlink:href="CMC_76083-inline-26.tif"/>&#x201D;), normalization increases the chance that semantically similar descriptions will be matched in embedding space. In effect, it reduces the embedding dispersion caused by informal phrasing or user-specific expression. However, the relatively small gain also reveals a ceiling on what normalization can do. While it helps bridge superficial lexical gaps, it does not address deeper semantic ambiguities or compositional reasoning challenges. Thus, although normalization is essential for robustness in low-resource settings, it is not sufficient to resolve the alignment task comprehensively.</p></list-item>
<list-item><label>(3)</label><p><bold>Notable gain from intent-consistency evaluation.</bold> Substituting the fixed similarity threshold in the VM baseline with LLM-based intent-consistency evaluation yields a more substantial improvement, with an average accuracy increase of approximately 4.0% average alignment accuracy scores, and up to &#x002B;7.7% scores compared to the VM baseline. This gain reflects the strength of LLMs in semantic inference and pragmatic understanding. Unlike fixed similarity thresholds, LLMs can reason about paraphrases, handle implicit intent, and disambiguate vague expressions. For example, given a query like &#x201C;<inline-graphic mime-subtype="tif" xlink:href="CMC_76083-inline-27.tif"/>&#x201D; (&#x201C;I don&#x2019;t want the computer to sleep too soon&#x201D;), an LLM can correctly infer the intent to change the sleep timeout, even if that phrase is absent. Moreover, LLM-based intent-consistency evaluation adapts dynamically to different description contexts, rather than applying a uniform similarity threshold across all inputs. This flexibility enables the VMICE baseline to better distinguish near-miss cases that would otherwise fall on the wrong side of a similarity cutoff. The gains are particularly evident in categories with high lexical variance (e.g., display settings, connectivity options), where traditional methods falter due to surface mismatch. The results suggest that incorporating semantic decision-making is critical for advancing real-world command alignment systems.</p></list-item>
</list></p>
</sec>
</sec>
<sec id="s6">
<label>6</label>
<title>Analyses</title>
<p>This section provides an in-depth examination of the ComAlign dataset and the performance behavior of the three proposed baselines from multiple perspectives. We analyze statistical properties, linguistic and semantic diversity, and baseline characteristics, and finally provide a qualitative discussion of common failure patterns and underlying challenges.</p>
<sec id="s6_1">
<label>6.1</label>
<title>Dataset Analysis</title>
<sec id="s6_1_1">
<label>6.1.1</label>
<title>Dataset Composition and Structural Characteristics</title>
<p>To the best of our knowledge, the ComAlign dataset is the first Chinese benchmark that systematically aligns natural language with OS commands. It contains 1811 manually curated pairs of natural language descriptions and corresponding normalized OS command descriptions. These pairs are distributed across 82 distinct command types, covering system configuration, application control, device management, network operations, etc. Each command type is associated with an average of 22 Chinese token expressions, forming a many-to-one mapping between natural language descriptions and canonical normalized OS command descriptions. A fine-grained inspection reveals two primary categories of tasks, as shown below:
<list list-type="simple">
<list-item><label>(1)</label><p>OS operation tasks (94.2%), which require mapping a natural language description to a normalized OS command description.</p></list-item>
<list-item><label>(2)</label><p>Question-answering tasks (5.8%), which call for invoking an LLM to respond to the task.</p></list-item>
</list></p>
<p>The clear separation between these categories allows us to evaluate alignment accuracy independently. Within the OS operation subset, roughly half of the commands are parameterized, i.e., they require arguments such as brightness level, volume percentage, or direction of adjustment. The remaining non-parameterized commands are primarily toggles or simple activations (e.g., open Wi-Fi, change user password). More details can be found in the next section.</p>
</sec>
<sec id="s6_1_2">
<label>6.1.2</label>
<title>Task-Type and Parameter Distribution</title>
<p>We further analyze command structure by grouping samples along two axes: (1) task type (OS operation vs. question &#x0026; answer) and (2) parameterization (with or without arguments). The summary statistics are shown in <xref ref-type="table" rid="table-2">Table 2</xref>, from which we can observe that: (1) Parameterized tasks exhibit longer and more semantically complex descriptions, averaging 13.7 Chinese tokens, compared to 10.9 for non-parameterized ones; (2) Unique command coverage is higher for parameterized subsets (43 vs. 39), suggesting that parameterization is not confined to a few categories but broadly distributed across OS operations. This balanced yet diverse structure provides both lexical and functional heterogeneity&#x2014;key properties for developing generalizable alignment models.</p>
<table-wrap id="table-2">
<label>Table 2</label>
<caption>
<title>Summary statistics by task type and parameterization in the ComAlign dataset. &#x201C;Avg./Med. Length&#x201D; denotes the average and medium Chinese token counts of the natural language descriptions</title>
</caption>
<table>
<colgroup>
<col align="center"/>
<col align="center"/>
<col align="center"/>
<col align="center"/>
<col align="center"/> </colgroup>
<thead>
<tr>
<th>Type</th>
<th>Parameterized</th>
<th>Samples</th>
<th>Unique Commands</th>
<th>Avg./Med. Counts</th>
</tr>
</thead>
<tbody>
<tr>
<td>OS Operation</td>
<td>False</td>
<td>838</td>
<td>39</td>
<td>10.9/10.0</td>
</tr>
<tr>
<td>OS Operation</td>
<td>True</td>
<td>868</td>
<td>43</td>
<td>13.7/13.0</td>
</tr>
<tr>
<td>QA Task</td>
<td>False</td>
<td>91</td>
<td>12</td>
<td>15.4/14.0</td>
</tr>
<tr>
<td>QA Task</td>
<td>True</td>
<td>14</td>
<td>7</td>
<td>17.8/17.0</td>
</tr>
</tbody>
</table>
</table-wrap>
</sec>
</sec>
<sec id="s6_2">
<label>6.2</label>
<title>Linguistic and Semantic Analysis</title>
<sec id="s6_2_1">
<label>6.2.1</label>
<title>Lexical and Syntactic Variability</title>
<p>Chinese natural language descriptions exhibit extensive lexical diversity. Users employ multiple syntactic forms, ranging from imperative statements (e.g., &#x201C;<inline-graphic mime-subtype="tif" xlink:href="CMC_76083-inline-28.tif"/>&#x201D;, turn on Bluetooth), to declaratives with implicit intent (&#x201C;<inline-graphic mime-subtype="tif" xlink:href="CMC_76083-inline-29.tif"/>&#x201D;, I&#x2019;d like to open Bluetooth), to colloquial or incomplete forms (&#x201C;<inline-graphic mime-subtype="tif" xlink:href="CMC_76083-inline-30.tif"/>&#x201D;, turn off Bluetooth). These variations lead to syntactic sparsity in the embedding space, i.e., surface forms with the same intent often appear far apart in embedding space. For static vector models such as fastText, this results in reduced nearest-neighbor accuracy, as the embedding primarily reflects lexical co-occurrence rather than functional equivalence.</p>
</sec>
<sec id="s6_2_2">
<label>6.2.2</label>
<title>Semantic Ambiguity and Implicit Intent</title>
<p>Another challenge lies in implicit argumentation and vague modifiers. Chinese user inputs often express scalar changes through relative or metaphorical terms like &#x201C;<inline-graphic mime-subtype="tif" xlink:href="CMC_76083-inline-31.tif"/>&#x201D; (a bit brighter) or &#x201C;<inline-graphic mime-subtype="tif" xlink:href="CMC_76083-inline-32.tif"/>&#x201D; (make it a bit louder). Such expressions lack explicit numerical references, leaving the model to infer direction and magnitude purely from semantics. Parameter extraction becomes nontrivial in such cases. For example, while &#x201C;<inline-graphic mime-subtype="tif" xlink:href="CMC_76083-inline-33.tif"/>&#x201D; (increase brightness) and &#x201C;<inline-graphic mime-subtype="tif" xlink:href="CMC_76083-inline-34.tif"/>&#x201D; (a bit brighter) are equivalent in effect, their lexical representations diverge significantly.</p>
<p>Similarly, semantically adjacent operations such as &#x201C;<inline-graphic mime-subtype="tif" xlink:href="CMC_76083-inline-35.tif"/>&#x201D; (set screen timeout) and &#x201C;<inline-graphic mime-subtype="tif" xlink:href="CMC_76083-inline-36.tif"/>&#x201D; (set sleep time) are nearly indistinguishable lexically but differ operationally. These examples underscore the semantic granularity problem, i.e., fine-grained OS operations often share overlapping vocabulary but distinct executable intents.</p>
</sec>
<sec id="s6_2_3">
<label>6.2.3</label>
<title>Length and Structural Trends</title>
<p><xref ref-type="fig" rid="fig-7">Fig. 7</xref> depicts the distribution of descriptions&#x2019; Chinese token counts by parameterization. Parameterized descriptions are consistently longer and exhibit higher variance. This difference reflects the added cognitive and linguistic complexity of specifying optional parameters and contextual qualifiers. The median description length of parameterized commands is 13 Chinese tokens, compared to 10 for non-parameterized ones. This structural gap partially explains why baselines, especially VM and INVM, show lower alignment accuracy on parameterized subsets. The added contextual elements introduce both noise and ambiguity, which static vector embeddings are ill-equipped to capture.</p>
<fig id="fig-7">
<label>Figure 7</label>
<caption>
<title>The average description length counted by Chinese tokens. We divide the natural language descriptions included in ComAlign into seven categories</title>
</caption>
<graphic mimetype="image" mime-subtype="tif" xlink:href="CMC_76083-fig-7.tif"/>
</fig>
</sec>
<sec id="s6_2_4">
<label>6.2.4</label>
<title>Inter-Class Semantic Overlap</title>
<p>An additional layer of complexity arises from cross-command semantic interference. Commands belonging to the same functional family, such as display, sound, or network settings, tend to share highly overlapping terms like &#x201C;<inline-graphic mime-subtype="tif" xlink:href="CMC_76083-inline-37.tif"/>&#x201D; (setting), &#x201C;<inline-graphic mime-subtype="tif" xlink:href="CMC_76083-inline-38.tif"/>&#x201D; (adjust), &#x201C;<inline-graphic mime-subtype="tif" xlink:href="CMC_76083-inline-39.tif"/>&#x201D; (open), etc. The resulting inter-class proximity compresses the embedding space, causing misalignment between semantically adjacent but distinct commands. VMICE&#x2019;s LLM-based intent-consistency evaluation alleviates this issue by reasoning over functional intent rather than relying solely on lexical similarity.</p>
</sec>
</sec>
<sec id="s6_3">
<label>6.3</label>
<title>Error Analyses and Discussions</title>
<p>To gain deeper insight into failure modes, we conduct a qualitative analysis of 200 misaligned samples and present detailed error analysis below.
<list list-type="simple">
<list-item><label>(1)</label><p><bold>Paraphrase and synonym confusion.</bold> A major source of error is lexical paraphrasing, i.e., different expressions referring to the same operation. For example, &#x201C;<inline-graphic mime-subtype="tif" xlink:href="CMC_76083-inline-40.tif"/>&#x201D; (turn on Bluetooth) and &#x201C;<inline-graphic mime-subtype="tif" xlink:href="CMC_76083-inline-41.tif"/>&#x201D; (open Bluetooth) are semantically equivalent but lexically dissimilar. The VM baseline often fails due to insufficient embedding overlap, whereas the VMICE baseline handles most of these correctly.</p></list-item>
<list-item><label>(2)</label><p><bold>Multi-Intent or compound commands.</bold> Natural language descriptions like &#x201C;<inline-graphic mime-subtype="tif" xlink:href="CMC_76083-inline-42.tif"/><inline-graphic mime-subtype="tif" xlink:href="CMC_76083-inline-43.tif"/>&#x201D; (increase brightness and enable eye-protection mode) contain multiple actions. Since ComAlign currently associates one description with a single normalized command, such samples violate the one-to-one mapping assumption, leading to partial misalignment.</p></list-item>
<list-item><label>(3)</label><p><bold>Implicit negation and polarity errors.</bold> Natural language descriptions expressed with negation (e.g., &#x201C;<inline-graphic mime-subtype="tif" xlink:href="CMC_76083-inline-44.tif"/>&#x201D;, don&#x2019;t sleep automatically) or negated modality (&#x201C;<inline-graphic mime-subtype="tif" xlink:href="CMC_76083-inline-45.tif"/>&#x201D;, I don&#x2019;t want to shut down) are often misinterpreted, particularly when negation markers are subtle or colloquial (&#x201C;<inline-graphic mime-subtype="tif" xlink:href="CMC_76083-inline-46.tif"/>&#x201D;, don&#x2019;t shutdown; &#x201C;<inline-graphic mime-subtype="tif" xlink:href="CMC_76083-inline-47.tif"/>&#x201D;, don&#x2019;t sleep now). FastText-based embeddings fail to capture polarity, resulting in reversed matches.</p></list-item>
<list-item><label>(4)</label><p><bold>Ambiguous parameter phrases.</bold> Parameterized natural language descriptions often include vague adverbs like &#x201C;<inline-graphic mime-subtype="tif" xlink:href="CMC_76083-inline-48.tif"/>&#x201D; (slightly) or &#x201C;<inline-graphic mime-subtype="tif" xlink:href="CMC_76083-inline-49.tif"/>&#x201D; (a bit more). These expressions lack standardized quantitative mappings, making it difficult to judge whether &#x201C;slightly brighter&#x201D; corresponds to &#x201C;&#x002B;10%&#x201D; or &#x201C;&#x002B;20%&#x201D;. Current baselines ignore such fine-grained distinctions, treating all &#x201C;increase&#x201D; operations equally.</p></list-item>
<list-item><label>(5)</label><p><bold>Semantic overlap across domains.</bold> Natural language descriptions from semantically adjacent domains, such as display vs. power settings, often use overlapping lexemes (&#x201C;<inline-graphic mime-subtype="tif" xlink:href="CMC_76083-inline-50.tif"/>&#x201D;, brightness; &#x201C;<inline-graphic mime-subtype="tif" xlink:href="CMC_76083-inline-51.tif"/>&#x201D;, sleep; &#x201C;<inline-graphic mime-subtype="tif" xlink:href="CMC_76083-inline-52.tif"/>&#x201D;, screen). Without contextual grounding, the VM and INVM baselines often misclassify these cases. This observation highlights the potential benefit of introducing contextual embeddings (e.g., BERT-style models) or hierarchical intent taxonomies to disambiguate functional relations.</p></list-item>
</list></p>
</sec>
<sec id="s6_4">
<label>6.4</label>
<title>Limitations and Future Directions</title>
<p>Despite promising results, our study has several limitations that highlight both the complexity of aligning natural language with OS commands and the opportunities for future improvement.
<list list-type="simple">
<list-item><label>(1)</label><p><bold>Data scale and diversity.</bold> ComAlign contains 1811 manually curated pairs across 82 OS command types, which remains limited in size compared to large English datasets such as NL2Bash or NLC2CMD. Some OS command categories are underrepresented, and the dataset primarily focuses on desktop-level operations. Future work will focus on validating the proposed approach on larger-scale and more heterogeneous datasets, including data collected from real industrial or practical applications.</p></list-item>
<list-item><label>(2)</label><p><bold>Modeling and representation constraints.</bold> All three baselines rely on static word embeddings (fastText) to represent natural language descriptions, which are limited in capturing contextual semantics, compositional structure, and negation. Consequently, semantically similar expressions such as &#x201C;<inline-graphic mime-subtype="tif" xlink:href="CMC_76083-inline-53.tif"/>&#x201D; (brighten the screen) and &#x201C;<inline-graphic mime-subtype="tif" xlink:href="CMC_76083-inline-54.tif"/>&#x201D; (increase brightness) may appear far apart in embedding space. Although the LLM-enhanced VMICE baseline improves performance (up to <bold>46.9</bold>% alignment accuracy), it introduces higher computational cost, dependency on prompt design, and limited reproducibility. Future work will explore adaptive parameter tuning strategies and alternative model architectures to further improve robustness and generalization performance.</p>
<p>Future work will investigate optimization techniques such as model compression, parallel computing, and incremental learning to reduce computational overhead.</p></list-item>
<list-item><label>(3)</label><p><bold>Evaluation scope and practical deployment.</bold> The current evaluation focuses solely on alignment accuracy between user inputs and normalized OS command descriptions, without assessing parameter extraction, compound intent handling, etc. Furthermore, real-world deployment of OS-level natural language agents introduces safety and policy challenges, such as access control, permission handling, and prevention of unintended operations. Future work will extend ComAlign to support end-to-end evaluation, including safety-aware and human-in-the-loop testing, to develop trustworthy and deployable intelligent OS systems.</p></list-item>
</list></p>
<p>In summary, ComAlign serves as an initial but essential step toward understanding and benchmarking natural language&#x2013;to&#x2013;command alignment. Overcoming these limitations will require expanding data coverage, enhancing semantic modeling, and integrating alignment evaluation into real-world system contexts.</p>
</sec>
</sec>
<sec id="s7">
<label>7</label>
<title>Conclusion</title>
<p>In this paper, we present <bold>ComAlign</bold>, the first Chinese benchmark for aligning natural language descriptions with normalized operating system (OS) command descriptions as far as we know. The dataset contains <inline-formula id="ieqn-4"><mml:math id="mml-ieqn-4"><mml:mn>1811</mml:mn></mml:math></inline-formula> annotated pairs across 82 types of OS commands, supporting research on aligning natural language with OS commands. We also propose three baselines, i.e., Vector Matching (VM), Input Normalisation and Vector Matching (INVM), and Vector Matching with Intent-Consistency Evaluation (VMICE). Experimental results show that the basic VM baseline achieves 39.2% accuracy, while the LLM-powered VMICE baseline raises performance to 46.9%. These results highlight both the promise and the difficulty of precise language&#x2013;command alignment. Future work will expand ComAlign&#x2019;s data scope, explore stronger semantic encoders, and evaluate end-to-end models that jointly optimize accuracy, efficiency, and safety.</p>
</sec>
</body>
<back>
<ack>
<p>None.</p>
</ack>
<sec>
<title>Funding Statement</title>
<p>This work was supported by the National Key Research and Development Program under Grant 2024YFB4506200, the Science and Technology Innovation Program of Hunan Province under Grant 2024RC1048, and the National Key Laboratory Foundation Project under Grant 2024-KJWPDL-14.</p>
</sec>
<sec>
<title>Author Contributions</title>
<p>The first author Shasha Li conceived and supervised the study, and drafted the manuscript. The corresponding author Bin Ji performed the data collection, analysis, and interpretation. The corresponding author Jie Yu provided guidance, manuscript revision, and project management including funding acquisition. Xiaodong Liu and Jun Ma contributed to methodology design, validation of experimental results, and critical review and editing of the manuscript. All authors reviewed and approved the final version of the manuscript.</p>
</sec>
<sec sec-type="data-availability">
<title>Availability of Data and Materials</title>
<p>The ComAlign dataset is available from the corresponding author, Bin Ji, upon reasonable request.</p>
</sec>
<sec>
<title>Ethics Approval</title>
<p>Not applicable.</p>
</sec>
<sec sec-type="COI-statement">
<title>Conflicts of Interest</title>
<p>The authors declare no conflicts of interest to report regarding the present study.</p>
</sec>
<ref-list content-type="authoryear">
<title>References</title>
<ref id="ref-1"><label>[1]</label><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><surname>De Chaves</surname> <given-names>SA</given-names></string-name>, <string-name><surname>Benitti</surname> <given-names>F</given-names></string-name></person-group>. <article-title>User-centred privacy and data protection: an overview of current research trends and challenges for the human-computer interaction field</article-title>. <source>ACM Comput Surv</source>. <year>2025</year>;<volume>57</volume>(<issue>7</issue>):<fpage>1</fpage>&#x2013;<lpage>36</lpage>. doi:<pub-id pub-id-type="doi">10.1145/3715903</pub-id>.</mixed-citation></ref>
<ref id="ref-2"><label>[2]</label><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><surname>Sajja</surname> <given-names>R</given-names></string-name>, <string-name><surname>Sermet</surname> <given-names>Y</given-names></string-name>, <string-name><surname>Cikmaz</surname> <given-names>M</given-names></string-name>, <string-name><surname>Cwiertny</surname> <given-names>D</given-names></string-name>, <string-name><surname>Demir</surname> <given-names>I</given-names></string-name></person-group>. <article-title>Artificial intelligence-enabled intelligent assistant for personalized and adaptive learning in higher education</article-title>. <source>Information</source>. <year>2024</year>;<volume>15</volume>(<issue>10</issue>):<fpage>596</fpage>. doi:<pub-id pub-id-type="doi">10.3390/info15100596</pub-id>.</mixed-citation></ref>
<ref id="ref-3"><label>[3]</label><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><surname>Wang</surname> <given-names>L</given-names></string-name>, <string-name><surname>Huang</surname> <given-names>N</given-names></string-name>, <string-name><surname>He</surname> <given-names>Y</given-names></string-name>, <string-name><surname>Liu</surname> <given-names>D</given-names></string-name>, <string-name><surname>Guo</surname> <given-names>X</given-names></string-name>, <string-name><surname>Sun</surname> <given-names>Y</given-names></string-name>, <etal>et al</etal></person-group>. <article-title>Artificial Intelligence (AI) assistant in online shopping: a randomized field experiment on a livestream selling platform</article-title>. <source>Inf Syst Res</source>. <year>2025</year>;<volume>36</volume>(<issue>4</issue>):<fpage>2358</fpage>&#x2013;<lpage>74</lpage>. doi:<pub-id pub-id-type="doi">10.1287/isre.2023.0103</pub-id>.</mixed-citation></ref>
<ref id="ref-4"><label>[4]</label><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><surname>Chen</surname> <given-names>J</given-names></string-name>, <string-name><surname>Liu</surname> <given-names>Z</given-names></string-name>, <string-name><surname>Huang</surname> <given-names>X</given-names></string-name>, <string-name><surname>Wu</surname> <given-names>C</given-names></string-name>, <string-name><surname>Liu</surname> <given-names>Q</given-names></string-name>, <string-name><surname>Jiang</surname> <given-names>G</given-names></string-name>, <etal>et al</etal></person-group>. <article-title>When large language models meet personalization: perspectives of challenges and opportunities</article-title>. <source>World Wide Web</source>. <year>2024</year>;<volume>27</volume>(<issue>4</issue>):<fpage>42</fpage>. doi:<pub-id pub-id-type="doi">10.1007/s11280-024-01276-1</pub-id>.</mixed-citation></ref>
<ref id="ref-5"><label>[5]</label><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><surname>Raiaan</surname> <given-names>MA</given-names></string-name>, <string-name><surname>Mukta</surname> <given-names>MS</given-names></string-name>, <string-name><surname>Fatema</surname> <given-names>K</given-names></string-name>, <string-name><surname>Fahad</surname> <given-names>NM</given-names></string-name>, <string-name><surname>Sakib</surname> <given-names>S</given-names></string-name>, <string-name><surname>Mim</surname> <given-names>MM</given-names></string-name>, <etal>et al</etal></person-group>. <article-title>A review on large language models: architectures, applications, taxonomies, open issues and challenges</article-title>. <source>IEEE Access</source>. <year>2024</year>;<volume>12</volume>:<fpage>26839</fpage>&#x2013;<lpage>74</lpage>. doi:<pub-id pub-id-type="doi">10.1109/access.2024.3365742</pub-id>.</mixed-citation></ref>
<ref id="ref-6"><label>[6]</label><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><surname>Koubaa</surname> <given-names>A</given-names></string-name>, <string-name><surname>Ammar</surname> <given-names>A</given-names></string-name>, <string-name><surname>Boulila</surname> <given-names>W</given-names></string-name></person-group>. <article-title>Next-generation human-robot interaction with ChatGPT and robot operating system</article-title>. <source>Softw Pract Exp</source>. <year>2025</year>;<volume>55</volume>(<issue>2</issue>):<fpage>355</fpage>&#x2013;<lpage>82</lpage>. doi:<pub-id pub-id-type="doi">10.1002/spe.3377</pub-id>.</mixed-citation></ref>
<ref id="ref-7"><label>[7]</label><mixed-citation publication-type="conf-proc"><person-group person-group-type="author"><string-name><surname>Zhang</surname> <given-names>C</given-names></string-name>, <string-name><surname>Lu</surname> <given-names>W</given-names></string-name>, <string-name><surname>Ni</surname> <given-names>C</given-names></string-name>, <string-name><surname>Wang</surname> <given-names>H</given-names></string-name>, <string-name><surname>Wu</surname> <given-names>J</given-names></string-name></person-group>. <article-title>Enhanced user interaction in operating systems through machine learning language models</article-title>. In: <conf-name>Proceedings of the in International Conference on Image, Signal Processing, and Pattern Recognition (ISPP); 2024 Mar 8&#x2013;10</conf-name>; <publisher-loc>Kunming, China</publisher-loc>. p. <fpage>1623</fpage>&#x2013;<lpage>30</lpage>.</mixed-citation></ref>
<ref id="ref-8"><label>[8]</label><mixed-citation publication-type="conf-proc"><person-group person-group-type="author"><string-name><surname>Lin</surname></string-name> <string-name> <given-names>XV</given-names></string-name>, <string-name><surname>Wang</surname></string-name> <string-name> <given-names>C</given-names></string-name>, <string-name><surname>Zettlemoyer</surname></string-name> <string-name> <given-names>L</given-names></string-name>, <string-name><surname>Ernst</surname></string-name> <string-name> <given-names>MD</given-names></string-name></person-group>. <article-title>NL2Bash: a corpus and semantic parser for natural language interface to the linux operating system</article-title>. In: <conf-name>Proceedings of the Eleventh International Conference on Language Resources and Evaluation (LREC 2018); 2018 May 7&#x2013;12</conf-name>; <publisher-loc>Miyazaki, Japan</publisher-loc>.</mixed-citation></ref>
<ref id="ref-9"><label>[9]</label><mixed-citation publication-type="conf-proc"><person-group person-group-type="author"><string-name><surname>Agarwal</surname> <given-names>M</given-names></string-name>, <string-name><surname>Chakraborti</surname> <given-names>T</given-names></string-name>, <string-name><surname>Fu</surname> <given-names>Q</given-names></string-name>, <string-name><surname>Gros</surname> <given-names>D</given-names></string-name>, <string-name><surname>Lin</surname> <given-names>XV</given-names></string-name>, <string-name><surname>Maene</surname> <given-names>J</given-names></string-name>, <etal>et al.</etal></person-group> <article-title>Neurips 2020 nlc2cmd competition: translating natural language to bash commands</article-title>. In: <conf-name>Proceedings of the NeurIPS 2020 Competition and Demonstration Track; 2020 Dec 6&#x2013;12</conf-name>; <publisher-loc>Vancouver, BC, Canada</publisher-loc>. p. <fpage>302</fpage>&#x2013;<lpage>24</lpage>.</mixed-citation></ref>
<ref id="ref-10"><label>[10]</label><mixed-citation publication-type="conf-proc"><person-group person-group-type="author"><string-name><surname>Fu</surname> <given-names>Q</given-names></string-name>, <string-name><surname>Teng</surname> <given-names>Z</given-names></string-name>, <string-name><surname>White</surname> <given-names>J</given-names></string-name>, <string-name><surname>Schmidt</surname> <given-names>DC</given-names></string-name></person-group>. <article-title>A transformer-based approach for translating natural language to bash commands</article-title>. In: <conf-name>Proceedings of the 2021 20th IEEE International Conference on Machine Learning and Applications (ICMLA); 2021 Dec 13&#x2013;16</conf-name>; <publisher-loc>Pasadena, CA, USA</publisher-loc>. p. <fpage>1245</fpage>&#x2013;<lpage>48</lpage>.</mixed-citation></ref>
<ref id="ref-11"><label>[11]</label><mixed-citation publication-type="conf-proc"><person-group person-group-type="author"><string-name><surname>Wang</surname> <given-names>L</given-names></string-name>, <string-name><surname>Zhang</surname> <given-names>A</given-names></string-name>, <string-name><surname>Wu</surname> <given-names>K</given-names></string-name>, <string-name><surname>Sun</surname> <given-names>K</given-names></string-name>, <string-name><surname>Li</surname> <given-names>Z</given-names></string-name>, <string-name><surname>Wu</surname> <given-names>H</given-names></string-name>, <etal>et al.</etal></person-group> <article-title>DuSQL: a large-scale and pragmatic Chinese text-to-SQL dataset</article-title>. In: <conf-name>Proceedings of the 2020 Conference on Empirical Methods in Natural Language Processing (EMNLP); 2020 Nov 16&#x2013;20</conf-name>; <publisher-loc>Online</publisher-loc>. p. <fpage>6923</fpage>&#x2013;<lpage>35</lpage>.</mixed-citation></ref>
<ref id="ref-12"><label>[12]</label><mixed-citation publication-type="other"><person-group person-group-type="author"><string-name><surname>Wang</surname> <given-names>Y</given-names></string-name>, <string-name><surname>Yang</surname> <given-names>L</given-names></string-name>, <string-name><surname>Chen</surname> <given-names>B</given-names></string-name>, <string-name><surname>Zou</surname> <given-names>G</given-names></string-name>, <string-name><surname>Xu</surname> <given-names>K</given-names></string-name>, <string-name><surname>Tang</surname> <given-names>B</given-names></string-name>, <etal>et al.</etal></person-group> <article-title>Text2Mem: a unified memory operation language for memory operating system</article-title>. <comment>arXiv:2509.11145. 2025</comment>.</mixed-citation></ref>
<ref id="ref-13"><label>[13]</label><mixed-citation publication-type="other"><person-group person-group-type="author"><string-name><surname>Fu</surname> <given-names>Q</given-names></string-name>, <string-name><surname>Teng</surname> <given-names>Z</given-names></string-name>, <string-name><surname>Georgaklis</surname> <given-names>M</given-names></string-name>, <string-name><surname>White</surname> <given-names>J</given-names></string-name>, <string-name><surname>Schmidt</surname> <given-names>DC</given-names></string-name></person-group>. <article-title>NL2CMD: an updated workflow for natural language to bash commands translation</article-title>. <comment>arXiv:2302.07845. 2023</comment>.</mixed-citation></ref>
<ref id="ref-14"><label>[14]</label><mixed-citation publication-type="conf-proc"><person-group person-group-type="author"><string-name><surname>Nair</surname> <given-names>RP</given-names></string-name>, <string-name><surname>Thushara</surname> <given-names>MG</given-names></string-name></person-group>. <article-title>NL2Code: a hybrid NLP and model-driven framework for automated code generation from natural language and UML</article-title>. In: <conf-name>Proceedings of the 2025 IEEE International Students&#x2019; Conference on Electrical, Electronics and Computer Science (SCEECS); 2025 Jan 18&#x2013;19</conf-name>; <publisher-loc>Bhopal, India</publisher-loc>. p. <fpage>1</fpage>&#x2013;<lpage>6</lpage>.</mixed-citation></ref>
<ref id="ref-15"><label>[15]</label><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><surname>Alharbi</surname> <given-names>M</given-names></string-name>, <string-name><surname>Alshayeb</surname> <given-names>M</given-names></string-name></person-group>. <article-title>Automatic code generation techniques: a systematic literature review</article-title>. <source>Autom Softw Eng</source>. <year>2026</year>;<volume>33</volume>(<issue>1</issue>):<fpage>4</fpage>. doi:<pub-id pub-id-type="doi">10.1007/s10515-025-00551-3</pub-id>.</mixed-citation></ref>
<ref id="ref-16"><label>[16]</label><mixed-citation publication-type="conf-proc"><person-group person-group-type="author"><string-name><surname>Lu</surname> <given-names>S</given-names></string-name>, <string-name><surname>Guo</surname> <given-names>D</given-names></string-name>, <string-name><surname>Ren</surname> <given-names>S</given-names></string-name>, <string-name><surname>Huang</surname> <given-names>J</given-names></string-name>, <string-name><surname>Svyatkovskiy</surname> <given-names>A</given-names></string-name>, <string-name><surname>Blanco</surname> <given-names>A</given-names></string-name>, <etal>et al.</etal></person-group> <article-title>CodeXGLUE: a machine learning benchmark dataset for code understanding and generation</article-title>. In: <conf-name>Proceedings of the Thirty-Fifth Conference on Neural Information Processing Systems Datasets and Benchmarks Track (Round 1); 2021 Feb 9</conf-name>; <publisher-loc>Virtual</publisher-loc>.</mixed-citation></ref>
<ref id="ref-17"><label>[17]</label><mixed-citation publication-type="conf-proc"><person-group person-group-type="author"><string-name><surname>Feng</surname> <given-names>Z</given-names></string-name>, <string-name><surname>Guo</surname> <given-names>D</given-names></string-name>, <string-name><surname>Tang</surname> <given-names>D</given-names></string-name>, <string-name><surname>Duan</surname> <given-names>N</given-names></string-name>, <string-name><surname>Feng</surname> <given-names>X</given-names></string-name>, <string-name><surname>Gong</surname> <given-names>M</given-names></string-name>, <etal>et al.</etal></person-group> <article-title>CodeBERT: a pre-trained model for programming and natural languages</article-title>. In: <conf-name>Proceedings of the Findings of the Association for Computational Linguistics: EMNLP 2020; 2020 Nov 16&#x2013;20</conf-name>; <publisher-loc>Online Event</publisher-loc>. p. <fpage>1536</fpage>&#x2013;<lpage>47</lpage>.</mixed-citation></ref>
<ref id="ref-18"><label>[18]</label><mixed-citation publication-type="conf-proc"><person-group person-group-type="author"><string-name><surname>Liu</surname> <given-names>Z</given-names></string-name>, <string-name><surname>Su</surname> <given-names>J</given-names></string-name>, <string-name><surname>Cai</surname> <given-names>J</given-names></string-name>, <string-name><surname>Yang</surname> <given-names>J</given-names></string-name>, <string-name><surname>Wu</surname> <given-names>C</given-names></string-name></person-group>. <article-title>Instruct-code-llama: improving capabilities of language model in competition level code generation by online judge feedback</article-title>. In: <conf-name>International Conference on Intelligent Computing</conf-name>. <publisher-loc>Singapore</publisher-loc>: <publisher-name>Springer Nature Singapore</publisher-name>; <year>2024</year>. p. <fpage>127</fpage>&#x2013;<lpage>37</lpage>.</mixed-citation></ref>
<ref id="ref-19"><label>[19]</label><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><surname>Kumar</surname> <given-names>A</given-names></string-name>, <string-name><surname>Sharma</surname> <given-names>P</given-names></string-name></person-group>. <article-title>Openai codex: an inevitable future?</article-title> <source>Int J Res Appl Sci Eng Technol</source>. <year>2023</year>;<volume>11</volume>:<fpage>539</fpage>&#x2013;<lpage>43</lpage>. doi:<pub-id pub-id-type="doi">10.22214/ijraset.2023.49048</pub-id>.</mixed-citation></ref>
<ref id="ref-20"><label>[20]</label><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><surname>Li</surname> <given-names>Y</given-names></string-name>, <string-name><surname>Choi</surname> <given-names>D</given-names></string-name>, <string-name><surname>Chung</surname> <given-names>J</given-names></string-name>, <string-name><surname>Kushman</surname> <given-names>N</given-names></string-name>, <string-name><surname>Schrittwieser</surname> <given-names>J</given-names></string-name>, <string-name><surname>Leblond</surname> <given-names>R</given-names></string-name>, <etal>et al</etal></person-group>. <article-title>Competition-level code generation with alphacode</article-title>. <source>Science</source>. <year>2022</year>;<volume>378</volume>(<issue>6624</issue>):<fpage>1092</fpage>&#x2013;<lpage>7</lpage>. doi:<pub-id pub-id-type="doi">10.1126/science.abq1158</pub-id>; <pub-id pub-id-type="pmid">36480631</pub-id></mixed-citation></ref>
<ref id="ref-21"><label>[21]</label><mixed-citation publication-type="other"><person-group person-group-type="author"><string-name><surname>Yang</surname> <given-names>A</given-names></string-name>, <string-name><surname>Yu</surname> <given-names>B</given-names></string-name>, <string-name><surname>Li</surname> <given-names>C</given-names></string-name>, <string-name><surname>Liu</surname> <given-names>D</given-names></string-name>, <string-name><surname>Huang</surname> <given-names>F</given-names></string-name>, <string-name><surname>Huang</surname> <given-names>H</given-names></string-name>, <etal>et al.</etal></person-group> <article-title>Qwen2.5-1m technical report</article-title>. <comment>arXiv:2501.15383. 2025</comment>.</mixed-citation></ref>
<ref id="ref-22"><label>[22]</label><mixed-citation publication-type="other"><person-group person-group-type="author"><string-name><surname>Yang</surname> <given-names>A</given-names></string-name>, <string-name><surname>Li</surname> <given-names>A</given-names></string-name>, <string-name><surname>Yang</surname> <given-names>B</given-names></string-name>, <string-name><surname>Zhang</surname> <given-names>B</given-names></string-name>, <string-name><surname>Hui</surname> <given-names>B</given-names></string-name>, <string-name><surname>Zheng</surname> <given-names>B</given-names></string-name>, <etal>et al.</etal></person-group> <article-title>Qwen3 technical report</article-title>. <comment>arXiv:2505.09388. 2025</comment>.</mixed-citation></ref>
<ref id="ref-23"><label>[23]</label><mixed-citation publication-type="other"><person-group person-group-type="author"><string-name><surname>Touvron</surname> <given-names>H</given-names></string-name>, <string-name><surname>Martin</surname> <given-names>L</given-names></string-name>, <string-name><surname>Stone</surname> <given-names>K</given-names></string-name>, <string-name><surname>Albert</surname> <given-names>P</given-names></string-name>, <string-name><surname>Almahairi</surname> <given-names>A</given-names></string-name>, <string-name><surname>Babaei</surname> <given-names>Y</given-names></string-name>, <etal>et al.</etal></person-group> <article-title>Llama 2: open foundation and fine-tuned chat models</article-title>. <comment>arXiv:2307.09288. 2023</comment>.</mixed-citation></ref>
<ref id="ref-24"><label>[24]</label><mixed-citation publication-type="other"><person-group person-group-type="author"><string-name><surname>Dubey</surname> <given-names>A</given-names></string-name>, <string-name><surname>Jauhri</surname> <given-names>A</given-names></string-name>, <string-name><surname>Pandey</surname> <given-names>A</given-names></string-name>, <string-name><surname>Kadian</surname> <given-names>A</given-names></string-name>, <string-name><surname>Al-Dahle</surname> <given-names>A</given-names></string-name>, <string-name><surname>Letman</surname> <given-names>A</given-names></string-name>, <etal>et al.</etal></person-group> <article-title>The llama 3 herd of models</article-title>. <comment>arXiv:2407.21783. 2024</comment>.</mixed-citation></ref>
<ref id="ref-25"><label>[25]</label><mixed-citation publication-type="journal"><person-group person-group-type="author"><string-name><surname>Gallifant</surname> <given-names>J</given-names></string-name>, <string-name><surname>Fiske</surname> <given-names>A</given-names></string-name>, <string-name><surname>Levites Strekalova</surname> <given-names>YA</given-names></string-name>, <string-name><surname>Osorio-Valencia</surname> <given-names>JS</given-names></string-name>, <string-name><surname>Parke</surname> <given-names>R</given-names></string-name>, <string-name><surname>Mwavu</surname> <given-names>R</given-names></string-name>, <etal>et al</etal></person-group>. <article-title>Peer review of GPT-4 technical report and systems card</article-title>. <source>PLoS Digit Health</source>. <year>2024</year>;<volume>3</volume>(<issue>1</issue>):<fpage>e0000417</fpage>. doi:<pub-id pub-id-type="doi">10.1371/journal.pdig.0000417</pub-id>; <pub-id pub-id-type="pmid">38236824</pub-id></mixed-citation></ref>
<ref id="ref-26"><label>[26]</label><mixed-citation publication-type="other"><person-group person-group-type="author"><string-name><surname>Hu</surname> <given-names>S</given-names></string-name>, <string-name><surname>Tu</surname> <given-names>Y</given-names></string-name>, <string-name><surname>Han</surname> <given-names>X</given-names></string-name>, <string-name><surname>He</surname> <given-names>C</given-names></string-name>, <string-name><surname>Cui</surname> <given-names>G</given-names></string-name>, <string-name><surname>Long</surname> <given-names>X</given-names></string-name>, <etal>et al.</etal></person-group> <article-title>MiniCPM: unveiling the potential of small language models with scalable training strategies</article-title>. <comment>arXiv:2404.06395. 2024</comment>.</mixed-citation></ref>
<ref id="ref-27"><label>[27]</label><mixed-citation publication-type="conf-proc"><person-group person-group-type="author"><string-name><surname>Joulin</surname> <given-names>A</given-names></string-name>, <string-name><surname>Grave</surname> <given-names>E</given-names></string-name>, <string-name><surname>Bojanowski</surname> <given-names>P</given-names></string-name>, <string-name><surname>Mikolov</surname> <given-names>T</given-names></string-name></person-group>. <article-title>Bag of tricks for efficient text classification</article-title>. In: <conf-name>Proceedings of the 15th Conference of the European Chapter of the Association for Computational Linguistics; 2017 Apr 3&#x2013;7</conf-name>; <publisher-loc>Valencia, Spain</publisher-loc>. p. <fpage>427</fpage>&#x2013;<lpage>31</lpage>.</mixed-citation></ref>
</ref-list>
</back></article>